We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 34bef8a commit 82693afCopy full SHA for 82693af
helm/oci-native-ingress-controller/templates/deployment.yaml
@@ -4,7 +4,8 @@
4
# Copyright (c) 2023 Oracle America, Inc. and its affiliates.
5
# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl/
6
#
7
-{{- if not (lookup "v1" "Namespace" "" .Values.deploymentNamespace)}}
+{{- $ns := lookup "v1" "Namespace" "" .Values.deploymentNamespace }}
8
+{{- if or (not $ns) (eq (get $ns.metadata.labels "app.kubernetes.io/managed-by") "Helm") }}
9
apiVersion: v1
10
kind: Namespace
11
metadata:
0 commit comments