|
| 1 | +lake: |
| 2 | + encryptionSecret: |
| 3 | + secretName: konflux-devlake-encryption-secret |
| 4 | + autoCreateSecret: false |
| 5 | + securityContext: {} |
| 6 | + containerSecurityContext: {} |
| 7 | + envs: |
| 8 | + REMOTE_PLUGIN_DIR: "" |
| 9 | + DISABLED_REMOTE_PLUGINS: "true" |
| 10 | + API_REQUESTS_PER_HOUR: "100000" |
| 11 | + LOGGING_DIR: "/tmp" |
| 12 | + envFrom: |
| 13 | + - secretRef: |
| 14 | + name: konflux-devlake-secrets |
| 15 | + |
| 16 | +mysql: |
| 17 | + useExternal: true |
| 18 | + externalServer: "kubernetes.default.svc.cluster.local" # K8s API - always available |
| 19 | + externalPort: 443 # HTTPS port - always open |
| 20 | + |
| 21 | +grafana: |
| 22 | + image: |
| 23 | + repository: devlake.docker.scarf.sh/apache/devlake-dashboard |
| 24 | + tag: v1.0.2 |
| 25 | + podSecurityContext: {} |
| 26 | + securityContext: |
| 27 | + fsGroup: null |
| 28 | + runAsGroup: null |
| 29 | + runAsUser: null |
| 30 | + initChownData: |
| 31 | + enabled: false |
| 32 | + envFromSecrets: |
| 33 | + - name: "konflux-devlake-secrets" |
| 34 | + env: |
| 35 | + TZ: "UTC" |
| 36 | + GF_SERVER_SERVE_FROM_SUBPATH: "true" |
| 37 | + GF_SERVER_ROOT_URL: "%(protocol)s://%(domain)s/grafana/" |
| 38 | + # Google OAuth can be configured via environment variables (add to konflux-devlake-secrets): |
| 39 | + # GF_AUTH_GOOGLE_ENABLED: "true" |
| 40 | + # GF_AUTH_GOOGLE_CLIENT_ID: "your-client-id" |
| 41 | + # GF_AUTH_GOOGLE_CLIENT_SECRET: "your-client-secret" |
| 42 | + # GF_AUTH_GOOGLE_ALLOWED_DOMAINS: "redhat.com" |
| 43 | + grafana.ini: |
| 44 | + server: |
| 45 | + serve_from_subpath: "true" |
| 46 | + root_url: "%(protocol)s://%(domain)s/grafana/" |
| 47 | + auth.google: |
| 48 | + enabled: true |
| 49 | + client_id: "${GF_AUTH_GOOGLE_CLIENT_ID}" # Set via secret |
| 50 | + client_secret: "${GF_AUTH_GOOGLE_CLIENT_SECRET}" # Set via secret |
| 51 | + scopes: "https://www.googleapis.com/auth/userinfo.profile https://www.googleapis.com/auth/userinfo.email openid" |
| 52 | + auth_url: "https://accounts.google.com/o/oauth2/auth" |
| 53 | + token_url: "https://accounts.google.com/o/oauth2/token" |
| 54 | + api_url: "https://www.googleapis.com/oauth2/v1/userinfo" |
| 55 | + allowed_domains: "redhat.com" |
| 56 | + allow_sign_up: true |
| 57 | + # Don't specify redirect_uri - Grafana will auto-generate it based on the actual URL |
| 58 | + |
| 59 | +ui: |
| 60 | + securityContext: {} |
| 61 | + containerSecurityContext: {} |
| 62 | + basicAuth: |
| 63 | + enabled: false |
| 64 | + autoCreateSecret: true |
| 65 | + secretName: "" |
| 66 | + |
| 67 | +service: |
| 68 | + type: ClusterIP |
| 69 | + |
| 70 | +ingress: |
| 71 | + enabled: false |
| 72 | + |
| 73 | +option: |
| 74 | + autoCreateSecret: false |
| 75 | + database: mysql |
| 76 | + connectionSecretName: "konflux-devlake-secrets" |
| 77 | + |
| 78 | +extraResources: |
| 79 | + - apiVersion: route.openshift.io/v1 |
| 80 | + kind: Route |
| 81 | + metadata: |
| 82 | + name: konflux-devlake-ui |
| 83 | + spec: |
| 84 | + to: |
| 85 | + kind: Service |
| 86 | + name: konflux-devlake-ui |
| 87 | + weight: 100 |
| 88 | + port: |
| 89 | + targetPort: ui |
| 90 | + tls: |
| 91 | + termination: edge |
| 92 | + insecureEdgeTerminationPolicy: Redirect |
| 93 | + wildcardPolicy: None |
0 commit comments