diff --git a/generator/templates/argocd/namespaces/deploykf-core/deploykf-auth.yaml b/generator/templates/argocd/namespaces/deploykf-core/deploykf-auth.yaml index 962c2517..74477b61 100644 --- a/generator/templates/argocd/namespaces/deploykf-core/deploykf-auth.yaml +++ b/generator/templates/argocd/namespaces/deploykf-core/deploykf-auth.yaml @@ -3,5 +3,9 @@ kind: Namespace metadata: name: {{< .Values.deploykf_core.deploykf_auth.namespace | quote >}} labels: + {{- if .Values.deploykf_dependencies.istio.revision }} + istio.io/rev: {{ .Values.deploykf_dependencies.istio.revision }} + {{- else }} istio-injection: enabled + {{- end }} deploykf.github.io/inject-root-ca-cert: enabled \ No newline at end of file diff --git a/generator/templates/argocd/namespaces/deploykf-core/deploykf-dashboard.yaml b/generator/templates/argocd/namespaces/deploykf-core/deploykf-dashboard.yaml index ffab9e89..3182c9a8 100644 --- a/generator/templates/argocd/namespaces/deploykf-core/deploykf-dashboard.yaml +++ b/generator/templates/argocd/namespaces/deploykf-core/deploykf-dashboard.yaml @@ -3,5 +3,9 @@ kind: Namespace metadata: name: {{< .Values.deploykf_core.deploykf_dashboard.namespace | quote >}} labels: + {{- if .Values.deploykf_dependencies.istio.revision }} + istio.io/rev: {{ .Values.deploykf_dependencies.istio.revision }} + {{- else }} istio-injection: enabled + {{- end }} deploykf.github.io/inject-root-ca-cert: enabled \ No newline at end of file diff --git a/generator/templates/argocd/namespaces/deploykf-core/deploykf-istio-gateway.yaml b/generator/templates/argocd/namespaces/deploykf-core/deploykf-istio-gateway.yaml index 1f8acde2..4b436f82 100644 --- a/generator/templates/argocd/namespaces/deploykf-core/deploykf-istio-gateway.yaml +++ b/generator/templates/argocd/namespaces/deploykf-core/deploykf-istio-gateway.yaml @@ -3,5 +3,9 @@ kind: Namespace metadata: name: {{< .Values.deploykf_core.deploykf_istio_gateway.namespace | quote >}} labels: + {{- if .Values.deploykf_dependencies.istio.revision }} + istio.io/rev: {{ .Values.deploykf_dependencies.istio.revision }} + {{- else }} istio-injection: enabled + {{- end }} deploykf.github.io/inject-root-ca-cert: enabled \ No newline at end of file diff --git a/generator/templates/argocd/namespaces/deploykf-opt/deploykf-minio.yaml b/generator/templates/argocd/namespaces/deploykf-opt/deploykf-minio.yaml index 3bd8e6b0..aff2bcdb 100644 --- a/generator/templates/argocd/namespaces/deploykf-opt/deploykf-minio.yaml +++ b/generator/templates/argocd/namespaces/deploykf-opt/deploykf-minio.yaml @@ -3,5 +3,9 @@ kind: Namespace metadata: name: {{< .Values.deploykf_opt.deploykf_minio.namespace | quote >}} labels: + {{- if .Values.deploykf_dependencies.istio.revision }} + istio.io/rev: {{ .Values.deploykf_dependencies.istio.revision }} + {{- else }} istio-injection: enabled + {{- end }} deploykf.github.io/inject-root-ca-cert: enabled \ No newline at end of file diff --git a/generator/templates/argocd/namespaces/kubeflow-dependencies/kubeflow-argo-workflows.yaml b/generator/templates/argocd/namespaces/kubeflow-dependencies/kubeflow-argo-workflows.yaml index ae268c43..2162ea08 100644 --- a/generator/templates/argocd/namespaces/kubeflow-dependencies/kubeflow-argo-workflows.yaml +++ b/generator/templates/argocd/namespaces/kubeflow-dependencies/kubeflow-argo-workflows.yaml @@ -3,5 +3,9 @@ kind: Namespace metadata: name: {{< .Values.kubeflow_dependencies.kubeflow_argo_workflows.namespace | quote >}} labels: + {{- if .Values.deploykf_dependencies.istio.revision }} + istio.io/rev: {{ .Values.deploykf_dependencies.istio.revision }} + {{- else }} istio-injection: enabled + {{- end }} deploykf.github.io/inject-root-ca-cert: enabled \ No newline at end of file diff --git a/generator/templates/argocd/namespaces/kubeflow-tools/kubeflow.yaml b/generator/templates/argocd/namespaces/kubeflow-tools/kubeflow.yaml index 0f072de6..cf1a3429 100644 --- a/generator/templates/argocd/namespaces/kubeflow-tools/kubeflow.yaml +++ b/generator/templates/argocd/namespaces/kubeflow-tools/kubeflow.yaml @@ -4,5 +4,9 @@ metadata: name: kubeflow labels: control-plane: kubeflow + {{- if .Values.deploykf_dependencies.istio.revision }} + istio.io/rev: {{ .Values.deploykf_dependencies.istio.revision }} + {{- else }} istio-injection: enabled + {{- end }} deploykf.github.io/inject-root-ca-cert: enabled \ No newline at end of file