feat(test): gitea registry pull secret and imagePullSecrets
This commit is contained in:
@@ -26,6 +26,10 @@ spec:
|
||||
labels:
|
||||
app: adminpanel
|
||||
spec:
|
||||
{{- with .Values.imagePullSecrets }}
|
||||
imagePullSecrets:
|
||||
{{- toYaml . | nindent 8 }}
|
||||
{{- end }}
|
||||
containers:
|
||||
- name: adminpanel
|
||||
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
|
||||
|
||||
@@ -6,3 +6,7 @@ runtimeEnv:
|
||||
|
||||
image:
|
||||
tag: local-test
|
||||
pullPolicy: IfNotPresent
|
||||
|
||||
imagePullSecrets:
|
||||
- name: gitea-registry
|
||||
|
||||
@@ -5,6 +5,8 @@ image:
|
||||
tag: local-test
|
||||
pullPolicy: IfNotPresent
|
||||
|
||||
imagePullSecrets: []
|
||||
|
||||
replicaCount: 1
|
||||
|
||||
ingress:
|
||||
|
||||
@@ -80,6 +80,10 @@ spec:
|
||||
app: backend
|
||||
env: test
|
||||
spec:
|
||||
{{- with .Values.imagePullSecrets }}
|
||||
imagePullSecrets:
|
||||
{{- toYaml . | nindent 8 }}
|
||||
{{- end }}
|
||||
containers:
|
||||
- name: php-fpm
|
||||
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
|
||||
|
||||
@@ -3,6 +3,10 @@ ingress:
|
||||
|
||||
image:
|
||||
tag: local-test
|
||||
pullPolicy: IfNotPresent
|
||||
|
||||
imagePullSecrets:
|
||||
- name: gitea-registry
|
||||
|
||||
env:
|
||||
API_PUBLIC_URL: http://api.test.sova.local
|
||||
|
||||
@@ -5,6 +5,8 @@ image:
|
||||
tag: local-test
|
||||
pullPolicy: IfNotPresent
|
||||
|
||||
imagePullSecrets: []
|
||||
|
||||
nginx:
|
||||
image: nginx:1.27-alpine
|
||||
|
||||
|
||||
Reference in New Issue
Block a user