diff --git a/charts/argus/Chart.yaml b/charts/argus/Chart.yaml index c1c39e8..f5d07a5 100644 --- a/charts/argus/Chart.yaml +++ b/charts/argus/Chart.yaml @@ -6,9 +6,9 @@ maintainers: - email: argus@logicmonitor.com name: LogicMonitor name: argus -version: 5.3.0 +version: 5.4.0 home: https://logicmonitor.github.io/helm-charts -appVersion: v10.3.0 +appVersion: v10.4.0 dependencies: - name: lmutil repository: https://logicmonitor.github.io/helm-charts diff --git a/charts/argus/templates/_argus_config.tpl b/charts/argus/templates/_argus_config.tpl index 78fdb61..d10891d 100644 --- a/charts/argus/templates/_argus_config.tpl +++ b/charts/argus/templates/_argus_config.tpl @@ -57,6 +57,9 @@ monitoring: alerting: disable: {{- include "alerting.disable" . | nindent 4 }} +lm: + opsNotes: + {{- toYaml .Values.lm.opsNotes | nindent 4}} {{- if .Values.debug }} {{- toYaml .Values.debug | nindent 0 }} {{- end }} diff --git a/charts/argus/values.schema.json b/charts/argus/values.schema.json index 95965b8..7d2bb90 100644 --- a/charts/argus/values.schema.json +++ b/charts/argus/values.schema.json @@ -904,6 +904,13 @@ "default": {}, "examples": [ { + "opsNotes": { + "secrets": { + "helmCharts": { + "enabled": false + } + } + }, "lmlogs": { "k8sevent": { "enable": false @@ -930,6 +937,75 @@ "required": [ ], "properties": { + "opsNotes": { + "$comment": "tf:optional", + "$id": "#/properties/lm/properties/opsNotes", + "type": "object", + "title": "The OpsNotes schema", + "description": "The LogicMonitor OpsNotes settings.", + "default": {}, + "examples": [ + { + "secrets": { + "helmCharts": { + "enabled": false + } + } + } + ], + "required": [ + ], + "properties": { + "secrets": { + "$comment": "tf:optional", + "$id": "#/properties/lm/properties/opsNotes/secrets", + "type": "object", + "title": "The OpsNotes schema - for K8s secrets", + "description": "The LogicMonitor OpsNotes settings - for K8s secrets", + "default": {}, + "examples": [ + { + "helmCharts": { + "enabled": false + } + } + ], + "required": [ + ], + "properties": { + "helmCharts": { + "$comment": "tf:optional", + "$id": "#/properties/lm/properties/opsNotes/helmCharts", + "type": "object", + "title": "The OpsNotes schema for helm charts releases", + "description": "The LogicMonitor OpsNotes settings for helm chart releases", + "default": {}, + "examples": [ + { + "enabled": false + } + ], + "required": [ + ], + "properties": { + "enabled": { + "$comment": "tf:optional", + "$id": "#/properties/lm/properties/opsNotes/helmCharts/enabled", + "type": "boolean", + "title": "The OpsNotes settings for helm chart releases", + "description": "Flag to enable opsnotes for helm chart releases", + "default": {}, + "examples": [ + ], + "required": [ + ] + } + } + } + } + } + } + }, "lmlogs": { "$comment": "tf:optional", "$id": "#/properties/lm/properties/lmlogs", diff --git a/charts/argus/values.yaml b/charts/argus/values.yaml index 7dee847..ae74c57 100644 --- a/charts/argus/values.yaml +++ b/charts/argus/values.yaml @@ -95,6 +95,10 @@ monitoring: annotations: ignore: [] lm: + opsNotes: + secrets: + helmCharts: + enabled: false lmlogs: k8sevent: enable: false