# CI-specific Helm values for Minikube e2e tests
# Used by scripts/ci/e2e-minikube.sh

postgresql:
  enabled: true

dex:
  enabled: true
  config:
    issuer: http://rise-ci-chart-dex.rise-ci.svc.cluster.local:5556/dex

ingress:
  enabled: false

config:
  server:
    public_url: http://rise.local
    jwt_signing_secret: dGVzdC1qd3Qtc2VjcmV0LWtleS1mb3ItY2ktdGVzdGluZy1vbmx5LW5vdC1zZWN1cmU=

  auth:
    issuer: http://rise-ci-chart-dex.rise-ci.svc.cluster.local:5556/dex
    client_id: rise-backend
    client_secret: rise-backend-secret

  encryption:
    type: aes-gcm-256
    key: AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=

  registry:
    type: oci-client-auth
    registry_url: localhost:5000
    namespace: rise-apps
    client_registry_url: http://localhost:5000

  deployment_controller:
    type: kubernetes
    production_ingress_url_template: "{project_name}.apps.rise.local"
    staging_ingress_url_template: "{project_name}-{deployment_group}.preview.rise.local"
    environment_ingress_url_template: "{project_name}-{environment}.preview.rise.local"
    namespace_format: "rise-{project_name}"
    ingress_schema: http
    access_classes:
      public:
        display_name: Public
        description: Public access without authentication
        ingress_class: nginx
        access_requirement: None
