X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=nonrtric%2Fhelm%2Fcontrolpanel%2Ftemplates%2Fconfigmap.yaml;h=c99b92f8ed5c2c36fe65f14b36bbe597cf04ffa2;hb=326fd8c271cde82ade05d81b77859a002eecd33b;hp=e351ce973dda11946f422caff97b9a19cae4ee57;hpb=979de8747c7fb63438a350fb5631494bc87b485b;p=it%2Fdep.git diff --git a/nonrtric/helm/controlpanel/templates/configmap.yaml b/nonrtric/helm/controlpanel/templates/configmap.yaml index e351ce97..c99b92f8 100644 --- a/nonrtric/helm/controlpanel/templates/configmap.yaml +++ b/nonrtric/helm/controlpanel/templates/configmap.yaml @@ -25,4 +25,8 @@ metadata: release: {{ .Release.Name }} heritage: {{ .Release.Service }} data: -{{ tpl (.Files.Glob "resources/*").AsConfig . | indent 2 }} \ No newline at end of file +{{if eq .Values.controlpanel.ingress.enabled false }} +{{ tpl (.Files.Glob "resources-ngw/*").AsConfig . | indent 2 }} +{{ else }} +{{ tpl (.Files.Glob "resources-ing/*").AsConfig . | indent 2 }} +{{ end }} \ No newline at end of file