fix(helm-charts): rename templates and update parameter descriptions
This commit is contained in:
18 files changed
+25
-25
No files matched your search
@@ -4,9 +4,9 @@ This chart deploys cluster issuers for prod and staging and for dns and http.
|
||||
|
||||
## Parameters
|
||||
|
||||
### ACME parameters
|
||||
### Acme parameters
|
||||
|
||||
| Name | Description | Value |
|
||||
| ------------- | -------------------------- | ------------------- |
|
||||
| `acme.email` | The email address for ACME | `login@example.com` |
|
||||
| `acme.solver` | The solver for ACME | `infomaniak` |
|
||||
| Name | Description | Value |
|
||||
| ------------- | --------------------------- | ------------------- |
|
||||
| `acme.email` | Registration e-mail adresss | `login@example.com` |
|
||||
| `acme.solver` | Setup dns solver | `infomaniak` |
|
||||
File renamed without changes.
File renamed without changes.
@@ -12,10 +12,3 @@ This Helm chart deploys Hugo site.
|
||||
| `ingress.className` | The class name for the ingress | `nginx` |
|
||||
| `ingress.clusterIssuerRef` | The cluster issuer reference for the ingress | `nil` |
|
||||
| `ingress.host` | The host for the ingress | `hugo.knd.local` |
|
||||
|
||||
### Hugo parameters
|
||||
|
||||
| Name | Description | Value |
|
||||
| ----------------- | -------------------------- | ------------------------------------- |
|
||||
| `image` | The image for Hugo | `janikvonrotz/janikvonrotz.ch:latest` |
|
||||
| `imagePullPolicy` | Pull policy for hugo image | `Always` |
|
||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -6,7 +6,7 @@ metadata:
|
||||
app: odoo
|
||||
data:
|
||||
GITHUB_PERSONAL_ACCESS_TOKEN: {{ .Values.githubPersonalAccessToken | b64enc | quote }}
|
||||
{{- if .Values.postgresql.enabled }}
|
||||
{{- if and .Values.postgresql.enabled (not (lookup "v1" "Secret" .Release.Namespace .Values.postgresql.auth.existingSecret)) }}
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Secret
|
||||
File renamed without changes.
+1
-1
@@ -16,4 +16,4 @@ This chart deploys a Postgres container and stores the credentials in a secret.
|
||||
| `password` | If not set a password will be generated | `nil` |
|
||||
| `secretRef` | The secret reference for Postgres | `postgres` |
|
||||
| `userPasswordKey` | The user password key for Postgres | `password` |
|
||||
| `storageClassName` | Set the storage class | `standard` |
|
||||
| `storageClassName` | Set the storage class | `nil` |
|
||||
File renamed without changes.
@@ -1,11 +0,0 @@
|
||||
apiVersion: v1
|
||||
kind: Secret
|
||||
metadata:
|
||||
name: {{ .Values.secretRef }}
|
||||
labels:
|
||||
app: postgres
|
||||
data:
|
||||
port: {{ .Values.port | toString | b64enc | quote }}
|
||||
db: {{ .Values.db | b64enc | quote }}
|
||||
user: {{ .Values.user | b64enc | quote }}
|
||||
{{ .Values.userPasswordKey }}: {{ .Values.password | default (randAlphaNum 20) | b64enc | quote }}
|
||||
File renamed without changes.
@@ -0,0 +1,18 @@
|
||||
apiVersion: v1
|
||||
kind: Secret
|
||||
metadata:
|
||||
name: {{ .Values.secretRef }}
|
||||
labels:
|
||||
app: postgres
|
||||
type: Opaque
|
||||
data:
|
||||
port: {{ .Values.port | toString | b64enc | quote }}
|
||||
db: {{ .Values.db | b64enc | quote }}
|
||||
user: {{ .Values.user | b64enc | quote }}
|
||||
{{- $passwordKey := .Values.userPasswordKey }}
|
||||
{{- $existingSecret := lookup "v1" "Secret" .Release.Namespace .Values.secretRef }}
|
||||
{{- if and $existingSecret (index $existingSecret.data $passwordKey) }}
|
||||
{{ $passwordKey }}: {{ index $existingSecret.data $passwordKey }}
|
||||
{{- else }}
|
||||
{{ $passwordKey }}: {{ .Values.password | default (randAlphaNum 20) | b64enc | quote }}
|
||||
{{- end }}
|
||||
File renamed without changes.
Reference in new issue
Block a user