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 <pesiok@gmail.com>
  • Loading branch information
grzegorz-bielski authored and sarabala1979 committed Aug 8, 2022
1 parent d874c1a commit 6ec0ca0
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
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
Expand Up @@ -1273,9 +1273,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 @@ -1377,6 +1382,8 @@ spec:
- command:
- minio
- server
- --console-address
- :9001
- /data
env:
- name: MINIO_ACCESS_KEY
Expand All @@ -1400,6 +1407,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
Expand Up @@ -1303,9 +1303,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 @@ -1421,6 +1426,8 @@ spec:
- command:
- minio
- server
- --console-address
- :9001
- /data
env:
- name: MINIO_ACCESS_KEY
Expand All @@ -1444,6 +1451,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
Expand Up @@ -1303,9 +1303,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 @@ -1421,6 +1426,8 @@ spec:
- command:
- minio
- server
- --console-address
- :9001
- /data
env:
- name: MINIO_ACCESS_KEY
Expand All @@ -1444,6 +1451,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
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
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 6ec0ca0

Please sign in to comment.