Add annotation for cert-manager

This commit is contained in:
wbsong111
2024-12-09 16:17:43 +09:00
parent adaea01e9a
commit 12ecbee647
2 changed files with 66 additions and 2 deletions
+28 -2
View File
@@ -1,12 +1,37 @@
global:
imageRegistry: ""
# # ingress 배포 전 인증서 secret 배포 필요(secret 이름은 platform)
# ingress:
# enabled: true
# annotations:
# kubernetes.io/ingress.class: nginx
# nginx.ingress.kubernetes.io/proxy-body-size: 200m
# hosts:
# - host: gitea.example.org
# paths:
# - path: /
# pathType: Prefix
# tls:
# - hosts:
# host: gitea.example.org
# secretName: platform
# # 사설 인증서를 사용 시 아래 내용 추가
# extraVolumes:
# - name: gitea-tls
# secret:
# secretName: platform
# ingress 배포 전 인증서 secret 배포 필요(secret 이름은 platform)
ingress:
enabled: true
annotations:
kubernetes.io/ingress.class: nginx
nginx.ingress.kubernetes.io/proxy-body-size: 200m
cert-manager.io/cluster-issuer: "selfsigned-issuer"
cert-manager.io/duration: 8760h
cert-manager.io/renew-before: 720h
hosts:
- host: gitea.example.org
paths:
@@ -15,13 +40,14 @@ ingress:
tls:
- hosts:
host: gitea.example.org
secretName: platform
secretName: gitea-tls-secret
# 사설 인증서를 사용 시 아래 내용 추가
extraVolumes:
- name: gitea-tls
secret:
secretName: platform
secretName: gitea-tls-secret
extraContainerVolumeMounts:
- name: gitea-tls