-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#403 pipeline-invocation-service java17 upgrade
- Loading branch information
1 parent
f8378e3
commit 31c510e
Showing
25 changed files
with
216 additions
and
4,514 deletions.
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
2 changes: 1 addition & 1 deletion
2
...ions/extensions-docker/aissemble-pipeline-invocation/src/main/resources/docker/Dockerfile
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
4,427 changes: 0 additions & 4,427 deletions
4,427
...s-helm/aissemble-spark-application-chart/crds/sparkoperator.k8s.io_sparkapplications.yaml
This file was deleted.
Oops, something went wrong.
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
Empty file.
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
97 changes: 97 additions & 0 deletions
97
...ons-helm-pipeline-invocation/aissemble-pipeline-invocation-app-chart/tests/rbac_test.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,97 @@ | ||
suite: Pipeline Invocation Service RBAC | ||
templates: | ||
- rbac.yaml | ||
tests: | ||
- it: Should contain ServiceAccount document | ||
documentIndex: 0 | ||
asserts: | ||
- containsDocument: | ||
kind: ServiceAccount | ||
apiVersion: v1 | ||
- it: Should contain ClusterRole document | ||
documentIndex: 1 | ||
asserts: | ||
- containsDocument: | ||
kind: ClusterRole | ||
apiVersion: rbac.authorization.k8s.io/v1 | ||
- it: Should contain ClusterRoleBinding document | ||
documentIndex: 2 | ||
asserts: | ||
- containsDocument: | ||
kind: ClusterRoleBinding | ||
apiVersion: rbac.authorization.k8s.io/v1 | ||
- it: Should be 3 documents in total | ||
asserts: | ||
- hasDocuments: | ||
count: 3 | ||
- it: Still contains service account if options are disabled | ||
set: | ||
rbac: | ||
createClusterRole: false | ||
asserts: | ||
- hasDocuments: | ||
count: 1 | ||
- containsDocument: | ||
kind: ServiceAccount | ||
apiVersion: v1 | ||
- it: ServiceAccount should include appropriate default values | ||
documentIndex: 0 | ||
asserts: | ||
- equal: | ||
path: metadata.name | ||
value: pipeline-invocation-service | ||
- it: ClusterRole should include appropriate default values | ||
documentIndex: 1 | ||
asserts: | ||
- equal: | ||
path: metadata.name | ||
value: pipeline-invocation-service-clusterrole | ||
- it: ClusterRoleBinding should include appropriate default values | ||
documentIndex: 2 | ||
release: | ||
namespace: default | ||
asserts: | ||
- equal: | ||
path: metadata.name | ||
value: pipeline-invocation-service-clusterrole-binding | ||
- contains: | ||
path: subjects | ||
content: | ||
kind: ServiceAccount | ||
name: pipeline-invocation-service | ||
namespace: default | ||
- equal: | ||
path: roleRef.kind | ||
value: ClusterRole | ||
- equal: | ||
path: roleRef.name | ||
value: pipeline-invocation-service-clusterrole | ||
- equal: | ||
path: roleRef.apiGroup | ||
value: rbac.authorization.k8s.io | ||
- it: Should set values appropriately for the service account | ||
set: | ||
rbac: | ||
serviceAccountName: test | ||
documentIndex: 0 | ||
asserts: | ||
- equal: | ||
path: metadata.name | ||
value: test | ||
- it: Should set values appropriately for the cluster role binding | ||
set: | ||
rbac: | ||
serviceAccountName: test | ||
release: | ||
namespace: default | ||
documentIndex: 2 | ||
asserts: | ||
- contains: | ||
path: subjects | ||
content: | ||
kind: ServiceAccount | ||
name: test | ||
namespace: default | ||
- equal: | ||
path: metadata.name | ||
value: test-clusterrole-binding |
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.