Skip to content

Commit

Permalink
revert adding --ca-data flag to vcluster platform add cluster
Browse files Browse the repository at this point in the history
Signed-off-by: Paweł Bojanowski <[email protected]>
  • Loading branch information
hidalgopl committed Sep 19, 2024
1 parent 900151b commit 363a0c3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/vclusterctl/cmd/platform/add/cluster.go
Original file line number Diff line number Diff line change
Expand Up @@ -203,8 +203,8 @@ func (cmd *ClusterCmd) Run(ctx context.Context, args []string) error {
helmArgs = append(helmArgs, "--set", "insecureSkipVerify=true")
}

if len(cmd.CertificateAuthorityData) > 0 {
helmArgs = append(helmArgs, "--set", "additionalCA="+string(cmd.CertificateAuthorityData))
if accessKey.CaCert != "" {
helmArgs = append(helmArgs, "--set", "additionalCA="+accessKey.CaCert)
}

if cmd.Wait {
Expand Down

0 comments on commit 363a0c3

Please sign in to comment.