From 4ec57d3e39f9996387fe42906a053256829e7f27 Mon Sep 17 00:00:00 2001 From: toast-gear <15716903+toast-gear@users.noreply.github.com> Date: Tue, 29 Jun 2021 09:51:41 +0100 Subject: [PATCH] chore: update helm create secret defaults to false (#669) There's no reason to create a non-working secret by default. If someone wants to deploy the secrets via the chart they will need to do some config regardless so they might as well also set the create flag --- charts/actions-runner-controller/README.md | 4 ++-- charts/actions-runner-controller/values.yaml | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/charts/actions-runner-controller/README.md b/charts/actions-runner-controller/README.md index a1cc5250..7e20e725 100644 --- a/charts/actions-runner-controller/README.md +++ b/charts/actions-runner-controller/README.md @@ -16,7 +16,7 @@ _Default values are the defaults set in the charts values.yaml, some properties | `githubAPICacheDuration` | Set the cache period for API calls | | | `githubEnterpriseServerURL` | Set the URL for a self-hosted GitHub Enterprise Server | | | `logLevel` | Set the log level of the controller container | | -| `authSecret.create` | Deploy the controller auth secret | true | +| `authSecret.create` | Deploy the controller auth secret | false | | `authSecret.name` | Set the name of the auth secret | controller-manager | | `authSecret.github_app_id` | The ID of your GitHub App. **This can't be set at the same time as `authSecret.github_token`** | | | `authSecret.github_app_installation_id` | The ID of your GitHub App installation. **This can't be set at the same time as `authSecret.github_token`** | | @@ -56,7 +56,7 @@ _Default values are the defaults set in the charts values.yaml, some properties | `githubWebhookServer.replicaCount` | Set the number of webhook server pods | 1 | | `githubWebhookServer.syncPeriod` | Set the period in which the controller reconciles the resources | 10m | | `githubWebhookServer.enabled` | Deploy the webhook server pod | false | -| `githubWebhookServer.secret.create` | Deploy the webhook hook secret | true | +| `githubWebhookServer.secret.create` | Deploy the webhook hook secret | false | | `githubWebhookServer.secret.name` | Set the name of the webhook hook secret | github-webhook-server | | `githubWebhookServer.secret.github_webhook_secret_token` | Set the webhook secret token value | | | `githubWebhookServer.imagePullSecrets` | Specifies the secret to be used when pulling the githubWebhookServer pod containers | | diff --git a/charts/actions-runner-controller/values.yaml b/charts/actions-runner-controller/values.yaml index 026036b7..90714c68 100644 --- a/charts/actions-runner-controller/values.yaml +++ b/charts/actions-runner-controller/values.yaml @@ -19,7 +19,7 @@ syncPeriod: 10m # Only 1 authentication method can be deployed at a time # Uncomment the configuration you are applying and fill in the details authSecret: - create: true + create: false name: "controller-manager" ### GitHub Apps Configuration #github_app_id: "" @@ -118,10 +118,10 @@ githubWebhookServer: replicaCount: 1 syncPeriod: 10m secret: - create: true + create: false name: "github-webhook-server" ### GitHub Webhook Configuration - #github_webhook_secret_token: "" + github_webhook_secret_token: "" imagePullSecrets: [] nameOverride: "" fullnameOverride: ""