-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[KRV-24554] Auth proxy e2e #595
Merged
Merged
Changes from 7 commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
78ae94d
[KRV-17785] Auth CRD e2e
EvgenyUglov 5bc5b3f
Merge branch 'authorization-gitops' into auth-crd-e2e
EvgenyUglov 6d2f211
[KRV-17785] Update go mod
EvgenyUglov 06d3c9d
[KRV-24554] Fix proxy e2e test
EvgenyUglov 807c5af
Merge branch 'authorization-gitops' into auth-proxy-e2e
EvgenyUglov d8bcb3a
[KRV-24554] Add auth CRDs step to the scenarios
EvgenyUglov c99c186
Merge branch 'authorization-gitops' into auth-proxy-e2e
EvgenyUglov dc0ff4e
[KRV-24554] Remove array data from test files
EvgenyUglov File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
15 changes: 15 additions & 0 deletions
15
tests/e2e/testfiles/authorization-templates/csm-authorization_v1_csmrole.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
apiVersion: csm-authorization.storage.dell.com/v1alpha1 | ||
kind: CSMRole | ||
metadata: | ||
labels: | ||
app.kubernetes.io/name: role | ||
app.kubernetes.io/instance: role-sample | ||
app.kubernetes.io/part-of: csm-authorization | ||
app.kubernetes.io/managed-by: kustomize | ||
app.kubernetes.io/created-by: csm-authorization | ||
name: csmrole-sample | ||
spec: | ||
quota: 0GB | ||
systemID: PIE-IsilonS-24241-Cluster | ||
systemType: powerscale | ||
pool: /ifs/data/csi |
18 changes: 18 additions & 0 deletions
18
tests/e2e/testfiles/authorization-templates/csm-authorization_v1_csmtenant.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
apiVersion: csm-authorization.storage.dell.com/v1alpha1 | ||
kind: CSMTenant | ||
metadata: | ||
labels: | ||
app.kubernetes.io/name: csmtenant | ||
app.kubernetes.io/instance: csmtenant-sample | ||
app.kubernetes.io/part-of: csm-authorization | ||
app.kubernetes.io/managed-by: kustomize | ||
app.kubernetes.io/created-by: csm-authorization | ||
name: csmtenant-sample | ||
spec: | ||
# TODO(user): Add fields here | ||
roles: csmrole-sample | ||
approveSdc: false | ||
revoke: false | ||
# This prefix is added for each new volume provisioned by the tenant. | ||
# It should not exceed 3 characters. Example: tn1 | ||
volumePrefix: tn1 |
12 changes: 12 additions & 0 deletions
12
tests/e2e/testfiles/authorization-templates/csm-authorization_v1_storage.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
apiVersion: csm-authorization.storage.dell.com/v1alpha1 | ||
kind: Storage | ||
metadata: | ||
name: powerscale | ||
spec: | ||
type: powerscale | ||
endpoint: https://10.230.24.241:8080 | ||
systemID: PIE-IsilonS-24241-Cluster | ||
credentialStore: vault | ||
credentialPath: storage/powerscale | ||
skipCertificateValidation: true | ||
pollInterval: 30s |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The spec values in the CRs should be updated during the test so users, and us, can pass in different values. This internal IP should be removed.
We can have users put values in https://github.com/dell/csm-operator/blob/main/tests/e2e/array-info.sh and put them into the CRs.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Right, missed that, thanks! Fixed.
Yeah, we can add populate them from that script, but I'd leave this change for another PR