Shared secrets Job appears to be in endless reconciliation loop
The GitLab shared secrets Job creates the secrets successfully, but the operator keeps reconciling the Job:
│ manager 2021-02-17T20:18:41.856Z INFO controllers.GitLab Reconciling GitLab {"gitlab": "dcollins/gitlab", "name": "gitlab", "names │
│ manager 2021-02-17T20:18:41.857Z INFO controllers.GitLab Preparing resources shared secrets Job. {"gitlab": "gitlab.dcollins"} │
│ manager 2021-02-17T20:18:41.857Z DEBUG template Retrieving the cached template {"reference": "gitlab.dcollins", "hash": "8589bf971 │
│ manager 2021-02-17T20:18:41.857Z DEBUG template Retrieving the cached template {"reference": "gitlab.dcollins", "hash": "8589bf971 │
│ manager 2021-02-17T20:18:41.857Z DEBUG controllers.GitLab Creating shared secrets ConfigMap {"gitlab": "gitlab.dcollins", "job": " │
│ manager 2021-02-17T20:18:41.857Z DEBUG controllers.GitLab Creating shared secrets Job {"gitlab": "gitlab.dcollins", "job": "dcolli │
│ manager 2021-02-17T20:18:41.857Z INFO controllers.GitLab Waiting for shared secrets Job to finish {"gitlab": "gitlab.dcollins", "j │
│ manager 2021-02-17T20:18:41.857Z DEBUG controllers.GitLab Checking the status of shared secrets Job {"gitlab": "gitlab.dcollins", │
│ manager 2021-02-17T20:18:41.857Z INFO controllers.GitLab Success! The shared secrets Job is complete. {"gitlab": "gitlab.dcollins" │
│ manager 2021-02-17T20:18:41.857Z DEBUG template Retrieving the cached template {"reference": "gitlab.dcollins", "hash": "8589bf971 │
│ manager 2021-02-17T20:18:41.857Z DEBUG template Retrieving the cached template {"reference": "gitlab.dcollins", "hash": "8589bf971 │
│ manager 2021-02-17T20:18:41.857Z DEBUG template Retrieving the cached template {"reference": "gitlab.dcollins", "hash": "8589bf971 │
│ manager 2021-02-17T20:18:41.857Z DEBUG template Retrieving the cached template {"reference": "gitlab.dcollins", "hash": "8589bf971 │
│ manager 2021-02-17T20:18:41.857Z DEBUG template Retrieving the cached template {"reference": "gitlab.dcollins", "hash": "8589bf971 │
│ manager 2021-02-17T20:18:41.857Z DEBUG template Retrieving the cached template {"reference": "gitlab.dcollins", "hash": "8589bf971 │
│ manager 2021-02-17T20:18:41.857Z DEBUG template Retrieving the cached template {"reference": "gitlab.dcollins", "hash": "8589bf971 │
│ manager 2021-02-17T20:18:41.858Z DEBUG template Retrieving the cached template {"reference": "gitlab.dcollins", "hash": "8589bf971 │
│ manager 2021-02-17T20:18:41.858Z DEBUG template Retrieving the cached template {"reference": "gitlab.dcollins", "hash": "8589bf971 │
│ manager 2021-02-17T20:18:41.858Z DEBUG template Retrieving the cached template {"reference": "gitlab.dcollins", "hash": "8589bf971 │
│ manager 2021-02-17T20:18:41.858Z DEBUG template Retrieving the cached template {"reference": "gitlab.dcollins", "hash": "8589bf971 │
│ manager 2021-02-17T20:18:41.858Z DEBUG template Retrieving the cached template {"reference": "gitlab.dcollins", "hash": "8589bf971 │
│ manager 2021-02-17T20:18:46.867Z INFO controllers.GitLab Reconciling GitLab {"gitlab": "dcollins/gitlab", "name": "gitlab", "names │
│ manager 2021-02-17T20:18:46.867Z INFO controllers.GitLab Preparing resources shared secrets Job. {"gitlab": "gitlab.dcollins"} │
│ manager 2021-02-17T20:18:46.867Z DEBUG template Retrieving the cached template {"reference": "gitlab.dcollins", "hash": "8589bf971 │
│ manager 2021-02-17T20:18:46.867Z DEBUG template Retrieving the cached template {"reference": "gitlab.dcollins", "hash": "8589bf971 │
│ manager 2021-02-17T20:18:46.867Z DEBUG controllers.GitLab Creating shared secrets ConfigMap {"gitlab": "gitlab.dcollins", "job": " │
│ manager 2021-02-17T20:18:46.867Z DEBUG controllers.GitLab Creating shared secrets Job {"gitlab": "gitlab.dcollins", "job": "dcolli │
│ manager 2021-02-17T20:18:46.867Z INFO controllers.GitLab Waiting for shared secrets Job to finish {"gitlab": "gitlab.dcollins", "j │
│ manager 2021-02-17T20:18:46.867Z DEBUG controllers.GitLab Checking the status of shared secrets Job {"gitlab": "gitlab.dcollins", │
│ manager 2021-02-17T20:18:46.867Z INFO controllers.GitLab Success! The shared secrets Job is complete. {"gitlab": "gitlab.dcollins" │
It appears that the operator is unaware that the Job has completed and doesn't need reconciled.
Edited by Mitchell Nielsen