harness.cloudprovider.Kubernetes
Explore with Pulumi AI
Resource for creating a Kubernetes cloud provider. This resource uses the config-as-code API’s. When updating the name
or path
of this resource you should typically also set the create_before_destroy = true
lifecycle setting.
Example Usage
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Harness = Lbrlabs.PulumiPackage.Harness;
using Harness = Pulumi.Harness;
return await Deployment.RunAsync(() =>
{
var @default = Harness.GetSecretManager.Invoke(new()
{
Default = true,
});
var username = new Harness.EncryptedText("username", new()
{
Value = "<USERNAME>",
SecretManagerId = @default.Apply(@default => @default.Apply(getSecretManagerResult => getSecretManagerResult.Id)),
});
var password = new Harness.EncryptedText("password", new()
{
Value = "<PASSWORD>",
SecretManagerId = @default.Apply(@default => @default.Apply(getSecretManagerResult => getSecretManagerResult.Id)),
});
var example = new Harness.Cloudprovider.Kubernetes("example", new()
{
SkipValidation = true,
Authentication = new Harness.Cloudprovider.Inputs.KubernetesAuthenticationArgs
{
UsernamePassword = new Harness.Cloudprovider.Inputs.KubernetesAuthenticationUsernamePasswordArgs
{
MasterUrl = "https://localhost.com",
UsernameSecretName = username.Name,
PasswordSecretName = password.Name,
},
},
});
});
package main
import (
"github.com/lbrlabs/pulumi-harness/sdk/go/harness"
"github.com/lbrlabs/pulumi-harness/sdk/go/harness/cloudprovider"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_default, err := harness.GetSecretManager(ctx, &harness.GetSecretManagerArgs{
Default: pulumi.BoolRef(true),
}, nil)
if err != nil {
return err
}
username, err := harness.NewEncryptedText(ctx, "username", &harness.EncryptedTextArgs{
Value: pulumi.String("<USERNAME>"),
SecretManagerId: *pulumi.String(_default.Id),
})
if err != nil {
return err
}
password, err := harness.NewEncryptedText(ctx, "password", &harness.EncryptedTextArgs{
Value: pulumi.String("<PASSWORD>"),
SecretManagerId: *pulumi.String(_default.Id),
})
if err != nil {
return err
}
_, err = cloudprovider.NewKubernetes(ctx, "example", &cloudprovider.KubernetesArgs{
SkipValidation: pulumi.Bool(true),
Authentication: &cloudprovider.KubernetesAuthenticationArgs{
UsernamePassword: &cloudprovider.KubernetesAuthenticationUsernamePasswordArgs{
MasterUrl: pulumi.String("https://localhost.com"),
UsernameSecretName: username.Name,
PasswordSecretName: password.Name,
},
},
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.harness.HarnessFunctions;
import com.pulumi.harness.inputs.GetSecretManagerArgs;
import com.pulumi.harness.EncryptedText;
import com.pulumi.harness.EncryptedTextArgs;
import com.pulumi.harness.cloudprovider.Kubernetes;
import com.pulumi.harness.cloudprovider.KubernetesArgs;
import com.pulumi.harness.cloudprovider.inputs.KubernetesAuthenticationArgs;
import com.pulumi.harness.cloudprovider.inputs.KubernetesAuthenticationUsernamePasswordArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var default = HarnessFunctions.getSecretManager(GetSecretManagerArgs.builder()
.default_(true)
.build());
var username = new EncryptedText("username", EncryptedTextArgs.builder()
.value("<USERNAME>")
.secretManagerId(default_.id())
.build());
var password = new EncryptedText("password", EncryptedTextArgs.builder()
.value("<PASSWORD>")
.secretManagerId(default_.id())
.build());
var example = new Kubernetes("example", KubernetesArgs.builder()
.skipValidation(true)
.authentication(KubernetesAuthenticationArgs.builder()
.usernamePassword(KubernetesAuthenticationUsernamePasswordArgs.builder()
.masterUrl("https://localhost.com")
.usernameSecretName(username.name())
.passwordSecretName(password.name())
.build())
.build())
.build());
}
}
import pulumi
import lbrlabs_pulumi_harness as harness
import pulumi_harness as harness
default = harness.get_secret_manager(default=True)
username = harness.EncryptedText("username",
value="<USERNAME>",
secret_manager_id=default.id)
password = harness.EncryptedText("password",
value="<PASSWORD>",
secret_manager_id=default.id)
example = harness.cloudprovider.Kubernetes("example",
skip_validation=True,
authentication=harness.cloudprovider.KubernetesAuthenticationArgs(
username_password=harness.cloudprovider.KubernetesAuthenticationUsernamePasswordArgs(
master_url="https://localhost.com",
username_secret_name=username.name,
password_secret_name=password.name,
),
))
import * as pulumi from "@pulumi/pulumi";
import * as harness from "@lbrlabs/pulumi-harness";
import * as harness from "@pulumi/harness";
const default = harness.getSecretManager({
"default": true,
});
const username = new harness.EncryptedText("username", {
value: "<USERNAME>",
secretManagerId: _default.then(_default => _default.id),
});
const password = new harness.EncryptedText("password", {
value: "<PASSWORD>",
secretManagerId: _default.then(_default => _default.id),
});
const example = new harness.cloudprovider.Kubernetes("example", {
skipValidation: true,
authentication: {
usernamePassword: {
masterUrl: "https://localhost.com",
usernameSecretName: username.name,
passwordSecretName: password.name,
},
},
});
resources:
username:
type: harness:EncryptedText
properties:
value: <USERNAME>
secretManagerId: ${default.id}
password:
type: harness:EncryptedText
properties:
value: <PASSWORD>
secretManagerId: ${default.id}
example:
type: harness:cloudprovider:Kubernetes
properties:
skipValidation: true
authentication:
usernamePassword:
masterUrl: https://localhost.com
usernameSecretName: ${username.name}
passwordSecretName: ${password.name}
variables:
default:
fn::invoke:
Function: harness:getSecretManager
Arguments:
default: true
Create Kubernetes Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Kubernetes(name: string, args: KubernetesArgs, opts?: CustomResourceOptions);
@overload
def Kubernetes(resource_name: str,
args: KubernetesArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Kubernetes(resource_name: str,
opts: Optional[ResourceOptions] = None,
authentication: Optional[KubernetesAuthenticationArgs] = None,
name: Optional[str] = None,
skip_validation: Optional[bool] = None,
usage_scopes: Optional[Sequence[KubernetesUsageScopeArgs]] = None)
func NewKubernetes(ctx *Context, name string, args KubernetesArgs, opts ...ResourceOption) (*Kubernetes, error)
public Kubernetes(string name, KubernetesArgs args, CustomResourceOptions? opts = null)
public Kubernetes(String name, KubernetesArgs args)
public Kubernetes(String name, KubernetesArgs args, CustomResourceOptions options)
type: harness:cloudprovider:Kubernetes
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args KubernetesArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args KubernetesArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args KubernetesArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args KubernetesArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args KubernetesArgs
- 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 kubernetesResource = new Harness.Cloudprovider.Kubernetes("kubernetesResource", new()
{
Authentication = new Harness.Cloudprovider.Inputs.KubernetesAuthenticationArgs
{
DelegateSelectors = new[]
{
"string",
},
Oidc = new Harness.Cloudprovider.Inputs.KubernetesAuthenticationOidcArgs
{
ClientIdSecretName = "string",
IdentityProviderUrl = "string",
MasterUrl = "string",
PasswordSecretName = "string",
Username = "string",
ClientSecretSecretName = "string",
Scopes = new[]
{
"string",
},
},
ServiceAccount = new Harness.Cloudprovider.Inputs.KubernetesAuthenticationServiceAccountArgs
{
MasterUrl = "string",
ServiceAccountTokenSecretName = "string",
CaCertificateSecretName = "string",
},
UsernamePassword = new Harness.Cloudprovider.Inputs.KubernetesAuthenticationUsernamePasswordArgs
{
MasterUrl = "string",
PasswordSecretName = "string",
Username = "string",
UsernameSecretName = "string",
},
},
Name = "string",
SkipValidation = false,
UsageScopes = new[]
{
new Harness.Cloudprovider.Inputs.KubernetesUsageScopeArgs
{
ApplicationId = "string",
EnvironmentFilterType = "string",
EnvironmentId = "string",
},
},
});
example, err := cloudprovider.NewKubernetes(ctx, "kubernetesResource", &cloudprovider.KubernetesArgs{
Authentication: &cloudprovider.KubernetesAuthenticationArgs{
DelegateSelectors: pulumi.StringArray{
pulumi.String("string"),
},
Oidc: &cloudprovider.KubernetesAuthenticationOidcArgs{
ClientIdSecretName: pulumi.String("string"),
IdentityProviderUrl: pulumi.String("string"),
MasterUrl: pulumi.String("string"),
PasswordSecretName: pulumi.String("string"),
Username: pulumi.String("string"),
ClientSecretSecretName: pulumi.String("string"),
Scopes: pulumi.StringArray{
pulumi.String("string"),
},
},
ServiceAccount: &cloudprovider.KubernetesAuthenticationServiceAccountArgs{
MasterUrl: pulumi.String("string"),
ServiceAccountTokenSecretName: pulumi.String("string"),
CaCertificateSecretName: pulumi.String("string"),
},
UsernamePassword: &cloudprovider.KubernetesAuthenticationUsernamePasswordArgs{
MasterUrl: pulumi.String("string"),
PasswordSecretName: pulumi.String("string"),
Username: pulumi.String("string"),
UsernameSecretName: pulumi.String("string"),
},
},
Name: pulumi.String("string"),
SkipValidation: pulumi.Bool(false),
UsageScopes: cloudprovider.KubernetesUsageScopeArray{
&cloudprovider.KubernetesUsageScopeArgs{
ApplicationId: pulumi.String("string"),
EnvironmentFilterType: pulumi.String("string"),
EnvironmentId: pulumi.String("string"),
},
},
})
var kubernetesResource = new Kubernetes("kubernetesResource", KubernetesArgs.builder()
.authentication(KubernetesAuthenticationArgs.builder()
.delegateSelectors("string")
.oidc(KubernetesAuthenticationOidcArgs.builder()
.clientIdSecretName("string")
.identityProviderUrl("string")
.masterUrl("string")
.passwordSecretName("string")
.username("string")
.clientSecretSecretName("string")
.scopes("string")
.build())
.serviceAccount(KubernetesAuthenticationServiceAccountArgs.builder()
.masterUrl("string")
.serviceAccountTokenSecretName("string")
.caCertificateSecretName("string")
.build())
.usernamePassword(KubernetesAuthenticationUsernamePasswordArgs.builder()
.masterUrl("string")
.passwordSecretName("string")
.username("string")
.usernameSecretName("string")
.build())
.build())
.name("string")
.skipValidation(false)
.usageScopes(KubernetesUsageScopeArgs.builder()
.applicationId("string")
.environmentFilterType("string")
.environmentId("string")
.build())
.build());
kubernetes_resource = harness.cloudprovider.Kubernetes("kubernetesResource",
authentication=harness.cloudprovider.KubernetesAuthenticationArgs(
delegate_selectors=["string"],
oidc=harness.cloudprovider.KubernetesAuthenticationOidcArgs(
client_id_secret_name="string",
identity_provider_url="string",
master_url="string",
password_secret_name="string",
username="string",
client_secret_secret_name="string",
scopes=["string"],
),
service_account=harness.cloudprovider.KubernetesAuthenticationServiceAccountArgs(
master_url="string",
service_account_token_secret_name="string",
ca_certificate_secret_name="string",
),
username_password=harness.cloudprovider.KubernetesAuthenticationUsernamePasswordArgs(
master_url="string",
password_secret_name="string",
username="string",
username_secret_name="string",
),
),
name="string",
skip_validation=False,
usage_scopes=[harness.cloudprovider.KubernetesUsageScopeArgs(
application_id="string",
environment_filter_type="string",
environment_id="string",
)])
const kubernetesResource = new harness.cloudprovider.Kubernetes("kubernetesResource", {
authentication: {
delegateSelectors: ["string"],
oidc: {
clientIdSecretName: "string",
identityProviderUrl: "string",
masterUrl: "string",
passwordSecretName: "string",
username: "string",
clientSecretSecretName: "string",
scopes: ["string"],
},
serviceAccount: {
masterUrl: "string",
serviceAccountTokenSecretName: "string",
caCertificateSecretName: "string",
},
usernamePassword: {
masterUrl: "string",
passwordSecretName: "string",
username: "string",
usernameSecretName: "string",
},
},
name: "string",
skipValidation: false,
usageScopes: [{
applicationId: "string",
environmentFilterType: "string",
environmentId: "string",
}],
});
type: harness:cloudprovider:Kubernetes
properties:
authentication:
delegateSelectors:
- string
oidc:
clientIdSecretName: string
clientSecretSecretName: string
identityProviderUrl: string
masterUrl: string
passwordSecretName: string
scopes:
- string
username: string
serviceAccount:
caCertificateSecretName: string
masterUrl: string
serviceAccountTokenSecretName: string
usernamePassword:
masterUrl: string
passwordSecretName: string
username: string
usernameSecretName: string
name: string
skipValidation: false
usageScopes:
- applicationId: string
environmentFilterType: string
environmentId: string
Kubernetes Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The Kubernetes resource accepts the following input properties:
- Authentication
Lbrlabs.
Pulumi Package. Harness. Cloudprovider. Inputs. Kubernetes Authentication - Authentication configuration for the Kubernetes cluster
- Name string
- The name of the cloud provider.
- Skip
Validation bool - Skip validation of Kubernetes configuration.
- Usage
Scopes List<Lbrlabs.Pulumi Package. Harness. Cloudprovider. Inputs. Kubernetes Usage Scope> - This block is used for scoping the resource to a specific set of applications or environments.
- Authentication
Kubernetes
Authentication Args - Authentication configuration for the Kubernetes cluster
- Name string
- The name of the cloud provider.
- Skip
Validation bool - Skip validation of Kubernetes configuration.
- Usage
Scopes []KubernetesUsage Scope Args - This block is used for scoping the resource to a specific set of applications or environments.
- authentication
Kubernetes
Authentication - Authentication configuration for the Kubernetes cluster
- name String
- The name of the cloud provider.
- skip
Validation Boolean - Skip validation of Kubernetes configuration.
- usage
Scopes List<KubernetesUsage Scope> - This block is used for scoping the resource to a specific set of applications or environments.
- authentication
Kubernetes
Authentication - Authentication configuration for the Kubernetes cluster
- name string
- The name of the cloud provider.
- skip
Validation boolean - Skip validation of Kubernetes configuration.
- usage
Scopes KubernetesUsage Scope[] - This block is used for scoping the resource to a specific set of applications or environments.
- authentication
Kubernetes
Authentication Args - Authentication configuration for the Kubernetes cluster
- name str
- The name of the cloud provider.
- skip_
validation bool - Skip validation of Kubernetes configuration.
- usage_
scopes Sequence[KubernetesUsage Scope Args] - This block is used for scoping the resource to a specific set of applications or environments.
- authentication Property Map
- Authentication configuration for the Kubernetes cluster
- name String
- The name of the cloud provider.
- skip
Validation Boolean - Skip validation of Kubernetes configuration.
- usage
Scopes List<Property Map> - This block is used for scoping the resource to a specific set of applications or environments.
Outputs
All input properties are implicitly available as output properties. Additionally, the Kubernetes resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing Kubernetes Resource
Get an existing Kubernetes 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?: KubernetesState, opts?: CustomResourceOptions): Kubernetes
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
authentication: Optional[KubernetesAuthenticationArgs] = None,
name: Optional[str] = None,
skip_validation: Optional[bool] = None,
usage_scopes: Optional[Sequence[KubernetesUsageScopeArgs]] = None) -> Kubernetes
func GetKubernetes(ctx *Context, name string, id IDInput, state *KubernetesState, opts ...ResourceOption) (*Kubernetes, error)
public static Kubernetes Get(string name, Input<string> id, KubernetesState? state, CustomResourceOptions? opts = null)
public static Kubernetes get(String name, Output<String> id, KubernetesState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- 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
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- 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
- The unique name of the resulting resource.
- id
- 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
- The unique name of the resulting resource.
- id
- 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.
- Authentication
Lbrlabs.
Pulumi Package. Harness. Cloudprovider. Inputs. Kubernetes Authentication - Authentication configuration for the Kubernetes cluster
- Name string
- The name of the cloud provider.
- Skip
Validation bool - Skip validation of Kubernetes configuration.
- Usage
Scopes List<Lbrlabs.Pulumi Package. Harness. Cloudprovider. Inputs. Kubernetes Usage Scope> - This block is used for scoping the resource to a specific set of applications or environments.
- Authentication
Kubernetes
Authentication Args - Authentication configuration for the Kubernetes cluster
- Name string
- The name of the cloud provider.
- Skip
Validation bool - Skip validation of Kubernetes configuration.
- Usage
Scopes []KubernetesUsage Scope Args - This block is used for scoping the resource to a specific set of applications or environments.
- authentication
Kubernetes
Authentication - Authentication configuration for the Kubernetes cluster
- name String
- The name of the cloud provider.
- skip
Validation Boolean - Skip validation of Kubernetes configuration.
- usage
Scopes List<KubernetesUsage Scope> - This block is used for scoping the resource to a specific set of applications or environments.
- authentication
Kubernetes
Authentication - Authentication configuration for the Kubernetes cluster
- name string
- The name of the cloud provider.
- skip
Validation boolean - Skip validation of Kubernetes configuration.
- usage
Scopes KubernetesUsage Scope[] - This block is used for scoping the resource to a specific set of applications or environments.
- authentication
Kubernetes
Authentication Args - Authentication configuration for the Kubernetes cluster
- name str
- The name of the cloud provider.
- skip_
validation bool - Skip validation of Kubernetes configuration.
- usage_
scopes Sequence[KubernetesUsage Scope Args] - This block is used for scoping the resource to a specific set of applications or environments.
- authentication Property Map
- Authentication configuration for the Kubernetes cluster
- name String
- The name of the cloud provider.
- skip
Validation Boolean - Skip validation of Kubernetes configuration.
- usage
Scopes List<Property Map> - This block is used for scoping the resource to a specific set of applications or environments.
Supporting Types
KubernetesAuthentication, KubernetesAuthenticationArgs
- Delegate
Selectors List<string> - Delegate selectors to inherit the GCP credentials from.
- Oidc
Lbrlabs.
Pulumi Package. Harness. Cloudprovider. Inputs. Kubernetes Authentication Oidc - Service account configuration for connecting to the Kubernetes cluster
- Service
Account Lbrlabs.Pulumi Package. Harness. Cloudprovider. Inputs. Kubernetes Authentication Service Account - Username and password for authentication to the cluster
- Username
Password Lbrlabs.Pulumi Package. Harness. Cloudprovider. Inputs. Kubernetes Authentication Username Password - Username and password for authentication to the cluster
- Delegate
Selectors []string - Delegate selectors to inherit the GCP credentials from.
- Oidc
Kubernetes
Authentication Oidc - Service account configuration for connecting to the Kubernetes cluster
- Service
Account KubernetesAuthentication Service Account - Username and password for authentication to the cluster
- Username
Password KubernetesAuthentication Username Password - Username and password for authentication to the cluster
- delegate
Selectors List<String> - Delegate selectors to inherit the GCP credentials from.
- oidc
Kubernetes
Authentication Oidc - Service account configuration for connecting to the Kubernetes cluster
- service
Account KubernetesAuthentication Service Account - Username and password for authentication to the cluster
- username
Password KubernetesAuthentication Username Password - Username and password for authentication to the cluster
- delegate
Selectors string[] - Delegate selectors to inherit the GCP credentials from.
- oidc
Kubernetes
Authentication Oidc - Service account configuration for connecting to the Kubernetes cluster
- service
Account KubernetesAuthentication Service Account - Username and password for authentication to the cluster
- username
Password KubernetesAuthentication Username Password - Username and password for authentication to the cluster
- delegate_
selectors Sequence[str] - Delegate selectors to inherit the GCP credentials from.
- oidc
Kubernetes
Authentication Oidc - Service account configuration for connecting to the Kubernetes cluster
- service_
account KubernetesAuthentication Service Account - Username and password for authentication to the cluster
- username_
password KubernetesAuthentication Username Password - Username and password for authentication to the cluster
- delegate
Selectors List<String> - Delegate selectors to inherit the GCP credentials from.
- oidc Property Map
- Service account configuration for connecting to the Kubernetes cluster
- service
Account Property Map - Username and password for authentication to the cluster
- username
Password Property Map - Username and password for authentication to the cluster
KubernetesAuthenticationOidc, KubernetesAuthenticationOidcArgs
- Client
Id stringSecret Name - Identity
Provider stringUrl - Master
Url string - Password
Secret stringName - Username string
- Client
Secret stringSecret Name - Scopes List<string>
- Client
Id stringSecret Name - Identity
Provider stringUrl - Master
Url string - Password
Secret stringName - Username string
- Client
Secret stringSecret Name - Scopes []string
- client
Id StringSecret Name - identity
Provider StringUrl - master
Url String - password
Secret StringName - username String
- client
Secret StringSecret Name - scopes List<String>
- client
Id stringSecret Name - identity
Provider stringUrl - master
Url string - password
Secret stringName - username string
- client
Secret stringSecret Name - scopes string[]
- client_
id_ strsecret_ name - identity_
provider_ strurl - master_
url str - password_
secret_ strname - username str
- client_
secret_ strsecret_ name - scopes Sequence[str]
- client
Id StringSecret Name - identity
Provider StringUrl - master
Url String - password
Secret StringName - username String
- client
Secret StringSecret Name - scopes List<String>
KubernetesAuthenticationServiceAccount, KubernetesAuthenticationServiceAccountArgs
- Master
Url string - Service
Account stringToken Secret Name - Ca
Certificate stringSecret Name
- Master
Url string - Service
Account stringToken Secret Name - Ca
Certificate stringSecret Name
- master
Url String - service
Account StringToken Secret Name - ca
Certificate StringSecret Name
- master
Url string - service
Account stringToken Secret Name - ca
Certificate stringSecret Name
- master
Url String - service
Account StringToken Secret Name - ca
Certificate StringSecret Name
KubernetesAuthenticationUsernamePassword, KubernetesAuthenticationUsernamePasswordArgs
- Master
Url string - Password
Secret stringName - Username string
- Username
Secret stringName
- Master
Url string - Password
Secret stringName - Username string
- Username
Secret stringName
- master
Url String - password
Secret StringName - username String
- username
Secret StringName
- master
Url string - password
Secret stringName - username string
- username
Secret stringName
- master_
url str - password_
secret_ strname - username str
- username_
secret_ strname
- master
Url String - password
Secret StringName - username String
- username
Secret StringName
KubernetesUsageScope, KubernetesUsageScopeArgs
- Application
Id string - Id of the application to scope to. If empty then this scope applies to all applications.
- Environment
Filter stringType - Type of environment filter applied. Cannot be used with
environment_id
. Valid options are NONPRODUCTIONENVIRONMENTS, PRODUCTION_ENVIRONMENTS. - Environment
Id string - Id of the id of the specific environment to scope to. Cannot be used with
environment_filter_type
.
- Application
Id string - Id of the application to scope to. If empty then this scope applies to all applications.
- Environment
Filter stringType - Type of environment filter applied. Cannot be used with
environment_id
. Valid options are NONPRODUCTIONENVIRONMENTS, PRODUCTION_ENVIRONMENTS. - Environment
Id string - Id of the id of the specific environment to scope to. Cannot be used with
environment_filter_type
.
- application
Id String - Id of the application to scope to. If empty then this scope applies to all applications.
- environment
Filter StringType - Type of environment filter applied. Cannot be used with
environment_id
. Valid options are NONPRODUCTIONENVIRONMENTS, PRODUCTION_ENVIRONMENTS. - environment
Id String - Id of the id of the specific environment to scope to. Cannot be used with
environment_filter_type
.
- application
Id string - Id of the application to scope to. If empty then this scope applies to all applications.
- environment
Filter stringType - Type of environment filter applied. Cannot be used with
environment_id
. Valid options are NONPRODUCTIONENVIRONMENTS, PRODUCTION_ENVIRONMENTS. - environment
Id string - Id of the id of the specific environment to scope to. Cannot be used with
environment_filter_type
.
- application_
id str - Id of the application to scope to. If empty then this scope applies to all applications.
- environment_
filter_ strtype - Type of environment filter applied. Cannot be used with
environment_id
. Valid options are NONPRODUCTIONENVIRONMENTS, PRODUCTION_ENVIRONMENTS. - environment_
id str - Id of the id of the specific environment to scope to. Cannot be used with
environment_filter_type
.
- application
Id String - Id of the application to scope to. If empty then this scope applies to all applications.
- environment
Filter StringType - Type of environment filter applied. Cannot be used with
environment_id
. Valid options are NONPRODUCTIONENVIRONMENTS, PRODUCTION_ENVIRONMENTS. - environment
Id String - Id of the id of the specific environment to scope to. Cannot be used with
environment_filter_type
.
Import
Import using the Harness kubernetes cloud provider id.
$ pulumi import harness:cloudprovider/kubernetes:Kubernetes example <provider_id>
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- harness lbrlabs/pulumi-harness
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
harness
Terraform Provider.