Skip to content
This repository has been archived by the owner on Aug 17, 2023. It is now read-only.

Commit

Permalink
Create Istio-system namespace before create OIDC secret (#276)
Browse files Browse the repository at this point in the history
  • Loading branch information
Yao Xiao authored Mar 10, 2020
1 parent 95beaee commit f3edb9b
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions pkg/kfapp/aws/aws.go
Original file line number Diff line number Diff line change
Expand Up @@ -722,6 +722,13 @@ func (aws *Aws) Apply(resources kftypes.ResourceEnum) error {
}
}

if err := createNamespace(aws.k8sClient, IstioNamespace); err != nil {
return &kfapis.KfError{
Code: int(kfapis.INTERNAL_ERROR),
Message: fmt.Sprintf("Could not create namespace %v", err),
}
}

// Create IAM role binding for k8s service account.
if awsPluginSpec.GetEnablePodIamPolicy() && isEksCluster {
err := aws.setupIamRoleForServiceAccount()
Expand Down

0 comments on commit f3edb9b

Please sign in to comment.