misc: modify helm chart for extended service features (#2192)

***NO_CI***
* feat: modify helm chart for extended service features

* misc: helm values.yaml

Co-authored-by: Nicolas Giard <github@ngpixel.com>
pull/2269/head
Jung Hong Kim 4 years ago committed by GitHub
parent e8a11f82bc
commit 49f2410108
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1,15 +1,23 @@
apiVersion: v1 apiVersion: v1
kind: Service kind: Service
metadata: metadata:
name: {{ include "wiki.fullname" . }} name: {{include "wiki.fullname" .}}
labels: labels: {{- include "wiki.labels" . | nindent 4 }}
{{- include "wiki.labels" . | nindent 4 }} {{- with .Values.service.annotations }}
annotations:
{{- range $key, $value := . }}
{{ $key }}: {{ $value | quote }}
{{- end }}
{{- end }}
spec: spec:
type: {{ .Values.service.type }} type: {{.Values.service.type}}
ports: ports:
- port: {{ .Values.service.port }} - port: {{.Values.service.port}}
targetPort: http targetPort: http
protocol: TCP protocol: TCP
name: http name: http
selector: - port: {{.Values.service.httpsPort}}
{{- include "wiki.selectorLabels" . | nindent 4 }} targetPort: http
protocol: TCP
name: https
selector: {{- include "wiki.selectorLabels" . | nindent 4}}

@ -35,6 +35,11 @@ securityContext: {}
service: service:
type: ClusterIP type: ClusterIP
port: 80 port: 80
# Annotations applied for services such as externalDNS or
# service type LoadBalancer
# type: LoadBalancer
# httpsPort: 443
# annotations: {}
ingress: ingress:
enabled: false enabled: false
@ -75,7 +80,11 @@ postgresql:
## Set to false if bringing your own PostgreSQL, and set secret value postgresql-uri. ## Set to false if bringing your own PostgreSQL, and set secret value postgresql-uri.
## ##
enabled: true enabled: true
### PostgreSQL User to create. ## PostgreSQL fullname Override
## Default to wiki-postgresql unless fullname override is set for Chart
##
fullnameOverride: ""
## PostgreSQL User to create.
## ##
postgresqlUser: postgres postgresqlUser: postgres
## PostgreSQL Database to create. ## PostgreSQL Database to create.
@ -84,6 +93,10 @@ postgresql:
## Persistent Volume Storage configuration. ## Persistent Volume Storage configuration.
## ref: https://kubernetes.io/docs/user-guide/persistent-volumes ## ref: https://kubernetes.io/docs/user-guide/persistent-volumes
## ##
replication:
## Enable PostgreSQL replication (primary/secondary)
##
enabled: false
persistence: persistence:
## Enable PostgreSQL persistence using Persistent Volume Claims. ## Enable PostgreSQL persistence using Persistent Volume Claims.
## ##

Loading…
Cancel
Save