mirror of
https://github.com/KevinMidboe/schleppe-lab.git
synced 2025-10-29 01:30:39 +00:00
* 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
20 lines
298 B
YAML
20 lines
298 B
YAML
---
|
|
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: {}
|