Skip to content

Commit

Permalink
chore: enable argo cd to use the development cluster in run-kind (#1969)
Browse files Browse the repository at this point in the history
This fixes the issue where the rollout-service could not communicate
with argo cd (permission denied). It has actually nothing to do with
permissions, the project was just misconfigured.
Note that this fix is only for the development cluster.

Ref: SRX-78FWXB
  • Loading branch information
sven-urbanski-freiheit-com authored Sep 20, 2024
1 parent 65bf922 commit 4bcde12
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion charts/kuberpult/run-kind.sh
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,7 @@ $(sed -e "s/^/ /" <../../services/cd-service/known_hosts)
policy.csv: |
p, role:kuberpult, applications, get, */*, allow
p, role:kuberpult, applications, create, */*, allow
p, role:kuberpult, applications, update, */*, allow
p, role:kuberpult, applications, sync, */*, allow
p, role:kuberpult, applications, delete, */*, allow
g, kuberpult, role:kuberpult
Expand All @@ -229,11 +230,13 @@ helm install argocd argo-cd/argo-cd --values argocd-values.yml --version 5.36.0

print applying app...

# For now, we are only creating development here
# This means argo cd will only handle development, including the rollout-status
kubectl apply -f - <<EOF
apiVersion: argoproj.io/v1alpha1
kind: AppProject
metadata:
name: test-env
name: development
namespace: ${ARGO_NAMESPACE}
spec:
description: test-env
Expand Down

0 comments on commit 4bcde12

Please sign in to comment.