add short names

add publish conditions for services

use official gitea helm chart
This commit is contained in:
ace
2021-01-25 21:04:57 +03:00
parent f1694a4e81
commit 82c5f35eda
26 changed files with 182 additions and 156 deletions

View File

@ -1,3 +1,4 @@
openldap_short_name: "openldap"
openldap_default_values:
replicaCount: 1
@ -26,10 +27,10 @@ openldap_default_values:
# settings for enabling TLS
tls:
enabled: true
secret: "openldap.{{ domain }}-secret" # The name of a kubernetes.io/tls type secret to use for TLS
secret: "{{ openldap_short_name }}.{{ domain }}-secret" # The name of a kubernetes.io/tls type secret to use for TLS
CA:
enabled: true
secret: "openldap.{{ domain }}-ca" # The name of a generic secret to use for custom CA certificate (ca.crt)
secret: "{{ openldap_short_name }}.{{ domain }}-ca" # The name of a generic secret to use for custom CA certificate (ca.crt)
## Add additional labels to all resources
extraLabels: {}
@ -37,7 +38,7 @@ openldap_default_values:
podAnnotations: {}
service:
annotations:
external-dns.alpha.kubernetes.io/hostname: openldap.{{ domain }}
external-dns.alpha.kubernetes.io/hostname: {{ openldap_short_name }}.{{ domain }}
clusterIP: ""
ldapPort: 389