Pulumi Kubernetes resources for Istio generated from the Istio API
$ yarn add pki @pulumi/pulumi @pulumi/kubernetes
Ensure you have instantiated Istio using @pulumi/kubernetes
An example on how to do so can be found here.
PKI follows the same API spec as @pulumi/kubernetes
Gateway
import * as istio from 'pki';
// ...
export const helloWorldGateway = new istio.networking.v1alpha3.Gateway(
'hello-world-gateway',
{
metadata: {
name: 'hello-world-gateway'
},
spec: {
selector: {
istio: 'ingressgateway'
},
servers: [
{
port: {
number: 80,
name: 'http',
protocol: 'HTTP'
},
hosts: ['*']
}
]
}
}
);