commit 0bf8d46fffb10a3630840ef89c1f693c8e4d5796 parent 74757e20b0ab3055fd00089aac0318d7decd4bfe Author: MTRNord <mtrnord1@gmail.com> Date: Wed, 20 Mar 2024 12:03:43 +0100 Disable weave since its dead Diffstat:
| M | infrastructure/controllers/cert-manager.yaml | | | 17 | ++++++++++++++++- |
| M | infrastructure/controllers/kustomization.yaml | | | 2 | +- |
| M | infrastructure/controllers/weave-gitops.yaml | | | 16 | ---------------- |
3 files changed, 17 insertions(+), 18 deletions(-)
diff --git a/infrastructure/controllers/cert-manager.yaml b/infrastructure/controllers/cert-manager.yaml @@ -58,4 +58,19 @@ spec: prometheus: servicemonitor: enabled: true - +--- +apiVersion: networking.k8s.io/v1 +kind: NetworkPolicy +metadata: + name: allow-certmanager-ingress + namespace: flux-system +spec: + podSelector: + matchLabels: + acme.cert-manager.io/http01-solver: "true" + ingress: + - ports: + - protocol: TCP + port: 8089 + policyTypes: + - Ingress diff --git a/infrastructure/controllers/kustomization.yaml b/infrastructure/controllers/kustomization.yaml @@ -3,7 +3,7 @@ kind: Kustomization resources: #- metallb.yaml - cert-manager.yaml - - weave-gitops.yaml + #- weave-gitops.yaml - image-updater.yaml #- calico.yaml #- kube-router.yaml diff --git a/infrastructure/controllers/weave-gitops.yaml b/infrastructure/controllers/weave-gitops.yaml @@ -80,22 +80,6 @@ spec: apiVersion: networking.k8s.io/v1 kind: NetworkPolicy metadata: - name: allow-certmanager-ingress - namespace: flux-system -spec: - podSelector: - matchLabels: - acme.cert-manager.io/http01-solver: "true" - ingress: - - ports: - - protocol: TCP - port: 8089 - policyTypes: - - Ingress ---- -apiVersion: networking.k8s.io/v1 -kind: NetworkPolicy -metadata: name: allow-weave namespace: flux-system spec: