1. Packages
  2. Cilium
  3. API Docs
  4. Deploy
Cilium v0.1.7 published on Sunday, Sep 29, 2024 by littlejo

cilium.Deploy

Explore with Pulumi AI

Create Deploy Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new Deploy(name: string, args?: DeployArgs, opts?: CustomResourceOptions);
@overload
def Deploy(resource_name: str,
           args: Optional[DeployArgs] = None,
           opts: Optional[ResourceOptions] = None)

@overload
def Deploy(resource_name: str,
           opts: Optional[ResourceOptions] = None,
           data_path: Optional[str] = None,
           repository: Optional[str] = None,
           reset: Optional[bool] = None,
           reuse: Optional[bool] = None,
           sets: Optional[Sequence[str]] = None,
           values: Optional[str] = None,
           version: Optional[str] = None,
           wait: Optional[bool] = None)
func NewDeploy(ctx *Context, name string, args *DeployArgs, opts ...ResourceOption) (*Deploy, error)
public Deploy(string name, DeployArgs? args = null, CustomResourceOptions? opts = null)
public Deploy(String name, DeployArgs args)
public Deploy(String name, DeployArgs args, CustomResourceOptions options)
type: cilium:Deploy
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args DeployArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args DeployArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args DeployArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args DeployArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. DeployArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

Constructor example

The following reference example uses placeholder values for all input properties.

var deployResource = new Cilium.Deploy("deployResource", new()
{
    DataPath = "string",
    Repository = "string",
    Reset = false,
    Reuse = false,
    Sets = new[]
    {
        "string",
    },
    Values = "string",
    Version = "string",
    Wait = false,
});
Copy
example, err := cilium.NewDeploy(ctx, "deployResource", &cilium.DeployArgs{
	DataPath:   pulumi.String("string"),
	Repository: pulumi.String("string"),
	Reset:      pulumi.Bool(false),
	Reuse:      pulumi.Bool(false),
	Sets: pulumi.StringArray{
		pulumi.String("string"),
	},
	Values:  pulumi.String("string"),
	Version: pulumi.String("string"),
	Wait:    pulumi.Bool(false),
})
Copy
var deployResource = new Deploy("deployResource", DeployArgs.builder()
    .dataPath("string")
    .repository("string")
    .reset(false)
    .reuse(false)
    .sets("string")
    .values("string")
    .version("string")
    .wait(false)
    .build());
Copy
deploy_resource = cilium.Deploy("deployResource",
    data_path="string",
    repository="string",
    reset=False,
    reuse=False,
    sets=["string"],
    values="string",
    version="string",
    wait=False)
Copy
const deployResource = new cilium.Deploy("deployResource", {
    dataPath: "string",
    repository: "string",
    reset: false,
    reuse: false,
    sets: ["string"],
    values: "string",
    version: "string",
    wait: false,
});
Copy
type: cilium:Deploy
properties:
    dataPath: string
    repository: string
    reset: false
    reuse: false
    sets:
        - string
    values: string
    version: string
    wait: false
Copy

Deploy Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

The Deploy resource accepts the following input properties:

DataPath string
Datapath mode to use { tunnel | native | aws-eni | gke | azure | aks-byocni } (Default: autodetected).
Repository string
Helm chart repository to download Cilium charts from (Default: https://helm.cilium.io).
Reset bool
When upgrading, reset the helm values to the ones built into the chart (Default: false).
Reuse bool
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).
Sets List<string>
Set helm values on the command line (can specify multiple or separate values with commas: key1=val1,key2=val2 (Default: []).
Values string
values in raw yaml to pass to helm. (Default: empty).
Version string
Version of Cilium (Default: ``).
Wait bool
Wait for Cilium status is ok (Default: true).
DataPath string
Datapath mode to use { tunnel | native | aws-eni | gke | azure | aks-byocni } (Default: autodetected).
Repository string
Helm chart repository to download Cilium charts from (Default: https://helm.cilium.io).
Reset bool
When upgrading, reset the helm values to the ones built into the chart (Default: false).
Reuse bool
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).
Sets []string
Set helm values on the command line (can specify multiple or separate values with commas: key1=val1,key2=val2 (Default: []).
Values string
values in raw yaml to pass to helm. (Default: empty).
Version string
Version of Cilium (Default: ``).
Wait bool
Wait for Cilium status is ok (Default: true).
dataPath String
Datapath mode to use { tunnel | native | aws-eni | gke | azure | aks-byocni } (Default: autodetected).
repository String
Helm chart repository to download Cilium charts from (Default: https://helm.cilium.io).
reset Boolean
When upgrading, reset the helm values to the ones built into the chart (Default: false).
reuse Boolean
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).
sets List<String>
Set helm values on the command line (can specify multiple or separate values with commas: key1=val1,key2=val2 (Default: []).
values String
values in raw yaml to pass to helm. (Default: empty).
version String
Version of Cilium (Default: ``).
wait_ Boolean
Wait for Cilium status is ok (Default: true).
dataPath string
Datapath mode to use { tunnel | native | aws-eni | gke | azure | aks-byocni } (Default: autodetected).
repository string
Helm chart repository to download Cilium charts from (Default: https://helm.cilium.io).
reset boolean
When upgrading, reset the helm values to the ones built into the chart (Default: false).
reuse boolean
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).
sets string[]
Set helm values on the command line (can specify multiple or separate values with commas: key1=val1,key2=val2 (Default: []).
values string
values in raw yaml to pass to helm. (Default: empty).
version string
Version of Cilium (Default: ``).
wait boolean
Wait for Cilium status is ok (Default: true).
data_path str
Datapath mode to use { tunnel | native | aws-eni | gke | azure | aks-byocni } (Default: autodetected).
repository str
Helm chart repository to download Cilium charts from (Default: https://helm.cilium.io).
reset bool
When upgrading, reset the helm values to the ones built into the chart (Default: false).
reuse bool
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).
sets Sequence[str]
Set helm values on the command line (can specify multiple or separate values with commas: key1=val1,key2=val2 (Default: []).
values str
values in raw yaml to pass to helm. (Default: empty).
version str
Version of Cilium (Default: ``).
wait bool
Wait for Cilium status is ok (Default: true).
dataPath String
Datapath mode to use { tunnel | native | aws-eni | gke | azure | aks-byocni } (Default: autodetected).
repository String
Helm chart repository to download Cilium charts from (Default: https://helm.cilium.io).
reset Boolean
When upgrading, reset the helm values to the ones built into the chart (Default: false).
reuse Boolean
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).
sets List<String>
Set helm values on the command line (can specify multiple or separate values with commas: key1=val1,key2=val2 (Default: []).
values String
values in raw yaml to pass to helm. (Default: empty).
version String
Version of Cilium (Default: ``).
wait Boolean
Wait for Cilium status is ok (Default: true).

Outputs

All input properties are implicitly available as output properties. Additionally, the Deploy resource produces the following output properties:

HelmValues string
Helm values (helm get values -n kube-system cilium)
Id string
The provider-assigned unique ID for this managed resource.
HelmValues string
Helm values (helm get values -n kube-system cilium)
Id string
The provider-assigned unique ID for this managed resource.
helmValues String
Helm values (helm get values -n kube-system cilium)
id String
The provider-assigned unique ID for this managed resource.
helmValues string
Helm values (helm get values -n kube-system cilium)
id string
The provider-assigned unique ID for this managed resource.
helm_values str
Helm values (helm get values -n kube-system cilium)
id str
The provider-assigned unique ID for this managed resource.
helmValues String
Helm values (helm get values -n kube-system cilium)
id String
The provider-assigned unique ID for this managed resource.

Look up Existing Deploy Resource

Get an existing Deploy resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

public static get(name: string, id: Input<ID>, state?: DeployState, opts?: CustomResourceOptions): Deploy
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        data_path: Optional[str] = None,
        helm_values: Optional[str] = None,
        repository: Optional[str] = None,
        reset: Optional[bool] = None,
        reuse: Optional[bool] = None,
        sets: Optional[Sequence[str]] = None,
        values: Optional[str] = None,
        version: Optional[str] = None,
        wait: Optional[bool] = None) -> Deploy
func GetDeploy(ctx *Context, name string, id IDInput, state *DeployState, opts ...ResourceOption) (*Deploy, error)
public static Deploy Get(string name, Input<string> id, DeployState? state, CustomResourceOptions? opts = null)
public static Deploy get(String name, Output<String> id, DeployState state, CustomResourceOptions options)
resources:  _:    type: cilium:Deploy    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
The following state arguments are supported:
DataPath string
Datapath mode to use { tunnel | native | aws-eni | gke | azure | aks-byocni } (Default: autodetected).
HelmValues string
Helm values (helm get values -n kube-system cilium)
Repository string
Helm chart repository to download Cilium charts from (Default: https://helm.cilium.io).
Reset bool
When upgrading, reset the helm values to the ones built into the chart (Default: false).
Reuse bool
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).
Sets List<string>
Set helm values on the command line (can specify multiple or separate values with commas: key1=val1,key2=val2 (Default: []).
Values string
values in raw yaml to pass to helm. (Default: empty).
Version string
Version of Cilium (Default: ``).
Wait bool
Wait for Cilium status is ok (Default: true).
DataPath string
Datapath mode to use { tunnel | native | aws-eni | gke | azure | aks-byocni } (Default: autodetected).
HelmValues string
Helm values (helm get values -n kube-system cilium)
Repository string
Helm chart repository to download Cilium charts from (Default: https://helm.cilium.io).
Reset bool
When upgrading, reset the helm values to the ones built into the chart (Default: false).
Reuse bool
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).
Sets []string
Set helm values on the command line (can specify multiple or separate values with commas: key1=val1,key2=val2 (Default: []).
Values string
values in raw yaml to pass to helm. (Default: empty).
Version string
Version of Cilium (Default: ``).
Wait bool
Wait for Cilium status is ok (Default: true).
dataPath String
Datapath mode to use { tunnel | native | aws-eni | gke | azure | aks-byocni } (Default: autodetected).
helmValues String
Helm values (helm get values -n kube-system cilium)
repository String
Helm chart repository to download Cilium charts from (Default: https://helm.cilium.io).
reset Boolean
When upgrading, reset the helm values to the ones built into the chart (Default: false).
reuse Boolean
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).
sets List<String>
Set helm values on the command line (can specify multiple or separate values with commas: key1=val1,key2=val2 (Default: []).
values String
values in raw yaml to pass to helm. (Default: empty).
version String
Version of Cilium (Default: ``).
wait_ Boolean
Wait for Cilium status is ok (Default: true).
dataPath string
Datapath mode to use { tunnel | native | aws-eni | gke | azure | aks-byocni } (Default: autodetected).
helmValues string
Helm values (helm get values -n kube-system cilium)
repository string
Helm chart repository to download Cilium charts from (Default: https://helm.cilium.io).
reset boolean
When upgrading, reset the helm values to the ones built into the chart (Default: false).
reuse boolean
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).
sets string[]
Set helm values on the command line (can specify multiple or separate values with commas: key1=val1,key2=val2 (Default: []).
values string
values in raw yaml to pass to helm. (Default: empty).
version string
Version of Cilium (Default: ``).
wait boolean
Wait for Cilium status is ok (Default: true).
data_path str
Datapath mode to use { tunnel | native | aws-eni | gke | azure | aks-byocni } (Default: autodetected).
helm_values str
Helm values (helm get values -n kube-system cilium)
repository str
Helm chart repository to download Cilium charts from (Default: https://helm.cilium.io).
reset bool
When upgrading, reset the helm values to the ones built into the chart (Default: false).
reuse bool
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).
sets Sequence[str]
Set helm values on the command line (can specify multiple or separate values with commas: key1=val1,key2=val2 (Default: []).
values str
values in raw yaml to pass to helm. (Default: empty).
version str
Version of Cilium (Default: ``).
wait bool
Wait for Cilium status is ok (Default: true).
dataPath String
Datapath mode to use { tunnel | native | aws-eni | gke | azure | aks-byocni } (Default: autodetected).
helmValues String
Helm values (helm get values -n kube-system cilium)
repository String
Helm chart repository to download Cilium charts from (Default: https://helm.cilium.io).
reset Boolean
When upgrading, reset the helm values to the ones built into the chart (Default: false).
reuse Boolean
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).
sets List<String>
Set helm values on the command line (can specify multiple or separate values with commas: key1=val1,key2=val2 (Default: []).
values String
values in raw yaml to pass to helm. (Default: empty).
version String
Version of Cilium (Default: ``).
wait Boolean
Wait for Cilium status is ok (Default: true).

Package Details

Repository
cilium littlejo/pulumi-cilium
License
Apache-2.0
Notes
This Pulumi package is based on the cilium Terraform Provider.