minio-sa 和minio
diff --git a/deploy-manifests/k8s-rancher/open-platfprm/minio-sa/03-1-configmap.yaml b/deploy-manifests/k8s-rancher/open-platfprm/minio-sa/03-1-configmap.yaml
index f86d3c4..086158d 100644
--- a/deploy-manifests/k8s-rancher/open-platfprm/minio-sa/03-1-configmap.yaml
+++ b/deploy-manifests/k8s-rancher/open-platfprm/minio-sa/03-1-configmap.yaml
@@ -5,5 +5,5 @@
name: minio-sa-config
data:
# Minio参数
- MINIO_ENDPOINT: op-minio-sa-test.paas.newcapec.cn
+ MINIO_ENDPOINT: developer-center-minio-test.paas.newcapec.cn
MINIO_USE_SSL: "false"
diff --git a/deploy-manifests/k8s-rancher/open-platfprm/minio-sa/04-ingress.yaml b/deploy-manifests/k8s-rancher/open-platfprm/minio-sa/04-ingress.yaml
index 4088278..5d3baf4 100644
--- a/deploy-manifests/k8s-rancher/open-platfprm/minio-sa/04-ingress.yaml
+++ b/deploy-manifests/k8s-rancher/open-platfprm/minio-sa/04-ingress.yaml
@@ -15,7 +15,7 @@
# secretName: minio-sa-tls
rules:
# 替换成正确的域名
- - host: op-minio-sa-test.paas.newcapec.cn
+ - host: develop-center-minio-sa-test.paas.newcapec.cn
http:
paths:
- path: /
diff --git a/deploy-manifests/k8s-rancher/open-platfprm/open-platform/4.10.developer-center-minio.yaml b/deploy-manifests/k8s-rancher/open-platfprm/open-platform/4.10.developer-center-minio.yaml
new file mode 100644
index 0000000..55da4da
--- /dev/null
+++ b/deploy-manifests/k8s-rancher/open-platfprm/open-platform/4.10.developer-center-minio.yaml
@@ -0,0 +1,114 @@
+# 2.authx-service-minio.yaml
+
+####################################################
+# minio
+# 文件服务器,对象存储
+####################################################
+
+apiVersion: v1
+kind: PersistentVolumeClaim
+metadata:
+ name: minio-data-pvc
+ namespace: develop-center-test
+spec:
+ accessModes:
+ - ReadWriteMany
+ # 根据情况修改
+ storageClassName: supwisdom-nfs-storage
+ resources:
+ requests:
+ storage: 5Gi
+
+---
+apiVersion: v1
+kind: Secret
+metadata:
+ name: minio-env-secret
+ namespace: develop-center-test
+type: Opaque
+data:
+ # 修改 access_key,并使用 base64 工具进行编码
+ # 默认值:1y8N@8R@a_2u
+ MINIO_ACCESS_KEY: bWluaW9hZG1pbg==
+ # 修改 secret_key,并使用 base64 工具进行编码
+ # 默认至:8pxlIe9#lN7Q
+ MINIO_SECRET_KEY: bWluaW9hZG1pbg==
+
+
+---
+apiVersion: v1
+kind: Service
+metadata:
+ namespace: develop-center-test
+ name: minio-svc
+ labels:
+ app: minio
+spec:
+ ports:
+ - port: 9000
+ targetPort: http
+ protocol: TCP
+ name: http
+ selector:
+ app: minio
+---
+apiVersion: apps/v1
+kind: Deployment
+metadata:
+ namespace: develop-center-test
+ name: minio
+spec:
+ selector:
+ matchLabels:
+ app: minio
+ replicas: 1
+ template:
+ metadata:
+ labels:
+ app: minio
+ spec:
+ containers:
+ - name: minio
+ image: minio/minio:RELEASE.2020-04-23T00-58-49Z
+ imagePullPolicy: Always
+ args:
+ - "server"
+ - "/data"
+ ports:
+ - containerPort: 9000
+ name: http
+ envFrom:
+ - secretRef:
+ name: minio-env-secret
+ volumeMounts:
+ - mountPath: /data
+ name: minio-data
+ resources:
+ requests:
+ memory: "256Mi"
+ limits:
+ memory: "256Mi"
+ volumes:
+ - name: minio-data
+ persistentVolumeClaim:
+ claimName: minio-data-pvc
+
+
+# 该 ingress 配置可选,主要用于实施调试用
+---
+apiVersion: extensions/v1beta1
+kind: Ingress
+metadata:
+ name: minio-ingress
+ namespace: develop-center-test
+spec:
+ rules:
+ # 修改为学校的根域名
+ - host: developer-center-minio-test.paas.newcapec.cn
+ http:
+ paths:
+ - path: /
+ backend:
+ serviceName: minio-svc
+ servicePort: http
+
diff --git a/deploy-manifests/k8s-rancher/open-platfprm/open-platform/4.4.developer-center-bff.yaml b/deploy-manifests/k8s-rancher/open-platfprm/open-platform/4.4.developer-center-bff.yaml
index 34ac3cf..8f32af4 100644
--- a/deploy-manifests/k8s-rancher/open-platfprm/open-platform/4.4.developer-center-bff.yaml
+++ b/deploy-manifests/k8s-rancher/open-platfprm/open-platform/4.4.developer-center-bff.yaml
@@ -71,7 +71,7 @@
# MESSAGE_MANAGER_SA_AUTH_TRUSTSTORE_PASSWORD: ""
#同环境中文件服务的地址
- MINIO_SA_SERVICE_URL: https://minio-sa.dev.supwisdom.com
+ MINIO_SA_SERVICE_URL: https://develop-center-minio-sa-test.paas.newcapec.cn
MINIO_SA_CLIENT_AUTH_ENABLED: "false"
# MINIO_SA_CLIENT_AUTH_KEY_PASSWORD: ""
# MINIO_SA_CLIENT_AUTH_KEYSTORE_FILE: file:/certs/common/common.keystore