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:
2024-02-09 23:43:18 +01:00
committed by GitHub
parent 18428c5767
commit 354d22ba17
5 changed files with 161 additions and 11 deletions

View File

@@ -0,0 +1,5 @@
---
apiVersion: v1
kind: Namespace
metadata:
name: schleppe-lab