fix(init): use text/template (#228)

Fixes an issue where the rendered encryptionconfig.yaml could contain invalid
base64 data.
This commit is contained in:
Andrew Rynhard 2018-11-23 09:15:52 -08:00 committed by GitHub
parent 374343a883
commit 08dd81a557
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -3,9 +3,9 @@ package cis
import (
"bytes"
"encoding/base64"
"html/template"
"io/ioutil"
"math/rand"
"text/template"
"time"
"k8s.io/api/core/v1"

View File

@ -4,7 +4,7 @@ import (
"bytes"
"context"
"fmt"
"html/template"
"text/template"
"io/ioutil"
"log"
"os"