Skip to content

Commit

Permalink
Merge pull request #11 from small-hack/fix-user-creation-job-configma…
Browse files Browse the repository at this point in the history
…p-ref

fix: get admin user creation job's env vars from configmapRef
  • Loading branch information
jessebot authored Mar 26, 2024
2 parents e98f51d + 40f41e2 commit c0060ae
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion charts/netmaker/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion charts/netmaker/README.md
Original file line number Diff line number Diff line change
@@ -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

Expand Down
4 changes: 2 additions & 2 deletions charts/netmaker/templates/netmaker-admin-user-job.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit c0060ae

Please sign in to comment.