Add Volume
This commit is contained in:
@@ -36,4 +36,4 @@ dependencies:
|
||||
repository: https://prometheus-community.github.io/helm-charts
|
||||
version: 27.45.0
|
||||
digest: sha256:11c96ddd86e2857872d7dafaa48b545870bef019169b0cc1c00ed3fb9f32b9ac
|
||||
generated: "2026-01-08T21:09:54.004802973+01:00"
|
||||
generated: "2026-01-15T15:35:28.283016654+01:00"
|
||||
|
||||
@@ -9,10 +9,9 @@ spec:
|
||||
routes:
|
||||
- kind: Rule
|
||||
match: Host(`{{ .Values.host }}`) && PathPrefix(`/hydra`)
|
||||
priority: 10
|
||||
services:
|
||||
- kind: Service
|
||||
name: {{ .Release.Name }}-hydra-public.{{ .Release.Namespace }}
|
||||
name: {{ .Release.Name }}-hydra-public
|
||||
passHostHeader: true
|
||||
port: 4444
|
||||
---
|
||||
|
||||
@@ -104,7 +104,6 @@ spec:
|
||||
routes:
|
||||
- kind: Rule
|
||||
match: Host(`{{ .Values.host }}`) && PathPrefix(`/users`)
|
||||
priority: 10
|
||||
services:
|
||||
- kind: Service
|
||||
name: {{ .Release.Name }}-ldap-user-manager-svc
|
||||
|
||||
@@ -11,5 +11,5 @@ spec:
|
||||
resources:
|
||||
requests:
|
||||
storage: {{ .Values.mongodb.persistence.size }}
|
||||
storageClassName: {{ .Values.mongodb.persistence.storageClass }}
|
||||
storageClassName: {{ .Values.mongodb.global.storageClass }}
|
||||
{{- end }}
|
||||
|
||||
@@ -9,10 +9,9 @@ spec:
|
||||
routes:
|
||||
- kind: Rule
|
||||
match: Host(`{{ .Values.host }}`) && PathPrefix(`/mongoexpress`)
|
||||
priority: 10
|
||||
services:
|
||||
- kind: Service
|
||||
name: {{ .Release.Name }}-mongo-express.{{ .Release.Namespace }}
|
||||
name: {{ .Release.Name }}-mongo-express
|
||||
passHostHeader: true
|
||||
port: 8081
|
||||
{{- end }}
|
||||
18
cmd/opencloud-chart/templates/oc-front/config.yaml
Normal file
18
cmd/opencloud-chart/templates/oc-front/config.yaml
Normal file
@@ -0,0 +1,18 @@
|
||||
{{- if index .Values.ocFront.enabled }}
|
||||
apiVersion: v1
|
||||
kind: ConfigMap
|
||||
metadata:
|
||||
name: front-config
|
||||
data:
|
||||
config.json: |
|
||||
{
|
||||
"WORKSPACE_HOST": "workspace",
|
||||
"WORKFLOW_HOST": "workflow",
|
||||
"CATALOG_HOST": "catalog",
|
||||
"SCHEDULER_HOST": "scheduler",
|
||||
"PEER_HOST": "peers",
|
||||
"DATACENTER_HOST": "datacenter",
|
||||
"COLLABORATIVE_AREA_HOST": "shared",
|
||||
"HOST": "{{ .Values.scheme }}://{{ .Values.host }}",
|
||||
}
|
||||
{{- end }}
|
||||
@@ -1,4 +1,4 @@
|
||||
{{- if .Values.ocFront.enabled }}
|
||||
{{- if index .Values.ocFront.enabled }}
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
@@ -6,7 +6,7 @@ metadata:
|
||||
app: oc-front
|
||||
name: {{ .Release.Name }}-oc-front
|
||||
spec:
|
||||
replicas: {{ .Values.ocFront.replicas }}
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
app: oc-front
|
||||
@@ -30,12 +30,6 @@ spec:
|
||||
- name: http
|
||||
containerPort: 80
|
||||
protocol: TCP
|
||||
livenessProbe:
|
||||
httpGet:
|
||||
path: /
|
||||
port: 80
|
||||
initialDelaySeconds: 10
|
||||
periodSeconds: 30
|
||||
resources:
|
||||
limits:
|
||||
cpu: "{{ .Values.ocFront.resources.limits.cpu }}"
|
||||
|
||||
@@ -9,10 +9,9 @@ spec:
|
||||
routes:
|
||||
- kind: Rule
|
||||
match: Host(`{{ .Values.host }}`) && PathPrefix(`/monitor`)
|
||||
priority: 10
|
||||
services:
|
||||
- kind: Service
|
||||
name: {{ .Release.Name }}-monitor.{{ .Release.Namespace }}
|
||||
name: {{ .Release.Name }}-prometheus-server
|
||||
passHostHeader: true
|
||||
port: 9090
|
||||
port: 80
|
||||
{{- end }}
|
||||
@@ -25,7 +25,6 @@ spec:
|
||||
routes:
|
||||
- kind: Rule
|
||||
match: Host(`{{ .Values.registryHost }}`)
|
||||
priority: 5
|
||||
services:
|
||||
- kind: Service
|
||||
name: {{ .Values.env }}-docker-registry-ui-registry-server
|
||||
@@ -43,7 +42,6 @@ spec:
|
||||
routes:
|
||||
- kind: Rule
|
||||
match: Host(`{{ .Values.registryHost }}`) && PathPrefix(`/ui`)
|
||||
priority: 10
|
||||
services:
|
||||
- kind: Service
|
||||
name: {{ .Values.env }}-docker-registry-ui-user-interface
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
{{- if index .Values.traefik.enabled }}
|
||||
apiVersion: traefik.io/v1alpha1
|
||||
kind: Middleware
|
||||
metadata:
|
||||
@@ -6,3 +7,4 @@ spec:
|
||||
forwardAuth:
|
||||
address: "http://oc-auth-svc.{{ .Release.Namespace }}:8080/oc/forward"
|
||||
trustForwardHeader: true
|
||||
{{- end }}
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -1,5 +1,6 @@
|
||||
env: ${RELEASE:-prod} # For storage class provisioning
|
||||
name: ${CLUSTER_NAME:-opencloud}
|
||||
clusterName: ${CLUSTER_NAME:-opencloud}
|
||||
hostNetwork: true
|
||||
host: ${HOST:-beta.opencloud.com}
|
||||
registryHost: ${REGISTRY_HOST:-oc} # For reverse proxy rule
|
||||
scheme: https # For reverse proxy rule
|
||||
@@ -20,8 +21,8 @@ mongo-express:
|
||||
mongodb:
|
||||
enabled: ${OC_MONGO_ENABLED:-true}
|
||||
global:
|
||||
defaultStorageClass: ${OC_MONGO_STORAGE:-""}
|
||||
storageClass: ${OC_MONGO_STORAGE:-""}
|
||||
defaultStorageClass: ${OC_MONGO_STORAGE:-"standard"}
|
||||
storageClass: ${OC_MONGO_STORAGE:-"standard"}
|
||||
architecture: standalone
|
||||
useStatefulSet: false
|
||||
auth:
|
||||
@@ -37,7 +38,7 @@ mongodb:
|
||||
enabled: true
|
||||
create: false # do not auto-create
|
||||
existingClaim: ${OC_MONGO_PVC:-mongo-pvc}
|
||||
storageClassName: ${OC_MONGO_STORAGE:-""}
|
||||
storageClassName: ${OC_MONGO_STORAGE:-"standard"}
|
||||
accessModes:
|
||||
- ReadWriteOnce
|
||||
size: ${OC_MONGO_SIZE:-5000Mi}
|
||||
@@ -242,7 +243,6 @@ traefik:
|
||||
ports:
|
||||
web:
|
||||
nodePort: 30950
|
||||
|
||||
hydra:
|
||||
enabled: ${OC_HYDRA_ENABLED:-true}
|
||||
maester:
|
||||
@@ -287,6 +287,7 @@ loki:
|
||||
commonConfig:
|
||||
replication_factor: 1
|
||||
storage:
|
||||
storageClassName: standard
|
||||
type: filesystem
|
||||
filesystem:
|
||||
chunks_directory: /var/loki/chunks
|
||||
@@ -325,7 +326,7 @@ loki:
|
||||
enabled: false # Deactivate loki auto provisioning, rely on existing PVC
|
||||
accessMode: ReadWriteOnce
|
||||
size: ${OC_LOKI_SIZE:-1Gi}
|
||||
storageClassName: ${OC_LOKI_STORAGE:-""}
|
||||
storageClassName: ${OC_LOKI_STORAGE:-"standard"}
|
||||
create: false
|
||||
claimName: ${OC_LOKI_PVC:-loki-pvc}
|
||||
|
||||
@@ -607,7 +608,8 @@ docker-registry-ui:
|
||||
claimName: docker-registry-pvc
|
||||
persistence:
|
||||
create: false
|
||||
storageClassName: standard
|
||||
existingClaim: docker-registry-pvc
|
||||
accessMode: ReadWriteOnce
|
||||
storage: ${OC_DOCKER_REGISTRY_SIZE:-5Gi}
|
||||
storageClassName: ${OC_DOCKER_REGISTRY_STORAGE:-""}
|
||||
storageClassName: ${OC_DOCKER_REGISTRY_STORAGE:-"standard"}
|
||||
|
||||
Reference in New Issue
Block a user