Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
isindir committed Feb 10, 2024
1 parent 211275e commit 282ff52
Showing 1 changed file with 10 additions and 46 deletions.
56 changes: 10 additions & 46 deletions chart/helm3/sops-secrets-operator/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -46,56 +46,20 @@ lint: ## runs helm chart linting
helm lint .
@echo '--------------------'

# -schema-location https://raw.githubusercontent.com/Onemind-Services-LLC/kubernetes-json-schema/master/schema \
# -schema-location https://raw.githubusercontent.com/datreeio/CRDs-catalog/ \
.PHONY: validate
validate: ## validates rendered chart templates using 'kubeval'
helm template . --set securityContextenabled=true \
| kubeval --force-color \
--strict \
--schema-location https://raw.githubusercontent.com/Onemind-Services-LLC/kubernetes-json-schema/master/schema \
--kubernetes-version $(K8S_VERSION) -
@echo '--------------------'

.PHONY: conform
conform: ## validates rendered chart templates using 'kubeconform'
helm template . --set securityContextenabled=true \
validate: ## validates rendered chart templates using 'kubeconform'
helm template . \
--set securityContextenabled=true \
--set metrics.enabled=true \
--set gcp.enabled=true \
--set azure.enabled=true \
| kubeconform -summary \
-verbose \
-strict \
-output pretty \
-schema-location https://raw.githubusercontent.com/Onemind-Services-LLC/kubernetes-json-schema/master/schema \
-schema-location https://raw.githubusercontent.com/datreeio/CRDs-catalog/main/monitoring.coreos.com/servicemonitor_v1.json \
-kubernetes-version $(K8S_VERSION) -
@echo '--------------------'

#Usage: /Users/erikszelenka/.asdf/installs/kubeconform/0.6.4/bin/kubeconform [OPTION]... [FILE OR FOLDER]...
# -cache string
# cache schemas downloaded via HTTP to this folder
# -debug
# print debug information
# -exit-on-error
# immediately stop execution when the first error is encountered
# -h show help information
# -ignore-filename-pattern value
# regular expression specifying paths to ignore (can be specified multiple times)
# -ignore-missing-schemas
# skip files with missing schemas instead of failing
# -insecure-skip-tls-verify
# disable verification of the server's SSL certificate. This will make your HTTPS connections insecure
# -kubernetes-version string
# version of Kubernetes to validate against, e.g.: 1.18.0 (default "master")
# -n int
# number of goroutines to run concurrently (default 4)
# -output string
# output format - json, junit, pretty, tap, text (default "text")
# -reject string
# comma-separated list of kinds or GVKs to reject
# -schema-location value
# override schemas location search path (can be specified multiple times)
# -skip string
# comma-separated list of kinds or GVKs to ignore
# -strict
# disallow additional properties not in schema or duplicated keys
# -summary
# print a summary at the end (ignored for junit output)
# -v show version information
# -verbose
# print results for all resources (ignored for tap and junit outp
#

0 comments on commit 282ff52

Please sign in to comment.