diff --git a/charts/rstuf-worker/Chart.yaml b/charts/rstuf-worker/Chart.yaml index 30da263..bc38395 100644 --- a/charts/rstuf-worker/Chart.yaml +++ b/charts/rstuf-worker/Chart.yaml @@ -15,7 +15,7 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 0.1.2 +version: 0.1.3 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. Versions are not expected to diff --git a/charts/rstuf-worker/values.yaml b/charts/rstuf-worker/values.yaml index b7bd503..d70bc84 100644 --- a/charts/rstuf-worker/values.yaml +++ b/charts/rstuf-worker/values.yaml @@ -24,9 +24,9 @@ readinessProbe: exec: command: [ - "RSTUF_WORKER_ID=$HOSTNAME /usr/local/bin/python", + "/usr/local/bin/python", "-c", - "\"import os;from app import app;exit(0 if os.environ['HOSTNAME'] in ','.join(app.control.inspect(app=app).stats().keys()) else 1)\"" + "\"import os;os.environ['RSTUF_WORKER_ID']=os.environ['HOSTNAME'];from app import app;exit(0 if os.environ['HOSTNAME'] in ','.join(app.control.inspect(app=app).stats().keys()) else 1)\"" ] imagePullSecrets: []