tryretool / retool-helm

MIT License
45 stars 57 forks source link

add DEPLOYMENT_TEMPLATE_TYPE and VERSION to templates #149

Closed avimoondra closed 6 months ago

avimoondra commented 6 months ago
helm template -f ~/retool-helm/charts/retool/values.yaml foo ~/retool-helm/charts/retool --set config.encryptionKey="foo" --set image.tag="3.20.16"  --set replicaCount=2 | rg DEPLOYMENT_TEMPLATE_TYPE -C 3
          - -c
          - chmod -R +x ./docker_scripts; sync; ./docker_scripts/wait-for-it.sh -t 0 "foo-postgresql":"5432"; ./docker_scripts/start_api.sh
        env:
          - name: DEPLOYMENT_TEMPLATE_TYPE
            value: "k8s-helm"
          - name: DEPLOYMENT_TEMPLATE_VERSION
            value: "6.0.16"
--
        securityContext:
          privileged: true
        env:
          - name: DEPLOYMENT_TEMPLATE_TYPE
            value: "k8s-helm"
          - name: DEPLOYMENT_TEMPLATE_VERSION
            value: "6.0.16"
--
          - -c
          - chmod -R +x ./docker_scripts; sync; ./docker_scripts/wait-for-it.sh -t 0 "foo-postgresql":"5432"; ./docker_scripts/start_api.sh
        env:
          - name: DEPLOYMENT_TEMPLATE_TYPE
            value: "k8s-helm"
          - name: DEPLOYMENT_TEMPLATE_VERSION
            value: "6.0.16"
--
          - -c
          - chmod -R +x ./docker_scripts; sync; ./docker_scripts/wait-for-it.sh -t 0 "foo-postgresql":"5432"; ./docker_scripts/start_api.sh
        env:
          - name: DEPLOYMENT_TEMPLATE_TYPE
            value: "k8s-helm"
          - name: DEPLOYMENT_TEMPLATE_VERSION
            value: "6.0.16"
--
          - -c
          - chmod -R +x ./docker_scripts; sync; ./docker_scripts/wait-for-it.sh -t 0 "foo-postgresql":"5432"; ./docker_scripts/start_api.sh
        env:
          - name: DEPLOYMENT_TEMPLATE_TYPE
            value: "k8s-helm"
          - name: DEPLOYMENT_TEMPLATE_VERSION
            value: "6.0.16"

related to: