remove minio
This commit is contained in:
@@ -32,10 +32,6 @@ dependencies:
|
|||||||
alias: backup
|
alias: backup
|
||||||
repository: https://bjw-s.github.io/helm-charts/
|
repository: https://bjw-s.github.io/helm-charts/
|
||||||
version: 3.7.2
|
version: 3.7.2
|
||||||
- name: tenant
|
|
||||||
alias: minio
|
|
||||||
version: 7.0.0
|
|
||||||
repository: https://operator.min.io/
|
|
||||||
- name: meilisearch
|
- name: meilisearch
|
||||||
version: 0.12.0
|
version: 0.12.0
|
||||||
repository: https://meilisearch.github.io/meilisearch-kubernetes
|
repository: https://meilisearch.github.io/meilisearch-kubernetes
|
||||||
|
@@ -125,88 +125,6 @@ spec:
|
|||||||
metadataPolicy: None
|
metadataPolicy: None
|
||||||
property: s3cfg
|
property: s3cfg
|
||||||
|
|
||||||
---
|
|
||||||
apiVersion: external-secrets.io/v1beta1
|
|
||||||
kind: ExternalSecret
|
|
||||||
metadata:
|
|
||||||
name: gitea-minio-user-secret
|
|
||||||
namespace: {{ .Release.Namespace }}
|
|
||||||
labels:
|
|
||||||
app.kubernetes.io/name: gitea-minio-user-secret
|
|
||||||
app.kubernetes.io/instance: {{ .Release.Name }}
|
|
||||||
app.kubernetes.io/version: {{ .Chart.AppVersion }}
|
|
||||||
app.kubernetes.io/component: database
|
|
||||||
app.kubernetes.io/part-of: {{ .Release.Name }}
|
|
||||||
spec:
|
|
||||||
secretStoreRef:
|
|
||||||
kind: ClusterSecretStore
|
|
||||||
name: vault
|
|
||||||
data:
|
|
||||||
- secretKey: AWS_ACCESS_KEY_ID
|
|
||||||
remoteRef:
|
|
||||||
conversionStrategy: Default
|
|
||||||
decodingStrategy: None
|
|
||||||
key: /cl01tl/gitea/minio/auth
|
|
||||||
metadataPolicy: None
|
|
||||||
property: AWS_ACCESS_KEY_ID
|
|
||||||
- secretKey: AWS_SECRET_ACCESS_KEY
|
|
||||||
remoteRef:
|
|
||||||
conversionStrategy: Default
|
|
||||||
decodingStrategy: None
|
|
||||||
key: /cl01tl/gitea/minio/auth
|
|
||||||
metadataPolicy: None
|
|
||||||
property: AWS_SECRET_ACCESS_KEY
|
|
||||||
|
|
||||||
---
|
|
||||||
apiVersion: external-secrets.io/v1beta1
|
|
||||||
kind: ExternalSecret
|
|
||||||
metadata:
|
|
||||||
name: gitea-minio-root-secret
|
|
||||||
namespace: {{ .Release.Namespace }}
|
|
||||||
labels:
|
|
||||||
app.kubernetes.io/name: gitea-minio-root-secret
|
|
||||||
app.kubernetes.io/instance: {{ .Release.Name }}
|
|
||||||
app.kubernetes.io/version: {{ .Chart.AppVersion }}
|
|
||||||
app.kubernetes.io/component: database
|
|
||||||
app.kubernetes.io/part-of: {{ .Release.Name }}
|
|
||||||
spec:
|
|
||||||
secretStoreRef:
|
|
||||||
kind: ClusterSecretStore
|
|
||||||
name: vault
|
|
||||||
data:
|
|
||||||
- secretKey: config.env
|
|
||||||
remoteRef:
|
|
||||||
conversionStrategy: Default
|
|
||||||
decodingStrategy: None
|
|
||||||
key: /cl01tl/gitea/minio/config
|
|
||||||
metadataPolicy: None
|
|
||||||
property: root-config.env
|
|
||||||
|
|
||||||
---
|
|
||||||
apiVersion: external-secrets.io/v1beta1
|
|
||||||
kind: ExternalSecret
|
|
||||||
metadata:
|
|
||||||
name: gitea-minio-config-secret
|
|
||||||
namespace: {{ .Release.Namespace }}
|
|
||||||
labels:
|
|
||||||
app.kubernetes.io/name: gitea-minio-config-secret
|
|
||||||
app.kubernetes.io/instance: {{ .Release.Name }}
|
|
||||||
app.kubernetes.io/version: {{ .Chart.AppVersion }}
|
|
||||||
app.kubernetes.io/component: database
|
|
||||||
app.kubernetes.io/part-of: {{ .Release.Name }}
|
|
||||||
spec:
|
|
||||||
secretStoreRef:
|
|
||||||
kind: ClusterSecretStore
|
|
||||||
name: vault
|
|
||||||
data:
|
|
||||||
- secretKey: config.env
|
|
||||||
remoteRef:
|
|
||||||
conversionStrategy: Default
|
|
||||||
decodingStrategy: None
|
|
||||||
key: /cl01tl/gitea/minio/config
|
|
||||||
metadataPolicy: None
|
|
||||||
property: config.env
|
|
||||||
|
|
||||||
---
|
---
|
||||||
apiVersion: external-secrets.io/v1beta1
|
apiVersion: external-secrets.io/v1beta1
|
||||||
kind: ExternalSecret
|
kind: ExternalSecret
|
||||||
|
@@ -28,35 +28,3 @@ spec:
|
|||||||
name: gitea-http
|
name: gitea-http
|
||||||
port: 3000
|
port: 3000
|
||||||
weight: 100
|
weight: 100
|
||||||
|
|
||||||
---
|
|
||||||
apiVersion: gateway.networking.k8s.io/v1
|
|
||||||
kind: HTTPRoute
|
|
||||||
metadata:
|
|
||||||
name: http-route-gitea-minio
|
|
||||||
namespace: {{ .Release.Namespace }}
|
|
||||||
labels:
|
|
||||||
app.kubernetes.io/name: http-route-gitea-minio
|
|
||||||
app.kubernetes.io/instance: {{ .Release.Name }}
|
|
||||||
app.kubernetes.io/version: {{ .Chart.AppVersion }}
|
|
||||||
app.kubernetes.io/component: web
|
|
||||||
app.kubernetes.io/part-of: {{ .Release.Name }}
|
|
||||||
spec:
|
|
||||||
parentRefs:
|
|
||||||
- group: gateway.networking.k8s.io
|
|
||||||
kind: Gateway
|
|
||||||
name: traefik-gateway
|
|
||||||
namespace: traefik
|
|
||||||
hostnames:
|
|
||||||
- minio-gitea.alexlebens.net
|
|
||||||
rules:
|
|
||||||
- matches:
|
|
||||||
- path:
|
|
||||||
type: PathPrefix
|
|
||||||
value: /
|
|
||||||
backendRefs:
|
|
||||||
- group: ''
|
|
||||||
kind: Service
|
|
||||||
name: minio-gitea-console
|
|
||||||
port: 9090
|
|
||||||
weight: 100
|
|
||||||
|
@@ -76,21 +76,6 @@ gitea:
|
|||||||
ISSUE_INDEXER_ENABLED: true
|
ISSUE_INDEXER_ENABLED: true
|
||||||
ISSUE_INDEXER_TYPE: meilisearch
|
ISSUE_INDEXER_TYPE: meilisearch
|
||||||
REPO_INDEXER_ENABLED: false
|
REPO_INDEXER_ENABLED: false
|
||||||
# attachment:
|
|
||||||
# STORAGE_TYPE: minio
|
|
||||||
# lfs:
|
|
||||||
# STORAGE_TYPE: minio
|
|
||||||
# picture:
|
|
||||||
# AVATAR_STORAGE_TYPE: minio
|
|
||||||
# "storage.packages":
|
|
||||||
# STORAGE_TYPE: local
|
|
||||||
# storage:
|
|
||||||
# STORAGE_TYPE: minio
|
|
||||||
# MINIO_ENDPOINT: minio-gitea-hl.gitea.svc.cluster.local:9000
|
|
||||||
# MINIO_LOCATION: us-east-1
|
|
||||||
# MINIO_BUCKET: gitea
|
|
||||||
# MINIO_USE_SSL: false
|
|
||||||
# SERVE_DIRECT: false
|
|
||||||
# actions:
|
# actions:
|
||||||
# ENABLED: true
|
# ENABLED: true
|
||||||
service:
|
service:
|
||||||
@@ -124,16 +109,6 @@ gitea:
|
|||||||
secretKeyRef:
|
secretKeyRef:
|
||||||
name: gitea-postgresql-17-cluster-app
|
name: gitea-postgresql-17-cluster-app
|
||||||
key: password
|
key: password
|
||||||
# - name: GITEA__STORAGE__MINIO_ACCESS_KEY_ID
|
|
||||||
# valueFrom:
|
|
||||||
# secretKeyRef:
|
|
||||||
# name: gitea-minio-user-secret
|
|
||||||
# key: AWS_ACCESS_KEY_ID
|
|
||||||
# - name: GITEA__STORAGE__MINIO_SECRET_ACCESS_KEY
|
|
||||||
# valueFrom:
|
|
||||||
# secretKeyRef:
|
|
||||||
# name: gitea-minio-user-secret
|
|
||||||
# key: AWS_SECRET_ACCESS_KEY
|
|
||||||
- name: GITEA__INDEXER__ISSUE_INDEXER_CONN_STR
|
- name: GITEA__INDEXER__ISSUE_INDEXER_CONN_STR
|
||||||
valueFrom:
|
valueFrom:
|
||||||
secretKeyRef:
|
secretKeyRef:
|
||||||
@@ -260,30 +235,6 @@ backup:
|
|||||||
readOnly: true
|
readOnly: true
|
||||||
mountPropagation: None
|
mountPropagation: None
|
||||||
subPath: .s3cfg
|
subPath: .s3cfg
|
||||||
minio:
|
|
||||||
existingSecret:
|
|
||||||
name: gitea-minio-root-secret
|
|
||||||
tenant:
|
|
||||||
name: minio-gitea
|
|
||||||
configuration:
|
|
||||||
name: gitea-minio-config-secret
|
|
||||||
pools:
|
|
||||||
- servers: 3
|
|
||||||
name: pool
|
|
||||||
volumesPerServer: 2
|
|
||||||
size: 10Gi
|
|
||||||
storageClassName: ceph-block
|
|
||||||
mountPath: /export
|
|
||||||
subPath: /data
|
|
||||||
metrics:
|
|
||||||
enabled: true
|
|
||||||
port: 9000
|
|
||||||
protocol: http
|
|
||||||
certificate:
|
|
||||||
requestAutoCert: false
|
|
||||||
ingress:
|
|
||||||
console:
|
|
||||||
enabled: false
|
|
||||||
meilisearch:
|
meilisearch:
|
||||||
environment:
|
environment:
|
||||||
MEILI_NO_ANALYTICS: true
|
MEILI_NO_ANALYTICS: true
|
||||||
|
Reference in New Issue
Block a user