we h atin
All checks were successful
ci/woodpecker/push/haters-guide Pipeline was successful

This commit is contained in:
alexandra catalina 2024-04-27 10:46:49 -07:00
parent ee197b5411
commit 189fc9d763
2 changed files with 37 additions and 0 deletions

View 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
View 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"