Skip to content

Commit

Permalink
[TEST] Use feature branch of fleet-test-data
Browse files Browse the repository at this point in the history
This is a test commit to validate that OCI tests requiring secrets work
as expected against a test, configmap-only chart.
This must be reverted as soon as the corresponding `fleet-test-data` PR
is merged.
  • Loading branch information
weyfonk committed Oct 23, 2023
1 parent 1816107 commit 6d13776
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 1 deletion.
17 changes: 17 additions & 0 deletions e2e/assets/single-cluster/helm-with-auth2.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
kind: GitRepo
apiVersion: fleet.cattle.io/v1alpha1
metadata:
name: helm
spec:
repo: {{ .Repo }}
branch: 1866-helm-oci-with-auth
helmSecretName: {{ .SecretName }}
paths:
- {{ .Path }}
targets:
- clusterSelector:
matchExpressions:
- key: provider.cattle.io
operator: NotIn
values:
- harvester
3 changes: 2 additions & 1 deletion e2e/require-secrets/oci_auth_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,8 @@ var _ = Describe("Single Cluster Examples", func() {
When("creating a gitrepo resource", func() {
Context("containing a private oci based helm chart", func() {
BeforeEach(func() {
asset = "single-cluster/helm-with-auth.yaml"
//asset = "single-cluster/helm-with-auth.yaml"
asset = "single-cluster/helm-with-auth2.yaml"
k = env.Kubectl.Namespace(env.Namespace)

out, err := k.Create(
Expand Down

0 comments on commit 6d13776

Please sign in to comment.