Skip to content

Commit

Permalink
✨ Add configuration for setting destination namespace. (#213)
Browse files Browse the repository at this point in the history
  • Loading branch information
gregkonush authored Aug 28, 2024
1 parent eb66c12 commit 7dee4d8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions apps/templates/_application.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,10 @@ spec:
project: default
destination:
server: {{ $root.Values.spec.destination.server }}
{{- if hasKey $application "namespace" }}
destination:
namespace: {{ $application.namespace }}
{{- end }}
source:
repoURL: {{ $root.Values.spec.source.repoURL }}
targetRevision: {{ $root.Values.spec.source.targetRevision }}
Expand Down

0 comments on commit 7dee4d8

Please sign in to comment.