You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
hetzner-ansible/roles/kubernetes/gitea/defaults/main.yml

50 lines
1.3 KiB
YAML

---
k8s_gitea_helm__release_values:
gitea:
admin:
username: gitea_admin
password: '{{ k8s_gitea_helm__gitea_admin_password_vault }}'
email: '{{ devops_email_address }}'
metrics:
enabled: true
serviceMonitor:
enabled: true
config:
cache:
ENABLED: false
startupProbe:
tcpSocket:
port: http
initialDelaySeconds: 30
timeoutSeconds: 1
periodSeconds: 10
successThreshold: 1
failureThreshold: 10
memcached:
enabled: false
ingress:
enabled: true
annotations:
cert-manager.io/cluster-issuer: letsencrypt-prod
cert-manager.io/issue-temporary-certificate: "true"
kubernetes.io/ingress.class: nginx
nginx.ingress.kubernetes.io/ssl-redirect: "false"
nginx.ingress.kubernetes.io/whitelist-source-range: "{{ ( ip_whitelist ) | join(',') }}"
hosts:
- host: "{{ stage }}-gitea.{{ domain }}"
paths:
- path: '/'
pathType: Prefix
tls:
- secretName: "{{ stage }}-gitea-cert"
hosts:
- "{{ stage }}-gitea.{{ domain }}"
persistence:
enabled: true
storageClass: hcloud-volumes
postgresql:
global:
postgresql:
postgresqlUsername: gitti
postgresqlPassword: '{{ k8s_gitea_helm__postgresql_global_postgresql_postgresqlPassword_vault }}'