-
Notifications
You must be signed in to change notification settings - Fork 597
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
Reconcile a pgAdmin StatefulSet, Pod PVC and ConfigMap #3738
Conversation
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.
First pass, happy to discuss tmrw
pkg/apis/postgres-operator.crunchydata.com/v1beta1/standalone_pgadmin_types.go
Outdated
Show resolved
Hide resolved
cf20e65
to
1782fea
Compare
1782fea
to
8d82f62
Compare
|
||
// podConfigFiles returns projections of pgAdmin's configuration files to | ||
// include in the configuration volume. | ||
func podConfigFiles(configmap *corev1.ConfigMap, pgadmin v1beta1.PGAdmin) []corev1.VolumeProjection { |
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.
podVolumes
💭
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.
LGTM, a few comments, not blockers -- nice file splitting.
Add the reconciliation logic for the main initial elements for pgAdmin. Includes initial configuration options for the StatefulSet and example implementations for the ConfigMap, PVC and Status block
8d82f62
to
1a36cf6
Compare
Checklist:
Type of Changes:
What is the new behavior (if this is a feature change)?
Add the reconciliation logic for the main initial elements for pgAdmin. Includes initial configuration options for the StatefulSet and example implementations for the ConfigMap, PVC and Status block
Other Information: