diff --git a/library/common-test/ci/namespace-values.yaml b/library/common-test/ci/namespace-values.yaml new file mode 100644 index 00000000..c1f57263 --- /dev/null +++ b/library/common-test/ci/namespace-values.yaml @@ -0,0 +1,49 @@ +service: + main: + enabled: true + primary: true + ports: + main: + enabled: true + primary: true + protocol: http + port: 8080 + +workload: + main: + enabled: true + primary: true + type: Deployment + podSpec: + containers: + main: + enabled: true + primary: true + args: + - --port + - "8080" + probes: + liveness: + enabled: true + type: http + port: "{{ .Values.service.main.ports.main.port }}" + readiness: + enabled: true + type: http + port: "{{ .Values.service.main.ports.main.port }}" + startup: + enabled: true + type: http + port: "{{ .Values.service.main.ports.main.port }}" + +namespace: + labels: + somelabel: somelabelvalue + +global: + namespace: + labels: + somegloballabel: someglobalvalue + +manifestManager: + enabled: false diff --git a/library/common/templates/class/_certificate.tpl b/library/common/templates/class/_certificate.tpl index f7494cbb..523e4e84 100644 --- a/library/common/templates/class/_certificate.tpl +++ b/library/common/templates/class/_certificate.tpl @@ -13,7 +13,7 @@ apiVersion: {{ include "tc.v1.common.capabilities.cert-manager.certificate.apiVe kind: Certificate metadata: name: {{ $name }} - namespace: {{ include "tc.v1.common.lib.metadata.namespace" (dict "rootCtx" $rootCtx "objectData" $objectData "caller" "certificate") }} + namespace: {{ include "tc.v1.common.lib.metadata.namespace" (dict "rootCtx" $root "objectData" $objectData "caller" "certificate") }} spec: secretName: {{ $name }} dnsNames: