Add back secret with built-in user for o2 service 40/9340/1
authorBin Yang <bin.yang@windriver.com>
Fri, 21 Oct 2022 07:44:49 +0000 (15:44 +0800)
committerBin Yang <bin.yang@windriver.com>
Fri, 21 Oct 2022 07:45:20 +0000 (15:45 +0800)
Issue-ID: INF-317

Signed-off-by: Bin Yang <bin.yang@windriver.com>
Change-Id: Ia66f8b419d23600359c22bdc9b23295a9ffc7a3d

charts/templates/deployment.yaml
charts/values.yaml

index a9ea8fd..82b675d 100644 (file)
@@ -33,6 +33,8 @@ spec:
       serviceAccountName: {{ .Values.o2ims.serviceaccountname }}
       # imagePullSecrets:
       #   - name: {{ .Values.o2ims.imagePullSecrets }}
+      imagePullSecrets:
+        - name: {{ .Values.o2ims.serviceaccountname }}-registry-secret
 {{- if .Values.o2ims.affinity }}
       affinity:
 {{ toYaml .Values.o2ims.affinity | indent 8 }}
index 0771680..d1e5b3f 100644 (file)
@@ -30,7 +30,7 @@ global:
   namespace: orano2
 
 o2ims:
-  serviceaccountname: admin
+  serviceaccountname: admin-orano2
   image:
     repository: registry.local:9001/admin/o2imsdms
     tag: 0.1.1