Skip to content

Fixed indentation for proxysql image pull secrets#811

Merged
valmiranogueira merged 2 commits intopercona:mainfrom
JustInVTime:fix-proxysql-pull-secrets
Mar 9, 2026
Merged

Fixed indentation for proxysql image pull secrets#811
valmiranogueira merged 2 commits intopercona:mainfrom
JustInVTime:fix-proxysql-pull-secrets

Conversation

@JustInVTime
Copy link
Contributor

@JustInVTime JustInVTime commented Mar 5, 2026

When using pull secrets for the proxysql image, the indentation is wrong. This fixes it

@it-percona-cla
Copy link

it-percona-cla commented Mar 5, 2026

CLA assistant check
All committers have signed the CLA.

{{- if $proxysql.imagePullSecrets }}
imagePullSecrets:
{{- $proxysql.imagePullSecrets | toYaml | indent 6 }}
{{ $proxysql.imagePullSecrets | toYaml | indent 6 }}
Copy link
Contributor

Choose a reason for hiding this comment

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

In order to not rely on how it's indented on template functions, the optimal solution would be:
{{- $proxysql.imagePullSecrets | toYaml | nindent 6 }}
And keep template indentation for readability

Copy link
Contributor

@jvpasinatto jvpasinatto left a comment

Choose a reason for hiding this comment

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

Please bump the chart chart version:version: 1.19.1 in pxc-db/Chart.yaml

@JustInVTime JustInVTime force-pushed the fix-proxysql-pull-secrets branch from 822845b to d05efa3 Compare March 6, 2026 13:03
@JustInVTime
Copy link
Contributor Author

Please bump the chart chart version:version: 1.19.1 in pxc-db/Chart.yaml

done

@valmiranogueira
Copy link
Contributor

README with newser chart version also need to be updated:
helm install my-db percona/pxc-db --version <version> --namespace my-namespace

@JustInVTime
Copy link
Contributor Author

README with newser chart version also need to be updated: helm install my-db percona/pxc-db --version <version> --namespace my-namespace

done

@JustInVTime JustInVTime force-pushed the fix-proxysql-pull-secrets branch from d05efa3 to 4553acb Compare March 6, 2026 13:27
@@ -1,5 +1,5 @@
apiVersion: v2
appVersion: 1.19.0
appVersion: 1.19.1
Copy link
Contributor

@valmiranogueira valmiranogueira Mar 6, 2026

Choose a reason for hiding this comment

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

Actually lint failed, cause chart version needs bump, app versions stay the same

Copy link
Contributor Author

Choose a reason for hiding this comment

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

My bad, should be fixed now

Copy link
Contributor

@valmiranogueira valmiranogueira Mar 6, 2026

Choose a reason for hiding this comment

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

But please keep 1.19.0 as appVersion, since this is the version of released operator

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done

@JustInVTime JustInVTime force-pushed the fix-proxysql-pull-secrets branch from 4553acb to 9f4f546 Compare March 6, 2026 13:29
@JustInVTime JustInVTime force-pushed the fix-proxysql-pull-secrets branch from 9f4f546 to 5c4c382 Compare March 6, 2026 14:11
@valmiranogueira valmiranogueira self-requested a review March 6, 2026 14:44
@valmiranogueira valmiranogueira merged commit 8a53963 into percona:main Mar 9, 2026
2 checks passed
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