mirror of
https://github.com/siderolabs/talos.git
synced 2025-12-16 15:01:18 +01:00
fix(init): use text/template (#228)
Fixes an issue where the rendered encryptionconfig.yaml could contain invalid base64 data.
This commit is contained in:
parent
374343a883
commit
08dd81a557
@ -3,9 +3,9 @@ package cis
|
|||||||
import (
|
import (
|
||||||
"bytes"
|
"bytes"
|
||||||
"encoding/base64"
|
"encoding/base64"
|
||||||
"html/template"
|
|
||||||
"io/ioutil"
|
"io/ioutil"
|
||||||
"math/rand"
|
"math/rand"
|
||||||
|
"text/template"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"k8s.io/api/core/v1"
|
"k8s.io/api/core/v1"
|
||||||
|
|||||||
@ -4,7 +4,7 @@ import (
|
|||||||
"bytes"
|
"bytes"
|
||||||
"context"
|
"context"
|
||||||
"fmt"
|
"fmt"
|
||||||
"html/template"
|
"text/template"
|
||||||
"io/ioutil"
|
"io/ioutil"
|
||||||
"log"
|
"log"
|
||||||
"os"
|
"os"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user