app-minio: add create-bucket-with-webhook action
diff --git a/apps/minio/chart/templates/configmap.yaml b/apps/minio/chart/templates/configmap.yaml
new file mode 100644
index 0000000..5861511
--- /dev/null
+++ b/apps/minio/chart/templates/configmap.yaml
@@ -0,0 +1,6 @@
+apiVersion: v1
+kind: ConfigMap
+metadata:
+ name: action-env
+data:
+ minio_addr: http://{{ template "minio.fullname" . }}:{{ .Values.minio.service.port }}
diff --git a/apps/minio/chart/templates/ingress.yaml b/apps/minio/chart/templates/ingress.yaml
index 044c2e5..2e09222 100644
--- a/apps/minio/chart/templates/ingress.yaml
+++ b/apps/minio/chart/templates/ingress.yaml
@@ -11,7 +11,7 @@
match: Host(`{{ .Values.ingressHost }}`)
services:
- kind: Service
- name: minio
+ name: {{ template "minio.fullname" . }}
namespace: {{ .Release.Namespace }}
passHostHeader: true
port: {{ .Values.minio.service.port }}