Browse Source
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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
29 additions and
8 deletions
-
dev/helm/templates/service.yaml
-
dev/helm/values.yaml
|
@ -1,15 +1,23 @@ |
|
|
apiVersion: v1 |
|
|
apiVersion: v1 |
|
|
kind: Service |
|
|
kind: Service |
|
|
metadata: |
|
|
metadata: |
|
|
name: {{ include "wiki.fullname" . }} |
|
|
|
|
|
labels: |
|
|
|
|
|
{{- include "wiki.labels" . | nindent 4 }} |
|
|
|
|
|
|
|
|
name: {{include "wiki.fullname" .}} |
|
|
|
|
|
labels: {{- 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: |
|
|
|
|
|
{{- include "wiki.selectorLabels" . | nindent 4 }} |
|
|
|
|
|
|
|
|
- port: {{.Values.service.httpsPort}} |
|
|
|
|
|
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. |
|
|
## |
|
|
## |
|
|