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