|
| 1 | +--- |
| 2 | +apiVersion: helm.toolkit.fluxcd.io/v2 |
| 3 | +kind: HelmRelease |
| 4 | +metadata: |
| 5 | + name: ocis |
| 6 | + namespace: owncloud |
| 7 | +spec: |
| 8 | + interval: 30m |
| 9 | + chart: |
| 10 | + spec: |
| 11 | + chart: charts/ocis |
| 12 | + version: 0.7.0 |
| 13 | + sourceRef: |
| 14 | + kind: GitRepository |
| 15 | + name: ocis |
| 16 | + namespace: flux-system |
| 17 | + interval: 12h |
| 18 | + install: |
| 19 | + remediation: |
| 20 | + retries: 3 |
| 21 | + upgrade: |
| 22 | + cleanupOnFail: true |
| 23 | + remediation: |
| 24 | + retries: 3 |
| 25 | + values: |
| 26 | + # oCIS configuration |
| 27 | + externalDomain: oc.layertwo.dev |
| 28 | + |
| 29 | + features: |
| 30 | + externalUserManagement: |
| 31 | + enabled: true |
| 32 | + oidc: |
| 33 | + issuerURI: &oidc_isser https://authentik.layertwo.dev/application/o/owncloud/ |
| 34 | + webClientID: owncloud |
| 35 | + userIDClaim: preferred_username |
| 36 | + userIDClaimAttributeMapping: username |
| 37 | + |
| 38 | + # Image configuration |
| 39 | + image: |
| 40 | + repository: owncloud/ocis |
| 41 | + tag: 5.0.0 |
| 42 | + pullPolicy: IfNotPresent |
| 43 | + |
| 44 | + # Ingress configuration (disabled - using Traefik IngressRoute) |
| 45 | + ingress: |
| 46 | + enabled: false |
| 47 | + |
| 48 | + # Service configuration |
| 49 | + services: |
| 50 | + proxy: |
| 51 | + service: |
| 52 | + type: ClusterIP |
| 53 | + port: 9200 |
| 54 | + |
| 55 | + # Environment variables |
| 56 | + env: |
| 57 | + OCIS_INSECURE: "false" |
| 58 | + OCIS_LOG_LEVEL: "info" |
| 59 | + OCIS_LOG_COLOR: "false" |
| 60 | + OCIS_LOG_PRETTY: "false" |
| 61 | + |
| 62 | + # Admin user configuration |
| 63 | + OCIS_ADMIN_USER_ID: "admin" |
| 64 | + IDM_ADMIN_PASSWORD: |
| 65 | + valueFrom: |
| 66 | + secretKeyRef: |
| 67 | + name: ocis-secrets |
| 68 | + key: admin-password |
| 69 | + |
| 70 | + # JWT secret |
| 71 | + OCIS_JWT_SECRET: |
| 72 | + valueFrom: |
| 73 | + secretKeyRef: |
| 74 | + name: ocis-secrets |
| 75 | + key: jwt-secret |
| 76 | + |
| 77 | + # Transfer secret |
| 78 | + OCIS_TRANSFER_SECRET: |
| 79 | + valueFrom: |
| 80 | + secretKeyRef: |
| 81 | + name: ocis-secrets |
| 82 | + key: transfer-secret |
| 83 | + |
| 84 | + # Machine auth API key |
| 85 | + OCIS_MACHINE_AUTH_API_KEY: |
| 86 | + valueFrom: |
| 87 | + secretKeyRef: |
| 88 | + name: ocis-secrets |
| 89 | + key: machine-auth-api-key |
| 90 | + |
| 91 | + # OIDC Configuration |
| 92 | + PROXY_OIDC_ISSUER: *oidc_isser |
| 93 | + WEB_OIDC_CLIENT_ID: "owncloud" |
| 94 | + WEB_OIDC_CLIENT_SECRET: |
| 95 | + valueFrom: |
| 96 | + secretKeyRef: |
| 97 | + name: ocis-secrets |
| 98 | + key: oidc-client-secret |
| 99 | + PROXY_OIDC_INSECURE: "false" |
| 100 | + OCIS_OIDC_ISSUER: *oidc_isser |
| 101 | + |
| 102 | + # User management |
| 103 | + PROXY_USER_OIDC_CLAIM: "preferred_username" |
| 104 | + PROXY_USER_CS3_CLAIM: "username" |
| 105 | + |
| 106 | + # Auto provision users from OIDC |
| 107 | + PROXY_AUTOPROVISION_ACCOUNTS: "true" |
| 108 | + PROXY_ROLE_ASSIGNMENT_DRIVER: "oidc" |
| 109 | + |
| 110 | + # Persistence |
| 111 | + persistence: |
| 112 | + enabled: true |
| 113 | + storageClassName: truenas-iscsi |
| 114 | + size: 100Gi |
| 115 | + |
| 116 | + # Resources |
| 117 | + resources: |
| 118 | + requests: |
| 119 | + cpu: 500m |
| 120 | + memory: 1Gi |
| 121 | + limits: |
| 122 | + cpu: 2000m |
| 123 | + memory: 4Gi |
| 124 | + |
| 125 | + # Security context |
| 126 | + securityContext: |
| 127 | + runAsUser: 1000 |
| 128 | + runAsGroup: 1000 |
| 129 | + fsGroup: 1000 |
0 commit comments