Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Patch Zen database for CP4D #308

Merged
merged 1 commit into from
Dec 9, 2023
Merged

fix: Patch Zen database for CP4D #308

merged 1 commit into from
Dec 9, 2023

Conversation

nastacio
Copy link
Member

@nastacio nastacio commented Dec 8, 2023

closes: #304

Description of changes:

Output of argocd app list command or screenshot of the Argo CD Application synchronization window showing successful application of changes in this branch.

Logs of the job execution:

+ result=1
+ '[' 1 -eq 1 ']'
+ '[' 0 -lt 7200 ']'
+ oc get deployment zen-databases -n cp4d-operands
W1208 13:37:21.615072       7 loader.go:222] Config not found: /opt/ansible/.kubeconfig
NAME            READY   UP-TO-DATE   AVAILABLE   AGE
zen-databases   2/2     2            2           12h
+ result=0
+ '[' 0 -eq 1 ']'
+ '[' 0 -eq 0 ']'
+ oc patch deployment zen-databases -n cp4d-operands --type=json '-p=[{"op": "add", "path": "/spec/template/spec/containers/0/env/-", "value": {"name": "npm_config_cache", "value": "/tmp"}}]'
W1208 13:37:21.773219      26 loader.go:222] Config not found: /opt/ansible/.kubeconfig
Warning: spec.template.spec.containers[0].env[3].name: duplicate name "npm_config_cache"
deployment.apps/zen-databases patched
+ exit 0

Signed-off-by: Denilson Nastacio <[email protected]>
@nastacio nastacio merged commit 8d4ad3d into main Dec 9, 2023
3 checks passed
@nastacio nastacio deleted the 304-cp4d-zen branch December 9, 2023 22:04
@nastacio
Copy link
Member Author

nastacio commented Dec 9, 2023

🎉 This PR is included in version 0.34.2 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

@nastacio nastacio added the released The issue or pull request is added to a release label Dec 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working released The issue or pull request is added to a release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

fix: Need workaround for zen-databases crashing in CP4D
1 participant