From 3fdd72b8116b8f879ff2a5fe0429edab54adcb1b Mon Sep 17 00:00:00 2001 From: jessebot Date: Tue, 26 Mar 2024 14:22:52 +0100 Subject: [PATCH] =?UTF-8?q?fix=20netmaker=20configmap=20labels=20to=20be?= =?UTF-8?q?=20annotations=20=F0=9F=A4=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- charts/netmaker/Chart.yaml | 2 +- charts/netmaker/README.md | 2 +- charts/netmaker/templates/netmaker-admin-configmap.yaml | 3 +-- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/charts/netmaker/Chart.yaml b/charts/netmaker/Chart.yaml index c57bc5a..cd4dd24 100644 --- a/charts/netmaker/Chart.yaml +++ b/charts/netmaker/Chart.yaml @@ -15,7 +15,7 @@ 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: 0.11.3 +version: 0.11.4 # 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 diff --git a/charts/netmaker/README.md b/charts/netmaker/README.md index ee2b9e9..9c4b511 100644 --- a/charts/netmaker/README.md +++ b/charts/netmaker/README.md @@ -1,6 +1,6 @@ # netmaker -![Version: 0.11.3](https://img.shields.io/badge/Version-0.11.3-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: v0.23.0](https://img.shields.io/badge/AppVersion-v0.23.0-informational?style=flat-square) +![Version: 0.11.4](https://img.shields.io/badge/Version-0.11.4-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: v0.23.0](https://img.shields.io/badge/AppVersion-v0.23.0-informational?style=flat-square) A Helm chart to run HA Netmaker on Kubernetes diff --git a/charts/netmaker/templates/netmaker-admin-configmap.yaml b/charts/netmaker/templates/netmaker-admin-configmap.yaml index 5c0b389..dd0195d 100644 --- a/charts/netmaker/templates/netmaker-admin-configmap.yaml +++ b/charts/netmaker/templates/netmaker-admin-configmap.yaml @@ -3,11 +3,10 @@ apiVersion: v1 kind: ConfigMap metadata: name: setup-initial-user-job-script - labels: + annotations: "helm.sh/hook": post-install "helm.sh/hook-delete-policy": hook-succeeded "helm.sh/hook-weight": "-5" - {{- include "netmaker.labels" . | nindent 4 }} data: create_admin_user.sh: | curl --location "https://$SERVER_HTTP_HOST/api/users/adm/createsuperadmin" --header 'Content-Type: application/json' --data "{\"username\":\"$ADMIN_USER\",\"password\":\"$ADMIN_PASSWORD\"}"