drone_enabled: true drone_publish: false drone_use_external_db: true drone_short_name: "drone" drone_default_values: service: type: ClusterIP port: 80 ingress: enabled: true className: "{{ external_ingress_class if drone_publish else internal_ingress_class }}" annotations: cert-manager.io/cluster-issuer: "letsencrypt-prod" hosts: - host: "{{ drone_short_name }}.{{ domain }}" paths: - path: / pathType: Prefix tls: - secretName: "{{ drone_short_name }}.{{ domain }}-tls" hosts: - "{{ drone_short_name }}.{{ domain }}" persistentVolume: enabled: true accessModes: - "{{ drone_storage_mode | default('ReadWriteMany') }}" mountPath: /data size: "{{ drone_size | default('8Gi') }}" storageClass: "{{ drone_storage | default('nfs-ssd') }}" env: DRONE_SERVER_HOST: "{{ drone_short_name }}.{{ domain }}" DRONE_SERVER_PROTO: https DRONE_RPC_SECRET: "{{ drone_rpc_secret | default(omit) }}" DRONE_DATABASE_DRIVER: "postgres" DRONE_DATABASE_DATASOURCE: "postgres://{{ drone_db_username }}:{{ drone_db_password }}@{{ postgres_db_team | default(namespace) }}-postgres.{{ postgres_db_namespace | default(namespace) }}.svc.cluster.local:5432/drone?sslmode=disable" DRONE_DATABASE_SECRET: "{{ drone_database_secret | default(omit) }}" DRONE_GITEA_CLIENT_ID: "{{ drone_gitea_client_id | default(omit) }}" DRONE_GITEA_CLIENT_SECRET: "{{ drone_gitea_client_secret | default(omit) }}" DRONE_GITEA_SERVER: "https://{{ gitea_short_name | default('gitea') }}.{{ domain }}" drone_runner_kube_default_values: rbac: buildNamespaces: - "{{ drone_namespace | default(namespace) }}" env: DRONE_RPC_SECRET: "{{ drone_rpc_secret }}" DRONE_RPC_HOST: "{{ drone_short_name }}.{{ domain }}" DRONE_RPC_PROTO: https DRONE_NAMESPACE_DEFAULT: "{{ drone_namespace | default(namespace) }}"