Skip to content

Conversation

jessesanford
Copy link

@jessesanford jessesanford commented Jun 10, 2025

++ ./kubectl -n argocd get secret argocd-initial-admin-secret -o 'go-template={{.data.password | base64decode }}'
+ ARGOCD_PASSWORD=RFsGyBqRqTGMeGZc
++ curl -k -sS http://argocd-server.argocd.svc.cluster.local:443/api/v1/session -H 'Content-Type: application/json' -d '{"username":"admin","password":"RFsGyBqRqTGMeGZc"}'
++ jq -r .token
+ ARGOCD_SESSION_TOKEN=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJhcmdvY2QiLCJzdWIiOiJhZG1pbjpsb2dpbiIsImV4cCI6MTc0OTYxNTYyNiwibmJmIjoxNzQ5NTI5MjI2LCJpYXQiOjE3NDk1MjkyMjYsImp0aSI6IjBjZTZmYjZlLWJkYjQtNDdlNi04NmQ5LTRmYTdkMGJkY2Y0OSJ9.9HwA7KYq2bo18sOxNmaVTLMoPNbCcred4DW8N5ybIUI
+ echo 'apiVersion: v1
kind: Secret
metadata:
  name: keycloak-clients
  namespace: keycloak
type: Opaque
stringData:
  ARGO_WORKFLOWS_CLIENT_SECRET: RFs2KTeZnJrSRE7cwU4ctJHAfcMwViHG
  ARGO_WORKFLOWS_CLIENT_ID: argo-workflows
  ARGOCD_SESSION_TOKEN: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJhcmdvY2QiLCJzdWIiOiJhZG1pbjpsb2dpbiIsImV4cCI6MTc0OTYxNTYyNiwibmJmIjoxNzQ5NTI5MjI2LCJpYXQiOjE3NDk1MjkyMjYsImp0aSI6IjBjZTZmYjZlLWJkYjQtNDdlNi04NmQ5LTRmYTdkMGJkY2Y0OSJ9.9HwA7KYq2bo18sOxNmaVTLMoPNbCcred4DW8N5ybIUI
  BACKSTAGE_CLIENT_SECRET: MR1CNTFEjFUZQ2dUGrSWkWxCfEhJ7pit
  BACKSTAGE_CLIENT_ID: backstage
'
+ ./kubectl apply -f /tmp/secret.yaml
secret/keycloak-clients created

Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

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.

2 participants