From 38471d6aca19f71494446b01aa7ca7f9df303c89 Mon Sep 17 00:00:00 2001 From: Sebastian Widmer Date: Tue, 2 Apr 2024 10:33:42 +0200 Subject: [PATCH] Update image `appuio/emergency-credentials-controller` to `v0.4.0` --- class/defaults.yml | 2 +- ...n_emergencyaccounts.cluster.appuio.io.yaml | 25 +++++++++++++++++++ ...entials-controller-controller-manager.yaml | 2 +- 3 files changed, 27 insertions(+), 2 deletions(-) diff --git a/class/defaults.yml b/class/defaults.yml index b425bfe..01c7664 100644 --- a/class/defaults.yml +++ b/class/defaults.yml @@ -12,7 +12,7 @@ parameters: emergency_credentials_controller: registry: ghcr.io image: appuio/emergency-credentials-controller - tag: v0.3.1 + tag: v0.4.0 kube_rbac_proxy: registry: gcr.io image: kubebuilder/kube-rbac-proxy diff --git a/tests/golden/defaults/emergency-credentials-controller/emergency-credentials-controller/apiextensions.k8s.io_v1_customresourcedefinition_emergencyaccounts.cluster.appuio.io.yaml b/tests/golden/defaults/emergency-credentials-controller/emergency-credentials-controller/apiextensions.k8s.io_v1_customresourcedefinition_emergencyaccounts.cluster.appuio.io.yaml index 0dbec66..818b131 100644 --- a/tests/golden/defaults/emergency-credentials-controller/emergency-credentials-controller/apiextensions.k8s.io_v1_customresourcedefinition_emergencyaccounts.cluster.appuio.io.yaml +++ b/tests/golden/defaults/emergency-credentials-controller/emergency-credentials-controller/apiextensions.k8s.io_v1_customresourcedefinition_emergencyaccounts.cluster.appuio.io.yaml @@ -65,6 +65,13 @@ spec: logStore: description: LogSpec configures the log store. The log store outputs the token to the log but does not store it anywhere. + properties: + additionalFields: + additionalProperties: + type: string + description: AdditionalFields is a map of additional fields + to log. + type: object type: object name: description: Name is the name of the store. Must be unique within @@ -177,6 +184,24 @@ spec: last token was created. format: date-time type: string + lastTokenStoreConfigurationHashes: + description: LastTokenStoreConfigurationHashes is the hash of the + last token store configuration. It is used to detect changes in + the token store configuration. A change in the configuration triggers + the creation of a new token. + items: + properties: + hash: + description: Sha256 is the hash of the store configuration. + type: string + name: + description: Name is the name of the store. + type: string + required: + - hash + - name + type: object + type: array tokens: description: Tokens is a list of tokens that have been created items: diff --git a/tests/golden/defaults/emergency-credentials-controller/emergency-credentials-controller/apps_v1_deployment_emergency-credentials-controller-controller-manager.yaml b/tests/golden/defaults/emergency-credentials-controller/emergency-credentials-controller/apps_v1_deployment_emergency-credentials-controller-controller-manager.yaml index a3889cd..ba45814 100644 --- a/tests/golden/defaults/emergency-credentials-controller/emergency-credentials-controller/apps_v1_deployment_emergency-credentials-controller-controller-manager.yaml +++ b/tests/golden/defaults/emergency-credentials-controller/emergency-credentials-controller/apps_v1_deployment_emergency-credentials-controller-controller-manager.yaml @@ -52,7 +52,7 @@ spec: valueFrom: fieldRef: fieldPath: metadata.namespace - image: ghcr.io/appuio/emergency-credentials-controller:v0.3.1 + image: ghcr.io/appuio/emergency-credentials-controller:v0.4.0 livenessProbe: httpGet: path: /healthz