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

OPSEXP-2291 Bump Search services chart to most recent conventions #179

Merged
merged 16 commits into from
Jan 12, 2024

Conversation

gionn
Copy link
Member

@gionn gionn commented Jan 4, 2024

@gionn gionn self-assigned this Jan 4, 2024
@gionn gionn force-pushed the OPSEXP-2291-refresh-solr branch 3 times, most recently from 83fcaf8 to 9bc425d Compare January 5, 2024 14:18
@gionn gionn force-pushed the OPSEXP-2291-refresh-solr branch 7 times, most recently from 7a474da to eecce1c Compare January 8, 2024 16:26
@gionn gionn requested review from alxgomz and slohe1 January 8, 2024 16:27
@gionn gionn marked this pull request as ready for review January 8, 2024 16:27
spec:
replicas: {{ .Values.replicaCount }}
selector:
matchLabels:
app: {{ template "alfresco-insight-zeppelin.fullName" . }}
release: {{ .Release.Name }}
{{- include "alfresco-insight-zeppelin.selectorLabels" . | nindent 6 }}
strategy:
type: RollingUpdate
rollingUpdate: {{- toYaml .Values.global.strategy.rollingUpdate | nindent 6 }}
template:
metadata:
annotations:
checksum/config: {{ include (print $.Template.BasePath "/config.yaml") . | sha256sum }}
Copy link
Contributor

Choose a reason for hiding this comment

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

please remove

Copy link
Member Author

Choose a reason for hiding this comment

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

why? we have a configmap and should help if changing it

Copy link
Contributor

Choose a reason for hiding this comment

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

because it would lead to different behavior in case the user uses cm or values to configure the repo. Also this technic is more a workaround to me (e.g. a change in the metadata would also trigger pod recreation while not needed) and not a true feature. People should prefer solution such as reloader.

@gionn gionn force-pushed the OPSEXP-2291-refresh-solr branch from b7a3419 to 180715b Compare January 11, 2024 09:40
@gionn gionn requested a review from alxgomz January 11, 2024 09:40
@gionn gionn force-pushed the OPSEXP-2291-refresh-solr branch from bf28b61 to 603adaa Compare January 11, 2024 10:15
@gionn gionn removed request for alxgomz and slohe1 January 11, 2024 10:15
@gionn gionn force-pushed the OPSEXP-2291-refresh-solr branch from e076048 to f145210 Compare January 11, 2024 15:01
@gionn gionn requested a review from alxgomz January 11, 2024 15:35
@gionn gionn force-pushed the OPSEXP-2291-refresh-solr branch 2 times, most recently from fb04888 to 353bd29 Compare January 11, 2024 15:57
@gionn gionn force-pushed the OPSEXP-2291-refresh-solr branch from 353bd29 to 883e04d Compare January 11, 2024 16:00
Copy link
Contributor

@alxgomz alxgomz left a comment

Choose a reason for hiding this comment

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

I will insist on getting rid of the config/checksum which I really don't like

spec:
replicas: {{ .Values.replicaCount }}
selector:
matchLabels:
app: {{ template "alfresco-insight-zeppelin.fullName" . }}
release: {{ .Release.Name }}
{{- include "alfresco-insight-zeppelin.selectorLabels" . | nindent 6 }}
strategy:
type: RollingUpdate
rollingUpdate: {{- toYaml .Values.global.strategy.rollingUpdate | nindent 6 }}
template:
metadata:
annotations:
checksum/config: {{ include (print $.Template.BasePath "/config.yaml") . | sha256sum }}
Copy link
Contributor

Choose a reason for hiding this comment

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

because it would lead to different behavior in case the user uses cm or values to configure the repo. Also this technic is more a workaround to me (e.g. a change in the metadata would also trigger pod recreation while not needed) and not a true feature. People should prefer solution such as reloader.

charts/alfresco-search-service/templates/deployment.yaml Outdated Show resolved Hide resolved
@gionn gionn requested a review from alxgomz January 12, 2024 08:39
@gionn gionn merged commit c18bfc3 into main Jan 12, 2024
2 checks passed
@gionn gionn deleted the OPSEXP-2291-refresh-solr branch January 12, 2024 09:08
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.

2 participants