Skip to content

Commit

Permalink
Merge pull request #163 from kubefirst/fix-bootstrap
Browse files Browse the repository at this point in the history
Fix bootstrap
  • Loading branch information
claywd authored Sep 23, 2023
2 parents 9e2596d + 7816a6d commit 3c33375
Show file tree
Hide file tree
Showing 7 changed files with 13 additions and 3 deletions.
2 changes: 2 additions & 0 deletions extensions/aws/secrets.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ func BootstrapAWSMgmtCluster(
"",
cl.DnsProvider,
cl.CloudProvider,
cl.GitAuth.Token,
cl.GitAuth.PrivateKey,
)
if err != nil {
log.Fatal().Msgf("error in central function to create secrets: %s", err)
Expand Down
2 changes: 2 additions & 0 deletions extensions/civo/secrets.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ func BootstrapCivoMgmtCluster(clientset *kubernetes.Clientset, cl *types.Cluster
cl.CivoAuth.Token,
cl.DnsProvider,
cl.CloudProvider,
cl.GitAuth.Token,
cl.GitAuth.PrivateKey,
)
if err != nil {
log.Fatal().Msgf("error in central function to create secrets: %s", err)
Expand Down
2 changes: 2 additions & 0 deletions extensions/digitalocean/secrets.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ func BootstrapDigitaloceanMgmtCluster(clientset *kubernetes.Clientset, cl *types
cl.DigitaloceanAuth.Token,
cl.DnsProvider,
cl.CloudProvider,
cl.GitAuth.Token,
cl.GitAuth.PrivateKey,
)
if err != nil {
log.Fatal().Msgf("error in central function to create secrets: %s", err)
Expand Down
2 changes: 2 additions & 0 deletions extensions/google/secrets.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ func BootstrapGoogleMgmtCluster(
cl.GoogleAuth.KeyFile, //Google has no authentication method because we use roles
cl.DnsProvider,
cl.CloudProvider,
cl.GitAuth.Token,
cl.GitAuth.PrivateKey,
)
if err != nil {
log.Fatal().Msgf("error in central function to create secrets: %s", err)
Expand Down
2 changes: 2 additions & 0 deletions extensions/vultr/secrets.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ func BootstrapVultrMgmtCluster(clientset *kubernetes.Clientset, cl *types.Cluste
cl.VultrAuth.Token,
cl.DnsProvider,
cl.CloudProvider,
cl.GitAuth.Token,
cl.GitAuth.PrivateKey,
)
if err != nil {
log.Fatal().Msgf("error in central function to create secrets: %s", err)
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ require (
github.com/google/go-github/v52 v52.0.0
github.com/hashicorp/vault/api v1.9.0
github.com/joho/godotenv v1.5.1
github.com/kubefirst/runtime v0.3.19
github.com/kubefirst/runtime v0.3.22
github.com/minio/minio-go/v7 v7.0.49
github.com/rs/zerolog v1.29.0
github.com/sirupsen/logrus v1.9.0
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -735,8 +735,8 @@ github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ=
github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI=
github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY=
github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE=
github.com/kubefirst/runtime v0.3.19 h1:M0GrJSDwMU6yZNBebMm4Y9hkDFE8GxmgtnNp0h3uCvo=
github.com/kubefirst/runtime v0.3.19/go.mod h1:q9GkYqn/QPR7daUqhEuk50/IeFybTAYftuJVcBW2StI=
github.com/kubefirst/runtime v0.3.22 h1:CK3CxoE16RIGvYr+0pwd+BI0bPXlx8RnnFWsHzsNxVo=
github.com/kubefirst/runtime v0.3.22/go.mod h1:q9GkYqn/QPR7daUqhEuk50/IeFybTAYftuJVcBW2StI=
github.com/kylelemons/godebug v1.1.0/go.mod h1:9/0rRGxNHcop5bhtWyNeEfOS8JIWk580+fNqagV/RAw=
github.com/leodido/go-urn v1.2.1 h1:BqpAaACuzVSgi/VLzGZIobT2z4v53pjosyNd9Yv6n/w=
github.com/leodido/go-urn v1.2.1/go.mod h1:zt4jvISO2HfUBqxjfIshjdMTYS56ZS/qv49ictyFfxY=
Expand Down

0 comments on commit 3c33375

Please sign in to comment.