Skip to content

Unnecessary sed substitution for SUBNET in kubelet-config.yaml #936

Description

@elafkaihi

Description

In the worker nodes bootstrapping step, the following command is used:

sed "s|SUBNET|$SUBNET|g" \
  configs/kubelet-config.yaml > kubelet-config.yaml

However, configs/kubelet-config.yaml does not contain any SUBNET
placeholder, making this sed substitution a no-op, the output file
is identical to the source template.

Expected behavior

Either:

  • Remove the sed substitution and copy the file directly
  • Or add the SUBNET placeholder in the template if it was intentional

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions