Skip to content

Commit

Permalink
Merge pull request #13 from small-hack/fix-configmap
Browse files Browse the repository at this point in the history
fix netmaker configmap labels to be annotations 🤦
  • Loading branch information
jessebot authored Mar 26, 2024
2 parents 11a0829 + 3fdd72b commit 0d76bbd
Show file tree
Hide file tree
Showing 3 changed files with 3 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.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
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.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

Expand Down
3 changes: 1 addition & 2 deletions charts/netmaker/templates/netmaker-admin-configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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\"}"
Expand Down

0 comments on commit 0d76bbd

Please sign in to comment.