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
|
apiVersion: v1
|
||||||
kind: Namespace
|
kind: Namespace
|
||||||
metadata:
|
metadata:
|
||||||
labels:
|
labels:
|
||||||
control-plane: {{ .Values.rollout.fullname }}
|
control-plane: controller-manager
|
||||||
name: {{ .Values.installation.namespace }}
|
name: {{ .Values.installation.namespace }}
|
||||||
|
{{- end }}
|
||||||
---
|
---
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: Service
|
kind: Service
|
||||||
|
|
@ -40,6 +42,10 @@ spec:
|
||||||
labels:
|
labels:
|
||||||
control-plane: {{ .Values.rollout.fullname }}
|
control-plane: {{ .Values.rollout.fullname }}
|
||||||
spec:
|
spec:
|
||||||
|
{{- with .Values.imagePullSecrets }}
|
||||||
|
imagePullSecrets:
|
||||||
|
{{- toYaml . | nindent 8 }}
|
||||||
|
{{- end }}
|
||||||
serviceAccountName: {{ .Values.rollout.fullname }}
|
serviceAccountName: {{ .Values.rollout.fullname }}
|
||||||
containers:
|
containers:
|
||||||
- name: {{ .Chart.Name }}
|
- name: {{ .Chart.Name }}
|
||||||
|
|
|
||||||
|
|
@ -5,6 +5,7 @@
|
||||||
# values for rollout installation
|
# values for rollout installation
|
||||||
installation:
|
installation:
|
||||||
namespace: kruise-rollout
|
namespace: kruise-rollout
|
||||||
|
createNamespace: true
|
||||||
|
|
||||||
rollout:
|
rollout:
|
||||||
fullname: kruise-rollout-controller-manager
|
fullname: kruise-rollout-controller-manager
|
||||||
|
|
@ -23,7 +24,8 @@ image:
|
||||||
pullPolicy: Always
|
pullPolicy: Always
|
||||||
# Overrides the image tag whose default is the chart appVersion.
|
# Overrides the image tag whose default is the chart appVersion.
|
||||||
tag: v0.3.0-rc.0
|
tag: v0.3.0-rc.0
|
||||||
|
imagePullSecrets:
|
||||||
|
# - name: for-your-secret-name
|
||||||
serviceAccount:
|
serviceAccount:
|
||||||
# Annotations to add to the service account
|
# Annotations to add to the service account
|
||||||
annotations: {}
|
annotations: {}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue