Skip to content
This repository has been archived by the owner on Jun 12, 2023. It is now read-only.

canonical/bundle-kubeflow-management

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

60 Commits
 
 
 
 
 
 
 
 

Repository files navigation

bundle-kubeflow-management

Tools for managing the Canonical Charmed Kubeflow bundle

sync_charmstore_credentials.yaml

This workflow automates updating charmstore/charmcraft credentials on all repos listed in sync_charmstore_credentials.yaml. To add new managed repos, add them to the list in the yaml file.

To enable access to update the secrets of the above repos, a github PAT that has access to all repos must be stored here as a secret.

To refresh the credentials for repos, do:

  1. Get recent credentials, for example using:

(charmstore)

charm login && cat ~/.go-cookies

(charmcraft (requires charmcraft > 1.3.1)

charmcraft login --export /tmp/charmcraft.credentials && echo "Copy the key below this line" && cat /tmp/charmcraft.credentials && rm /tmp/charmcraft.credentials
  1. Insert above credentials into this repo's CHARMSTORE_CREDENTIAL/CHARMCRAFT_CREDENTIALS secret (Settings->Secrets)
  2. Run the workflow (Actions->Sync Charmstore Credentials->Run workflow (button at the top right of the workflow runs list)). To do a dryrun, leave dryrun=True. To actually push secrets to all repos, set dryrun=False.

About

Tools for managing the Canonical Charmed Kubeflow bundle

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%