Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions scripts/auto-rebase/rebase.sh
Original file line number Diff line number Diff line change
Expand Up @@ -565,6 +565,12 @@ update_openshift_manifests() {
title "Modifying OpenShift manifests"

#-- Kubelet -------------------------------------------

# The tlsCipherSuites field was change from a scalar value to gotemplate which broke the yaml formatting and
# confused yq. Before processing, delete the offending go templated field.
# https://github.com/openshift/machine-config-operator/commit/3b979e1ddf2a6e2c3e9b4a7872e31db888da1d57
sed -n -i '/tlsCipherSuites:/,/{{- end }}/d' "${REPOROOT}/assets/core/kubelet.yaml"
Copy link
Member

Choose a reason for hiding this comment

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

I guess we can delete following line that's ~20-30 lines below?

    yq -i 'del(.tlsCipherSuites)' "${REPOROOT}/assets/core/kubelet.yaml"


# Drop MCO's boilerplate and keep KubeletConfiguration only
yq -i '.contents.inline' "${REPOROOT}/assets/core/kubelet.yaml"

Expand Down