mirror of
https://code.forgejo.org/infrastructure/documentation
synced 2024-11-22 11:21:10 +00:00
Earl Warren
0ee041fb98
It is more uniform. It also allows to set externalTrafficPolicy: Local with the benefit of logging the ip of the incoming connection.
36 lines
780 B
YAML
36 lines
780 B
YAML
strategy:
|
|
type: 'Recreate'
|
|
|
|
ingress:
|
|
enabled: true
|
|
annotations:
|
|
# https://cert-manager.io/docs/usage/ingress/#supported-annotations
|
|
# https://github.com/cert-manager/cert-manager/issues/2239
|
|
cert-manager.io/cluster-issuer: letsencrypt-http
|
|
cert-manager.io/private-key-algorithm: ECDSA
|
|
cert-manager.io/private-key-size: 384
|
|
kubernetes.io/ingress.class: traefik
|
|
traefik.ingress.kubernetes.io/router.entrypoints: websecure
|
|
|
|
service:
|
|
http:
|
|
type: ClusterIP
|
|
ipFamilyPolicy: PreferDualStack
|
|
clusterIP: ~
|
|
port: 3000
|
|
ssh:
|
|
type: ClusterIP
|
|
clusterIP: ~
|
|
ipFamilyPolicy: PreferDualStack
|
|
|
|
redis-cluster:
|
|
enabled: false
|
|
postgresql:
|
|
enabled: false
|
|
postgresql-ha:
|
|
enabled: false
|
|
|
|
persistence:
|
|
enabled: true
|
|
create: false
|