Skip to content

REQ: Gitea Part 2 - Drone #362

Answered by Morriz
Dunky13 asked this question in Q&A
Mar 15, 2021 · 5 comments · 4 replies
Discussion options

You must be logged in to vote

Indeed. With "attach secret to drone" becoming a generic script like bin/retrieve-credentials.sh (to make it explicit for now), which performs the following steps:

  1. kubectl get secrets and extract creds
  2. update values locally. For gitea this would be inenv/clouds/$CLOUD/$CLUSTER/secrets.overrides.$CLOUD-$CLUSTER.yaml (section: charts.drone.sourceControl.gitea)
  3. git commit -m "Importing generated credentials [ci skip]" --no-verify

I think step 3 is a clean way to add those to the repo, but that needs to be initialized by then. Is that the case?

Replies: 5 comments 4 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@Dunky13
Comment options

Comment options

You must be logged in to vote
1 reply
@j-zimnowoda
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@j-zimnowoda
Comment options

@Morriz
Comment options

Answer selected by Dunky13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants