diff --git a/helmchart/single-sign-on/Chart.yaml b/helmchart/single-sign-on/Chart.yaml index 7763ccbb6b280fb5cc9912ce09cc4c3ed5600537..cc007d860d7bb10225ed2f29b60837fecf7b6da9 100644 --- a/helmchart/single-sign-on/Chart.yaml +++ b/helmchart/single-sign-on/Chart.yaml @@ -1,4 +1,4 @@ apiVersion: v1 description: A Helm chart for Stackspin's Single sign-on components name: single-sign-on -version: 0.4.2 +version: 0.4.3 diff --git a/helmchart/single-sign-on/templates/cronjob-create-oauth-clients.yaml b/helmchart/single-sign-on/templates/cronjob-recreate-oauth-clients.yaml similarity index 99% rename from helmchart/single-sign-on/templates/cronjob-create-oauth-clients.yaml rename to helmchart/single-sign-on/templates/cronjob-recreate-oauth-clients.yaml index fc8c5e86099daf5d8912a9bacdb9e1bc0a3e26e8..286651b8098b551274f13526c3d31329b049183e 100644 --- a/helmchart/single-sign-on/templates/cronjob-create-oauth-clients.yaml +++ b/helmchart/single-sign-on/templates/cronjob-recreate-oauth-clients.yaml @@ -61,7 +61,7 @@ spec: --silent \ --write-out "\nRequesting oauth client $CLIENT_NAME: HTTP %{http_code}\n" \ | tail -1 \ - | grep 404; \ + | grep 401; \ if [ $? -eq 0 ]; then \ echo "Client doesn't exist. (Re)creating client..."; \ curl --header "Content-Type: application/json" \