X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=ric-infra%2F10-Nexus%2Fhelm%2Ftemplates%2Fsave-secret-job.yaml;fp=ric-infra%2F10-Nexus%2Fhelm%2Ftemplates%2Fsave-secret-job.yaml;h=1d0e1be28cff5441cb9d91894bc50075633f6494;hb=72069511cae9028d54b8d99fa373b5f4f691e981;hp=44b75ef1bffb631a6d933cddd9fcdcbaae70a9ee;hpb=7f1e409379856025977fc8a6ea04ddb215f21a13;p=it%2Fdep.git diff --git a/ric-infra/10-Nexus/helm/templates/save-secret-job.yaml b/ric-infra/10-Nexus/helm/templates/save-secret-job.yaml index 44b75ef1..1d0e1be2 100644 --- a/ric-infra/10-Nexus/helm/templates/save-secret-job.yaml +++ b/ric-infra/10-Nexus/helm/templates/save-secret-job.yaml @@ -25,18 +25,24 @@ spec: containers: - name: cert-copy image: alpine - command: ["cp", "-rL", "/var/run/certs/..data/tls.crt", "/var/run/certs-copy/"] + command: [ "/bin/sh","-c","cp -rL /var/run/dockercerts/..data/tls.crt /var/run/certs-copy/dockertls.crt && cp -rL /var/run/helmcerts/..data/tls.crt /var/run/certs-copy/helmtls.crt"] # command: ["tail", "-f", "/dev/null"] volumeMounts: - - name: certs - mountPath: /var/run/certs + - name: dockercerts + mountPath: /var/run/dockercerts + readOnly: true + - name: helmcerts + mountPath: /var/run/helmcerts readOnly: true - name: write-to-volume mountPath: /var/run/certs-copy volumes: - - name: certs + - name: dockercerts secret: secretName: {{ include "common.repositorycert" . }} + - name: helmcerts + secret: + secretName: {{ include "common.helmrepositorycert" . }} - name: write-to-volume hostPath: path: /tmp