mirror of https://github.com/openkruise/charts.git
add kurise-rollout imagepullsecrets support
This commit is contained in:
parent
1ca7afe6b4
commit
049fa13037
|
|
@ -1,9 +1,11 @@
|
|||
{{- if .Values.installation.createNamespace }}
|
||||
apiVersion: v1
|
||||
kind: Namespace
|
||||
metadata:
|
||||
labels:
|
||||
control-plane: {{ .Values.rollout.fullname }}
|
||||
control-plane: controller-manager
|
||||
name: {{ .Values.installation.namespace }}
|
||||
{{- end }}
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
|
|
@ -40,6 +42,10 @@ spec:
|
|||
labels:
|
||||
control-plane: {{ .Values.rollout.fullname }}
|
||||
spec:
|
||||
{{- with .Values.imagePullSecrets }}
|
||||
imagePullSecrets:
|
||||
{{- toYaml . | nindent 8 }}
|
||||
{{- end }}
|
||||
serviceAccountName: {{ .Values.rollout.fullname }}
|
||||
containers:
|
||||
- name: {{ .Chart.Name }}
|
||||
|
|
|
|||
|
|
@ -5,6 +5,7 @@
|
|||
# values for rollout installation
|
||||
installation:
|
||||
namespace: kruise-rollout
|
||||
createNamespace: true
|
||||
|
||||
rollout:
|
||||
fullname: kruise-rollout-controller-manager
|
||||
|
|
@ -23,7 +24,8 @@ image:
|
|||
pullPolicy: Always
|
||||
# Overrides the image tag whose default is the chart appVersion.
|
||||
tag: v0.3.0-rc.0
|
||||
|
||||
imagePullSecrets:
|
||||
# - name: for-your-secret-name
|
||||
serviceAccount:
|
||||
# Annotations to add to the service account
|
||||
annotations: {}
|
||||
|
|
|
|||
Loading…
Reference in New Issue