Skip to content

Commit

Permalink
Merge pull request #55 from matthewmcdaniel/existing-namespace
Browse files Browse the repository at this point in the history
only create namespace if it doesn't exist.
  • Loading branch information
nirpai authored May 7, 2024
2 parents 43492c3 + e23ec88 commit 438e11f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions helm/oci-native-ingress-controller/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,12 @@
# Copyright (c) 2023 Oracle America, Inc. and its affiliates.
# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl/
#
{{- if not (lookup "v1" "Namespace" "" .Values.deploymentNamespace)}}
apiVersion: v1
kind: Namespace
metadata:
name: {{ .Values.deploymentNamespace }}
{{- end }}
---
apiVersion: apps/v1
kind: Deployment
Expand Down

0 comments on commit 438e11f

Please sign in to comment.