diff --git a/charts/home-assistant/2.0.5/.helmignore b/charts/home-assistant/2.0.6/.helmignore similarity index 100% rename from charts/home-assistant/2.0.5/.helmignore rename to charts/home-assistant/2.0.6/.helmignore diff --git a/charts/home-assistant/2.0.5/Chart.lock b/charts/home-assistant/2.0.6/Chart.lock similarity index 100% rename from charts/home-assistant/2.0.5/Chart.lock rename to charts/home-assistant/2.0.6/Chart.lock diff --git a/charts/home-assistant/2.0.5/Chart.yaml b/charts/home-assistant/2.0.6/Chart.yaml similarity index 97% rename from charts/home-assistant/2.0.5/Chart.yaml rename to charts/home-assistant/2.0.6/Chart.yaml index 28f8474f43..6230fa1fed 100644 --- a/charts/home-assistant/2.0.5/Chart.yaml +++ b/charts/home-assistant/2.0.6/Chart.yaml @@ -4,7 +4,7 @@ description: Home Assistant is an open source home automation that puts local co annotations: title: Home Assistant type: application -version: 2.0.5 +version: 2.0.6 apiVersion: v2 appVersion: 2024.1.6 kubeVersion: '>=1.16.0-0' diff --git a/charts/home-assistant/2.0.5/README.md b/charts/home-assistant/2.0.6/README.md similarity index 100% rename from charts/home-assistant/2.0.5/README.md rename to charts/home-assistant/2.0.6/README.md diff --git a/charts/home-assistant/2.0.5/app-readme.md b/charts/home-assistant/2.0.6/app-readme.md similarity index 100% rename from charts/home-assistant/2.0.5/app-readme.md rename to charts/home-assistant/2.0.6/app-readme.md diff --git a/charts/home-assistant/2.0.5/charts/common-1.2.9.tgz b/charts/home-assistant/2.0.6/charts/common-1.2.9.tgz similarity index 100% rename from charts/home-assistant/2.0.5/charts/common-1.2.9.tgz rename to charts/home-assistant/2.0.6/charts/common-1.2.9.tgz diff --git a/charts/home-assistant/2.0.5/ci/basic-values.yaml b/charts/home-assistant/2.0.6/ci/basic-values.yaml similarity index 100% rename from charts/home-assistant/2.0.5/ci/basic-values.yaml rename to charts/home-assistant/2.0.6/ci/basic-values.yaml diff --git a/charts/home-assistant/2.0.5/ix_values.yaml b/charts/home-assistant/2.0.6/ix_values.yaml similarity index 100% rename from charts/home-assistant/2.0.5/ix_values.yaml rename to charts/home-assistant/2.0.6/ix_values.yaml diff --git a/charts/home-assistant/2.0.5/metadata.yaml b/charts/home-assistant/2.0.6/metadata.yaml similarity index 100% rename from charts/home-assistant/2.0.5/metadata.yaml rename to charts/home-assistant/2.0.6/metadata.yaml diff --git a/charts/home-assistant/2.0.5/migrations/migrate b/charts/home-assistant/2.0.6/migrations/migrate similarity index 100% rename from charts/home-assistant/2.0.5/migrations/migrate rename to charts/home-assistant/2.0.6/migrations/migrate diff --git a/charts/home-assistant/2.0.5/questions.yaml b/charts/home-assistant/2.0.6/questions.yaml similarity index 100% rename from charts/home-assistant/2.0.5/questions.yaml rename to charts/home-assistant/2.0.6/questions.yaml diff --git a/charts/home-assistant/2.0.5/templates/NOTES.txt b/charts/home-assistant/2.0.6/templates/NOTES.txt similarity index 100% rename from charts/home-assistant/2.0.5/templates/NOTES.txt rename to charts/home-assistant/2.0.6/templates/NOTES.txt diff --git a/charts/home-assistant/2.0.5/templates/_configuration.tpl b/charts/home-assistant/2.0.6/templates/_configuration.tpl similarity index 98% rename from charts/home-assistant/2.0.5/templates/_configuration.tpl rename to charts/home-assistant/2.0.6/templates/_configuration.tpl index fc8f309449..3f4bf104e6 100644 --- a/charts/home-assistant/2.0.5/templates/_configuration.tpl +++ b/charts/home-assistant/2.0.6/templates/_configuration.tpl @@ -71,7 +71,7 @@ secret: #!/bin/sh config="/config/configuration.yaml" default="/default/init" - // Attemp to get read/write access + # Attemp to get read/write access chmod +rw "$config" || echo "Failed to set permissions on [$config]" if [ ! -f "$config" ]; then echo "File [$config] does NOT exist. Creating..." diff --git a/charts/home-assistant/2.0.5/templates/_home-assistant.tpl b/charts/home-assistant/2.0.6/templates/_home-assistant.tpl similarity index 100% rename from charts/home-assistant/2.0.5/templates/_home-assistant.tpl rename to charts/home-assistant/2.0.6/templates/_home-assistant.tpl diff --git a/charts/home-assistant/2.0.5/templates/_migration.tpl b/charts/home-assistant/2.0.6/templates/_migration.tpl similarity index 100% rename from charts/home-assistant/2.0.5/templates/_migration.tpl rename to charts/home-assistant/2.0.6/templates/_migration.tpl diff --git a/charts/home-assistant/2.0.5/templates/_persistance.tpl b/charts/home-assistant/2.0.6/templates/_persistance.tpl similarity index 100% rename from charts/home-assistant/2.0.5/templates/_persistance.tpl rename to charts/home-assistant/2.0.6/templates/_persistance.tpl diff --git a/charts/home-assistant/2.0.5/templates/_portal.tpl b/charts/home-assistant/2.0.6/templates/_portal.tpl similarity index 53% rename from charts/home-assistant/2.0.5/templates/_portal.tpl rename to charts/home-assistant/2.0.6/templates/_portal.tpl index 0a5eef5182..4408f87745 100644 --- a/charts/home-assistant/2.0.5/templates/_portal.tpl +++ b/charts/home-assistant/2.0.6/templates/_portal.tpl @@ -1,11 +1,15 @@ {{- define "home-assistant.portal" -}} +{{- $port := .Values.haNetwork.webPort -}} +{{- if .Values.haNetwork.hostNetwork -}} + {{- $port = 8123 -}} +{{- end }} --- apiVersion: v1 kind: ConfigMap metadata: name: portal data: - port: {{ .Values.haNetwork.webPort | quote }} + port: {{ $port | quote }} path: "/" protocol: "http" host: $node_ip diff --git a/charts/home-assistant/2.0.5/templates/_postgres.tpl b/charts/home-assistant/2.0.6/templates/_postgres.tpl similarity index 100% rename from charts/home-assistant/2.0.5/templates/_postgres.tpl rename to charts/home-assistant/2.0.6/templates/_postgres.tpl diff --git a/charts/home-assistant/2.0.5/templates/_service.tpl b/charts/home-assistant/2.0.6/templates/_service.tpl similarity index 100% rename from charts/home-assistant/2.0.5/templates/_service.tpl rename to charts/home-assistant/2.0.6/templates/_service.tpl diff --git a/charts/home-assistant/2.0.5/templates/common.yaml b/charts/home-assistant/2.0.6/templates/common.yaml similarity index 100% rename from charts/home-assistant/2.0.5/templates/common.yaml rename to charts/home-assistant/2.0.6/templates/common.yaml diff --git a/charts/home-assistant/2.0.5/to_keep_versions.md b/charts/home-assistant/2.0.6/to_keep_versions.md similarity index 100% rename from charts/home-assistant/2.0.5/to_keep_versions.md rename to charts/home-assistant/2.0.6/to_keep_versions.md diff --git a/charts/netdata/1.0.39/.helmignore b/charts/netdata/1.0.40/.helmignore similarity index 100% rename from charts/netdata/1.0.39/.helmignore rename to charts/netdata/1.0.40/.helmignore diff --git a/charts/netdata/1.0.39/Chart.lock b/charts/netdata/1.0.40/Chart.lock similarity index 100% rename from charts/netdata/1.0.39/Chart.lock rename to charts/netdata/1.0.40/Chart.lock diff --git a/charts/netdata/1.0.39/Chart.yaml b/charts/netdata/1.0.40/Chart.yaml similarity index 97% rename from charts/netdata/1.0.39/Chart.yaml rename to charts/netdata/1.0.40/Chart.yaml index d876789a45..e04524d5af 100644 --- a/charts/netdata/1.0.39/Chart.yaml +++ b/charts/netdata/1.0.40/Chart.yaml @@ -3,7 +3,7 @@ description: Real-time performance monitoring, done right! annotations: title: Netdata type: application -version: 1.0.39 +version: 1.0.40 apiVersion: v2 appVersion: v1.44.1 kubeVersion: '>=1.16.0-0' diff --git a/charts/netdata/1.0.39/README.md b/charts/netdata/1.0.40/README.md similarity index 100% rename from charts/netdata/1.0.39/README.md rename to charts/netdata/1.0.40/README.md diff --git a/charts/netdata/1.0.39/app-readme.md b/charts/netdata/1.0.40/app-readme.md similarity index 100% rename from charts/netdata/1.0.39/app-readme.md rename to charts/netdata/1.0.40/app-readme.md diff --git a/charts/netdata/1.0.39/charts/common-2304.0.1.tgz b/charts/netdata/1.0.40/charts/common-2304.0.1.tgz similarity index 100% rename from charts/netdata/1.0.39/charts/common-2304.0.1.tgz rename to charts/netdata/1.0.40/charts/common-2304.0.1.tgz diff --git a/charts/netdata/1.0.39/ci/test-values.yaml b/charts/netdata/1.0.40/ci/test-values.yaml similarity index 100% rename from charts/netdata/1.0.39/ci/test-values.yaml rename to charts/netdata/1.0.40/ci/test-values.yaml diff --git a/charts/netdata/1.0.39/ix_values.yaml b/charts/netdata/1.0.40/ix_values.yaml similarity index 100% rename from charts/netdata/1.0.39/ix_values.yaml rename to charts/netdata/1.0.40/ix_values.yaml diff --git a/charts/netdata/1.0.39/metadata.yaml b/charts/netdata/1.0.40/metadata.yaml similarity index 100% rename from charts/netdata/1.0.39/metadata.yaml rename to charts/netdata/1.0.40/metadata.yaml diff --git a/charts/netdata/1.0.39/questions.yaml b/charts/netdata/1.0.40/questions.yaml similarity index 100% rename from charts/netdata/1.0.39/questions.yaml rename to charts/netdata/1.0.40/questions.yaml diff --git a/charts/netdata/1.0.39/templates/_helpers.tpl b/charts/netdata/1.0.40/templates/_helpers.tpl similarity index 100% rename from charts/netdata/1.0.39/templates/_helpers.tpl rename to charts/netdata/1.0.40/templates/_helpers.tpl diff --git a/charts/netdata/1.0.39/templates/clusterrole.yaml b/charts/netdata/1.0.40/templates/clusterrole.yaml similarity index 100% rename from charts/netdata/1.0.39/templates/clusterrole.yaml rename to charts/netdata/1.0.40/templates/clusterrole.yaml diff --git a/charts/netdata/1.0.39/templates/clusterrolebinding.yaml b/charts/netdata/1.0.40/templates/clusterrolebinding.yaml similarity index 100% rename from charts/netdata/1.0.39/templates/clusterrolebinding.yaml rename to charts/netdata/1.0.40/templates/clusterrolebinding.yaml diff --git a/charts/netdata/1.0.39/templates/deployment.yaml b/charts/netdata/1.0.40/templates/deployment.yaml similarity index 98% rename from charts/netdata/1.0.39/templates/deployment.yaml rename to charts/netdata/1.0.40/templates/deployment.yaml index 06290d1435..ef1e0cb442 100644 --- a/charts/netdata/1.0.39/templates/deployment.yaml +++ b/charts/netdata/1.0.40/templates/deployment.yaml @@ -2,7 +2,7 @@ apiVersion: apps/v1 kind: Deployment metadata: - name: {{ template "netdata.name" . }} + name: {{ template "netdata.name" . }}-netdata labels: app: {{ template "netdata.name" . }} chart: {{ template "netdata.chart" . }} diff --git a/charts/netdata/1.0.39/templates/pre-install-job.yaml b/charts/netdata/1.0.40/templates/pre-install-job.yaml similarity index 100% rename from charts/netdata/1.0.39/templates/pre-install-job.yaml rename to charts/netdata/1.0.40/templates/pre-install-job.yaml diff --git a/charts/netdata/1.0.39/templates/service.yaml b/charts/netdata/1.0.40/templates/service.yaml similarity index 100% rename from charts/netdata/1.0.39/templates/service.yaml rename to charts/netdata/1.0.40/templates/service.yaml diff --git a/charts/netdata/1.0.39/templates/serviceaccount.yaml b/charts/netdata/1.0.40/templates/serviceaccount.yaml similarity index 100% rename from charts/netdata/1.0.39/templates/serviceaccount.yaml rename to charts/netdata/1.0.40/templates/serviceaccount.yaml diff --git a/community/invidious/1.0.2/Chart.lock b/community/invidious/1.0.3/Chart.lock similarity index 100% rename from community/invidious/1.0.2/Chart.lock rename to community/invidious/1.0.3/Chart.lock diff --git a/community/invidious/1.0.2/Chart.yaml b/community/invidious/1.0.3/Chart.yaml similarity index 97% rename from community/invidious/1.0.2/Chart.yaml rename to community/invidious/1.0.3/Chart.yaml index e691b121d8..8697247aca 100644 --- a/community/invidious/1.0.2/Chart.yaml +++ b/community/invidious/1.0.3/Chart.yaml @@ -3,7 +3,7 @@ description: Invidious is an alternative front-end to YouTube annotations: title: Invidious type: application -version: 1.0.2 +version: 1.0.3 apiVersion: v2 appVersion: latest kubeVersion: '>=1.16.0-0' diff --git a/community/invidious/1.0.2/README.md b/community/invidious/1.0.3/README.md similarity index 100% rename from community/invidious/1.0.2/README.md rename to community/invidious/1.0.3/README.md diff --git a/community/invidious/1.0.2/app-readme.md b/community/invidious/1.0.3/app-readme.md similarity index 100% rename from community/invidious/1.0.2/app-readme.md rename to community/invidious/1.0.3/app-readme.md diff --git a/community/invidious/1.0.2/charts/common-1.2.9.tgz b/community/invidious/1.0.3/charts/common-1.2.9.tgz similarity index 100% rename from community/invidious/1.0.2/charts/common-1.2.9.tgz rename to community/invidious/1.0.3/charts/common-1.2.9.tgz diff --git a/community/invidious/1.0.2/ci/basic-values.yaml b/community/invidious/1.0.3/ci/basic-values.yaml similarity index 100% rename from community/invidious/1.0.2/ci/basic-values.yaml rename to community/invidious/1.0.3/ci/basic-values.yaml diff --git a/community/invidious/1.0.2/ix_values.yaml b/community/invidious/1.0.3/ix_values.yaml similarity index 79% rename from community/invidious/1.0.2/ix_values.yaml rename to community/invidious/1.0.3/ix_values.yaml index 6fcb2a7021..2bca72e004 100644 --- a/community/invidious/1.0.2/ix_values.yaml +++ b/community/invidious/1.0.3/ix_values.yaml @@ -6,6 +6,10 @@ gitImage: repository: bitnami/git pullPolicy: IfNotPresent tag: latest +yqImage: + pullPolicy: IfNotPresent + repository: mikefarah/yq + tag: 4.40.5 resources: limits: @@ -56,6 +60,6 @@ notes: {{- $_ := unset .Values "invidiousDbHost" }} Additional configuration can be specified + by editing the file `/config/config.yaml` (see [example](https://github.com/iv-org/invidious/blob/master/config/config.example.yml)) - - Via [environment variables](https://github.com/iv-org/invidious/pull/1702) - - By editing the file `/config/config.yaml` (see [example](https://github.com/iv-org/invidious/blob/master/config/config.example.yml)) + Note that some configuration options are updated automatically by the chart on each start. diff --git a/community/invidious/1.0.2/metadata.yaml b/community/invidious/1.0.3/metadata.yaml similarity index 100% rename from community/invidious/1.0.2/metadata.yaml rename to community/invidious/1.0.3/metadata.yaml diff --git a/community/invidious/1.0.2/questions.yaml b/community/invidious/1.0.3/questions.yaml similarity index 100% rename from community/invidious/1.0.2/questions.yaml rename to community/invidious/1.0.3/questions.yaml diff --git a/community/invidious/1.0.2/templates/NOTES.txt b/community/invidious/1.0.3/templates/NOTES.txt similarity index 100% rename from community/invidious/1.0.2/templates/NOTES.txt rename to community/invidious/1.0.3/templates/NOTES.txt diff --git a/community/invidious/1.0.2/templates/_configuration.tpl b/community/invidious/1.0.3/templates/_configuration.tpl similarity index 51% rename from community/invidious/1.0.2/templates/_configuration.tpl rename to community/invidious/1.0.3/templates/_configuration.tpl index 761daeac6e..4aafa282d6 100644 --- a/community/invidious/1.0.2/templates/_configuration.tpl +++ b/community/invidious/1.0.3/templates/_configuration.tpl @@ -36,27 +36,36 @@ secret: PGHOST: {{ $dbHost }} PGPORT: "5432" + {{/* Do not quote: bools, numbers, json */}} + {{- $configOpts := list + (dict "path" "check_tables" "value" "true") + (dict "path" "database_url" "value" ($dbURL | quote)) + (dict "path" "database.user" "value" ($dbUser | quote)) + (dict "path" "database.password" "value" ($dbPass | quote)) + (dict "path" "database.dbname" "value" ($dbName | quote)) + (dict "path" "database.host" "value" ($dbHost | quote)) + (dict "path" "database.port" "value" "5432") + (dict "path" "hmac_key" "value" ($hmacKey | quote)) + (dict "path" "host_binding" "value" ("0.0.0.0" | quote)) + (dict "path" "port" "value" .Values.invidiousNetwork.webPort) + (dict "path" "admins" "value" (.Values.invidiousConfig.admins | toJson)) + (dict "path" "registration_enabled" "value" .Values.invidiousConfig.registrationEnabled) + (dict "path" "login_enabled" "value" .Values.invidiousConfig.loginEnabled) + (dict "path" "captcha_enabled" "value" .Values.invidiousConfig.captchaEnabled) + }} invidious-creds: enabled: true data: - # Source config - INVIDIOUS_CONFIG_FILE: /config/config.yaml - # See https://github.com/iv-org/invidious/pull/1702 - # Override config INVIDIOUS_HMAC_KEY: {{ $hmacKey }} - INVIDIOUS_CHECK_TABLES: "true" - INVIDIOUS_DATABASE_URL: {{ $dbURL }} - INVIDIOUS_DB_USER: {{ $dbUser }} - INVIDIOUS_DB_PASSWORD: {{ $dbPass }} - INVIDIOUS_DB_DBNAME: {{ $dbName }} - INVIDIOUS_DB_HOST: {{ $dbHost }} - INVIDIOUS_DB_PORT: "5432" - INVIDIOUS_HOST_BINDING: "0.0.0.0" - INVIDIOUS_PORT: {{ .Values.invidiousNetwork.webPort | quote }} - # Add some easy to use values in UI - INVIDIOUS_ADMINS: {{ .Values.invidiousConfig.admins | toJson | quote }} - INVIDIOUS_REGISTRATION_ENABLED: {{ .Values.invidiousConfig.registrationEnabled | quote }} - INVIDIOUS_LOGIN_ENABLED: {{ .Values.invidiousConfig.loginEnabled | quote }} - INVIDIOUS_CAPTCHA_ENABLED: {{ .Values.invidiousConfig.captchaEnabled | quote }} + config.sh: | + #!/bin/sh + config="/config/config.yaml" + echo "Updating Invidious Config..." + {{- range $item := $configOpts }} + echo "Updating {{ $item.path }} to {{ $item.value }}" + yq -i '.{{ $item.path }} = {{ $item.value }}' "$config" + {{- end }} + cat "$config" + echo "Config already exists, skipping." {{- end -}} diff --git a/community/invidious/1.0.2/templates/_invidious.tpl b/community/invidious/1.0.3/templates/_invidious.tpl similarity index 91% rename from community/invidious/1.0.2/templates/_invidious.tpl rename to community/invidious/1.0.3/templates/_invidious.tpl index dbe1bc9aba..d6a866a0f8 100644 --- a/community/invidious/1.0.2/templates/_invidious.tpl +++ b/community/invidious/1.0.3/templates/_invidious.tpl @@ -14,9 +14,8 @@ workload: securityContext: runAsUser: 1000 runAsGroup: 1000 - envFrom: - - secretRef: - name: invidious-creds + env: + INVIDIOUS_CONFIG_FILE: /config/config.yaml {{ with .Values.invidiousConfig.additionalEnvs }} envList: {{ range $env := . }} @@ -100,9 +99,6 @@ workload: securityContext: runAsUser: 1000 runAsGroup: 1000 - envFrom: - - secretRef: - name: postgres-creds command: - /bin/sh - -c @@ -114,4 +110,13 @@ workload: exit 0 fi echo "Config already exists, skipping." + 05-update-config: + enabled: true + type: init + imageSelector: yqImage + securityContext: + runAsUser: 1000 + runAsGroup: 1000 + readOnlyRootFilesystem: false + command: /setup/config.sh {{- end -}} diff --git a/community/invidious/1.0.2/templates/_persistence.tpl b/community/invidious/1.0.3/templates/_persistence.tpl similarity index 85% rename from community/invidious/1.0.2/templates/_persistence.tpl rename to community/invidious/1.0.3/templates/_persistence.tpl index 2faf16f80f..c03cb397f9 100644 --- a/community/invidious/1.0.2/templates/_persistence.tpl +++ b/community/invidious/1.0.3/templates/_persistence.tpl @@ -9,6 +9,8 @@ persistence: mountPath: /config 04-init-config: mountPath: /config + 05-update-config: + mountPath: /config {{- if and (eq .Values.invidiousStorage.config.type "ixVolume") (not (.Values.invidiousStorage.config.ixVolumeConfig | default dict).aclEnable) }} 01-permissions: @@ -30,6 +32,16 @@ persistence: invidious: invidious: mountPath: /tmp + config-script: + enabled: true + type: secret + objectName: invidious-creds + defaultMode: "0550" + targetSelector: + invidious: + 05-update-config: + mountPath: /setup/config.sh + subPath: config.sh {{- range $idx, $storage := .Values.invidiousStorage.additionalStorages }} {{ printf "invidious-%v:" (int $idx) }} diff --git a/community/invidious/1.0.2/templates/_portal.tpl b/community/invidious/1.0.3/templates/_portal.tpl similarity index 100% rename from community/invidious/1.0.2/templates/_portal.tpl rename to community/invidious/1.0.3/templates/_portal.tpl diff --git a/community/invidious/1.0.2/templates/_postgres.tpl b/community/invidious/1.0.3/templates/_postgres.tpl similarity index 100% rename from community/invidious/1.0.2/templates/_postgres.tpl rename to community/invidious/1.0.3/templates/_postgres.tpl diff --git a/community/invidious/1.0.2/templates/_service.tpl b/community/invidious/1.0.3/templates/_service.tpl similarity index 100% rename from community/invidious/1.0.2/templates/_service.tpl rename to community/invidious/1.0.3/templates/_service.tpl diff --git a/community/invidious/1.0.2/templates/common.yaml b/community/invidious/1.0.3/templates/common.yaml similarity index 78% rename from community/invidious/1.0.2/templates/common.yaml rename to community/invidious/1.0.3/templates/common.yaml index 730f7da691..dd0c192ab6 100644 --- a/community/invidious/1.0.2/templates/common.yaml +++ b/community/invidious/1.0.3/templates/common.yaml @@ -1,5 +1,13 @@ {{- include "ix.v1.common.loader.init" . -}} +{{- if not .Values.yqImage -}} + {{- $_ := set .Values "yqImage" (dict + "repository" "mikefarah/yq" + "tag" "4.40.5" + "pullPolicy" "IfNotPresent" + ) -}} +{{- end -}} + {{/* Merge the templates with Values */}} {{- $_ := mustMergeOverwrite .Values (include "invidious.configuration" $ | fromYaml) -}} {{- $_ := mustMergeOverwrite .Values (include "invidious.service" $ | fromYaml) -}} diff --git a/community/invidious/1.0.2/upgrade_strategy_disabled b/community/invidious/1.0.3/upgrade_strategy_disabled similarity index 100% rename from community/invidious/1.0.2/upgrade_strategy_disabled rename to community/invidious/1.0.3/upgrade_strategy_disabled diff --git a/community/netbootxyz/1.0.1/Chart.lock b/community/netbootxyz/1.0.2/Chart.lock similarity index 100% rename from community/netbootxyz/1.0.1/Chart.lock rename to community/netbootxyz/1.0.2/Chart.lock diff --git a/community/netbootxyz/1.0.1/Chart.yaml b/community/netbootxyz/1.0.2/Chart.yaml similarity index 95% rename from community/netbootxyz/1.0.1/Chart.yaml rename to community/netbootxyz/1.0.2/Chart.yaml index 2ed9473d6c..d029047621 100644 --- a/community/netbootxyz/1.0.1/Chart.yaml +++ b/community/netbootxyz/1.0.2/Chart.yaml @@ -3,9 +3,9 @@ description: netboot.xyz lets you PXE boot various operating system installers o annotations: title: netbootxyz type: application -version: 1.0.1 +version: 1.0.2 apiVersion: v2 -appVersion: 2.0.76 +appVersion: 0.7.0.4 kubeVersion: '>=1.16.0-0' maintainers: - name: truenas diff --git a/community/netbootxyz/1.0.1/README.md b/community/netbootxyz/1.0.2/README.md similarity index 100% rename from community/netbootxyz/1.0.1/README.md rename to community/netbootxyz/1.0.2/README.md diff --git a/community/netbootxyz/1.0.1/app-readme.md b/community/netbootxyz/1.0.2/app-readme.md similarity index 100% rename from community/netbootxyz/1.0.1/app-readme.md rename to community/netbootxyz/1.0.2/app-readme.md diff --git a/community/netbootxyz/1.0.1/charts/common-1.2.9.tgz b/community/netbootxyz/1.0.2/charts/common-1.2.9.tgz similarity index 100% rename from community/netbootxyz/1.0.1/charts/common-1.2.9.tgz rename to community/netbootxyz/1.0.2/charts/common-1.2.9.tgz diff --git a/community/netbootxyz/1.0.1/ci/basic-values.yaml b/community/netbootxyz/1.0.2/ci/basic-values.yaml similarity index 61% rename from community/netbootxyz/1.0.1/ci/basic-values.yaml rename to community/netbootxyz/1.0.2/ci/basic-values.yaml index 28bc16c903..597e1bf132 100644 --- a/community/netbootxyz/1.0.1/ci/basic-values.yaml +++ b/community/netbootxyz/1.0.2/ci/basic-values.yaml @@ -5,6 +5,6 @@ netbootStorage: type: pvc netbootNetwork: hostNetwork: true - tftpPort: 69 - webHttpPort: 3000 - webAssetsPort: 8080 + tftpPort: 31009 + webHttpPort: 31010 + webAssetsPort: 31011 diff --git a/community/netbootxyz/1.0.1/ix_values.yaml b/community/netbootxyz/1.0.2/ix_values.yaml similarity index 84% rename from community/netbootxyz/1.0.1/ix_values.yaml rename to community/netbootxyz/1.0.2/ix_values.yaml index 041fa44854..7fb1bd43e3 100644 --- a/community/netbootxyz/1.0.1/ix_values.yaml +++ b/community/netbootxyz/1.0.2/ix_values.yaml @@ -1,7 +1,7 @@ image: repository: netbootxyz/netbootxyz pullPolicy: IfNotPresent - tag: 0.7.0-nbxyz2 + tag: 0.7.0-nbxyz4 resources: limits: @@ -15,9 +15,9 @@ netbootConfig: netbootNetwork: # TFTP only works with hostNetwork: true hostNetwork: true - tftpPort: 69 - webHttpPort: 3000 - webAssetsPort: 8080 + tftpPort: 31009 + webHttpPort: 31010 + webAssetsPort: 31011 netbootStorage: config: diff --git a/community/netbootxyz/1.0.1/metadata.yaml b/community/netbootxyz/1.0.2/metadata.yaml similarity index 100% rename from community/netbootxyz/1.0.1/metadata.yaml rename to community/netbootxyz/1.0.2/metadata.yaml diff --git a/community/netbootxyz/1.0.1/questions.yaml b/community/netbootxyz/1.0.2/questions.yaml similarity index 100% rename from community/netbootxyz/1.0.1/questions.yaml rename to community/netbootxyz/1.0.2/questions.yaml diff --git a/community/netbootxyz/1.0.1/templates/NOTES.txt b/community/netbootxyz/1.0.2/templates/NOTES.txt similarity index 100% rename from community/netbootxyz/1.0.1/templates/NOTES.txt rename to community/netbootxyz/1.0.2/templates/NOTES.txt diff --git a/community/netbootxyz/1.0.1/templates/_netboot.tpl b/community/netbootxyz/1.0.2/templates/_netboot.tpl similarity index 100% rename from community/netbootxyz/1.0.1/templates/_netboot.tpl rename to community/netbootxyz/1.0.2/templates/_netboot.tpl diff --git a/community/netbootxyz/1.0.1/templates/_persistence.tpl b/community/netbootxyz/1.0.2/templates/_persistence.tpl similarity index 100% rename from community/netbootxyz/1.0.1/templates/_persistence.tpl rename to community/netbootxyz/1.0.2/templates/_persistence.tpl diff --git a/community/netbootxyz/1.0.1/templates/_portal.tpl b/community/netbootxyz/1.0.2/templates/_portal.tpl similarity index 100% rename from community/netbootxyz/1.0.1/templates/_portal.tpl rename to community/netbootxyz/1.0.2/templates/_portal.tpl diff --git a/community/netbootxyz/1.0.1/templates/_service.tpl b/community/netbootxyz/1.0.2/templates/_service.tpl similarity index 100% rename from community/netbootxyz/1.0.1/templates/_service.tpl rename to community/netbootxyz/1.0.2/templates/_service.tpl diff --git a/community/netbootxyz/1.0.1/templates/common.yaml b/community/netbootxyz/1.0.2/templates/common.yaml similarity index 100% rename from community/netbootxyz/1.0.1/templates/common.yaml rename to community/netbootxyz/1.0.2/templates/common.yaml diff --git a/community/palworld/1.0.3/Chart.lock b/community/palworld/1.0.4/Chart.lock similarity index 100% rename from community/palworld/1.0.3/Chart.lock rename to community/palworld/1.0.4/Chart.lock diff --git a/community/palworld/1.0.3/Chart.yaml b/community/palworld/1.0.4/Chart.yaml similarity index 98% rename from community/palworld/1.0.3/Chart.yaml rename to community/palworld/1.0.4/Chart.yaml index 02dbbc87ad..e1d0c8c6e7 100644 --- a/community/palworld/1.0.3/Chart.yaml +++ b/community/palworld/1.0.4/Chart.yaml @@ -3,7 +3,7 @@ description: Palworld is a multiplayer, open-world survival crafting game where annotations: title: Palworld type: application -version: 1.0.3 +version: 1.0.4 apiVersion: v2 appVersion: palworld kubeVersion: '>=1.16.0-0' diff --git a/community/palworld/1.0.3/README.md b/community/palworld/1.0.4/README.md similarity index 100% rename from community/palworld/1.0.3/README.md rename to community/palworld/1.0.4/README.md diff --git a/community/palworld/1.0.3/app-readme.md b/community/palworld/1.0.4/app-readme.md similarity index 100% rename from community/palworld/1.0.3/app-readme.md rename to community/palworld/1.0.4/app-readme.md diff --git a/community/palworld/1.0.3/charts/common-1.2.9.tgz b/community/palworld/1.0.4/charts/common-1.2.9.tgz similarity index 100% rename from community/palworld/1.0.3/charts/common-1.2.9.tgz rename to community/palworld/1.0.4/charts/common-1.2.9.tgz diff --git a/community/palworld/1.0.3/ci/basic-values.yaml b/community/palworld/1.0.4/ci/basic-values.yaml similarity index 83% rename from community/palworld/1.0.3/ci/basic-values.yaml rename to community/palworld/1.0.4/ci/basic-values.yaml index 9a418b5d1d..4e76be38ab 100644 --- a/community/palworld/1.0.3/ci/basic-values.yaml +++ b/community/palworld/1.0.4/ci/basic-values.yaml @@ -20,12 +20,12 @@ palworldConfig: keep: 3 iniKeys: - key: PlayerDamageRateAttack - value: 1.000000 + value: "1.000000" - key: DropItemMaxNum - value: 4000 + value: "4000" - key: Region value: "" - key: PalEggDefaultHatchingTime - value: 72.450000 + value: "72.450000" - key: bEnablePlayerToPlayerDamage - value: true + value: "True" diff --git a/community/palworld/1.0.3/ix_values.yaml b/community/palworld/1.0.4/ix_values.yaml similarity index 100% rename from community/palworld/1.0.3/ix_values.yaml rename to community/palworld/1.0.4/ix_values.yaml diff --git a/community/palworld/1.0.3/metadata.yaml b/community/palworld/1.0.4/metadata.yaml similarity index 100% rename from community/palworld/1.0.3/metadata.yaml rename to community/palworld/1.0.4/metadata.yaml diff --git a/community/palworld/1.0.3/questions.yaml b/community/palworld/1.0.4/questions.yaml similarity index 100% rename from community/palworld/1.0.3/questions.yaml rename to community/palworld/1.0.4/questions.yaml diff --git a/community/palworld/1.0.3/templates/NOTES.txt b/community/palworld/1.0.4/templates/NOTES.txt similarity index 100% rename from community/palworld/1.0.3/templates/NOTES.txt rename to community/palworld/1.0.4/templates/NOTES.txt diff --git a/community/palworld/1.0.3/templates/_palworld.tpl b/community/palworld/1.0.4/templates/_palworld.tpl similarity index 87% rename from community/palworld/1.0.3/templates/_palworld.tpl rename to community/palworld/1.0.4/templates/_palworld.tpl index 2aafc444f3..2d85985c16 100644 --- a/community/palworld/1.0.3/templates/_palworld.tpl +++ b/community/palworld/1.0.4/templates/_palworld.tpl @@ -125,15 +125,20 @@ workload: set_ini_value "AdminPassword" {{ .Values.palworldConfig.adminPassword | squote }} true false {{- range $item := .Values.palworldConfig.iniKeys }} - {{- if mustHas (kindOf $item.value) (list "int" "int64" "float64") }} - echo "Key {{ $item.key }} is a {{ kindOf $item.value }}, setting without quotes..." - set_ini_value "{{ $item.key }}" {{ $item.value }} - {{- else if or (eq ((toString $item.value) | lower) "true") (eq ((toString $item.value) | lower) "false") }} - echo "Key {{ $item.key }} is a boolean, setting without quotes..." - set_ini_value "{{ $item.key }}" {{ (toString $item.value) | camelcase }} + {{- $k := $item.key -}} + {{- $v := $item.value | toString -}} + {{- $numRegex := "^[0-9]+([.][0-9]+)?$" -}} + {{- $boolRegex := "^(true|false)$" -}} + + {{- if (mustRegexMatch $numRegex $v) }} + echo "Key [{{ $k }}] is a number, setting without quotes..." + set_ini_value "{{ $k }}" {{ $v }} + {{- else if (mustRegexMatch $boolRegex ($v | lower)) }} + echo "Key [{{ $k }}] is a boolean, setting without quotes..." + set_ini_value "{{ $k }}" {{ (toString $v) | camelcase }} {{- else }} - echo "Key {{ $item.key }} is a {{ kindOf $item.value }}, setting with quotes..." - set_ini_value "{{ $item.key }}" {{ $item.value | quote }} true + echo "Key [{{ $k }}] is a string, setting with quotes..." + set_ini_value "{{ $k }}" {{ $v | quote }} true {{- end }} {{- end }} diff --git a/community/palworld/1.0.3/templates/_params.tpl b/community/palworld/1.0.4/templates/_params.tpl similarity index 100% rename from community/palworld/1.0.3/templates/_params.tpl rename to community/palworld/1.0.4/templates/_params.tpl diff --git a/community/palworld/1.0.3/templates/_persistence.tpl b/community/palworld/1.0.4/templates/_persistence.tpl similarity index 100% rename from community/palworld/1.0.3/templates/_persistence.tpl rename to community/palworld/1.0.4/templates/_persistence.tpl diff --git a/community/palworld/1.0.3/templates/_service.tpl b/community/palworld/1.0.4/templates/_service.tpl similarity index 100% rename from community/palworld/1.0.3/templates/_service.tpl rename to community/palworld/1.0.4/templates/_service.tpl diff --git a/community/palworld/1.0.3/templates/common.yaml b/community/palworld/1.0.4/templates/common.yaml similarity index 100% rename from community/palworld/1.0.3/templates/common.yaml rename to community/palworld/1.0.4/templates/common.yaml diff --git a/community/palworld/1.0.3/upgrade_strategy_disabled b/community/palworld/1.0.4/upgrade_strategy_disabled similarity index 100% rename from community/palworld/1.0.3/upgrade_strategy_disabled rename to community/palworld/1.0.4/upgrade_strategy_disabled