From 40f41e2c6cb44a205d3d40762f50778cb1b677dd Mon Sep 17 00:00:00 2001 From: jessebot Date: Tue, 26 Mar 2024 13:26:28 +0100 Subject: [PATCH] fix admin user creation job's env vars from configmapRef --- charts/netmaker/Chart.yaml | 2 +- charts/netmaker/README.md | 2 +- charts/netmaker/templates/netmaker-admin-user-job.yaml | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/charts/netmaker/Chart.yaml b/charts/netmaker/Chart.yaml index 076affc..db54875 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.1 +version: 0.11.2 # 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 8829f00..fef727f 100644 --- a/charts/netmaker/README.md +++ b/charts/netmaker/README.md @@ -1,6 +1,6 @@ # netmaker -![Version: 0.11.1](https://img.shields.io/badge/Version-0.11.1-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.2](https://img.shields.io/badge/Version-0.11.2-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-user-job.yaml b/charts/netmaker/templates/netmaker-admin-user-job.yaml index cfb9523..9dfee64 100644 --- a/charts/netmaker/templates/netmaker-admin-user-job.yaml +++ b/charts/netmaker/templates/netmaker-admin-user-job.yaml @@ -24,9 +24,9 @@ spec: env: - name: SERVER_HTTP_HOST valueFrom: - secretKeyRef: + configMapKeyRef: key: SERVER_HTTP_HOST - name: {{ include "netmaker.secret" . }} + name: {{ include "netmaker.fullname" . }}-env - name: ADMIN_USER valueFrom: secretKeyRef: