ConfigGroup
ConfigGroup creates a set of Kubernetes resources from Kubernetes YAML text. The YAML text
may be supplied using any of the following ConfigGroupOpts:
- Using a filename or a list of filenames:
a.
{files: "foo.yaml"}b.{files: ["foo.yaml", "bar.yaml"]} - Using a file pattern or a list of file patterns:
a.
{files: "*.yaml"}b.{files: ["foo/*.yaml", "bar/*.yaml"]} - Using a literal string containing YAML, or a list of such strings:
a.
{yaml: "(LITERAL YAML HERE)"}b.{yaml: ["(LITERAL YAML HERE)", "(MORE YAML)"]} - Any combination of files, patterns, or YAML strings:
a.
{files: "foo.yaml", yaml: "(LITERAL YAML HERE)"}
Create a ConfigGroup Resource
new ConfigGroup(name: string, args?: ConfigGroupOpts, opts?: ComponentResourceOptions);def ConfigGroup(resource_name, file, opts=None, transformations=None, resource_prefix=None);func NewConfigGroup(ctx *Context, name string, args *ConfigGroupArgs, opts ...ResourceOption) (*ConfigGroup, error)public ConfigGroup(string name, ConfigGroupArgs? args = null, ComponentResourceOptions? opts = null)- name string
- The unique name of the resource.
- args ConfigGroupOpts
- The arguments to resource properties.
- opts ComponentResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- opts ResourceOptions
- A bag of options that control this resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args ConfigGroupArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ConfigGroupArgs
- The arguments to resource properties.
- opts ComponentResourceOptions
- Bag of options to control resource's behavior.
ConfigGroup Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Programming Model docs.
Inputs
The ConfigGroup resource accepts the following input properties:
- Files
Union<string, Immutable
Array<string>> - Path or a URL that uniquely identifies a file.
- Objs
Union<object, Immutable
Array<object>> - Path or a URL that uniquely identifies a file.
- Resource
Prefix string - An optional prefix for the auto-generated resource names. Example: A resource created with resourcePrefix=“foo” would produce a resource named “foo-resourceName”.
- Transformations List<object>
- A set of transformations to apply to Kubernetes resource definitions before registering with engine.
- Yaml
Union<string, Immutable
Array<string>> - Path or a URL that uniquely identifies a file.
- Files interface{}
- Path or a URL that uniquely identifies a file.
- Objs interface{}
- Path or a URL that uniquely identifies a file.
- Resource
Prefix string - An optional prefix for the auto-generated resource names. Example: A resource created with resourcePrefix=“foo” would produce a resource named “foo-resourceName”.
- Transformations []interface{}
- A set of transformations to apply to Kubernetes resource definitions before registering with engine.
- Yaml interface{}
- Path or a URL that uniquely identifies a file.
- files string | string[]
- Path or a URL that uniquely identifies a file.
- objs any | any[]
- Path or a URL that uniquely identifies a file.
- resource
Prefix string - An optional prefix for the auto-generated resource names. Example: A resource created with resourcePrefix=“foo” would produce a resource named “foo-resourceName”.
- transformations any[]
- A set of transformations to apply to Kubernetes resource definitions before registering with engine.
- yaml string | string[]
- Path or a URL that uniquely identifies a file.
- files string | List[str]
- Path or a URL that uniquely identifies a file.
- objs pulumi:pulumi:Any | List[Any]
- Path or a URL that uniquely identifies a file.
- resource_
prefix str - An optional prefix for the auto-generated resource names. Example: A resource created with resourcePrefix=“foo” would produce a resource named “foo-resourceName”.
- transformations List[Any]
- A set of transformations to apply to Kubernetes resource definitions before registering with engine.
- yaml string | List[str]
- Path or a URL that uniquely identifies a file.
Outputs
All input properties are implicitly available as output properties. Additionally, the ConfigGroup resource produces the following output properties:
Package Details
- Repository
- https://github.com/pulumi/pulumi-kubernetes
- License
- Apache-2.0