[SO] don't use SO repositoryOverride for soHelper 62/114562/1
authorSylvain Desbureaux <sylvain.desbureaux@orange.com>
Tue, 3 Nov 2020 17:02:39 +0000 (18:02 +0100)
committerSylvain Desbureaux <sylvain.desbureaux@orange.com>
Tue, 3 Nov 2020 17:02:39 +0000 (18:02 +0100)
soHelper is currently using repositoryOverride value of SO in the
templates, making SO gating very hard.
This commit prevents that (it's always possible to use the same
repository by setting repositoryOverride on soHelper)

Issue-ID: OOM-2617

Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com>
Change-Id: I88ce702b04242d7f4244698bce3114a1303394cd

kubernetes/so/components/soHelpers/templates/_certificates.tpl

index 98876e3..d148a1c 100644 (file)
@@ -5,7 +5,7 @@
 {{ include "common.certInitializer.initContainer" $subchartDot }}
 {{- if $dot.Values.global.aafEnabled }}
 - name: {{ include "common.name" $dot }}-msb-cert-importer
-  image: "{{ include "common.repository" $dot }}/{{ $dot.Values.global.aafAgentImage }}"
+  image: "{{ include "common.repository" $subchartDot }}/{{ $dot.Values.global.aafAgentImage }}"
   imagePullPolicy: {{ $dot.Values.global.pullPolicy | default $subchartDot.Values.pullPolicy }}
   command:
   - "/bin/sh"