From 9abb6ce3cb9864bf4cc34bab6e47295c8ff38d06 Mon Sep 17 00:00:00 2001 From: Lars Scheibling Date: Wed, 19 Jul 2023 09:17:49 +0200 Subject: [PATCH] Remove autoregister by default --- .gitlab-ci.yml | 2 +- Chart/templates/job.yaml | 4 ++-- Chart/values.yaml | 6 ++---- 3 files changed, 5 insertions(+), 7 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index d6cb173..3a8f7cd 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,5 +1,5 @@ variables: - HELM_CHART_VERSION: "99.6.27" + HELM_CHART_VERSION: "99.6.28" stages: - deploy diff --git a/Chart/templates/job.yaml b/Chart/templates/job.yaml index db7cb2f..a383ac7 100644 --- a/Chart/templates/job.yaml +++ b/Chart/templates/job.yaml @@ -1,5 +1,4 @@ -{{- if .Values.site.skipWPCRegistration | default false }} -{{- else }} +{{- if .Values.site.autoRegisterEnabled | default false }} apiVersion: batch/v1 kind: Job metadata: @@ -21,4 +20,5 @@ spec: imagePullSecrets: - name: pull-secret backoffLimit: 4 +{{- else }} {{- end }} \ No newline at end of file diff --git a/Chart/values.yaml b/Chart/values.yaml index 0922a0d..ad6cfc4 100644 --- a/Chart/values.yaml +++ b/Chart/values.yaml @@ -51,10 +51,6 @@ storage: # Default: - # container: "company-tld" - # Skip WPC Auto-registration - # Default: false - # skipWPCRegistration: false - # WP Content Folders wpContent: - uploads @@ -131,6 +127,8 @@ site: # Display Errors displayErrors: "0" + # Auto Registration + autoRegisterEnabled: "false" # advanced: # php: # displayErrors: "0"