-
Notifications
You must be signed in to change notification settings - Fork 540
[FLINK-39791][helm] Honor defaultConfiguration.config.yaml and always mount config.yaml #1126
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
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -25,24 +25,14 @@ metadata: | |
| data: | ||
| config.yaml: |+ | ||
| {{- if .Values.defaultConfiguration.append }} | ||
| {{- $.Files.Get "conf/flink-conf.yaml" | nindent 4 -}} | ||
| {{- $.Files.Get "conf/config.yaml" | nindent 4 -}} | ||
| {{- end }} | ||
| {{- if hasKey (.Values.defaultConfiguration) "config.yaml" }} | ||
| {{- index (.Values.defaultConfiguration) "config.yaml" | nindent 4 -}} | ||
| {{- end }} | ||
| {{- if .Values.watchNamespaces }} | ||
| kubernetes.operator.watched.namespaces: {{ join "," .Values.watchNamespaces }} | ||
| {{- end }} | ||
| {{- if index .Values "operatorHealth" }} | ||
| kubernetes.operator.health.probe.enabled: true | ||
| kubernetes.operator.health.probe.port: {{ .Values.operatorHealth.port }} | ||
| {{- end }} | ||
| flink-conf.yaml: |+ | ||
| {{- if .Values.defaultConfiguration.append }} | ||
| {{- $.Files.Get "conf/flink-conf.yaml" | nindent 4 -}} | ||
| {{- end }} | ||
|
Comment on lines
-33
to
-43
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Why are we removing these?
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Good question — there are three separate edits in that hunk:
The one behavioral consequence of (3) I'd like your read on before acting: runtime (Aside, unrelated to this hunk: I've rebased onto latest |
||
| {{- if hasKey (.Values.defaultConfiguration) "flink-conf.yaml" }} | ||
| {{- index (.Values.defaultConfiguration) "flink-conf.yaml" | nindent 4 -}} | ||
| {{- with (index .Values.defaultConfiguration "config.yaml") }} | ||
| {{- . | nindent 4 -}} | ||
| {{- else }} | ||
| {{- with (index .Values.defaultConfiguration "flink-conf.yaml") }} | ||
| {{- . | nindent 4 -}} | ||
| {{- end }} | ||
| {{- end }} | ||
| {{- if .Values.watchNamespaces }} | ||
| kubernetes.operator.watched.namespaces: {{ join "," .Values.watchNamespaces }} | ||
|
|
||
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.
The chinese docs can be synced with the same english content.
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.
done