feat(url-shortener): enable production GitOps auto-sync
This commit is contained in:
1 parent
1e20c435cd
commit
2b65a583b9
1 file changed
+10
@@ -26,3 +26,13 @@ spec:
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: "{{index .path.segments 1}}-prod"
|
||||
templatePatch: |
|
||||
{{- if eq (index .path.segments 1) "url-shortener" }}
|
||||
spec:
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: true
|
||||
selfHeal: true
|
||||
{{- else }}
|
||||
{}
|
||||
{{- end }}
|
||||
Reference in new issue
Block a user