Skip to content

Commit

Permalink
fix: open minio dashboard on different port in quick-start (#8407)
Browse files Browse the repository at this point in the history
Signed-off-by: Grzegorz Bielski <[email protected]>
  • Loading branch information
grzegorz-bielski authored Apr 18, 2022
1 parent d3336fb commit 4471b59
Show file tree
Hide file tree
Showing 6 changed files with 45 additions and 6 deletions.
1 change: 1 addition & 0 deletions docs/configure-artifact-repository.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ The actual repository used by a workflow is chosen by the following rules:
3. From a workflow controller configmap.

## Configuring Minio
NOTE: Minio is already included in the [quick-start manifests](quick-start.md).

```
$ brew install helm # mac, helm 3.x
Expand Down
12 changes: 11 additions & 1 deletion manifests/quick-start-minimal.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1263,9 +1263,14 @@ metadata:
name: minio
spec:
ports:
- port: 9000
- name: api
port: 9000
protocol: TCP
targetPort: 9000
- name: dashboard
port: 9001
protocol: TCP
targetPort: 9001
selector:
app: minio
---
Expand Down Expand Up @@ -1362,6 +1367,8 @@ spec:
- command:
- minio
- server
- --console-address
- :9001
- /data
env:
- name: MINIO_ACCESS_KEY
Expand All @@ -1385,6 +1392,9 @@ spec:
name: main
ports:
- containerPort: 9000
name: api
- containerPort: 9001
name: dashboard
readinessProbe:
httpGet:
path: /minio/health/ready
Expand Down
12 changes: 11 additions & 1 deletion manifests/quick-start-mysql.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1293,9 +1293,14 @@ metadata:
name: minio
spec:
ports:
- port: 9000
- name: api
port: 9000
protocol: TCP
targetPort: 9000
- name: dashboard
port: 9001
protocol: TCP
targetPort: 9001
selector:
app: minio
---
Expand Down Expand Up @@ -1406,6 +1411,8 @@ spec:
- command:
- minio
- server
- --console-address
- :9001
- /data
env:
- name: MINIO_ACCESS_KEY
Expand All @@ -1429,6 +1436,9 @@ spec:
name: main
ports:
- containerPort: 9000
name: api
- containerPort: 9001
name: dashboard
readinessProbe:
httpGet:
path: /minio/health/ready
Expand Down
12 changes: 11 additions & 1 deletion manifests/quick-start-postgres.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1293,9 +1293,14 @@ metadata:
name: minio
spec:
ports:
- port: 9000
- name: api
port: 9000
protocol: TCP
targetPort: 9000
- name: dashboard
port: 9001
protocol: TCP
targetPort: 9001
selector:
app: minio
---
Expand Down Expand Up @@ -1406,6 +1411,8 @@ spec:
- command:
- minio
- server
- --console-address
- :9001
- /data
env:
- name: MINIO_ACCESS_KEY
Expand All @@ -1429,6 +1436,9 @@ spec:
name: main
ports:
- containerPort: 9000
name: api
- containerPort: 9001
name: dashboard
readinessProbe:
httpGet:
path: /minio/health/ready
Expand Down
5 changes: 4 additions & 1 deletion manifests/quick-start/base/minio/minio-deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,10 @@ spec:
value: password
ports:
- containerPort: 9000
command: [minio, server, /data]
name: api
- containerPort: 9001
name: dashboard
command: [minio, server, --console-address, ":9001", /data]
lifecycle:
postStart:
exec:
Expand Down
9 changes: 7 additions & 2 deletions manifests/quick-start/base/minio/minio-service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@ spec:
selector:
app: minio
ports:
- protocol: TCP
port: 9000
- port: 9000
name: api
protocol: TCP
targetPort: 9000
- port: 9001
name: dashboard
protocol: TCP
targetPort: 9001

0 comments on commit 4471b59

Please sign in to comment.