diff --git a/chart/enshrouded-k8s/Chart.yaml b/chart/enshrouded-k8s/Chart.yaml index c326920..2391d46 100644 --- a/chart/enshrouded-k8s/Chart.yaml +++ b/chart/enshrouded-k8s/Chart.yaml @@ -3,7 +3,7 @@ apiVersion: v2 description: A basic chart to deploy Enshrouded dedicated servers. name: enshrouded-k8s type: application -version: 0.2.0 +version: 0.2.1 appVersion: "0.4.0" kubeVersion: ">=1.26.0-0" sources: diff --git a/chart/enshrouded-k8s/README.md b/chart/enshrouded-k8s/README.md index e2795b5..ade8a6f 100644 --- a/chart/enshrouded-k8s/README.md +++ b/chart/enshrouded-k8s/README.md @@ -1,6 +1,6 @@ # enshrouded-k8s -![Version: 0.2.0](https://img.shields.io/badge/Version-0.2.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.4.0](https://img.shields.io/badge/AppVersion-0.4.0-informational?style=flat-square) +![Version: 0.2.1](https://img.shields.io/badge/Version-0.2.1-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.4.0](https://img.shields.io/badge/AppVersion-0.4.0-informational?style=flat-square) A basic chart to deploy Enshrouded dedicated servers. diff --git a/chart/enshrouded-k8s/templates/secrets.yaml b/chart/enshrouded-k8s/templates/secrets.yaml index 9a8f52f..7d5f94c 100644 --- a/chart/enshrouded-k8s/templates/secrets.yaml +++ b/chart/enshrouded-k8s/templates/secrets.yaml @@ -1,4 +1,4 @@ -{{- if or (not .Values.gameServer.existingSecret) (not .Values.rcon.existingSecret) }} +{{- if (not .Values.gameServer.existingSecret) }} --- apiVersion: v1 kind: Secret @@ -8,7 +8,5 @@ metadata: {{- include "enshrouded-k8s.labels" . | nindent 4 }} type: Opaque data: -{{- if not .Values.gameServer.existingSecret }} server-password: {{ default (randAlphaNum 12) .Values.gameServer.password | b64enc | quote }} -{{- end}} {{- end }}