JanssenProject / JanssenProject/jans

auth-server-key-rotation job fails when there is any auth-server pod in non-RUNNING Status

Open
#15,099 0 comments 0 reactions 1 assignee Claimed by @moabu View on GitHub
Dominant language
Java
Stars
647
Forks
173
Avg merge
1d 18h
Merged PRs (30d)
110

Description

**Describe the bug**
We are using cloudtools to rotate the jwks keys every 2 days. The job fails when there are any auth-server pod in non-running status, for example in COMPLETED, FAILED or CrashLoopBackOff status.

**To Reproduce**
Steps to reproduce the behavior:
1. Try to update the auth-server deployment to use a non-existing image like `testimage`
2. The new auth-server pod will go into CrashLoopBackOff status.
3. Run the cronjob for auth-server-key-rotation
4. The pod does not complete and fails.

**Expected behavior**
The Key rotation job should work and not fail if it find any auth-server in non RUNNING Status.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.