From 5617e9784b5dbdc162cc1e39fb9a7359b96d133d Mon Sep 17 00:00:00 2001 From: Bezbran Date: Thu, 22 Dec 2022 14:52:13 +0200 Subject: [PATCH] Deal with unsupported charcters in cluster name in notes file (#34) * random values for cronjobs * initial version of post-install notes * don't change to random existing deployments * fix notes to allow the user see the schedules * app version like we had * fix PR comments * run only in KS org * Update Chart.yaml (#30) * Update .github/workflows/helm-chart-release.yaml Co-authored-by: David Wertenteil * Update .github/workflows/helm-chart-release.yaml Co-authored-by: David Wertenteil * try to force release * deal with cluster names in notes file Co-authored-by: David Wertenteil --- charts/kubescape-cloud-operator/Chart.yaml | 4 ++-- charts/kubescape-cloud-operator/templates/NOTES.txt | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/charts/kubescape-cloud-operator/Chart.yaml b/charts/kubescape-cloud-operator/Chart.yaml index b6f4779a..dda83235 100644 --- a/charts/kubescape-cloud-operator/Chart.yaml +++ b/charts/kubescape-cloud-operator/Chart.yaml @@ -8,13 +8,13 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 1.8.9 +version: 1.8.10 # This is the version number of the application being deployed. This version number should be # 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: 1.8.9 +appVersion: 1.8.10 maintainers: - name: Ben Hirschberg diff --git a/charts/kubescape-cloud-operator/templates/NOTES.txt b/charts/kubescape-cloud-operator/templates/NOTES.txt index 6e1d9424..adbba63a 100644 --- a/charts/kubescape-cloud-operator/templates/NOTES.txt +++ b/charts/kubescape-cloud-operator/templates/NOTES.txt @@ -1,14 +1,14 @@ Thank you for installing {{ .Chart.Name }} version {{ .Chart.Version }}. In a few minutes your scan results will be available in the following link: -https://cloud.armosec.io/configuration-scanning/{{ .Values.clusterName }} +https://cloud.armosec.io/configuration-scanning/{{ regexReplaceAll "\\W+" .Values.clusterName "-" | lower }} You can see and change the values of your's recurring configurations daily scan in the following link: -https://cloud.armosec.io/settings/assets/clusters/scheduled-scans?cluster={{ .Values.clusterName }} +https://cloud.armosec.io/settings/assets/clusters/scheduled-scans?cluster={{ regexReplaceAll "\\W+" .Values.clusterName "-" | lower }} > kubectl -n {{ .Values.ksNamespace }} get cj {{ .Values.kubescapeScheduler.name }} -o=jsonpath='{.metadata.name}{"\t"}{.spec.schedule}{"\n"}' You can see and change the values of your's recurring images daily scan in the following link: https://cloud.armosec.io/settings/assets/images > kubectl -n {{ .Values.ksNamespace }} get cj {{ .Values.kubevulnScheduler.name }} -o=jsonpath='{.metadata.name}{"\t"}{.spec.schedule}{"\n"}' - + See you!!!