mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
Templatize imagePullSecrets for NATS (#6842)
* Templatize imagePullSecrets for NATS. * Only set pullSecrets conditionally. * NATS chart version bump.
This commit is contained in:
committed by
k8s-ci-robot
parent
c4816296fc
commit
90aa1939e4
@@ -1,5 +1,5 @@
|
||||
name: nats
|
||||
version: 0.0.4
|
||||
version: 0.0.5
|
||||
appVersion: 1.1.0
|
||||
description: An open-source, cloud-native messaging system
|
||||
keywords:
|
||||
|
||||
@@ -34,6 +34,10 @@ spec:
|
||||
{{ toYaml .Values.podAnnotations | indent 8 }}
|
||||
{{- end }}
|
||||
spec:
|
||||
{{- if .Values.image.pullSecrets }}
|
||||
imagePullSecrets:
|
||||
{{ toYaml .Values.image.pullSecrets | indent 8 }}
|
||||
{{- end }}
|
||||
{{- if .Values.securityContext.enabled }}
|
||||
securityContext:
|
||||
fsGroup: {{ .Values.securityContext.fsGroup }}
|
||||
|
||||
@@ -11,7 +11,7 @@ image:
|
||||
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
|
||||
##
|
||||
# pullSecrets:
|
||||
# - myRegistrKeySecretName
|
||||
# - name: myRegistrKeySecretName
|
||||
|
||||
## NATS replicas
|
||||
replicaCount: 3
|
||||
|
||||
@@ -15,7 +15,7 @@ image:
|
||||
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
|
||||
##
|
||||
# pullSecrets:
|
||||
# - myRegistrKeySecretName
|
||||
# - name: myRegistrKeySecretName
|
||||
|
||||
## NATS replicas
|
||||
replicaCount: 1
|
||||
|
||||
Reference in New Issue
Block a user