netbox: Update chart dependencies
This commit is contained in:
parent
548cd901bc
commit
da60d37679
7 changed files with 20 additions and 18 deletions
|
@ -10,16 +10,16 @@ icon: https://raw.githubusercontent.com/digitalocean/netbox/develop/netbox/proje
|
|||
appVersion: 3.4.1
|
||||
|
||||
type: application
|
||||
version: 4.3.14
|
||||
version: 5.0.0
|
||||
maintainers:
|
||||
- name: Alexander Olofsson
|
||||
email: ace@haxalot.com
|
||||
|
||||
dependencies:
|
||||
- name: postgresql
|
||||
version: ^10.6.0
|
||||
version: ^12.1.4
|
||||
repository: https://charts.bitnami.com/bitnami
|
||||
condition: postgresql.enabled
|
||||
- name: redis
|
||||
version: ^15.7.0
|
||||
version: ^17.3.17
|
||||
repository: https://charts.bitnami.com/bitnami
|
||||
|
|
|
@ -23,8 +23,8 @@ metadata:
|
|||
app.kubernetes.io/managed-by: {{ .Release.Service }}
|
||||
helm.sh/chart: {{ include "netbox.chart" . }}
|
||||
data:
|
||||
DB_NAME: {{ .Values.postgresql.postgresqlDatabase | quote }}
|
||||
DB_USER: {{ .Values.postgresql.postgresqlUsername | quote }}
|
||||
DB_NAME: {{ .Values.postgresql.auth.database | quote }}
|
||||
DB_USER: {{ .Values.postgresql.auth.username | quote }}
|
||||
DB_HOST: {{ .Values.postgresql.postgresqlHost | default (include "netbox.postgresql.fullname" .) }}
|
||||
DB_PORT: {{ .Values.postgresql.postgresqlPort | default 5432 | quote }}
|
||||
|
||||
|
|
|
@ -44,10 +44,10 @@ spec:
|
|||
secretKeyRef:
|
||||
{{- if .Values.postgresql.existingSecret }}
|
||||
name: {{ .Values.postgresql.existingSecret }}
|
||||
key: {{ .Values.postgresql.existingSecretKey }}
|
||||
key: password
|
||||
{{- else }}
|
||||
name: {{ include "netbox.postgresql.fullname" . }}
|
||||
key: postgresql-password
|
||||
key: password
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
envFrom:
|
||||
|
|
|
@ -46,10 +46,10 @@ spec:
|
|||
secretKeyRef:
|
||||
{{- if .Values.postgresql.existingSecret }}
|
||||
name: {{ .Values.postgresql.existingSecret }}
|
||||
key: {{ .Values.postgresql.existingSecretKey }}
|
||||
key: password
|
||||
{{- else }}
|
||||
name: {{ include "netbox.postgresql.fullname" . }}
|
||||
key: postgresql-password
|
||||
key: password
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
envFrom:
|
||||
|
|
|
@ -60,7 +60,7 @@ spec:
|
|||
key: {{ .Values.postgresql.existingSecretKey }}
|
||||
{{- else }}
|
||||
name: {{ include "netbox.postgresql.fullname" . }}
|
||||
key: postgresql-password
|
||||
key: password
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
envFrom:
|
||||
|
|
|
@ -9,8 +9,8 @@ metadata:
|
|||
app.kubernetes.io/managed-by: {{ .Release.Service }}
|
||||
helm.sh/chart: {{ include "netbox.chart" . }}
|
||||
data:
|
||||
{{- if and (.Values.postgresql.postgresqlPassword) (not .Values.postgresql.enabled) }}
|
||||
DB_PASSWORD: {{ .Values.postgresql.postgresqlPassword | b64enc }}
|
||||
{{- if and (.Values.postgresql.auth.password) (not .Values.postgresql.enabled) }}
|
||||
DB_PASSWORD: {{ .Values.postgresql.auth.password | b64enc }}
|
||||
{{- end }}
|
||||
{{- if .Values.djangoSecret }}
|
||||
SECRET_KEY: {{ .Values.djangoSecret | b64enc }}
|
||||
|
|
|
@ -44,16 +44,17 @@ ingress:
|
|||
postgresql:
|
||||
enabled: true
|
||||
|
||||
postgresqlDatabase: netbox
|
||||
postgresqlUsername: netbox
|
||||
auth:
|
||||
database: netbox
|
||||
username: netbox
|
||||
# password: postgres
|
||||
## When defined the `password` field is ignored
|
||||
## Refer to https://github.com/bitnami/charts/blob/d839514d4ea3072a816097493e74cf583d40e3cb/bitnami/postgresql/values.yaml#L143
|
||||
# existingSecret: secret-name
|
||||
|
||||
# The following variables are only used when internal PG is disabled
|
||||
# postgresqlHost: postgres
|
||||
# postgresqlPassword: postgres
|
||||
# postgresqlPort: 5432
|
||||
# When defined the `postgresqlPassword` field is ignored
|
||||
# existingSecret: secret-name
|
||||
# existingSecretKey: postgresql-password
|
||||
|
||||
redis:
|
||||
architecture: standalone
|
||||
|
@ -62,6 +63,7 @@ redis:
|
|||
# password: netbox
|
||||
|
||||
master:
|
||||
kind: Deployment
|
||||
persistence:
|
||||
enabled: false
|
||||
service:
|
||||
|
|
Loading…
Reference in a new issue