Browse Source

:broom: bump 0.8.0 (#2134)

* chore: bump 0.8.0

Signed-off-by: Gustavo Carvalho <gusfcarvalho@gmail.com>

* Adding command to update crds snapshot. Updating CRDs snapshot and test snapshot

Signed-off-by: Gustavo Carvalho <gusfcarvalho@gmail.com>

---------

Signed-off-by: Gustavo Carvalho <gusfcarvalho@gmail.com>
Gustavo Fernandes de Carvalho 3 years ago
parent
commit
b9297c3502

+ 4 - 0
Makefile

@@ -188,6 +188,9 @@ helm.generate:
 helm.test: helm.generate
 	@helm unittest --file tests/*.yaml --file 'tests/**/*.yaml' deploy/charts/external-secrets/
 
+helm.test.update: helm.generate
+	@helm unittest -u --file tests/*.yaml --file 'tests/**/*.yaml' deploy/charts/external-secrets/
+
 helm.update.appversion:
 	@chartversion=$$(yq .version ./deploy/charts/external-secrets/Chart.yaml) ; \
 	chartappversion=$$(yq .appVersion ./deploy/charts/external-secrets/Chart.yaml) ; \
@@ -195,6 +198,7 @@ helm.update.appversion:
 	$(INFO) Update chartname and chartversion string in test snapshots.; \
 	sed -s -i "s/^\([[:space:]]\+helm\.sh\/chart:\).*/\1 $${chartname}-$${chartversion}/" ./deploy/charts/external-secrets/tests/__snapshot__/*.yaml.snap ; \
 	sed -s -i "s/^\([[:space:]]\+app\.kubernetes\.io\/version:\).*/\1 $${chartappversion}/" ./deploy/charts/external-secrets/tests/__snapshot__/*.yaml.snap ; \
+	sed -s -i "s/^\([[:space:]]\+image: ghcr\.io\/external-secrets\/external-secrets:\).*/\1$${chartappversion}/" ./deploy/charts/external-secrets/tests/__snapshot__/*.yaml.snap ; \
 	$(OK) "Version strings updated"
 
 # ====================================================================================

+ 2 - 2
deploy/charts/external-secrets/Chart.yaml

@@ -2,8 +2,8 @@ apiVersion: v2
 name: external-secrets
 description: External secret management for Kubernetes
 type: application
-version: "0.7.2"
-appVersion: "v0.7.2"
+version: "0.8.0"
+appVersion: "v0.8.0"
 kubeVersion: ">= 1.19.0-0"
 keywords:
   - kubernetes-external-secrets

+ 1 - 1
deploy/charts/external-secrets/README.md

@@ -4,7 +4,7 @@
 
 [//]: # (README.md generated by gotmpl. DO NOT EDIT.)
 
-![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![Version: 0.7.2](https://img.shields.io/badge/Version-0.7.2-informational?style=flat-square)
+![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![Version: 0.8.0](https://img.shields.io/badge/Version-0.8.0-informational?style=flat-square)
 
 External secret management for Kubernetes
 

+ 3 - 3
deploy/charts/external-secrets/tests/__snapshot__/controller_test.yaml.snap

@@ -7,8 +7,8 @@ should match snapshot of default values:
         app.kubernetes.io/instance: RELEASE-NAME
         app.kubernetes.io/managed-by: Helm
         app.kubernetes.io/name: external-secrets
-        app.kubernetes.io/version: v0.7.2
-        helm.sh/chart: external-secrets-0.7.2
+        app.kubernetes.io/version: v0.8.0
+        helm.sh/chart: external-secrets-0.8.0
       name: RELEASE-NAME-external-secrets
       namespace: NAMESPACE
     spec:
@@ -28,7 +28,7 @@ should match snapshot of default values:
           containers:
             - args:
                 - --concurrent=1
-              image: ghcr.io/external-secrets/external-secrets:v0.7.2
+              image: ghcr.io/external-secrets/external-secrets:v0.8.0
               imagePullPolicy: IfNotPresent
               name: external-secrets
               ports:

+ 58 - 0
deploy/charts/external-secrets/tests/__snapshot__/crds_test.yaml.snap

@@ -2020,6 +2020,64 @@ should match snapshot of default values:
                             - region
                             - vault
                           type: object
+                        scaleway:
+                          description: Scaleway
+                          properties:
+                            accessKey:
+                              description: AccessKey is the non-secret part of the api key.
+                              properties:
+                                secretRef:
+                                  description: SecretRef references a key in a secret that will be used as value.
+                                  properties:
+                                    key:
+                                      description: The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be defaulted, in others it may be required.
+                                      type: string
+                                    name:
+                                      description: The name of the Secret resource being referred to.
+                                      type: string
+                                    namespace:
+                                      description: Namespace of the resource being referred to. Ignored if referent is not cluster-scoped. cluster-scoped defaults to the namespace of the referent.
+                                      type: string
+                                  type: object
+                                value:
+                                  description: Value can be specified directly to set a value without using a secret.
+                                  type: string
+                              type: object
+                            apiUrl:
+                              description: APIURL is the url of the api to use. Defaults to https://api.scaleway.com
+                              type: string
+                            projectId:
+                              description: 'ProjectID is the id of your project, which you can find in the console: https://console.scaleway.com/project/settings'
+                              type: string
+                            region:
+                              description: 'Region where your secrets are located: https://developers.scaleway.com/en/quickstart/#region-and-zone'
+                              type: string
+                            secretKey:
+                              description: SecretKey is the non-secret part of the api key.
+                              properties:
+                                secretRef:
+                                  description: SecretRef references a key in a secret that will be used as value.
+                                  properties:
+                                    key:
+                                      description: The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be defaulted, in others it may be required.
+                                      type: string
+                                    name:
+                                      description: The name of the Secret resource being referred to.
+                                      type: string
+                                    namespace:
+                                      description: Namespace of the resource being referred to. Ignored if referent is not cluster-scoped. cluster-scoped defaults to the namespace of the referent.
+                                      type: string
+                                  type: object
+                                value:
+                                  description: Value can be specified directly to set a value without using a secret.
+                                  type: string
+                              type: object
+                          required:
+                            - accessKey
+                            - projectId
+                            - region
+                            - secretKey
+                          type: object
                         senhasegura:
                           description: Senhasegura configures this store to sync secrets using senhasegura provider
                           properties: