-
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 37f87e1
Showing
29 changed files
with
197 additions
and
4,518 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
5 changes: 5 additions & 0 deletions
5
...pipeline-invocation/aissemble-pipeline-invocation-app-chart/templates/serviceaccount.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,5 @@ | ||
{{- $serviceAccountName := (index .Values "aissemble-quarkus-chart" "deployment" "serviceAccountName") -}} | ||
apiVersion: v1 | ||
kind: ServiceAccount | ||
metadata: | ||
name: {{ $serviceAccountName | default "pipeline-invocation-service" }} |
74 changes: 74 additions & 0 deletions
74
...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,74 @@ | ||
suite: Pipeline Invocation Service RBAC | ||
templates: | ||
- rbac.yaml | ||
tests: | ||
- it: Should contain ClusterRole document | ||
documentIndex: 0 | ||
asserts: | ||
- containsDocument: | ||
kind: ClusterRole | ||
apiVersion: rbac.authorization.k8s.io/v1 | ||
- it: Should contain ClusterRoleBinding document | ||
documentIndex: 1 | ||
asserts: | ||
- containsDocument: | ||
kind: ClusterRoleBinding | ||
apiVersion: rbac.authorization.k8s.io/v1 | ||
- it: Should be 2 documents in total | ||
asserts: | ||
- hasDocuments: | ||
count: 2 | ||
- it: Do not contain any documents if options are disabled | ||
set: | ||
rbac: | ||
createClusterRole: false | ||
asserts: | ||
- hasDocuments: | ||
count: 0 | ||
- it: ClusterRole should include appropriate default values | ||
documentIndex: 0 | ||
asserts: | ||
- equal: | ||
path: metadata.name | ||
value: pipeline-invocation-service-sa-clusterrole | ||
- it: ClusterRoleBinding should include appropriate default values | ||
documentIndex: 1 | ||
release: | ||
namespace: default | ||
asserts: | ||
- equal: | ||
path: metadata.name | ||
value: pipeline-invocation-service-sa-clusterrole-binding | ||
- contains: | ||
path: subjects | ||
content: | ||
kind: ServiceAccount | ||
name: pipeline-invocation-service-sa | ||
namespace: default | ||
- equal: | ||
path: roleRef.kind | ||
value: ClusterRole | ||
- equal: | ||
path: roleRef.name | ||
value: pipeline-invocation-service-sa-clusterrole | ||
- equal: | ||
path: roleRef.apiGroup | ||
value: rbac.authorization.k8s.io | ||
- it: Should set values appropriately for the cluster role binding | ||
set: | ||
aissemble-quarkus-chart: | ||
deployment: | ||
serviceAccountName: test | ||
release: | ||
namespace: default | ||
documentIndex: 1 | ||
asserts: | ||
- contains: | ||
path: subjects | ||
content: | ||
kind: ServiceAccount | ||
name: test | ||
namespace: default | ||
- equal: | ||
path: metadata.name | ||
value: test-clusterrole-binding |
19 changes: 19 additions & 0 deletions
19
...ipeline-invocation/aissemble-pipeline-invocation-app-chart/tests/serviceaccount_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,19 @@ | ||
suite: Pipeline Invocation Service Account | ||
templates: | ||
- serviceaccount.yaml | ||
tests: | ||
- it: ServiceAccount should include appropriate default values | ||
asserts: | ||
- equal: | ||
path: metadata.name | ||
value: pipeline-invocation-service-sa | ||
|
||
- it: Should set values appropriately for the service account | ||
set: | ||
aissemble-quarkus-chart: | ||
deployment: | ||
serviceAccountName: test | ||
asserts: | ||
- equal: | ||
path: metadata.name | ||
value: test |
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.