Skip to content

Commit

Permalink
Merge pull request cert-manager#7356 from cert-manager-bot/cherry-pic…
Browse files Browse the repository at this point in the history
…k-7350-to-release-1.16

[release-1.16] Helm: add enabled to json schema
  • Loading branch information
cert-manager-prow[bot] authored Oct 9, 2024
2 parents 02f4a60 + 2298278 commit ff50c06
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 1 deletion.
3 changes: 2 additions & 1 deletion deploy/charts/cert-manager/values.linter.exceptions
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
value missing from templates: crds.enabled
value missing from templates: crds.keep
value missing from templates: acmesolver.image.pullPolicy
value missing from templates: acmesolver.image.pullPolicy
value missing from templates: enabled
8 changes: 8 additions & 0 deletions deploy/charts/cert-manager/values.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,9 @@
"enableServiceLinks": {
"$ref": "#/$defs/helm-values.enableServiceLinks"
},
"enabled": {
"$ref": "#/$defs/helm-values.enabled"
},
"extraArgs": {
"$ref": "#/$defs/helm-values.extraArgs"
},
Expand Down Expand Up @@ -648,6 +651,11 @@
"description": "enableServiceLinks indicates whether information about services should be injected into the pod's environment variables, matching the syntax of Docker links.",
"type": "boolean"
},
"helm-values.enabled": {
"default": true,
"description": "Field that can be used as a condition when cert-manager is a dependency. This definition is only here as a placeholder such that it is included in the json schema. See https://helm.sh/docs/chart_best_practices/dependencies/#conditions-and-tags for more info.",
"type": "boolean"
},
"helm-values.extraArgs": {
"default": [],
"description": "Additional command line flags to pass to cert-manager controller binary. To see all available flags run `docker run quay.io/jetstack/cert-manager-controller:<version> --help`.\n\nUse this flag to enable or disable arbitrary controllers. For example, to disable the CertificateRequests approver.\n\nFor example:\nextraArgs:\n - --controllers=*,-certificaterequests-approver",
Expand Down
8 changes: 8 additions & 0 deletions deploy/charts/cert-manager/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1445,3 +1445,11 @@ extraObjects: []
# the static YAML manifests.
# +docs:hidden
creator: "helm"

# Field that can be used as a condition when cert-manager is a dependency.
# This definition is only here as a placeholder such that it is included in
# the json schema.
# See https://helm.sh/docs/chart_best_practices/dependencies/#conditions-and-tags
# for more info.
# +docs:hidden
enabled: true

0 comments on commit ff50c06

Please sign in to comment.