mirror of
https://github.com/KevinMidboe/schleppe-lab.git
synced 2026-01-08 18:35:49 +00:00
CI vault secrets & Kubernetes (#2)
* Define secrets that use vault plugin * Fix drone linting issue * Persist .kube folder as volume between build steps * Split Build and Publish into separate pipelines * Only run publish pipeline when triggered by main * Import .kube/config from vault * echo env variables contents into kube config file * drone-vault not working, curl with token instead * Removed all secrets, look to org secrets * Kubernetes file * Import dockerconfig from vault and apply as kubernetes secret
This commit is contained in:
10
.kubernetes/ghcr-token-secret.yml
Normal file
10
.kubernetes/ghcr-token-secret.yml
Normal file
@@ -0,0 +1,10 @@
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Secret
|
||||
metadata:
|
||||
name: ghcr-login-secret
|
||||
namespace: schleppe-lab
|
||||
data:
|
||||
.dockerconfigjson: |
|
||||
${DOCKER_CONFIG_BASE64}
|
||||
type: kubernetes.io/dockerconfigjson
|
||||
Reference in New Issue
Block a user