Skip to content

Commit

Permalink
fix for missing valuein sec templ
Browse files Browse the repository at this point in the history
  • Loading branch information
bdelwood committed Feb 12, 2024
1 parent 83de4d9 commit b964d47
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion chart/enshrouded-k8s/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion chart/enshrouded-k8s/README.md
Original file line number Diff line number Diff line change
@@ -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.

Expand Down
4 changes: 1 addition & 3 deletions chart/enshrouded-k8s/templates/secrets.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{{- if or (not .Values.gameServer.existingSecret) (not .Values.rcon.existingSecret) }}
{{- if (not .Values.gameServer.existingSecret) }}
---
apiVersion: v1
kind: Secret
Expand All @@ -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 }}

0 comments on commit b964d47

Please sign in to comment.