Skip to content

Commit

Permalink
Merge pull request kubernetes-sigs#4315 from camilamacedo86/add-info-…
Browse files Browse the repository at this point in the history
…crd-keep

✨ (helm/v1-alpha): add missed info to chart values
  • Loading branch information
k8s-ci-robot authored Nov 10, 2024
2 parents b780558 + f8068fb commit 40db2b8
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -109,15 +109,27 @@ rbac:
# [CRDs]: To enable the CRDs
crd:
# This option determines whether the CRDs are included
# in the installation process.
enable: true
# Enabling this option adds the "helm.sh/resource-policy": keep
# annotation to the CRD, ensuring it remains installed even when
# the Helm release is uninstalled.
# NOTE: Removing the CRDs will also remove all cert-manager CR(s)
# (Certificates, Issuers, ...) due to garbage collection.
keep: true
# [METRICS]: Set to true to generate manifests for exporting metrics
# [METRICS]: Set to true to generate manifests for exporting metrics.
# To disable metrics export set false, and ensure that the
# ControllerManager argument "--metrics-bind-address=:8443" is removed.
metrics:
enable: true
{{ if .Webhooks }}
# [WEBHOOKS]: Webhooks configuration
# The following configuration is automatically generated from the manifests
# generated by controller-gen. To update run 'make manifests' and
# the edit command with the '--force' flag
webhook:
enable: true
services:
Expand Down Expand Up @@ -160,7 +172,6 @@ webhook:
{{- end }}
{{- end }}
{{ end }}
# [PROMETHEUS]: To enable a ServiceMonitor to export metrics to Prometheus set true
prometheus:
enable: false
Expand Down
17 changes: 14 additions & 3 deletions testdata/project-v4-with-plugins/dist/chart/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,15 +49,27 @@ rbac:

# [CRDs]: To enable the CRDs
crd:
# This option determines whether the CRDs are included
# in the installation process.
enable: true

# Enabling this option adds the "helm.sh/resource-policy": keep
# annotation to the CRD, ensuring it remains installed even when
# the Helm release is uninstalled.
# NOTE: Removing the CRDs will also remove all cert-manager CR(s)
# (Certificates, Issuers, ...) due to garbage collection.
keep: true

# [METRICS]: Set to true to generate manifests for exporting metrics
# [METRICS]: Set to true to generate manifests for exporting metrics.
# To disable metrics export set false, and ensure that the
# ControllerManager argument "--metrics-bind-address=:8443" is removed.
metrics:
enable: true


# [WEBHOOKS]: Webhooks configuration
# The following configuration is automatically generated from the manifests
# generated by controller-gen. To update run 'make manifests' and
# the edit command with the '--force' flag
webhook:
enable: true
services:
Expand All @@ -79,7 +91,6 @@ webhook:
resources:
- memcacheds


# [PROMETHEUS]: To enable a ServiceMonitor to export metrics to Prometheus set true
prometheus:
enable: false
Expand Down

0 comments on commit 40db2b8

Please sign in to comment.