fix(cd): error when deploying

cannot patch "prod-redis-master" with kind StatefulSet: StatefulSet.apps "prod-redis-master" is invalid: spec: Forbidden: updates to statefulset spec for fields other than 'replicas', 'ordinals', 'template', 'updateStrategy', 'persistentVolumeClaimRetentionPolicy' and 'minReadySeconds' are forbidden
This commit is contained in:
Slim Amamou 2024-10-28 14:28:11 +01:00
parent 1b1c809b80
commit 702c4d1830

View file

@ -136,8 +136,6 @@ jobs:
--set=php.storage.key="${{ secrets.storage-key }}" \ --set=php.storage.key="${{ secrets.storage-key }}" \
--set=php.storage.secret="${{ secrets.storage-secret-key }}" \ --set=php.storage.secret="${{ secrets.storage-secret-key }}" \
--set=php.trustedHosts[2]=${{ needs.meta.outputs.trusted_host }} \ --set=php.trustedHosts[2]=${{ needs.meta.outputs.trusted_host }} \
--set=php.fixtureJob.enabled=false
--set=php.fixtureCron.enabled=false
--values ./helm/chart/values-${{ needs.meta.outputs.context }}.yml \ --values ./helm/chart/values-${{ needs.meta.outputs.context }}.yml \
| sed --unbuffered '/USER-SUPPLIED VALUES/,$d' ; then | sed --unbuffered '/USER-SUPPLIED VALUES/,$d' ; then
echo "Deployment has failed!" echo "Deployment has failed!"