This commit is contained in:
parent
ee197b5411
commit
189fc9d763
18
.woodpecker/.haters-guide.yaml
Normal file
18
.woodpecker/.haters-guide.yaml
Normal file
|
@ -0,0 +1,18 @@
|
|||
when:
|
||||
- branch: trunk
|
||||
event: manual
|
||||
- branch: trunk
|
||||
event: push
|
||||
path:
|
||||
include: ['haters-guide/values.yaml', '.woodpecker/.haters-guide.yaml']
|
||||
|
||||
variables:
|
||||
- &kubectl_setup mkdir -p /root/.kube && echo "$KUBEAUTH" | base64 -d > /root/.kube/config && chmod 0600 /root/.kube/config
|
||||
|
||||
steps:
|
||||
- name: haters-guide
|
||||
image: dtzar/helm-kubectl:${HELM_VER}
|
||||
commands:
|
||||
- *kubectl_setup
|
||||
- helm upgrade --install twitter oci://registry-1.docker.io/bitnamicharts/nginx --version 16.0.6 --values haters-guide/values.yaml --namespace static --atomic
|
||||
secrets: [KUBEAUTH]
|
19
haters-guide/values.yaml
Normal file
19
haters-guide/values.yaml
Normal file
|
@ -0,0 +1,19 @@
|
|||
cloneStaticSiteFromGit:
|
||||
enabled: true
|
||||
repository: https://computer.crimes.consulting/egirl/haters-guide.git
|
||||
branch: trunk
|
||||
|
||||
service:
|
||||
type: ClusterIP
|
||||
|
||||
containerPorts:
|
||||
http: 8080
|
||||
https: null
|
||||
|
||||
ingress:
|
||||
enabled: true
|
||||
ingressClassName: nginx
|
||||
hostname: retro.garbage.world
|
||||
tls: true
|
||||
annotations:
|
||||
cert-manager.io/cluster-issuer: "letsencrypt-prod"
|
Loading…
Reference in a new issue