Skip to content
This repository was archived by the owner on Dec 7, 2025. It is now read-only.

Commit 1909bb2

Browse files
Fix v102
1 parent b99d9cc commit 1909bb2

File tree

3 files changed

+8
-0
lines changed

3 files changed

+8
-0
lines changed

manifests/nginx-application.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ spec:
2323
server: https://kubernetes.default.svc
2424
namespace: ingress-nginx
2525
syncPolicy:
26+
syncOptions:
27+
- CreateNamespace=true
2628
automated:
2729
selfHeal: true
2830
prune: true

manifests/nginx-namespace.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
apiVersion: v1
2+
kind: Namespace
3+
metadata:
4+
name: ingress-nginx

scripts/k8s-basic.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ kubectl apply -n argocd -f https://raw.githubusercontent.com/argoproj/argo-cd/st
2626

2727
# ingress-nginx: HTTP entry point into cluster
2828
kubectl apply -f https://raw.githubusercontent.com/kubernetes/ingress-nginx/controller-v1.12.2/deploy/static/provider/cloud/deploy.yaml
29+
# for delete (transfer to gitops)
30+
kubectl delete -f https://raw.githubusercontent.com/kubernetes/ingress-nginx/controller-v1.12.2/deploy/static/provider/cloud/deploy.yaml
2931

3032
# Sealed Secrets controller — encrypt secrets for Git
3133
kubectl apply -f https://github.com/bitnami-labs/sealed-secrets/releases/latest/download/controller.yaml

0 commit comments

Comments
 (0)