mirror of
https://github.com/KevinMidboe/schleppe-lab.git
synced 2026-02-11 03:49:27 +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:
19
.kubernetes/service.yml
Normal file
19
.kubernetes/service.yml
Normal file
@@ -0,0 +1,19 @@
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
labels:
|
||||
app: schleppe-lab
|
||||
name: schleppe-lab-service
|
||||
namespace: schleppe-lab
|
||||
spec:
|
||||
ports:
|
||||
- port: 80
|
||||
protocol: TCP
|
||||
targetPort: 80
|
||||
selector:
|
||||
app: schleppe-lab
|
||||
sessionAffinity: None
|
||||
type: ClusterIP
|
||||
status:
|
||||
loadBalancer: {}
|
||||
Reference in New Issue
Block a user