diff --git a/helm/wahlrecht/Chart.lock b/helm/wahlrecht/Chart.lock index 8d32ef8..94fb84c 100644 --- a/helm/wahlrecht/Chart.lock +++ b/helm/wahlrecht/Chart.lock @@ -1,6 +1,6 @@ dependencies: - name: template repository: file://../template - version: 0.1.20 -digest: sha256:f32bc1668aba184201c08fdd5b027bf8704aeabcea663f08fce6aec0421d2684 -generated: "2023-11-02T11:51:45.678574+01:00" + version: 0.2.1 +digest: sha256:674adb8dc3e80e29b3026aa77c48f3371661f8713fad03242cedb27f7c4c6958 +generated: "2023-11-04T12:34:21.07171+01:00" diff --git a/helm/wahlrecht/Chart.yaml b/helm/wahlrecht/Chart.yaml index 7eb421c..d379dc9 100644 --- a/helm/wahlrecht/Chart.yaml +++ b/helm/wahlrecht/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 name: wahlrecht description: Installs the Wahlrecht API into the Kubernetes cluster type: application -version: 0.1.10 +version: 0.2.0 maintainers: - name: Jim Martens url: https://2martens.de @@ -10,7 +10,7 @@ sources: - https://git.2martens.de/2martens/wahlrecht dependencies: - name: template - version: 0.1.20 + version: 0.2.1 repository: file://../template annotations: artifacthub.io/images: | @@ -21,7 +21,7 @@ annotations: - linux/arm64 artifacthub.io/changes: | - kind: added - description: Added support for Prometheus (operator) + description: Added support for vault secrets artifacthub.io/signKey: | fingerprint: F0F153B65BAD467201D7544E47393ABD1F96B7C8 url: https://mafiasi.de/pks/key/47393ABD1F96B7C8.asc diff --git a/helm/wahlrecht/overwrite_values.yaml b/helm/wahlrecht/overwrite_values.yaml index 860a84e..dd7593e 100644 --- a/helm/wahlrecht/overwrite_values.yaml +++ b/helm/wahlrecht/overwrite_values.yaml @@ -29,9 +29,9 @@ service: actuatorPort: 12001 secrets: - # Needs to be overwritten + # Needs to be overwritten. Will be ignored if vault is enabled. MONGODB_CONNECTION_STRING: "" - # Needs to be overwritten + # Needs to be overwritten. Will be ignored if vault is enabled. CLIENT_SECRET: "" environment: diff --git a/helm/wahlrecht/values.yaml b/helm/wahlrecht/values.yaml index 9adb28f..59863c9 100644 --- a/helm/wahlrecht/values.yaml +++ b/helm/wahlrecht/values.yaml @@ -65,6 +65,8 @@ prometheus: # namespace: the namespace of the Prometheus installation # the value is templated namespace: + # name of helm release or argo cd application + releaseName: # Overwrite with application specific environment variables # Each item has key and value, where the value is parsed as a template environment: @@ -92,9 +94,9 @@ enableServiceLinks: false # Contents of this object will be added to a Kubernetes secret data section and Base64 encoded # External secrets are not supported by this template secrets: - # Needs to be overwritten + # Needs to be overwritten. Will be ignored if vault is enabled. MONGODB_CONNECTION_STRING: "" - # Needs to be overwritten + # Needs to be overwritten. Will be ignored if vault is enabled. CLIENT_SECRET: "" # Configure the service service: @@ -154,6 +156,17 @@ autoscaling: maxReplicas: 100 targetCPUUtilizationPercentage: 80 # targetMemoryUtilizationPercentage: 80 +vault: + # If enabled, no ordinary secret resource will be created, even if secrets value is populated. + enabled: false + # name of the Vault secrets applications + applicationName: "" + # id of the organization in Vault secrets + organizationId: "" + # id of the project in Vault secrets + projectId: "" + # if not provided, vault-secrets-operator-system will be used + operatorNamespace: "" # Configure nodeSelector, contents will be added verbatim to key nodeSelector in deployment pod template nodeSelector: {} # Configure tolerations, contents will be added verbatim to key tolerations in deployment pod template