-
Notifications
You must be signed in to change notification settings - Fork 39
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
Conversation
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
5fac70c
to
b88dcbc
Compare
Checked commit bdunne@b88dcbc with ruby 2.6.10, rubocop 1.28.2, haml-lint 0.35.0, and yamllint **
|
templates/bot.yaml
Outdated
readinessProbe: | ||
failureThreshold: 3 | ||
initialDelaySeconds: 60 | ||
periodSeconds: 10 | ||
successThreshold: 1 | ||
tcpSocket: | ||
port: 5432 | ||
timeoutSeconds: 1 |
There was a problem hiding this comment.
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:
readinessProbe: | |
failureThreshold: 3 | |
initialDelaySeconds: 60 | |
periodSeconds: 10 | |
successThreshold: 1 | |
tcpSocket: | |
port: 5432 | |
timeoutSeconds: 1 | |
readinessProbe: | |
initialDelaySeconds: 60 | |
tcpSocket: | |
port: 5432 |
b88dcbc
to
167d2d3
Compare
name: postgresql | ||
ports: | ||
- containerPort: 5432 | ||
protocol: TCP |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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
167d2d3
to
eeded37
Compare
persistentVolumeClaim: | ||
claimName: bot-postgres-pvc | ||
- configMap: | ||
defaultMode: 420 |
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
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