Skip to content

Commit

Permalink
chart: add missing sa imagePullSecrets (#4594)
Browse files Browse the repository at this point in the history
Signed-off-by: zhangzujian <[email protected]>
  • Loading branch information
zhangzujian committed Oct 11, 2024
1 parent e782ba0 commit 207fcfb
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions charts/kube-ovn/templates/ovn-sa.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,17 +18,41 @@ kind: ServiceAccount
metadata:
name: ovn-ovs
namespace: kube-system
{{- if .Values.global.registry.imagePullSecrets }}
imagePullSecrets:
{{- range $index, $secret := .Values.global.registry.imagePullSecrets }}
{{- if $secret }}
- name: {{ $secret | quote}}
{{- end }}
{{- end }}
{{- end }}

---
apiVersion: v1
kind: ServiceAccount
metadata:
name: kube-ovn-cni
namespace: kube-system
{{- if .Values.global.registry.imagePullSecrets }}
imagePullSecrets:
{{- range $index, $secret := .Values.global.registry.imagePullSecrets }}
{{- if $secret }}
- name: {{ $secret | quote}}
{{- end }}
{{- end }}
{{- end }}

---
apiVersion: v1
kind: ServiceAccount
metadata:
name: kube-ovn-app
namespace: kube-system
{{- if .Values.global.registry.imagePullSecrets }}
imagePullSecrets:
{{- range $index, $secret := .Values.global.registry.imagePullSecrets }}
{{- if $secret }}
- name: {{ $secret | quote}}
{{- end }}
{{- end }}
{{- end }}

0 comments on commit 207fcfb

Please sign in to comment.