From df23bdbaf02506252617b6f38b65a604cb6f892d Mon Sep 17 00:00:00 2001 From: Mans Ziesel Date: Mon, 23 Sep 2024 20:30:08 +0200 Subject: [PATCH] fix setup again --- argocd/base/argo-cd-namespace.yaml | 1 + argocd/kustomization.yaml | 3 +-- whoami/base/whoami-svc.yaml | 14 ++++++++++++++ 3 files changed, 16 insertions(+), 2 deletions(-) diff --git a/argocd/base/argo-cd-namespace.yaml b/argocd/base/argo-cd-namespace.yaml index 5bb2eb2..052a244 100644 --- a/argocd/base/argo-cd-namespace.yaml +++ b/argocd/base/argo-cd-namespace.yaml @@ -4,3 +4,4 @@ metadata: name: argocd labels: name: argocd + pod-security.kubernetes.io/enforce: privileged diff --git a/argocd/kustomization.yaml b/argocd/kustomization.yaml index f52c0a3..ce033ec 100644 --- a/argocd/kustomization.yaml +++ b/argocd/kustomization.yaml @@ -5,5 +5,4 @@ namespace: argocd resources: - base/argo-cd-namespace.yaml -- https://raw.githubusercontent.com/argoproj/argo-cd/master/manifests/ha/install.yaml -- base/argo-cd-app-of-apps.yaml +- https://raw.githubusercontent.com/argoproj/argo-cd/stable/manifests/ha/install.yaml diff --git a/whoami/base/whoami-svc.yaml b/whoami/base/whoami-svc.yaml index a3bb7d5..43ef7b2 100644 --- a/whoami/base/whoami-svc.yaml +++ b/whoami/base/whoami-svc.yaml @@ -22,3 +22,17 @@ spec: targetPort: 80 selector: app: whoami +--- +apiVersion: v1 +kind: Service +metadata: + name: whoami-np + namespace: whoami +spec: + type: NodePort + ports: + - nodePort: 30007 + port: 80 + targetPort: 80 + selector: + app: whoami