Skip to content

Commit

Permalink
Overwrite files with format: ignition
Browse files Browse the repository at this point in the history
This aligns with the default cloud-init behavior and enables e.g
overwriting distro-default files via RKE2ConfigTemplate using the
spec.template.spec.files API.
  • Loading branch information
hardys committed Aug 21, 2024
1 parent 75d20b4 commit 23b84fa
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions bootstrap/internal/ignition/butane/butane.go
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ storage:
{{ if ne .Permissions "" -}}
mode: {{ .Permissions }}
{{ end -}}
overwrite: true
contents:
{{ if eq .Encoding "base64" -}}
inline: !!binary |
Expand Down

0 comments on commit 23b84fa

Please sign in to comment.