Skip to content

Commit

Permalink
Use istio-parameter in manifests (kubeflow#380)
Browse files Browse the repository at this point in the history
  • Loading branch information
Yao Xiao authored and Chad Roberts committed Feb 25, 2021
1 parent 04bcce6 commit aa294ab
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
4 changes: 0 additions & 4 deletions pkg/kfapp/aws/aws.go
Original file line number Diff line number Diff line change
Expand Up @@ -467,10 +467,6 @@ func (aws *Aws) Generate(resources kftypes.ResourceEnum) error {
}
} else {
if pluginSpec.Auth.Cognito != nil {
if err := aws.kfDef.SetApplicationParameter("istio", "clusterRbacConfig", "ON"); err != nil {
return errors.WithStack(err)
}

if err := aws.kfDef.SetApplicationParameter("istio-ingress", "CognitoUserPoolArn", pluginSpec.Auth.Cognito.CognitoUserPoolArn); err != nil {
return errors.WithStack(err)
}
Expand Down
2 changes: 1 addition & 1 deletion pkg/kfconfig/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -844,7 +844,7 @@ func (c *KfConfig) SetApplicationParameter(appName string, paramName string, val
"spartakus": "spartakus",
// AWS Specific
"aws-alb-ingress-controller": KfAppsStackName,
"istio-ingress": KfAppsStackName,
"istio-ingress": "istio-ingress",
}

appNameDir, ok := appToStack[appName]
Expand Down

0 comments on commit aa294ab

Please sign in to comment.