diff --git a/bin/install-argo.sh b/bin/install-argo.sh index 57bd8c8..900763a 100755 --- a/bin/install-argo.sh +++ b/bin/install-argo.sh @@ -14,4 +14,5 @@ helm install argocd k8s/argocd \ watch -n1 "kubectl -n argocd get all" +k config set-context --current --namespace argocd argocd admin initial-password \ No newline at end of file diff --git a/k8s/argocd/templates/projects.yaml b/k8s/argocd/templates/projects.yaml index c493b0d..dddc0ae 100644 --- a/k8s/argocd/templates/projects.yaml +++ b/k8s/argocd/templates/projects.yaml @@ -13,4 +13,6 @@ spec: - '*' destinations: - server: https://kubernetes.default.svc + namespace: '*' + name: '*' {{- end -}} \ No newline at end of file diff --git a/k8s/argocd/templates/self-app.yaml b/k8s/argocd/templates/self-app.yaml index 14b5297..c879cba 100644 --- a/k8s/argocd/templates/self-app.yaml +++ b/k8s/argocd/templates/self-app.yaml @@ -14,7 +14,7 @@ spec: helm: parameters: - name: "selfapp.enabled" - value: true + value: "true" - name: "selfapp.sshkey" value: {{ .Values.selfapp.sshkey | quote }} destination: