Documentation ¶
Overview ¶
A Pulumi package for creating and managing Cilium resources
Index ¶
- type Clustermesh
- type ClustermeshArgs
- type ClustermeshArray
- type ClustermeshArrayInput
- type ClustermeshArrayOutput
- func (ClustermeshArrayOutput) ElementType() reflect.Type
- func (o ClustermeshArrayOutput) Index(i pulumi.IntInput) ClustermeshOutput
- func (o ClustermeshArrayOutput) ToClustermeshArrayOutput() ClustermeshArrayOutput
- func (o ClustermeshArrayOutput) ToClustermeshArrayOutputWithContext(ctx context.Context) ClustermeshArrayOutput
- type ClustermeshConnection
- type ClustermeshConnectionArgs
- type ClustermeshConnectionArray
- func (ClustermeshConnectionArray) ElementType() reflect.Type
- func (i ClustermeshConnectionArray) ToClustermeshConnectionArrayOutput() ClustermeshConnectionArrayOutput
- func (i ClustermeshConnectionArray) ToClustermeshConnectionArrayOutputWithContext(ctx context.Context) ClustermeshConnectionArrayOutput
- type ClustermeshConnectionArrayInput
- type ClustermeshConnectionArrayOutput
- func (ClustermeshConnectionArrayOutput) ElementType() reflect.Type
- func (o ClustermeshConnectionArrayOutput) Index(i pulumi.IntInput) ClustermeshConnectionOutput
- func (o ClustermeshConnectionArrayOutput) ToClustermeshConnectionArrayOutput() ClustermeshConnectionArrayOutput
- func (o ClustermeshConnectionArrayOutput) ToClustermeshConnectionArrayOutputWithContext(ctx context.Context) ClustermeshConnectionArrayOutput
- type ClustermeshConnectionInput
- type ClustermeshConnectionMap
- type ClustermeshConnectionMapInput
- type ClustermeshConnectionMapOutput
- func (ClustermeshConnectionMapOutput) ElementType() reflect.Type
- func (o ClustermeshConnectionMapOutput) MapIndex(k pulumi.StringInput) ClustermeshConnectionOutput
- func (o ClustermeshConnectionMapOutput) ToClustermeshConnectionMapOutput() ClustermeshConnectionMapOutput
- func (o ClustermeshConnectionMapOutput) ToClustermeshConnectionMapOutputWithContext(ctx context.Context) ClustermeshConnectionMapOutput
- type ClustermeshConnectionOutput
- func (o ClustermeshConnectionOutput) DestinationContext() pulumi.StringOutput
- func (ClustermeshConnectionOutput) ElementType() reflect.Type
- func (o ClustermeshConnectionOutput) Namespace() pulumi.StringOutput
- func (o ClustermeshConnectionOutput) ToClustermeshConnectionOutput() ClustermeshConnectionOutput
- func (o ClustermeshConnectionOutput) ToClustermeshConnectionOutputWithContext(ctx context.Context) ClustermeshConnectionOutput
- type ClustermeshConnectionState
- type ClustermeshInput
- type ClustermeshMap
- type ClustermeshMapInput
- type ClustermeshMapOutput
- func (ClustermeshMapOutput) ElementType() reflect.Type
- func (o ClustermeshMapOutput) MapIndex(k pulumi.StringInput) ClustermeshOutput
- func (o ClustermeshMapOutput) ToClustermeshMapOutput() ClustermeshMapOutput
- func (o ClustermeshMapOutput) ToClustermeshMapOutputWithContext(ctx context.Context) ClustermeshMapOutput
- type ClustermeshOutput
- func (ClustermeshOutput) ElementType() reflect.Type
- func (o ClustermeshOutput) EnableExternalWorkloads() pulumi.BoolOutput
- func (o ClustermeshOutput) EnableKvStoreMesh() pulumi.BoolOutput
- func (o ClustermeshOutput) Namespace() pulumi.StringOutput
- func (o ClustermeshOutput) ServiceType() pulumi.StringOutput
- func (o ClustermeshOutput) ToClustermeshOutput() ClustermeshOutput
- func (o ClustermeshOutput) ToClustermeshOutputWithContext(ctx context.Context) ClustermeshOutput
- func (o ClustermeshOutput) Wait() pulumi.BoolOutput
- type ClustermeshState
- type Config
- type ConfigArgs
- type ConfigArray
- type ConfigArrayInput
- type ConfigArrayOutput
- type ConfigInput
- type ConfigMap
- type ConfigMapInput
- type ConfigMapOutput
- type ConfigOutput
- func (ConfigOutput) ElementType() reflect.Type
- func (o ConfigOutput) Key() pulumi.StringOutput
- func (o ConfigOutput) Namespace() pulumi.StringOutput
- func (o ConfigOutput) Restart() pulumi.BoolOutput
- func (o ConfigOutput) ToConfigOutput() ConfigOutput
- func (o ConfigOutput) ToConfigOutputWithContext(ctx context.Context) ConfigOutput
- func (o ConfigOutput) Value() pulumi.StringOutput
- type ConfigState
- type GetHelmValuesArgs
- type GetHelmValuesOutputArgs
- type GetHelmValuesResult
- type GetHelmValuesResultOutput
- func (GetHelmValuesResultOutput) ElementType() reflect.Type
- func (o GetHelmValuesResultOutput) Id() pulumi.StringOutput
- func (o GetHelmValuesResultOutput) Namespace() pulumi.StringPtrOutput
- func (o GetHelmValuesResultOutput) Release() pulumi.StringPtrOutput
- func (o GetHelmValuesResultOutput) ToGetHelmValuesResultOutput() GetHelmValuesResultOutput
- func (o GetHelmValuesResultOutput) ToGetHelmValuesResultOutputWithContext(ctx context.Context) GetHelmValuesResultOutput
- func (o GetHelmValuesResultOutput) Yaml() pulumi.StringOutput
- type Hubble
- type HubbleArgs
- type HubbleArray
- type HubbleArrayInput
- type HubbleArrayOutput
- type HubbleInput
- type HubbleMap
- type HubbleMapInput
- type HubbleMapOutput
- type HubbleOutput
- func (HubbleOutput) ElementType() reflect.Type
- func (o HubbleOutput) Namespace() pulumi.StringOutput
- func (o HubbleOutput) Relay() pulumi.BoolOutput
- func (o HubbleOutput) ToHubbleOutput() HubbleOutput
- func (o HubbleOutput) ToHubbleOutputWithContext(ctx context.Context) HubbleOutput
- func (o HubbleOutput) Ui() pulumi.BoolOutput
- type HubbleState
- type Install
- type InstallArgs
- type InstallArray
- type InstallArrayInput
- type InstallArrayOutput
- type InstallInput
- type InstallMap
- type InstallMapInput
- type InstallMapOutput
- type InstallOutput
- func (o InstallOutput) DataPath() pulumi.StringOutput
- func (InstallOutput) ElementType() reflect.Type
- func (o InstallOutput) Namespace() pulumi.StringOutput
- func (o InstallOutput) Repository() pulumi.StringOutput
- func (o InstallOutput) Reset() pulumi.BoolOutput
- func (o InstallOutput) Reuse() pulumi.BoolOutput
- func (o InstallOutput) Sets() pulumi.StringArrayOutput
- func (o InstallOutput) ToInstallOutput() InstallOutput
- func (o InstallOutput) ToInstallOutputWithContext(ctx context.Context) InstallOutput
- func (o InstallOutput) Values() pulumi.StringOutput
- func (o InstallOutput) Version() pulumi.StringOutput
- func (o InstallOutput) Wait() pulumi.BoolOutput
- type InstallState
- type KubeproxyFree
- type KubeproxyFreeArgs
- type KubeproxyFreeArray
- type KubeproxyFreeArrayInput
- type KubeproxyFreeArrayOutput
- func (KubeproxyFreeArrayOutput) ElementType() reflect.Type
- func (o KubeproxyFreeArrayOutput) Index(i pulumi.IntInput) KubeproxyFreeOutput
- func (o KubeproxyFreeArrayOutput) ToKubeproxyFreeArrayOutput() KubeproxyFreeArrayOutput
- func (o KubeproxyFreeArrayOutput) ToKubeproxyFreeArrayOutputWithContext(ctx context.Context) KubeproxyFreeArrayOutput
- type KubeproxyFreeInput
- type KubeproxyFreeMap
- type KubeproxyFreeMapInput
- type KubeproxyFreeMapOutput
- func (KubeproxyFreeMapOutput) ElementType() reflect.Type
- func (o KubeproxyFreeMapOutput) MapIndex(k pulumi.StringInput) KubeproxyFreeOutput
- func (o KubeproxyFreeMapOutput) ToKubeproxyFreeMapOutput() KubeproxyFreeMapOutput
- func (o KubeproxyFreeMapOutput) ToKubeproxyFreeMapOutputWithContext(ctx context.Context) KubeproxyFreeMapOutput
- type KubeproxyFreeOutput
- func (KubeproxyFreeOutput) ElementType() reflect.Type
- func (o KubeproxyFreeOutput) Name() pulumi.StringOutput
- func (o KubeproxyFreeOutput) Namespace() pulumi.StringOutput
- func (o KubeproxyFreeOutput) ToKubeproxyFreeOutput() KubeproxyFreeOutput
- func (o KubeproxyFreeOutput) ToKubeproxyFreeOutputWithContext(ctx context.Context) KubeproxyFreeOutput
- type KubeproxyFreeState
- type Provider
- type ProviderArgs
- type ProviderInput
- type ProviderOutput
- func (o ProviderOutput) ConfigPath() pulumi.StringPtrOutput
- func (o ProviderOutput) Context() pulumi.StringPtrOutput
- func (ProviderOutput) ElementType() reflect.Type
- func (o ProviderOutput) Namespace() pulumi.StringPtrOutput
- func (o ProviderOutput) ToProviderOutput() ProviderOutput
- func (o ProviderOutput) ToProviderOutputWithContext(ctx context.Context) ProviderOutput
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Clustermesh ¶
type Clustermesh struct { pulumi.CustomResourceState // Enable support for external workloads, such as VMs (Default: `false`). EnableExternalWorkloads pulumi.BoolOutput `pulumi:"enableExternalWorkloads"` // Enable kvstoremesh, an extension which caches remote cluster information in the local kvstore (Cilium >=1.14 only) (Default: `false`). EnableKvStoreMesh pulumi.BoolOutput `pulumi:"enableKvStoreMesh"` // Namespace in which to install (Default: `kube-system`). Namespace pulumi.StringOutput `pulumi:"namespace"` // Type of Kubernetes service to expose control plane { LoadBalancer | NodePort | ClusterIP } (Default: `autodetected`). ServiceType pulumi.StringOutput `pulumi:"serviceType"` // Wait Cluster Mesh status is ok (Default: `true`). Wait pulumi.BoolOutput `pulumi:"wait"` }
Cluster Mesh resource. This is equivalent to cilium cli: `cilium clustermesh enable` and `cilium clustermesh disable`: It manages the activation of Cluster Mesh on one Kubernetes cluster.
## Example Usage
```go package main
import (
"github.com/littlejo/pulumi-cilium/sdk/go/cilium" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { exampleInstall, err := cilium.NewInstall(ctx, "exampleInstall", &cilium.InstallArgs{ Sets: pulumi.StringArray{ pulumi.String("cluster.name=clustermesh1"), pulumi.String("cluster.id=1"), pulumi.String("ipam.mode=kubernetes"), }, Version: pulumi.String("1.14.5"), }) if err != nil { return err } _, err = cilium.NewClustermesh(ctx, "exampleClustermesh", &cilium.ClustermeshArgs{ ServiceType: pulumi.String("LoadBalancer"), }, pulumi.DependsOn([]pulumi.Resource{ exampleInstall, })) if err != nil { return err } return nil }) }
```
func GetClustermesh ¶
func GetClustermesh(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ClustermeshState, opts ...pulumi.ResourceOption) (*Clustermesh, error)
GetClustermesh gets an existing Clustermesh resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewClustermesh ¶
func NewClustermesh(ctx *pulumi.Context, name string, args *ClustermeshArgs, opts ...pulumi.ResourceOption) (*Clustermesh, error)
NewClustermesh registers a new resource with the given unique name, arguments, and options.
func (*Clustermesh) ElementType ¶
func (*Clustermesh) ElementType() reflect.Type
func (*Clustermesh) ToClustermeshOutput ¶
func (i *Clustermesh) ToClustermeshOutput() ClustermeshOutput
func (*Clustermesh) ToClustermeshOutputWithContext ¶
func (i *Clustermesh) ToClustermeshOutputWithContext(ctx context.Context) ClustermeshOutput
type ClustermeshArgs ¶
type ClustermeshArgs struct { // Enable support for external workloads, such as VMs (Default: `false`). EnableExternalWorkloads pulumi.BoolPtrInput // Enable kvstoremesh, an extension which caches remote cluster information in the local kvstore (Cilium >=1.14 only) (Default: `false`). EnableKvStoreMesh pulumi.BoolPtrInput // Namespace in which to install (Default: `kube-system`). Namespace pulumi.StringPtrInput // Type of Kubernetes service to expose control plane { LoadBalancer | NodePort | ClusterIP } (Default: `autodetected`). ServiceType pulumi.StringPtrInput // Wait Cluster Mesh status is ok (Default: `true`). Wait pulumi.BoolPtrInput }
The set of arguments for constructing a Clustermesh resource.
func (ClustermeshArgs) ElementType ¶
func (ClustermeshArgs) ElementType() reflect.Type
type ClustermeshArray ¶
type ClustermeshArray []ClustermeshInput
func (ClustermeshArray) ElementType ¶
func (ClustermeshArray) ElementType() reflect.Type
func (ClustermeshArray) ToClustermeshArrayOutput ¶
func (i ClustermeshArray) ToClustermeshArrayOutput() ClustermeshArrayOutput
func (ClustermeshArray) ToClustermeshArrayOutputWithContext ¶
func (i ClustermeshArray) ToClustermeshArrayOutputWithContext(ctx context.Context) ClustermeshArrayOutput
type ClustermeshArrayInput ¶
type ClustermeshArrayInput interface { pulumi.Input ToClustermeshArrayOutput() ClustermeshArrayOutput ToClustermeshArrayOutputWithContext(context.Context) ClustermeshArrayOutput }
ClustermeshArrayInput is an input type that accepts ClustermeshArray and ClustermeshArrayOutput values. You can construct a concrete instance of `ClustermeshArrayInput` via:
ClustermeshArray{ ClustermeshArgs{...} }
type ClustermeshArrayOutput ¶
type ClustermeshArrayOutput struct{ *pulumi.OutputState }
func (ClustermeshArrayOutput) ElementType ¶
func (ClustermeshArrayOutput) ElementType() reflect.Type
func (ClustermeshArrayOutput) Index ¶
func (o ClustermeshArrayOutput) Index(i pulumi.IntInput) ClustermeshOutput
func (ClustermeshArrayOutput) ToClustermeshArrayOutput ¶
func (o ClustermeshArrayOutput) ToClustermeshArrayOutput() ClustermeshArrayOutput
func (ClustermeshArrayOutput) ToClustermeshArrayOutputWithContext ¶
func (o ClustermeshArrayOutput) ToClustermeshArrayOutputWithContext(ctx context.Context) ClustermeshArrayOutput
type ClustermeshConnection ¶
type ClustermeshConnection struct { pulumi.CustomResourceState // Kubernetes configuration context of destination cluster DestinationContext pulumi.StringOutput `pulumi:"destinationContext"` // Namespace in which to install (Default: `kube-system`). Namespace pulumi.StringOutput `pulumi:"namespace"` }
Cluster Mesh connection resource. This is equivalent to cilium cli: `cilium clustermesh connect` and `cilium clustermesh disconnect`: It manages the connections between two Kubernetes clusters.
## Example Usage
```go package main
import (
"github.com/littlejo/pulumi-cilium/sdk/go/cilium" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := cilium.NewClustermeshConnection(ctx, "example", &cilium.ClustermeshConnectionArgs{ DestinationContext: pulumi.String("context-2"), }) if err != nil { return err } return nil }) }
```
func GetClustermeshConnection ¶
func GetClustermeshConnection(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ClustermeshConnectionState, opts ...pulumi.ResourceOption) (*ClustermeshConnection, error)
GetClustermeshConnection gets an existing ClustermeshConnection resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewClustermeshConnection ¶
func NewClustermeshConnection(ctx *pulumi.Context, name string, args *ClustermeshConnectionArgs, opts ...pulumi.ResourceOption) (*ClustermeshConnection, error)
NewClustermeshConnection registers a new resource with the given unique name, arguments, and options.
func (*ClustermeshConnection) ElementType ¶
func (*ClustermeshConnection) ElementType() reflect.Type
func (*ClustermeshConnection) ToClustermeshConnectionOutput ¶
func (i *ClustermeshConnection) ToClustermeshConnectionOutput() ClustermeshConnectionOutput
func (*ClustermeshConnection) ToClustermeshConnectionOutputWithContext ¶
func (i *ClustermeshConnection) ToClustermeshConnectionOutputWithContext(ctx context.Context) ClustermeshConnectionOutput
type ClustermeshConnectionArgs ¶
type ClustermeshConnectionArgs struct { // Kubernetes configuration context of destination cluster DestinationContext pulumi.StringPtrInput // Namespace in which to install (Default: `kube-system`). Namespace pulumi.StringPtrInput }
The set of arguments for constructing a ClustermeshConnection resource.
func (ClustermeshConnectionArgs) ElementType ¶
func (ClustermeshConnectionArgs) ElementType() reflect.Type
type ClustermeshConnectionArray ¶
type ClustermeshConnectionArray []ClustermeshConnectionInput
func (ClustermeshConnectionArray) ElementType ¶
func (ClustermeshConnectionArray) ElementType() reflect.Type
func (ClustermeshConnectionArray) ToClustermeshConnectionArrayOutput ¶
func (i ClustermeshConnectionArray) ToClustermeshConnectionArrayOutput() ClustermeshConnectionArrayOutput
func (ClustermeshConnectionArray) ToClustermeshConnectionArrayOutputWithContext ¶
func (i ClustermeshConnectionArray) ToClustermeshConnectionArrayOutputWithContext(ctx context.Context) ClustermeshConnectionArrayOutput
type ClustermeshConnectionArrayInput ¶
type ClustermeshConnectionArrayInput interface { pulumi.Input ToClustermeshConnectionArrayOutput() ClustermeshConnectionArrayOutput ToClustermeshConnectionArrayOutputWithContext(context.Context) ClustermeshConnectionArrayOutput }
ClustermeshConnectionArrayInput is an input type that accepts ClustermeshConnectionArray and ClustermeshConnectionArrayOutput values. You can construct a concrete instance of `ClustermeshConnectionArrayInput` via:
ClustermeshConnectionArray{ ClustermeshConnectionArgs{...} }
type ClustermeshConnectionArrayOutput ¶
type ClustermeshConnectionArrayOutput struct{ *pulumi.OutputState }
func (ClustermeshConnectionArrayOutput) ElementType ¶
func (ClustermeshConnectionArrayOutput) ElementType() reflect.Type
func (ClustermeshConnectionArrayOutput) Index ¶
func (o ClustermeshConnectionArrayOutput) Index(i pulumi.IntInput) ClustermeshConnectionOutput
func (ClustermeshConnectionArrayOutput) ToClustermeshConnectionArrayOutput ¶
func (o ClustermeshConnectionArrayOutput) ToClustermeshConnectionArrayOutput() ClustermeshConnectionArrayOutput
func (ClustermeshConnectionArrayOutput) ToClustermeshConnectionArrayOutputWithContext ¶
func (o ClustermeshConnectionArrayOutput) ToClustermeshConnectionArrayOutputWithContext(ctx context.Context) ClustermeshConnectionArrayOutput
type ClustermeshConnectionInput ¶
type ClustermeshConnectionInput interface { pulumi.Input ToClustermeshConnectionOutput() ClustermeshConnectionOutput ToClustermeshConnectionOutputWithContext(ctx context.Context) ClustermeshConnectionOutput }
type ClustermeshConnectionMap ¶
type ClustermeshConnectionMap map[string]ClustermeshConnectionInput
func (ClustermeshConnectionMap) ElementType ¶
func (ClustermeshConnectionMap) ElementType() reflect.Type
func (ClustermeshConnectionMap) ToClustermeshConnectionMapOutput ¶
func (i ClustermeshConnectionMap) ToClustermeshConnectionMapOutput() ClustermeshConnectionMapOutput
func (ClustermeshConnectionMap) ToClustermeshConnectionMapOutputWithContext ¶
func (i ClustermeshConnectionMap) ToClustermeshConnectionMapOutputWithContext(ctx context.Context) ClustermeshConnectionMapOutput
type ClustermeshConnectionMapInput ¶
type ClustermeshConnectionMapInput interface { pulumi.Input ToClustermeshConnectionMapOutput() ClustermeshConnectionMapOutput ToClustermeshConnectionMapOutputWithContext(context.Context) ClustermeshConnectionMapOutput }
ClustermeshConnectionMapInput is an input type that accepts ClustermeshConnectionMap and ClustermeshConnectionMapOutput values. You can construct a concrete instance of `ClustermeshConnectionMapInput` via:
ClustermeshConnectionMap{ "key": ClustermeshConnectionArgs{...} }
type ClustermeshConnectionMapOutput ¶
type ClustermeshConnectionMapOutput struct{ *pulumi.OutputState }
func (ClustermeshConnectionMapOutput) ElementType ¶
func (ClustermeshConnectionMapOutput) ElementType() reflect.Type
func (ClustermeshConnectionMapOutput) MapIndex ¶
func (o ClustermeshConnectionMapOutput) MapIndex(k pulumi.StringInput) ClustermeshConnectionOutput
func (ClustermeshConnectionMapOutput) ToClustermeshConnectionMapOutput ¶
func (o ClustermeshConnectionMapOutput) ToClustermeshConnectionMapOutput() ClustermeshConnectionMapOutput
func (ClustermeshConnectionMapOutput) ToClustermeshConnectionMapOutputWithContext ¶
func (o ClustermeshConnectionMapOutput) ToClustermeshConnectionMapOutputWithContext(ctx context.Context) ClustermeshConnectionMapOutput
type ClustermeshConnectionOutput ¶
type ClustermeshConnectionOutput struct{ *pulumi.OutputState }
func (ClustermeshConnectionOutput) DestinationContext ¶
func (o ClustermeshConnectionOutput) DestinationContext() pulumi.StringOutput
Kubernetes configuration context of destination cluster
func (ClustermeshConnectionOutput) ElementType ¶
func (ClustermeshConnectionOutput) ElementType() reflect.Type
func (ClustermeshConnectionOutput) Namespace ¶
func (o ClustermeshConnectionOutput) Namespace() pulumi.StringOutput
Namespace in which to install (Default: `kube-system`).
func (ClustermeshConnectionOutput) ToClustermeshConnectionOutput ¶
func (o ClustermeshConnectionOutput) ToClustermeshConnectionOutput() ClustermeshConnectionOutput
func (ClustermeshConnectionOutput) ToClustermeshConnectionOutputWithContext ¶
func (o ClustermeshConnectionOutput) ToClustermeshConnectionOutputWithContext(ctx context.Context) ClustermeshConnectionOutput
type ClustermeshConnectionState ¶
type ClustermeshConnectionState struct { // Kubernetes configuration context of destination cluster DestinationContext pulumi.StringPtrInput // Namespace in which to install (Default: `kube-system`). Namespace pulumi.StringPtrInput }
func (ClustermeshConnectionState) ElementType ¶
func (ClustermeshConnectionState) ElementType() reflect.Type
type ClustermeshInput ¶
type ClustermeshInput interface { pulumi.Input ToClustermeshOutput() ClustermeshOutput ToClustermeshOutputWithContext(ctx context.Context) ClustermeshOutput }
type ClustermeshMap ¶
type ClustermeshMap map[string]ClustermeshInput
func (ClustermeshMap) ElementType ¶
func (ClustermeshMap) ElementType() reflect.Type
func (ClustermeshMap) ToClustermeshMapOutput ¶
func (i ClustermeshMap) ToClustermeshMapOutput() ClustermeshMapOutput
func (ClustermeshMap) ToClustermeshMapOutputWithContext ¶
func (i ClustermeshMap) ToClustermeshMapOutputWithContext(ctx context.Context) ClustermeshMapOutput
type ClustermeshMapInput ¶
type ClustermeshMapInput interface { pulumi.Input ToClustermeshMapOutput() ClustermeshMapOutput ToClustermeshMapOutputWithContext(context.Context) ClustermeshMapOutput }
ClustermeshMapInput is an input type that accepts ClustermeshMap and ClustermeshMapOutput values. You can construct a concrete instance of `ClustermeshMapInput` via:
ClustermeshMap{ "key": ClustermeshArgs{...} }
type ClustermeshMapOutput ¶
type ClustermeshMapOutput struct{ *pulumi.OutputState }
func (ClustermeshMapOutput) ElementType ¶
func (ClustermeshMapOutput) ElementType() reflect.Type
func (ClustermeshMapOutput) MapIndex ¶
func (o ClustermeshMapOutput) MapIndex(k pulumi.StringInput) ClustermeshOutput
func (ClustermeshMapOutput) ToClustermeshMapOutput ¶
func (o ClustermeshMapOutput) ToClustermeshMapOutput() ClustermeshMapOutput
func (ClustermeshMapOutput) ToClustermeshMapOutputWithContext ¶
func (o ClustermeshMapOutput) ToClustermeshMapOutputWithContext(ctx context.Context) ClustermeshMapOutput
type ClustermeshOutput ¶
type ClustermeshOutput struct{ *pulumi.OutputState }
func (ClustermeshOutput) ElementType ¶
func (ClustermeshOutput) ElementType() reflect.Type
func (ClustermeshOutput) EnableExternalWorkloads ¶
func (o ClustermeshOutput) EnableExternalWorkloads() pulumi.BoolOutput
Enable support for external workloads, such as VMs (Default: `false`).
func (ClustermeshOutput) EnableKvStoreMesh ¶
func (o ClustermeshOutput) EnableKvStoreMesh() pulumi.BoolOutput
Enable kvstoremesh, an extension which caches remote cluster information in the local kvstore (Cilium >=1.14 only) (Default: `false`).
func (ClustermeshOutput) Namespace ¶
func (o ClustermeshOutput) Namespace() pulumi.StringOutput
Namespace in which to install (Default: `kube-system`).
func (ClustermeshOutput) ServiceType ¶
func (o ClustermeshOutput) ServiceType() pulumi.StringOutput
Type of Kubernetes service to expose control plane { LoadBalancer | NodePort | ClusterIP } (Default: `autodetected`).
func (ClustermeshOutput) ToClustermeshOutput ¶
func (o ClustermeshOutput) ToClustermeshOutput() ClustermeshOutput
func (ClustermeshOutput) ToClustermeshOutputWithContext ¶
func (o ClustermeshOutput) ToClustermeshOutputWithContext(ctx context.Context) ClustermeshOutput
func (ClustermeshOutput) Wait ¶
func (o ClustermeshOutput) Wait() pulumi.BoolOutput
Wait Cluster Mesh status is ok (Default: `true`).
type ClustermeshState ¶
type ClustermeshState struct { // Enable support for external workloads, such as VMs (Default: `false`). EnableExternalWorkloads pulumi.BoolPtrInput // Enable kvstoremesh, an extension which caches remote cluster information in the local kvstore (Cilium >=1.14 only) (Default: `false`). EnableKvStoreMesh pulumi.BoolPtrInput // Namespace in which to install (Default: `kube-system`). Namespace pulumi.StringPtrInput // Type of Kubernetes service to expose control plane { LoadBalancer | NodePort | ClusterIP } (Default: `autodetected`). ServiceType pulumi.StringPtrInput // Wait Cluster Mesh status is ok (Default: `true`). Wait pulumi.BoolPtrInput }
func (ClustermeshState) ElementType ¶
func (ClustermeshState) ElementType() reflect.Type
type Config ¶
type Config struct { pulumi.CustomResourceState // Key of the config Key pulumi.StringOutput `pulumi:"key"` // Namespace in which to install (Default: `kube-system`). Namespace pulumi.StringOutput `pulumi:"namespace"` // Restart Cilium pods (Default: `true`). Restart pulumi.BoolOutput `pulumi:"restart"` // Value of the key Value pulumi.StringOutput `pulumi:"value"` }
Config resource for Cilium. This is equivalent to cilium cli: `cilium config`: It manages the cilium Kubernetes ConfigMap resource
## Example Usage
```go package main
import (
"github.com/littlejo/pulumi-cilium/sdk/go/cilium" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := cilium.NewConfig(ctx, "example", &cilium.ConfigArgs{ Key: pulumi.String("debug"), Value: pulumi.String("true"), }) if err != nil { return err } return nil }) }
```
func GetConfig ¶
func GetConfig(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ConfigState, opts ...pulumi.ResourceOption) (*Config, error)
GetConfig gets an existing Config resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewConfig ¶
func NewConfig(ctx *pulumi.Context, name string, args *ConfigArgs, opts ...pulumi.ResourceOption) (*Config, error)
NewConfig registers a new resource with the given unique name, arguments, and options.
func (*Config) ElementType ¶
func (*Config) ToConfigOutput ¶
func (i *Config) ToConfigOutput() ConfigOutput
func (*Config) ToConfigOutputWithContext ¶
func (i *Config) ToConfigOutputWithContext(ctx context.Context) ConfigOutput
type ConfigArgs ¶
type ConfigArgs struct { // Key of the config Key pulumi.StringInput // Namespace in which to install (Default: `kube-system`). Namespace pulumi.StringPtrInput // Restart Cilium pods (Default: `true`). Restart pulumi.BoolPtrInput // Value of the key Value pulumi.StringInput }
The set of arguments for constructing a Config resource.
func (ConfigArgs) ElementType ¶
func (ConfigArgs) ElementType() reflect.Type
type ConfigArray ¶
type ConfigArray []ConfigInput
func (ConfigArray) ElementType ¶
func (ConfigArray) ElementType() reflect.Type
func (ConfigArray) ToConfigArrayOutput ¶
func (i ConfigArray) ToConfigArrayOutput() ConfigArrayOutput
func (ConfigArray) ToConfigArrayOutputWithContext ¶
func (i ConfigArray) ToConfigArrayOutputWithContext(ctx context.Context) ConfigArrayOutput
type ConfigArrayInput ¶
type ConfigArrayInput interface { pulumi.Input ToConfigArrayOutput() ConfigArrayOutput ToConfigArrayOutputWithContext(context.Context) ConfigArrayOutput }
ConfigArrayInput is an input type that accepts ConfigArray and ConfigArrayOutput values. You can construct a concrete instance of `ConfigArrayInput` via:
ConfigArray{ ConfigArgs{...} }
type ConfigArrayOutput ¶
type ConfigArrayOutput struct{ *pulumi.OutputState }
func (ConfigArrayOutput) ElementType ¶
func (ConfigArrayOutput) ElementType() reflect.Type
func (ConfigArrayOutput) Index ¶
func (o ConfigArrayOutput) Index(i pulumi.IntInput) ConfigOutput
func (ConfigArrayOutput) ToConfigArrayOutput ¶
func (o ConfigArrayOutput) ToConfigArrayOutput() ConfigArrayOutput
func (ConfigArrayOutput) ToConfigArrayOutputWithContext ¶
func (o ConfigArrayOutput) ToConfigArrayOutputWithContext(ctx context.Context) ConfigArrayOutput
type ConfigInput ¶
type ConfigInput interface { pulumi.Input ToConfigOutput() ConfigOutput ToConfigOutputWithContext(ctx context.Context) ConfigOutput }
type ConfigMap ¶
type ConfigMap map[string]ConfigInput
func (ConfigMap) ElementType ¶
func (ConfigMap) ToConfigMapOutput ¶
func (i ConfigMap) ToConfigMapOutput() ConfigMapOutput
func (ConfigMap) ToConfigMapOutputWithContext ¶
func (i ConfigMap) ToConfigMapOutputWithContext(ctx context.Context) ConfigMapOutput
type ConfigMapInput ¶
type ConfigMapInput interface { pulumi.Input ToConfigMapOutput() ConfigMapOutput ToConfigMapOutputWithContext(context.Context) ConfigMapOutput }
ConfigMapInput is an input type that accepts ConfigMap and ConfigMapOutput values. You can construct a concrete instance of `ConfigMapInput` via:
ConfigMap{ "key": ConfigArgs{...} }
type ConfigMapOutput ¶
type ConfigMapOutput struct{ *pulumi.OutputState }
func (ConfigMapOutput) ElementType ¶
func (ConfigMapOutput) ElementType() reflect.Type
func (ConfigMapOutput) MapIndex ¶
func (o ConfigMapOutput) MapIndex(k pulumi.StringInput) ConfigOutput
func (ConfigMapOutput) ToConfigMapOutput ¶
func (o ConfigMapOutput) ToConfigMapOutput() ConfigMapOutput
func (ConfigMapOutput) ToConfigMapOutputWithContext ¶
func (o ConfigMapOutput) ToConfigMapOutputWithContext(ctx context.Context) ConfigMapOutput
type ConfigOutput ¶
type ConfigOutput struct{ *pulumi.OutputState }
func (ConfigOutput) ElementType ¶
func (ConfigOutput) ElementType() reflect.Type
func (ConfigOutput) Namespace ¶
func (o ConfigOutput) Namespace() pulumi.StringOutput
Namespace in which to install (Default: `kube-system`).
func (ConfigOutput) Restart ¶
func (o ConfigOutput) Restart() pulumi.BoolOutput
Restart Cilium pods (Default: `true`).
func (ConfigOutput) ToConfigOutput ¶
func (o ConfigOutput) ToConfigOutput() ConfigOutput
func (ConfigOutput) ToConfigOutputWithContext ¶
func (o ConfigOutput) ToConfigOutputWithContext(ctx context.Context) ConfigOutput
type ConfigState ¶
type ConfigState struct { // Key of the config Key pulumi.StringPtrInput // Namespace in which to install (Default: `kube-system`). Namespace pulumi.StringPtrInput // Restart Cilium pods (Default: `true`). Restart pulumi.BoolPtrInput // Value of the key Value pulumi.StringPtrInput }
func (ConfigState) ElementType ¶
func (ConfigState) ElementType() reflect.Type
type GetHelmValuesArgs ¶
type GetHelmValuesArgs struct { // Namespace of cilium (Default: `kube-system`). Namespace *string `pulumi:"namespace"` // Helm release (Default: `Install`). Release *string `pulumi:"release"` }
A collection of arguments for invoking getHelmValues.
type GetHelmValuesOutputArgs ¶
type GetHelmValuesOutputArgs struct { // Namespace of cilium (Default: `kube-system`). Namespace pulumi.StringPtrInput `pulumi:"namespace"` // Helm release (Default: `Install`). Release pulumi.StringPtrInput `pulumi:"release"` }
A collection of arguments for invoking getHelmValues.
func (GetHelmValuesOutputArgs) ElementType ¶
func (GetHelmValuesOutputArgs) ElementType() reflect.Type
type GetHelmValuesResult ¶
type GetHelmValuesResult struct { // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // Namespace of cilium (Default: `kube-system`). Namespace *string `pulumi:"namespace"` // Helm release (Default: `Install`). Release *string `pulumi:"release"` // Yaml output Yaml string `pulumi:"yaml"` }
A collection of values returned by getHelmValues.
func GetHelmValues ¶
func GetHelmValues(ctx *pulumi.Context, args *GetHelmValuesArgs, opts ...pulumi.InvokeOption) (*GetHelmValuesResult, error)
Helm values of cilium
## Example Usage
```go package main
import (
"fmt" "github.com/littlejo/pulumi-cilium/sdk/go/cilium" "github.com/pulumi/pulumi-local/sdk/go/local" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { exampleHelmValues, err := cilium.GetHelmValues(ctx, nil, nil) if err != nil { return err } _, err = local.NewFile(ctx, "exampleFile", &local.FileArgs{ Content: *pulumi.String(exampleHelmValues.Yaml), Filename: pulumi.String(fmt.Sprintf("%v/values.yaml", path.Module)), }) if err != nil { return err } return nil }) }
```
type GetHelmValuesResultOutput ¶
type GetHelmValuesResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getHelmValues.
func GetHelmValuesOutput ¶
func GetHelmValuesOutput(ctx *pulumi.Context, args GetHelmValuesOutputArgs, opts ...pulumi.InvokeOption) GetHelmValuesResultOutput
func (GetHelmValuesResultOutput) ElementType ¶
func (GetHelmValuesResultOutput) ElementType() reflect.Type
func (GetHelmValuesResultOutput) Id ¶
func (o GetHelmValuesResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetHelmValuesResultOutput) Namespace ¶
func (o GetHelmValuesResultOutput) Namespace() pulumi.StringPtrOutput
Namespace of cilium (Default: `kube-system`).
func (GetHelmValuesResultOutput) Release ¶
func (o GetHelmValuesResultOutput) Release() pulumi.StringPtrOutput
Helm release (Default: `Install`).
func (GetHelmValuesResultOutput) ToGetHelmValuesResultOutput ¶
func (o GetHelmValuesResultOutput) ToGetHelmValuesResultOutput() GetHelmValuesResultOutput
func (GetHelmValuesResultOutput) ToGetHelmValuesResultOutputWithContext ¶
func (o GetHelmValuesResultOutput) ToGetHelmValuesResultOutputWithContext(ctx context.Context) GetHelmValuesResultOutput
func (GetHelmValuesResultOutput) Yaml ¶
func (o GetHelmValuesResultOutput) Yaml() pulumi.StringOutput
Yaml output
type Hubble ¶
type Hubble struct { pulumi.CustomResourceState // Namespace in which to install (Default: `kube-system`). Namespace pulumi.StringOutput `pulumi:"namespace"` // Deploy Hubble Relay (Default: `true`). Relay pulumi.BoolOutput `pulumi:"relay"` // Enable Hubble UI (Default: `false`). Ui pulumi.BoolOutput `pulumi:"ui"` }
Hubble resource for Cilium. This is equivalent to cilium cli: `cilium hubble`: It manages cilium hubble
## Example Usage
```go package main
import (
"github.com/littlejo/pulumi-cilium/sdk/go/cilium" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := cilium.NewHubble(ctx, "example", &cilium.HubbleArgs{ Ui: pulumi.Bool(true), }) if err != nil { return err } return nil }) }
```
func GetHubble ¶
func GetHubble(ctx *pulumi.Context, name string, id pulumi.IDInput, state *HubbleState, opts ...pulumi.ResourceOption) (*Hubble, error)
GetHubble gets an existing Hubble resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewHubble ¶
func NewHubble(ctx *pulumi.Context, name string, args *HubbleArgs, opts ...pulumi.ResourceOption) (*Hubble, error)
NewHubble registers a new resource with the given unique name, arguments, and options.
func (*Hubble) ElementType ¶
func (*Hubble) ToHubbleOutput ¶
func (i *Hubble) ToHubbleOutput() HubbleOutput
func (*Hubble) ToHubbleOutputWithContext ¶
func (i *Hubble) ToHubbleOutputWithContext(ctx context.Context) HubbleOutput
type HubbleArgs ¶
type HubbleArgs struct { // Namespace in which to install (Default: `kube-system`). Namespace pulumi.StringPtrInput // Deploy Hubble Relay (Default: `true`). Relay pulumi.BoolPtrInput // Enable Hubble UI (Default: `false`). Ui pulumi.BoolPtrInput }
The set of arguments for constructing a Hubble resource.
func (HubbleArgs) ElementType ¶
func (HubbleArgs) ElementType() reflect.Type
type HubbleArray ¶
type HubbleArray []HubbleInput
func (HubbleArray) ElementType ¶
func (HubbleArray) ElementType() reflect.Type
func (HubbleArray) ToHubbleArrayOutput ¶
func (i HubbleArray) ToHubbleArrayOutput() HubbleArrayOutput
func (HubbleArray) ToHubbleArrayOutputWithContext ¶
func (i HubbleArray) ToHubbleArrayOutputWithContext(ctx context.Context) HubbleArrayOutput
type HubbleArrayInput ¶
type HubbleArrayInput interface { pulumi.Input ToHubbleArrayOutput() HubbleArrayOutput ToHubbleArrayOutputWithContext(context.Context) HubbleArrayOutput }
HubbleArrayInput is an input type that accepts HubbleArray and HubbleArrayOutput values. You can construct a concrete instance of `HubbleArrayInput` via:
HubbleArray{ HubbleArgs{...} }
type HubbleArrayOutput ¶
type HubbleArrayOutput struct{ *pulumi.OutputState }
func (HubbleArrayOutput) ElementType ¶
func (HubbleArrayOutput) ElementType() reflect.Type
func (HubbleArrayOutput) Index ¶
func (o HubbleArrayOutput) Index(i pulumi.IntInput) HubbleOutput
func (HubbleArrayOutput) ToHubbleArrayOutput ¶
func (o HubbleArrayOutput) ToHubbleArrayOutput() HubbleArrayOutput
func (HubbleArrayOutput) ToHubbleArrayOutputWithContext ¶
func (o HubbleArrayOutput) ToHubbleArrayOutputWithContext(ctx context.Context) HubbleArrayOutput
type HubbleInput ¶
type HubbleInput interface { pulumi.Input ToHubbleOutput() HubbleOutput ToHubbleOutputWithContext(ctx context.Context) HubbleOutput }
type HubbleMap ¶
type HubbleMap map[string]HubbleInput
func (HubbleMap) ElementType ¶
func (HubbleMap) ToHubbleMapOutput ¶
func (i HubbleMap) ToHubbleMapOutput() HubbleMapOutput
func (HubbleMap) ToHubbleMapOutputWithContext ¶
func (i HubbleMap) ToHubbleMapOutputWithContext(ctx context.Context) HubbleMapOutput
type HubbleMapInput ¶
type HubbleMapInput interface { pulumi.Input ToHubbleMapOutput() HubbleMapOutput ToHubbleMapOutputWithContext(context.Context) HubbleMapOutput }
HubbleMapInput is an input type that accepts HubbleMap and HubbleMapOutput values. You can construct a concrete instance of `HubbleMapInput` via:
HubbleMap{ "key": HubbleArgs{...} }
type HubbleMapOutput ¶
type HubbleMapOutput struct{ *pulumi.OutputState }
func (HubbleMapOutput) ElementType ¶
func (HubbleMapOutput) ElementType() reflect.Type
func (HubbleMapOutput) MapIndex ¶
func (o HubbleMapOutput) MapIndex(k pulumi.StringInput) HubbleOutput
func (HubbleMapOutput) ToHubbleMapOutput ¶
func (o HubbleMapOutput) ToHubbleMapOutput() HubbleMapOutput
func (HubbleMapOutput) ToHubbleMapOutputWithContext ¶
func (o HubbleMapOutput) ToHubbleMapOutputWithContext(ctx context.Context) HubbleMapOutput
type HubbleOutput ¶
type HubbleOutput struct{ *pulumi.OutputState }
func (HubbleOutput) ElementType ¶
func (HubbleOutput) ElementType() reflect.Type
func (HubbleOutput) Namespace ¶
func (o HubbleOutput) Namespace() pulumi.StringOutput
Namespace in which to install (Default: `kube-system`).
func (HubbleOutput) Relay ¶
func (o HubbleOutput) Relay() pulumi.BoolOutput
Deploy Hubble Relay (Default: `true`).
func (HubbleOutput) ToHubbleOutput ¶
func (o HubbleOutput) ToHubbleOutput() HubbleOutput
func (HubbleOutput) ToHubbleOutputWithContext ¶
func (o HubbleOutput) ToHubbleOutputWithContext(ctx context.Context) HubbleOutput
func (HubbleOutput) Ui ¶
func (o HubbleOutput) Ui() pulumi.BoolOutput
Enable Hubble UI (Default: `false`).
type HubbleState ¶
type HubbleState struct { // Namespace in which to install (Default: `kube-system`). Namespace pulumi.StringPtrInput // Deploy Hubble Relay (Default: `true`). Relay pulumi.BoolPtrInput // Enable Hubble UI (Default: `false`). Ui pulumi.BoolPtrInput }
func (HubbleState) ElementType ¶
func (HubbleState) ElementType() reflect.Type
type Install ¶
type Install struct { pulumi.CustomResourceState // Datapath mode to use { tunnel | native | aws-eni | gke | azure | aks-byocni } (Default: `autodetected`). DataPath pulumi.StringOutput `pulumi:"dataPath"` // Namespace in which to install (Default: `kube-system`). Namespace pulumi.StringOutput `pulumi:"namespace"` // Helm chart repository to download Cilium charts from (Default: `https://helm.cilium.io`). Repository pulumi.StringOutput `pulumi:"repository"` // When upgrading, reset the helm values to the ones built into the chart (Default: `false`). Reset pulumi.BoolOutput `pulumi:"reset"` // When upgrading, reuse the helm values from the latest release unless any overrides from are set from other flags. This option takes precedence over HelmResetValues (Default: `true`). Reuse pulumi.BoolOutput `pulumi:"reuse"` // Set helm values on the command line (can specify multiple or separate values with commas: key1=val1,key2=val2 (Default: `[]`). Sets pulumi.StringArrayOutput `pulumi:"sets"` // values in raw yaml to pass to helm. (Default: `empty`). Values pulumi.StringOutput `pulumi:"values"` // Version of Cilium (Default: `v1.14.5`). Version pulumi.StringOutput `pulumi:"version"` // Wait for Cilium status is ok (Default: `true`). Wait pulumi.BoolOutput `pulumi:"wait"` }
Install resource for Cilium. This is equivalent to cilium cli: `cilium install`, `cilium upgrade` and `cilium uninstall`: It manages cilium helm chart
## Example Usage
```go package main
import (
"github.com/littlejo/pulumi-cilium/sdk/go/cilium" "github.com/pulumi/pulumi-kind/sdk/v1/go/kind" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := index.NewKind_cluster(ctx, "examplekind_cluster", &index.Kind_clusterArgs{ Name: "test-cluster", KindConfig: []map[string]interface{}{ map[string]interface{}{ "kind": "Cluster", "apiVersion": "kind.x-k8s.io/v1alpha4", "node": []map[string]interface{}{ map[string]interface{}{ "role": "control-plane", }, map[string]interface{}{ "role": "worker", }, }, "networking": []map[string]interface{}{ map[string]interface{}{ "disableDefaultCni": true, }, }, }, }, }) if err != nil { return err } _, err = cilium.NewInstall(ctx, "exampleInstall", &cilium.InstallArgs{ Sets: pulumi.StringArray{ pulumi.String("ipam.mode=kubernetes"), pulumi.String("ipam.operator.replicas=1"), pulumi.String("tunnel=vxlan"), }, Version: pulumi.String("1.14.5"), }) if err != nil { return err } return nil }) }
```
func GetInstall ¶
func GetInstall(ctx *pulumi.Context, name string, id pulumi.IDInput, state *InstallState, opts ...pulumi.ResourceOption) (*Install, error)
GetInstall gets an existing Install resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewInstall ¶
func NewInstall(ctx *pulumi.Context, name string, args *InstallArgs, opts ...pulumi.ResourceOption) (*Install, error)
NewInstall registers a new resource with the given unique name, arguments, and options.
func (*Install) ElementType ¶
func (*Install) ToInstallOutput ¶
func (i *Install) ToInstallOutput() InstallOutput
func (*Install) ToInstallOutputWithContext ¶
func (i *Install) ToInstallOutputWithContext(ctx context.Context) InstallOutput
type InstallArgs ¶
type InstallArgs struct { // Datapath mode to use { tunnel | native | aws-eni | gke | azure | aks-byocni } (Default: `autodetected`). DataPath pulumi.StringPtrInput // Namespace in which to install (Default: `kube-system`). Namespace pulumi.StringPtrInput // Helm chart repository to download Cilium charts from (Default: `https://helm.cilium.io`). Repository pulumi.StringPtrInput // When upgrading, reset the helm values to the ones built into the chart (Default: `false`). Reset pulumi.BoolPtrInput // When upgrading, reuse the helm values from the latest release unless any overrides from are set from other flags. This option takes precedence over HelmResetValues (Default: `true`). Reuse pulumi.BoolPtrInput // Set helm values on the command line (can specify multiple or separate values with commas: key1=val1,key2=val2 (Default: `[]`). Sets pulumi.StringArrayInput // values in raw yaml to pass to helm. (Default: `empty`). Values pulumi.StringPtrInput // Version of Cilium (Default: `v1.14.5`). Version pulumi.StringPtrInput // Wait for Cilium status is ok (Default: `true`). Wait pulumi.BoolPtrInput }
The set of arguments for constructing a Install resource.
func (InstallArgs) ElementType ¶
func (InstallArgs) ElementType() reflect.Type
type InstallArray ¶
type InstallArray []InstallInput
func (InstallArray) ElementType ¶
func (InstallArray) ElementType() reflect.Type
func (InstallArray) ToInstallArrayOutput ¶
func (i InstallArray) ToInstallArrayOutput() InstallArrayOutput
func (InstallArray) ToInstallArrayOutputWithContext ¶
func (i InstallArray) ToInstallArrayOutputWithContext(ctx context.Context) InstallArrayOutput
type InstallArrayInput ¶
type InstallArrayInput interface { pulumi.Input ToInstallArrayOutput() InstallArrayOutput ToInstallArrayOutputWithContext(context.Context) InstallArrayOutput }
InstallArrayInput is an input type that accepts InstallArray and InstallArrayOutput values. You can construct a concrete instance of `InstallArrayInput` via:
InstallArray{ InstallArgs{...} }
type InstallArrayOutput ¶
type InstallArrayOutput struct{ *pulumi.OutputState }
func (InstallArrayOutput) ElementType ¶
func (InstallArrayOutput) ElementType() reflect.Type
func (InstallArrayOutput) Index ¶
func (o InstallArrayOutput) Index(i pulumi.IntInput) InstallOutput
func (InstallArrayOutput) ToInstallArrayOutput ¶
func (o InstallArrayOutput) ToInstallArrayOutput() InstallArrayOutput
func (InstallArrayOutput) ToInstallArrayOutputWithContext ¶
func (o InstallArrayOutput) ToInstallArrayOutputWithContext(ctx context.Context) InstallArrayOutput
type InstallInput ¶
type InstallInput interface { pulumi.Input ToInstallOutput() InstallOutput ToInstallOutputWithContext(ctx context.Context) InstallOutput }
type InstallMap ¶
type InstallMap map[string]InstallInput
func (InstallMap) ElementType ¶
func (InstallMap) ElementType() reflect.Type
func (InstallMap) ToInstallMapOutput ¶
func (i InstallMap) ToInstallMapOutput() InstallMapOutput
func (InstallMap) ToInstallMapOutputWithContext ¶
func (i InstallMap) ToInstallMapOutputWithContext(ctx context.Context) InstallMapOutput
type InstallMapInput ¶
type InstallMapInput interface { pulumi.Input ToInstallMapOutput() InstallMapOutput ToInstallMapOutputWithContext(context.Context) InstallMapOutput }
InstallMapInput is an input type that accepts InstallMap and InstallMapOutput values. You can construct a concrete instance of `InstallMapInput` via:
InstallMap{ "key": InstallArgs{...} }
type InstallMapOutput ¶
type InstallMapOutput struct{ *pulumi.OutputState }
func (InstallMapOutput) ElementType ¶
func (InstallMapOutput) ElementType() reflect.Type
func (InstallMapOutput) MapIndex ¶
func (o InstallMapOutput) MapIndex(k pulumi.StringInput) InstallOutput
func (InstallMapOutput) ToInstallMapOutput ¶
func (o InstallMapOutput) ToInstallMapOutput() InstallMapOutput
func (InstallMapOutput) ToInstallMapOutputWithContext ¶
func (o InstallMapOutput) ToInstallMapOutputWithContext(ctx context.Context) InstallMapOutput
type InstallOutput ¶
type InstallOutput struct{ *pulumi.OutputState }
func (InstallOutput) DataPath ¶
func (o InstallOutput) DataPath() pulumi.StringOutput
Datapath mode to use { tunnel | native | aws-eni | gke | azure | aks-byocni } (Default: `autodetected`).
func (InstallOutput) ElementType ¶
func (InstallOutput) ElementType() reflect.Type
func (InstallOutput) Namespace ¶
func (o InstallOutput) Namespace() pulumi.StringOutput
Namespace in which to install (Default: `kube-system`).
func (InstallOutput) Repository ¶
func (o InstallOutput) Repository() pulumi.StringOutput
Helm chart repository to download Cilium charts from (Default: `https://helm.cilium.io`).
func (InstallOutput) Reset ¶
func (o InstallOutput) Reset() pulumi.BoolOutput
When upgrading, reset the helm values to the ones built into the chart (Default: `false`).
func (InstallOutput) Reuse ¶
func (o InstallOutput) Reuse() pulumi.BoolOutput
When upgrading, reuse the helm values from the latest release unless any overrides from are set from other flags. This option takes precedence over HelmResetValues (Default: `true`).
func (InstallOutput) Sets ¶
func (o InstallOutput) Sets() pulumi.StringArrayOutput
Set helm values on the command line (can specify multiple or separate values with commas: key1=val1,key2=val2 (Default: `[]`).
func (InstallOutput) ToInstallOutput ¶
func (o InstallOutput) ToInstallOutput() InstallOutput
func (InstallOutput) ToInstallOutputWithContext ¶
func (o InstallOutput) ToInstallOutputWithContext(ctx context.Context) InstallOutput
func (InstallOutput) Values ¶
func (o InstallOutput) Values() pulumi.StringOutput
values in raw yaml to pass to helm. (Default: `empty`).
func (InstallOutput) Version ¶
func (o InstallOutput) Version() pulumi.StringOutput
Version of Cilium (Default: `v1.14.5`).
func (InstallOutput) Wait ¶
func (o InstallOutput) Wait() pulumi.BoolOutput
Wait for Cilium status is ok (Default: `true`).
type InstallState ¶
type InstallState struct { // Datapath mode to use { tunnel | native | aws-eni | gke | azure | aks-byocni } (Default: `autodetected`). DataPath pulumi.StringPtrInput // Namespace in which to install (Default: `kube-system`). Namespace pulumi.StringPtrInput // Helm chart repository to download Cilium charts from (Default: `https://helm.cilium.io`). Repository pulumi.StringPtrInput // When upgrading, reset the helm values to the ones built into the chart (Default: `false`). Reset pulumi.BoolPtrInput // When upgrading, reuse the helm values from the latest release unless any overrides from are set from other flags. This option takes precedence over HelmResetValues (Default: `true`). Reuse pulumi.BoolPtrInput // Set helm values on the command line (can specify multiple or separate values with commas: key1=val1,key2=val2 (Default: `[]`). Sets pulumi.StringArrayInput // values in raw yaml to pass to helm. (Default: `empty`). Values pulumi.StringPtrInput // Version of Cilium (Default: `v1.14.5`). Version pulumi.StringPtrInput // Wait for Cilium status is ok (Default: `true`). Wait pulumi.BoolPtrInput }
func (InstallState) ElementType ¶
func (InstallState) ElementType() reflect.Type
type KubeproxyFree ¶
type KubeproxyFree struct { pulumi.CustomResourceState // Name of DaemonSet (Default: `kube-proxy`). Name pulumi.StringOutput `pulumi:"name"` // Namespace in which to install (Default: `kube-system`). Namespace pulumi.StringOutput `pulumi:"namespace"` }
Disable Kube-Proxy DaemonSet, equivalent to: `kubectl -n kube-system patch daemonset kube-proxy -p '"spec": {"template": {"spec": {"nodeSelector": {"non-existing": "true"}}}}'`.
func GetKubeproxyFree ¶
func GetKubeproxyFree(ctx *pulumi.Context, name string, id pulumi.IDInput, state *KubeproxyFreeState, opts ...pulumi.ResourceOption) (*KubeproxyFree, error)
GetKubeproxyFree gets an existing KubeproxyFree resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewKubeproxyFree ¶
func NewKubeproxyFree(ctx *pulumi.Context, name string, args *KubeproxyFreeArgs, opts ...pulumi.ResourceOption) (*KubeproxyFree, error)
NewKubeproxyFree registers a new resource with the given unique name, arguments, and options.
func (*KubeproxyFree) ElementType ¶
func (*KubeproxyFree) ElementType() reflect.Type
func (*KubeproxyFree) ToKubeproxyFreeOutput ¶
func (i *KubeproxyFree) ToKubeproxyFreeOutput() KubeproxyFreeOutput
func (*KubeproxyFree) ToKubeproxyFreeOutputWithContext ¶
func (i *KubeproxyFree) ToKubeproxyFreeOutputWithContext(ctx context.Context) KubeproxyFreeOutput
type KubeproxyFreeArgs ¶
type KubeproxyFreeArgs struct { // Name of DaemonSet (Default: `kube-proxy`). Name pulumi.StringPtrInput // Namespace in which to install (Default: `kube-system`). Namespace pulumi.StringPtrInput }
The set of arguments for constructing a KubeproxyFree resource.
func (KubeproxyFreeArgs) ElementType ¶
func (KubeproxyFreeArgs) ElementType() reflect.Type
type KubeproxyFreeArray ¶
type KubeproxyFreeArray []KubeproxyFreeInput
func (KubeproxyFreeArray) ElementType ¶
func (KubeproxyFreeArray) ElementType() reflect.Type
func (KubeproxyFreeArray) ToKubeproxyFreeArrayOutput ¶
func (i KubeproxyFreeArray) ToKubeproxyFreeArrayOutput() KubeproxyFreeArrayOutput
func (KubeproxyFreeArray) ToKubeproxyFreeArrayOutputWithContext ¶
func (i KubeproxyFreeArray) ToKubeproxyFreeArrayOutputWithContext(ctx context.Context) KubeproxyFreeArrayOutput
type KubeproxyFreeArrayInput ¶
type KubeproxyFreeArrayInput interface { pulumi.Input ToKubeproxyFreeArrayOutput() KubeproxyFreeArrayOutput ToKubeproxyFreeArrayOutputWithContext(context.Context) KubeproxyFreeArrayOutput }
KubeproxyFreeArrayInput is an input type that accepts KubeproxyFreeArray and KubeproxyFreeArrayOutput values. You can construct a concrete instance of `KubeproxyFreeArrayInput` via:
KubeproxyFreeArray{ KubeproxyFreeArgs{...} }
type KubeproxyFreeArrayOutput ¶
type KubeproxyFreeArrayOutput struct{ *pulumi.OutputState }
func (KubeproxyFreeArrayOutput) ElementType ¶
func (KubeproxyFreeArrayOutput) ElementType() reflect.Type
func (KubeproxyFreeArrayOutput) Index ¶
func (o KubeproxyFreeArrayOutput) Index(i pulumi.IntInput) KubeproxyFreeOutput
func (KubeproxyFreeArrayOutput) ToKubeproxyFreeArrayOutput ¶
func (o KubeproxyFreeArrayOutput) ToKubeproxyFreeArrayOutput() KubeproxyFreeArrayOutput
func (KubeproxyFreeArrayOutput) ToKubeproxyFreeArrayOutputWithContext ¶
func (o KubeproxyFreeArrayOutput) ToKubeproxyFreeArrayOutputWithContext(ctx context.Context) KubeproxyFreeArrayOutput
type KubeproxyFreeInput ¶
type KubeproxyFreeInput interface { pulumi.Input ToKubeproxyFreeOutput() KubeproxyFreeOutput ToKubeproxyFreeOutputWithContext(ctx context.Context) KubeproxyFreeOutput }
type KubeproxyFreeMap ¶
type KubeproxyFreeMap map[string]KubeproxyFreeInput
func (KubeproxyFreeMap) ElementType ¶
func (KubeproxyFreeMap) ElementType() reflect.Type
func (KubeproxyFreeMap) ToKubeproxyFreeMapOutput ¶
func (i KubeproxyFreeMap) ToKubeproxyFreeMapOutput() KubeproxyFreeMapOutput
func (KubeproxyFreeMap) ToKubeproxyFreeMapOutputWithContext ¶
func (i KubeproxyFreeMap) ToKubeproxyFreeMapOutputWithContext(ctx context.Context) KubeproxyFreeMapOutput
type KubeproxyFreeMapInput ¶
type KubeproxyFreeMapInput interface { pulumi.Input ToKubeproxyFreeMapOutput() KubeproxyFreeMapOutput ToKubeproxyFreeMapOutputWithContext(context.Context) KubeproxyFreeMapOutput }
KubeproxyFreeMapInput is an input type that accepts KubeproxyFreeMap and KubeproxyFreeMapOutput values. You can construct a concrete instance of `KubeproxyFreeMapInput` via:
KubeproxyFreeMap{ "key": KubeproxyFreeArgs{...} }
type KubeproxyFreeMapOutput ¶
type KubeproxyFreeMapOutput struct{ *pulumi.OutputState }
func (KubeproxyFreeMapOutput) ElementType ¶
func (KubeproxyFreeMapOutput) ElementType() reflect.Type
func (KubeproxyFreeMapOutput) MapIndex ¶
func (o KubeproxyFreeMapOutput) MapIndex(k pulumi.StringInput) KubeproxyFreeOutput
func (KubeproxyFreeMapOutput) ToKubeproxyFreeMapOutput ¶
func (o KubeproxyFreeMapOutput) ToKubeproxyFreeMapOutput() KubeproxyFreeMapOutput
func (KubeproxyFreeMapOutput) ToKubeproxyFreeMapOutputWithContext ¶
func (o KubeproxyFreeMapOutput) ToKubeproxyFreeMapOutputWithContext(ctx context.Context) KubeproxyFreeMapOutput
type KubeproxyFreeOutput ¶
type KubeproxyFreeOutput struct{ *pulumi.OutputState }
func (KubeproxyFreeOutput) ElementType ¶
func (KubeproxyFreeOutput) ElementType() reflect.Type
func (KubeproxyFreeOutput) Name ¶
func (o KubeproxyFreeOutput) Name() pulumi.StringOutput
Name of DaemonSet (Default: `kube-proxy`).
func (KubeproxyFreeOutput) Namespace ¶
func (o KubeproxyFreeOutput) Namespace() pulumi.StringOutput
Namespace in which to install (Default: `kube-system`).
func (KubeproxyFreeOutput) ToKubeproxyFreeOutput ¶
func (o KubeproxyFreeOutput) ToKubeproxyFreeOutput() KubeproxyFreeOutput
func (KubeproxyFreeOutput) ToKubeproxyFreeOutputWithContext ¶
func (o KubeproxyFreeOutput) ToKubeproxyFreeOutputWithContext(ctx context.Context) KubeproxyFreeOutput
type KubeproxyFreeState ¶
type KubeproxyFreeState struct { // Name of DaemonSet (Default: `kube-proxy`). Name pulumi.StringPtrInput // Namespace in which to install (Default: `kube-system`). Namespace pulumi.StringPtrInput }
func (KubeproxyFreeState) ElementType ¶
func (KubeproxyFreeState) ElementType() reflect.Type
type Provider ¶
type Provider struct { pulumi.ProviderResourceState // A path to a kube config file (Default: `~/.kube/config`). ConfigPath pulumi.StringPtrOutput `pulumi:"configPath"` // Context of kubeconfig file (Default: `default context`). Context pulumi.StringPtrOutput `pulumi:"context"` // Namespace to install cilium (Default: `kube-system`). Namespace pulumi.StringPtrOutput `pulumi:"namespace"` }
The provider type for the cilium package. By default, resources use package-wide configuration settings, however an explicit `Provider` instance may be created and passed during resource construction to achieve fine-grained programmatic control over provider settings. See the [documentation](https://www.pulumi.com/docs/reference/programming-model/#providers) for more information.
func NewProvider ¶
func NewProvider(ctx *pulumi.Context, name string, args *ProviderArgs, opts ...pulumi.ResourceOption) (*Provider, error)
NewProvider registers a new resource with the given unique name, arguments, and options.
func (*Provider) ElementType ¶
func (*Provider) ToProviderOutput ¶
func (i *Provider) ToProviderOutput() ProviderOutput
func (*Provider) ToProviderOutputWithContext ¶
func (i *Provider) ToProviderOutputWithContext(ctx context.Context) ProviderOutput
type ProviderArgs ¶
type ProviderArgs struct { // A path to a kube config file (Default: `~/.kube/config`). ConfigPath pulumi.StringPtrInput // Context of kubeconfig file (Default: `default context`). Context pulumi.StringPtrInput // Namespace to install cilium (Default: `kube-system`). Namespace pulumi.StringPtrInput }
The set of arguments for constructing a Provider resource.
func (ProviderArgs) ElementType ¶
func (ProviderArgs) ElementType() reflect.Type
type ProviderInput ¶
type ProviderInput interface { pulumi.Input ToProviderOutput() ProviderOutput ToProviderOutputWithContext(ctx context.Context) ProviderOutput }
type ProviderOutput ¶
type ProviderOutput struct{ *pulumi.OutputState }
func (ProviderOutput) ConfigPath ¶
func (o ProviderOutput) ConfigPath() pulumi.StringPtrOutput
A path to a kube config file (Default: `~/.kube/config`).
func (ProviderOutput) Context ¶
func (o ProviderOutput) Context() pulumi.StringPtrOutput
Context of kubeconfig file (Default: `default context`).
func (ProviderOutput) ElementType ¶
func (ProviderOutput) ElementType() reflect.Type
func (ProviderOutput) Namespace ¶
func (o ProviderOutput) Namespace() pulumi.StringPtrOutput
Namespace to install cilium (Default: `kube-system`).
func (ProviderOutput) ToProviderOutput ¶
func (o ProviderOutput) ToProviderOutput() ProviderOutput
func (ProviderOutput) ToProviderOutputWithContext ¶
func (o ProviderOutput) ToProviderOutputWithContext(ctx context.Context) ProviderOutput