Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions addons/velaux/parameter.cue
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ parameter: {
secretName?: string
// +usage=Specify the gateway type.
gatewayDriver: *"nginx" | "traefik"
// +usage=Specify the ingress class for the nginx gateway driver, if it is not "nginx".
ingressClassName?: string
// +usage=Specify the serviceAccountName for apiserver
serviceAccountName: *"kubevela-ux" | string
// +usage=Specify the service type.
Expand Down
2 changes: 1 addition & 1 deletion addons/velaux/resources/server.cue
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ _nginxTrait: *[
http: {
"/": 8000
}
class: "nginx"
class: *parameter["ingressClassName"] | "nginx"
}
}
},
Expand Down
2 changes: 2 additions & 0 deletions experimental/addons/velaux-prerelease/parameter.cue
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ parameter: {
secretName?: string
// +usage=Specify the gateway type.
gatewayDriver: *"nginx" | "traefik"
// +usage=Specify the ingress class for the nginx gateway driver, if it is not "nginx".
ingressClassName?: string
// +usage=Specify the serviceAccountName for apiserver
serviceAccountName: *"kubevela-ux" | string
// +usage=Specify the service type.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ _nginxTrait: *[
http: {
"/": 8000
}
class: "nginx"
class: *parameter["ingressClassName"] | "nginx"
}
}
},
Expand Down
Loading