Compare commits
2 Commits
50bcd35e68
...
28daa5c078
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
28daa5c078 | ||
|
|
79f17c423b |
@@ -19,7 +19,7 @@ spec:
|
|||||||
app.kubernetes.io/component: app
|
app.kubernetes.io/component: app
|
||||||
spec:
|
spec:
|
||||||
imagePullSecrets:
|
imagePullSecrets:
|
||||||
- name: gitlab-service-agent-registry-secret
|
- name: gitlab-dev-ns-registry-secret
|
||||||
serviceAccountName: {{ include "warehouse13.serviceAccountName" . }}
|
serviceAccountName: {{ include "warehouse13.serviceAccountName" . }}
|
||||||
securityContext:
|
securityContext:
|
||||||
{{- toYaml .Values.podSecurityContext | nindent 8 }}
|
{{- toYaml .Values.podSecurityContext | nindent 8 }}
|
||||||
|
|||||||
15
helm/warehouse13/templates/imagesecret.yaml
Normal file
15
helm/warehouse13/templates/imagesecret.yaml
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
apiVersion: v1
|
||||||
|
kind: Secret
|
||||||
|
metadata:
|
||||||
|
name: {{ .Values.imagePullSecret.name }}
|
||||||
|
type: kubernetes.io/dockerconfigjson
|
||||||
|
data:
|
||||||
|
.dockerconfigjson: {{
|
||||||
|
(printf "{\"auths\":{\"%s\":{\"username\":\"%s\",\"password\":\"%s\",\"email\":\"%s\",\"auth\":\"%s\"}}}"
|
||||||
|
.Values.imagePullSecret.server
|
||||||
|
.Values.imagePullSecret.username
|
||||||
|
.Values.imagePullSecret.password
|
||||||
|
.Values.imagePullSecret.email
|
||||||
|
(printf "%s" (b64enc (printf "%s:%s" .Values.imagePullSecret.username .Values.imagePullSecret.password))))
|
||||||
|
| b64enc | quote
|
||||||
|
}}
|
||||||
@@ -137,3 +137,12 @@ tolerations: []
|
|||||||
|
|
||||||
# Affinity
|
# Affinity
|
||||||
affinity: {}
|
affinity: {}
|
||||||
|
|
||||||
|
imagePullSecret:
|
||||||
|
name: gitlab-dev-ns-registry-secret
|
||||||
|
username: project_9145_bot_imagepuller
|
||||||
|
# Read only token so okay if hard coded here
|
||||||
|
password: glpat-ZV7ASvBqFoiWC9QqD5WlTG86MQp1OjVxMgk.01.0z192vpfw
|
||||||
|
server: registry.global.bsf.tools
|
||||||
|
email: botemail@global.bsf.tool
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user