Updated the sync-options for the external-secrets/policies which were initially set to SkipPrune. Changed to PruneLast so that they are pruned after the sync has completed.
Also removed the job that was applying the git-secret to the pipeline serviceaccount, and replaced this functionality with a manifest that applies the secret to the serviceaccount using ServerSideApply sync-option.
Updated the sync-options for the external-secrets/policies which were initially set to SkipPrune. Changed to PruneLast so that they are pruned after the sync has completed.
Also removed the job that was applying the git-secret to the pipeline serviceaccount, and replaced this functionality with a manifest that applies the secret to the serviceaccount using ServerSideApply sync-option.