Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

setup guide for argo-cd exposed admin ui #42

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

JamesFoxxx
Copy link
Contributor

No description provided.

Comment on lines 6 to 21
kubectl edit -n argocd cm argocd-cm -o yaml
```

append the following:
```yaml
data:
users.anonymous.enabled: "true"
```

`kubectl edit -n argocd cm argocd-rbac-cm -o yaml`

append the following:
```yaml
data:
policy.default: role:admin
```
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please consider making a simple shell build script for ease of use. It should be enough to replace the two kubectl edit interactive commands with their automated counterparts:

  • kubectl patch -n argocd cm argocd-cm -p '{"data":{"users.anonymous.enabled":"true"}}'
  • kubectl patch -n argocd cm argocd-rbac-cm -p '{"data":{"policy.default":"role:admin"}}'

Copy link

@lokiuox lokiuox left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM - confirmed to be working and detected by the plugin in google/tsunami-security-scanner-plugins#452

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants