-
Notifications
You must be signed in to change notification settings - Fork 465
Update vendoring github.com/coreos/fcct → github.com/coreos/butane #2976
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
Changes from all commits
86db823
84d0bae
0326381
81d093f
8263928
568cc5c
2d9b12f
096e6ff
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 |
|---|---|---|
|
|
@@ -38,18 +38,6 @@ var ( | |
| testKubeConfig = fmt.Sprintf("%s/kubeconfig", testDir) | ||
| ) | ||
|
|
||
| func TestStringDecode(t *testing.T) { | ||
|
||
| inp := "data:,Hello%2C%20world!" | ||
| exp := "Hello, world!" | ||
| dec, err := getDecodedContent(inp) | ||
| if err != nil { | ||
| t.Errorf("expected error to be nil, received: %v", err) | ||
| } | ||
| if exp != dec { | ||
| t.Errorf("string decode failed. exp: %s, got: %s", exp, dec) | ||
| } | ||
| } | ||
|
|
||
| func TestStringEncode(t *testing.T) { | ||
| inp := "Hello, world!" | ||
| exp := "data:,Hello%2C%20world!" | ||
|
|
@@ -315,7 +303,7 @@ func TestClusterServer(t *testing.T) { | |
| } | ||
| foundEncapsulated = true | ||
| encapMc := new(mcfgv1.MachineConfig) | ||
| contents, err := getDecodedContent(*f.Contents.Source) | ||
| contents, err := ctrlcommon.DecodeIgnitionFileContents(f.Contents.Source, f.Contents.Compression) | ||
| assert.Nil(t, err) | ||
| err = yaml.Unmarshal([]byte(contents), encapMc) | ||
| assert.Nil(t, err) | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,3 @@ | ||
| filesystem: "root" | ||
| mode: 0644 | ||
| path: "/etc/mco/proxy.env" | ||
| contents: | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,3 @@ | ||
| filesystem: "root" | ||
| mode: 0644 | ||
| path: "/etc/systemd/system.conf.d/10-default-env-godebug.conf" | ||
| contents: | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,3 @@ | ||
| filesystem: "root" | ||
| mode: 0744 | ||
| path: "/etc/NetworkManager/dispatcher.d/99-vsphere-disable-tx-udp-tnl" | ||
| contents: | ||
|
|
||
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.
While I had the patient open, I changed this to generate a single butane config, then translate it once to ignition which is way simpler than generating a tiny butane config and then continually merging ignition.