From cf0737ecddeff201ffc14613199ac52dd66d8d6a Mon Sep 17 00:00:00 2001 From: Aviram Hassan Date: Sun, 14 Apr 2024 16:11:20 +0300 Subject: [PATCH 1/2] add support for controlling JSON log output in operator --- mirrord-operator/Chart.yaml | 2 +- mirrord-operator/templates/deployment.yaml | 2 ++ mirrord-operator/values.yaml | 2 ++ 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/mirrord-operator/Chart.yaml b/mirrord-operator/Chart.yaml index 429d33d..7e945af 100644 --- a/mirrord-operator/Chart.yaml +++ b/mirrord-operator/Chart.yaml @@ -21,4 +21,4 @@ version: 1.3.0 # incremented each time you make changes to the application. Versions are not expected to # follow Semantic Versioning. They should reflect the version the application is using. # It is recommended to use it with quotes. -appVersion: "3.78.1" +appVersion: "3.79.0" diff --git a/mirrord-operator/templates/deployment.yaml b/mirrord-operator/templates/deployment.yaml index 4a9795c..b773d8d 100644 --- a/mirrord-operator/templates/deployment.yaml +++ b/mirrord-operator/templates/deployment.yaml @@ -33,6 +33,8 @@ spec: value: mirrord-operator - name: OPERATOR_TELEMETRY_ENABLED value: {{ .Values.operator.disableTelemetries | ternary "false" "true" | quote }} + - name: OPERATOR_JSON_LOG + value: {{ .Values.operator.jsonLog | ternary "true" "false" | quote }} - name: OPERATOR_AGENT_CONFIG value: /mirrord-config/agent-config.yaml {{- if or (index .Values.tls.data "tls.key") .Values.tls.certManager.enabled }} diff --git a/mirrord-operator/values.yaml b/mirrord-operator/values.yaml index 9a9a910..b6b388d 100644 --- a/mirrord-operator/values.yaml +++ b/mirrord-operator/values.yaml @@ -15,6 +15,8 @@ roleNamespaces: [] operator: image: ghcr.io/metalbear-co/operator + + json_log: false # imagePullSecrets: # - name: value From 9694c3a4ad49491af489ddedc560f74b54514cc5 Mon Sep 17 00:00:00 2001 From: Aviram Hassan Date: Sun, 14 Apr 2024 16:12:38 +0300 Subject: [PATCH 2/2] fix --- mirrord-operator/values.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mirrord-operator/values.yaml b/mirrord-operator/values.yaml index b6b388d..b415c1c 100644 --- a/mirrord-operator/values.yaml +++ b/mirrord-operator/values.yaml @@ -16,7 +16,7 @@ roleNamespaces: [] operator: image: ghcr.io/metalbear-co/operator - json_log: false + jsonLog: false # imagePullSecrets: # - name: value