Add annotation for cert-manager
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user