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

Update deployment logic for settings changes #666

Merged
merged 2 commits into from
Nov 22, 2023

Conversation

bdunne
Copy link
Member

@bdunne bdunne commented Nov 22, 2023

  • Sync up deployments from the running bot
  • Change the settings location to come from a secret now that the defaults are checked in and only secret values are stored in the yml

@miq-bot
Copy link
Member

miq-bot commented Nov 22, 2023

Checked commit bdunne@b88dcbc with ruby 2.6.10, rubocop 1.28.2, haml-lint 0.35.0, and yamllint
1 file checked, 1 offense detected

**

  • 💣 💥 🔥 🚒 - Linter/Yaml - missing config files

Comment on lines 140 to 144
readinessProbe:
failureThreshold: 3
initialDelaySeconds: 60
periodSeconds: 10
successThreshold: 1
tcpSocket:
port: 5432
timeoutSeconds: 1
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Original code before the reorder was:

Suggested change
readinessProbe:
failureThreshold: 3
initialDelaySeconds: 60
periodSeconds: 10
successThreshold: 1
tcpSocket:
port: 5432
timeoutSeconds: 1
readinessProbe:
initialDelaySeconds: 60
tcpSocket:
port: 5432

name: postgresql
ports:
- containerPort: 5432
protocol: TCP
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Technically the protocol was added

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we should keep these

persistentVolumeClaim:
claimName: bot-postgres-pvc
- configMap:
defaultMode: 420
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All of these defaultMode look new, so I think we can drop them.

ports:
- containerPort: 6379
protocol: TCP
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Anoher TCP we can drop

@Fryguy Fryguy merged commit d24df16 into ManageIQ:master Nov 22, 2023
3 checks passed
@Fryguy Fryguy self-assigned this Nov 22, 2023
@bdunne bdunne deleted the settings_changes branch November 27, 2023 16:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants