Skip to content

Conversation

@pcallewaert
Copy link
Contributor

Minor chore, but we have now duplicate entries in the logging. I also noticed that the alignment is off when passing extra args, so this should also fix it.

@pcallewaert pcallewaert requested a review from hitman99 May 26, 2025 12:51
@pcallewaert pcallewaert self-assigned this May 26, 2025
@pcallewaert pcallewaert marked this pull request as draft May 26, 2025 14:33
@pcallewaert pcallewaert removed the request for review from hitman99 May 26, 2025 14:34
@pcallewaert pcallewaert force-pushed the chore/align-logging branch from 81db9a7 to e069a50 Compare May 28, 2025 07:56
@pcallewaert pcallewaert marked this pull request as ready for review August 19, 2025 08:31
}

reqLogger.Info("reconciler done", "CR.Namespace", instance.Namespace, "CR.Name", instance.Name)
reqLogger.Info("Reconciling done")
Copy link
Member

Choose a reason for hiding this comment

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

I'm not sure this should be upper case

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I don't have a preference, I just aligned it with the log that mentions the starting of the reconcile.
https://github.com/movetokube/postgres-operator/blob/master/internal/controller/postgres_controller.go#L60

Copy link
Member

Choose a reason for hiding this comment

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

Fair enough. I only commented because my IDE get's angry if I want to log something starting with an uppercase letter 😅

tkcontiant and others added 3 commits September 25, 2025 09:54
* feat: Helm-Chart Support External Secret Operator / feat: support for reload when secret changed

* Update charts/ext-postgres-operator/values.yaml

Co-authored-by: Pieter C <pieter@buca.be>

* fix: values.yaml after code-review

* fix: values.yaml after code-review :02

* fix: values.yaml after code-review :03

* fix: .Values.externalSecret

* feat: Enable / Disable AWS IAM Authentication

* fix: wrong ignore of cmd/

* fix: wrong ignore of cmd/

* Update internal/controller/postgresuser_controller.go

Co-authored-by: Pieter C <pieter@buca.be>

* Update internal/controller/postgresuser_controller.go

Co-authored-by: Pieter C <pieter@buca.be>

* feat: use already provided GrantRole and RevokeRole

* feat: use already provided GrantRole and RevokeRole

* Update internal/controller/postgresuser_controller.go

Co-authored-by: Pieter C <pieter@buca.be>

* feat: fmt internal/controller/postgresuser_controller.go

* feat: change spec.aws: to include all future aws related settings

---------

Co-authored-by: Pieter C <pieter@buca.be>
* Use stable go-version for tests

* Fix to be able to build on v1.25
@pcallewaert pcallewaert merged commit c9b2ac5 into master Sep 25, 2025
5 checks passed
tkcontiant pushed a commit to tkcontiant/postgres-operator that referenced this pull request Sep 25, 2025
* Align logging with other convention
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants