Browse Source

fix: re-generate helm test fixtures (#2249)

* fix: update helm test fixtures

Signed-off-by: Moritz Johner <beller.moritz@googlemail.com>

* fix: helm workflow should run when CRDs change

Signed-off-by: Moritz Johner <beller.moritz@googlemail.com>

---------

Signed-off-by: Moritz Johner <beller.moritz@googlemail.com>
Moritz Johner 3 years ago
parent
commit
6e1bde384a

+ 2 - 0
.github/workflows/helm.yml

@@ -7,9 +7,11 @@ on:
       - release-*
     paths:
       - 'deploy/charts/**'
+      - 'deploy/crds'
   pull_request:
     paths:
       - 'deploy/charts/**'
+      - 'deploy/crds'
   workflow_dispatch: {}
 
 jobs:

+ 34 - 8
deploy/charts/external-secrets/tests/__snapshot__/crds_test.yaml.snap

@@ -194,6 +194,23 @@ should match snapshot of default values:
                             auth:
                               description: AlibabaAuth contains a secretRef for credentials.
                               properties:
+                                rrsa:
+                                  description: Authenticate against Alibaba using RRSA.
+                                  properties:
+                                    oidcProviderArn:
+                                      type: string
+                                    oidcTokenFilePath:
+                                      type: string
+                                    roleArn:
+                                      type: string
+                                    sessionName:
+                                      type: string
+                                  required:
+                                    - oidcProviderArn
+                                    - oidcTokenFilePath
+                                    - roleArn
+                                    - sessionName
+                                  type: object
                                 secretRef:
                                   description: AlibabaAuthSecretRef holds secret references for Alibaba credentials.
                                   properties:
@@ -227,11 +244,7 @@ should match snapshot of default values:
                                     - accessKeyIDSecretRef
                                     - accessKeySecretSecretRef
                                   type: object
-                              required:
-                                - secretRef
                               type: object
-                            endpoint:
-                              type: string
                             regionID:
                               description: Alibaba Region to be used for the provider
                               type: string
@@ -1343,6 +1356,23 @@ should match snapshot of default values:
                             auth:
                               description: AlibabaAuth contains a secretRef for credentials.
                               properties:
+                                rrsa:
+                                  description: Authenticate against Alibaba using RRSA.
+                                  properties:
+                                    oidcProviderArn:
+                                      type: string
+                                    oidcTokenFilePath:
+                                      type: string
+                                    roleArn:
+                                      type: string
+                                    sessionName:
+                                      type: string
+                                  required:
+                                    - oidcProviderArn
+                                    - oidcTokenFilePath
+                                    - roleArn
+                                    - sessionName
+                                  type: object
                                 secretRef:
                                   description: AlibabaAuthSecretRef holds secret references for Alibaba credentials.
                                   properties:
@@ -1376,11 +1406,7 @@ should match snapshot of default values:
                                     - accessKeyIDSecretRef
                                     - accessKeySecretSecretRef
                                   type: object
-                              required:
-                                - secretRef
                               type: object
-                            endpoint:
-                              type: string
                             regionID:
                               description: Alibaba Region to be used for the provider
                               type: string