Various bugfixes

This commit is contained in:
Stefan Reimer 2023-11-22 13:19:13 +00:00
parent 81321e7601
commit b38b5ef086
5 changed files with 11 additions and 9 deletions

View File

@ -19,8 +19,9 @@ def migrate(values):
try: try:
if values["logging"]["eck-operator"]["enabled"]: if values["logging"]["eck-operator"]["enabled"]:
if "operators" not in values: if "operators" not in values:
values["operators"] = {} values["operators"] = { "enabled": True }
values["operators"]["eck-operator"] = { "enabled": true } values["operators"]["eck-operator"] = { "enabled": True }
values["logging"].pop("eck-operator", None)
except KeyError: except KeyError:
pass pass

View File

@ -2,7 +2,7 @@ apiVersion: v2
name: kubezero-logging name: kubezero-logging
description: KubeZero Umbrella Chart for complete EFK stack description: KubeZero Umbrella Chart for complete EFK stack
type: application type: application
version: 0.8.7 version: 0.8.8
appVersion: 1.6.0 appVersion: 1.6.0
home: https://kubezero.com home: https://kubezero.com
icon: https://cdn.zero-downtime.net/assets/kubezero/logo-small-64.png icon: https://cdn.zero-downtime.net/assets/kubezero/logo-small-64.png

View File

@ -1,8 +1,4 @@
{{- define "logging-values" }} {{- define "logging-values" }}
{{- with index .Values "logging" "eck-operator" }}
eck-operator:
{{- toYaml . | nindent 2 }}
{{- end }}
{{- if .Values.logging.elastic_password }} {{- if .Values.logging.elastic_password }}
elastic_password: {{ .Values.logging.elastic_password }} elastic_password: {{ .Values.logging.elastic_password }}

View File

@ -5,6 +5,11 @@ opensearch-operator:
{{- toYaml . | nindent 2 }} {{- toYaml . | nindent 2 }}
{{- end }} {{- end }}
{{- with index .Values "operators" "eck-operator" }}
eck-operator:
{{- toYaml . | nindent 2 }}
{{- end }}
{{- end }} {{- end }}

View File

@ -71,7 +71,7 @@ istio-private-ingress:
enabled: false enabled: false
chart: kubezero-istio-gateway chart: kubezero-istio-gateway
namespace: istio-ingress namespace: istio-ingress
targetRevision: 0.18.2 targetRevision: 0.19.4
gateway: gateway:
service: {} service: {}
@ -107,7 +107,7 @@ metrics:
logging: logging:
enabled: false enabled: false
namespace: logging namespace: logging
targetRevision: 0.8.7 targetRevision: 0.8.8
argocd: argocd:
enabled: false enabled: false