-
Notifications
You must be signed in to change notification settings - Fork 82
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
45 additions
and
34 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
apiVersion: v1 | ||
kind: Service | ||
metadata: | ||
name: minio-service | ||
name: ${service_name} | ||
spec: | ||
ports: | ||
- name: minio-client-port | ||
|
@@ -14,14 +14,14 @@ spec: | |
kind: Route | ||
apiVersion: route.openshift.io/v1 | ||
metadata: | ||
name: minio-route | ||
name: ${route_name} | ||
spec: | ||
to: | ||
kind: Service | ||
name: minio-service | ||
name: ${service_name} | ||
weight: 100 | ||
port: | ||
targetPort: ui | ||
targetPort: minio-client-port | ||
wildcardPolicy: None | ||
tls: | ||
termination: edge | ||
|
@@ -32,7 +32,7 @@ kind: Pod | |
metadata: | ||
labels: | ||
app: minio | ||
name: ods-ci-minio | ||
name: ${podname} | ||
spec: | ||
Check warning Code scanning / SonarCloud Service account tokens should not be mounted in pods Medium test
Set automountServiceAccountToken to false for this specification of kind Pod. See more on SonarCloud
|
||
containers: | ||
- args: | ||
Check warning Code scanning / SonarCloud CPU limits should be enforced Medium test
Specify a CPU limit for this container. See more on SonarCloud
Check warning Code scanning / SonarCloud Memory limits should be enforced Medium test
Specify a memory limit for this container. See more on SonarCloud
|
||
|
@@ -43,6 +43,6 @@ spec: | |
value: ${key} | ||
- name: MINIO_SECRET_KEY | ||
value: ${pw} | ||
image: ${url} | ||
image: ${minio_image} | ||
imagePullPolicy: Always | ||
name: minio |
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