kind: ConfigMap
apiVersion: v1
metadata:
    name: gitlab-workhorse-config
    namespace: gitlab
    selfLink: /api/v1/namespaces/gitlab/configmaps/gitlab-workhorse-config
    uid: 980e67c1-398b-11ea-b115-42010a8001d6
    resourceVersion: '2016132'
    creationTimestamp: '2020-01-18T00:43:50Z'
    labels:
        app: unicorn
        chart: unicorn-2.6.5
        heritage: Helm
        release: gitlab
data:
    configure: >
        set -e

        mkdir -p /init-secrets-workhorse/gitlab-workhorse

        cp -v -r -L /init-config/gitlab-workhorse/secret
        /init-secrets-workhorse/gitlab-workhorse/secret

        mkdir -p /init-secrets-workhorse/redis

        cp -v -r -L /init-config/redis/password /init-secrets-workhorse/redis/
    installation_type: |
        gitlab-helm-chart
    workhorse-config.toml.erb: >
        [redis]

        URL = "redis://gitlab-redis:6379"

        Password = "<%=
        File.read("/etc/gitlab/redis/password").strip.dump[1..-2] %>"

