Skip to content
This repository was archived by the owner on Apr 2, 2024. It is now read-only.

Add readinessProbe to helm values #1524

Merged
merged 1 commit into from
Aug 3, 2022

Conversation

raphaelzoellner
Copy link
Contributor

Description

Adds a readinessProbe value to the helm chart such that the promscale-connector readinessProbe can be customized.
This allows to specify authentication for the readinessProbe.

E.g.:

values.yaml

readinessProbe:
  httpGet: null
  exec:
    command:
    - sh
    - -c
    - |-
      status_code=$(wget --server-response "http://${PROMSCALE_WEB_AUTH_USERNAME}:${PROMSCALE_WEB_AUTH_PASSWORD}@localhost:9201/healthz" 2>&1 | awk '/^  HTTP/{print $2}');
      if [[ "${status_code}" == "200" ]]; then exit 0; else exit 1; fi

@raphaelzoellner raphaelzoellner requested review from a team and cevian as code owners July 26, 2022 16:18
@raphaelzoellner raphaelzoellner force-pushed the readiness-probe-auth branch 3 times, most recently from 4a8a3ba to 7552c21 Compare July 29, 2022 12:50
…on of the connection user and password on a helm upgrade
@paulfantom paulfantom requested a review from a team August 1, 2022 09:30
@paulfantom paulfantom merged commit ccbc431 into timescale:master Aug 3, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants