Fix
5911837 parent: 2533903 modified
app.yaml +12 -0 | @@ -14,3 +14,15 @@ spec: | ||
| 14 | 14 | destination: |
| 15 | 15 | server: https://kubernetes.default.svc |
| 16 | 16 | namespace: myapp |
| 17 | + | |
| 18 | + syncPolicy: | |
| 19 | + # create namespace automatically | |
| 20 | + syncOptions: | |
| 21 | + - CreateNamespace=true | |
| 22 | + | |
| 23 | + # sync automatically | |
| 24 | + automated: | |
| 25 | + # delete components if they get removed or renamed in repo | |
| 26 | + prune: true | |
| 27 | + # undo manual cluster changes | |
| 28 | + selfHeal: true | |
| @@ -14,3 +14,15 @@ spec: | |||
| 14 | destination: | 14 | destination: |
| 15 | server: https://kubernetes.default.svc | 15 | server: https://kubernetes.default.svc |
| 16 | namespace: myapp | 16 | namespace: myapp |
| 17 | + | ||
| 18 | + syncPolicy: | ||
| 19 | + # create namespace automatically | ||
| 20 | + syncOptions: | ||
| 21 | + - CreateNamespace=true | ||
| 22 | + | ||
| 23 | + # sync automatically | ||
| 24 | + automated: | ||
| 25 | + # delete components if they get removed or renamed in repo | ||
| 26 | + prune: true | ||
| 27 | + # undo manual cluster changes | ||
| 28 | + selfHeal: true | ||