Skip to content

Commit

Permalink
Update upstream specifications to their latest version
Browse files Browse the repository at this point in the history
  • Loading branch information
sebhoss authored Aug 30, 2024
1 parent fd0c675 commit 6f7bca1
Show file tree
Hide file tree
Showing 365 changed files with 37,095 additions and 13,563 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
# SPDX-FileCopyrightText: The terraform-provider-k8s Authors
# SPDX-License-Identifier: 0BSD

name: CrdProjectcalicoOrgTierV1Manifest
on:
pull_request:
branches: [ main ]
paths:
- examples/data-sources/k8s_crd_projectcalico_org_tier_v1_manifest/**
- internal/provider/crd_projectcalico_org_v1/crd_projectcalico_org_tier_v1_manifest.go
- internal/provider/crd_projectcalico_org_v1/crd_projectcalico_org_tier_v1_manifest_test.go
- terratest/crd_projectcalico_org_v1/crd_projectcalico_org_tier_v1_manifest_test.go
jobs:
terraform:
name: Test with Terraform
runs-on: ubuntu-latest
steps:
- id: checkout
name: Checkout
uses: actions/checkout@v4
- id: setup_go
name: Set up Go
uses: actions/setup-go@v5
with:
go-version-file: go.mod
cache: true
- id: setup_terraform
name: Setup Terraform
uses: hashicorp/setup-terraform@v3
with:
terraform_wrapper: false
- id: install
name: Install Provider
run: make install
- id: tests
name: Run Unit Tests
run: go test -v -timeout=120s -count=1 ./internal/provider/crd_projectcalico_org_v1/crd_projectcalico_org_tier_v1_manifest_test.go
- id: terratest
name: Run Terratest Tests
run: go test -v -timeout=120s -count=1 -run TestCrdProjectcalicoOrgTierV1Manifest ./terratest/crd_projectcalico_org_v1
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
# SPDX-FileCopyrightText: The terraform-provider-k8s Authors
# SPDX-License-Identifier: 0BSD

name: SourceToolkitFluxcdIoBucketV1Manifest
on:
pull_request:
branches: [ main ]
paths:
- examples/data-sources/k8s_source_toolkit_fluxcd_io_bucket_v1_manifest/**
- internal/provider/source_toolkit_fluxcd_io_v1/source_toolkit_fluxcd_io_bucket_v1_manifest.go
- internal/provider/source_toolkit_fluxcd_io_v1/source_toolkit_fluxcd_io_bucket_v1_manifest_test.go
- terratest/source_toolkit_fluxcd_io_v1/source_toolkit_fluxcd_io_bucket_v1_manifest_test.go
jobs:
terraform:
name: Test with Terraform
runs-on: ubuntu-latest
steps:
- id: checkout
name: Checkout
uses: actions/checkout@v4
- id: setup_go
name: Set up Go
uses: actions/setup-go@v5
with:
go-version-file: go.mod
cache: true
- id: setup_terraform
name: Setup Terraform
uses: hashicorp/setup-terraform@v3
with:
terraform_wrapper: false
- id: install
name: Install Provider
run: make install
- id: tests
name: Run Unit Tests
run: go test -v -timeout=120s -count=1 ./internal/provider/source_toolkit_fluxcd_io_v1/source_toolkit_fluxcd_io_bucket_v1_manifest_test.go
- id: terratest
name: Run Terratest Tests
run: go test -v -timeout=120s -count=1 -run TestSourceToolkitFluxcdIoBucketV1Manifest ./terratest/source_toolkit_fluxcd_io_v1
36 changes: 18 additions & 18 deletions docs/data-sources/acme_cert_manager_io_challenge_v1_manifest.md

Large diffs are not rendered by default.

393 changes: 219 additions & 174 deletions docs/data-sources/agent_k8s_elastic_co_agent_v1alpha1_manifest.md

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -60,11 +60,11 @@ Required:
Optional:

- `environment` (Attributes) Environment configures the environment in which resources are rendered.THIS IS AN ALPHA FIELD. Do not use it in production. It is not honoredunless the relevant Crossplane feature flag is enabled, and may bechanged or removed without notice. (see [below for nested schema](#nestedatt--spec--environment))
- `mode` (String) Mode controls what type or 'mode' of Composition will be used.'Resources' (the default) indicates that a Composition uses what iscommonly referred to as 'Patch & Transform' or P&T composition. This modeof Composition uses an array of resources, each a template for a composedresource.'Pipeline' indicates that a Composition specifies a pipelineof Composition Functions, each of which is responsible for producingcomposed resources that Crossplane should create or update. THE PIPELINEMODE IS A BETA FEATURE. It is not honored if the relevant Crossplanefeature flag is disabled.
- `patch_sets` (Attributes List) PatchSets define a named set of patches that may be included by anyresource in this Composition. PatchSets cannot themselves refer to otherPatchSets.PatchSets are only used by the 'Resources' mode of Composition. Theyare ignored by other modes. (see [below for nested schema](#nestedatt--spec--patch_sets))
- `pipeline` (Attributes List) Pipeline is a list of composition function steps that will be used when acomposite resource referring to this composition is created. One ofresources and pipeline must be specified - you cannot specify both.The Pipeline is only used by the 'Pipeline' mode of Composition. It isignored by other modes.THIS IS A BETA FIELD. It is not honored if the relevant Crossplanefeature flag is disabled. (see [below for nested schema](#nestedatt--spec--pipeline))
- `mode` (String) Mode controls what type or 'mode' of Composition will be used.'Pipeline' indicates that a Composition specifies a pipeline ofComposition Functions, each of which is responsible for producingcomposed resources that Crossplane should create or update.'Resources' indicates that a Composition uses what is commonly referredto as 'Patch & Transform' or P&T composition. This mode of Compositionuses an array of resources, each a template for a composed resource.All Compositions should use Pipeline mode. Resources mode is deprecated.Resources mode won't be removed in Crossplane 1.x, and will remain thedefault to avoid breaking legacy Compositions. However, it's no longeraccepting new features, and only accepting security related bug fixes.
- `patch_sets` (Attributes List) PatchSets define a named set of patches that may be included by anyresource in this Composition. PatchSets cannot themselves refer to otherPatchSets.PatchSets are only used by the 'Resources' mode of Composition. Theyare ignored by other modes.Deprecated: Use Composition Functions instead. (see [below for nested schema](#nestedatt--spec--patch_sets))
- `pipeline` (Attributes List) Pipeline is a list of composition function steps that will be used when acomposite resource referring to this composition is created. One ofresources and pipeline must be specified - you cannot specify both.The Pipeline is only used by the 'Pipeline' mode of Composition. It isignored by other modes. (see [below for nested schema](#nestedatt--spec--pipeline))
- `publish_connection_details_with_store_config_ref` (Attributes) PublishConnectionDetailsWithStoreConfig specifies the secret store configwith which the connection details of composite resources dynamicallyprovisioned using this composition will be published.THIS IS AN ALPHA FIELD. Do not use it in production. It is not honoredunless the relevant Crossplane feature flag is enabled, and may bechanged or removed without notice. (see [below for nested schema](#nestedatt--spec--publish_connection_details_with_store_config_ref))
- `resources` (Attributes List) Resources is a list of resource templates that will be used when acomposite resource referring to this composition is created.Resources are only used by the 'Resources' mode of Composition. They areignored by other modes. (see [below for nested schema](#nestedatt--spec--resources))
- `resources` (Attributes List) Resources is a list of resource templates that will be used when acomposite resource referring to this composition is created.Resources are only used by the 'Resources' mode of Composition. They areignored by other modes.Deprecated: Use Composition Functions instead. (see [below for nested schema](#nestedatt--spec--resources))
- `write_connection_secrets_to_namespace` (String) WriteConnectionSecretsToNamespace specifies the namespace in which theconnection secrets of composite resource dynamically provisioned usingthis composition will be created.This field is planned to be replaced in a future release in favor ofPublishConnectionDetailsWithStoreConfigRef. Currently, both could beset independently and connection details would be published to bothwithout affecting each other as long as related fields at MR levelspecified.

<a id="nestedatt--spec--composite_type_ref"></a>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,11 +60,11 @@ Required:
Optional:

- `environment` (Attributes) Environment configures the environment in which resources are rendered.THIS IS AN ALPHA FIELD. Do not use it in production. It is not honoredunless the relevant Crossplane feature flag is enabled, and may bechanged or removed without notice. (see [below for nested schema](#nestedatt--spec--environment))
- `mode` (String) Mode controls what type or 'mode' of Composition will be used.'Resources' (the default) indicates that a Composition uses what iscommonly referred to as 'Patch & Transform' or P&T composition. This modeof Composition uses an array of resources, each a template for a composedresource.'Pipeline' indicates that a Composition specifies a pipelineof Composition Functions, each of which is responsible for producingcomposed resources that Crossplane should create or update. THE PIPELINEMODE IS A BETA FEATURE. It is not honored if the relevant Crossplanefeature flag is disabled.
- `patch_sets` (Attributes List) PatchSets define a named set of patches that may be included by anyresource in this Composition. PatchSets cannot themselves refer to otherPatchSets.PatchSets are only used by the 'Resources' mode of Composition. Theyare ignored by other modes. (see [below for nested schema](#nestedatt--spec--patch_sets))
- `pipeline` (Attributes List) Pipeline is a list of composition function steps that will be used when acomposite resource referring to this composition is created. One ofresources and pipeline must be specified - you cannot specify both.The Pipeline is only used by the 'Pipeline' mode of Composition. It isignored by other modes.THIS IS A BETA FIELD. It is not honored if the relevant Crossplanefeature flag is disabled. (see [below for nested schema](#nestedatt--spec--pipeline))
- `mode` (String) Mode controls what type or 'mode' of Composition will be used.'Pipeline' indicates that a Composition specifies a pipeline ofComposition Functions, each of which is responsible for producingcomposed resources that Crossplane should create or update.'Resources' indicates that a Composition uses what is commonly referredto as 'Patch & Transform' or P&T composition. This mode of Compositionuses an array of resources, each a template for a composed resource.All Compositions should use Pipeline mode. Resources mode is deprecated.Resources mode won't be removed in Crossplane 1.x, and will remain thedefault to avoid breaking legacy Compositions. However, it's no longeraccepting new features, and only accepting security related bug fixes.
- `patch_sets` (Attributes List) PatchSets define a named set of patches that may be included by anyresource in this Composition. PatchSets cannot themselves refer to otherPatchSets.PatchSets are only used by the 'Resources' mode of Composition. Theyare ignored by other modes.Deprecated: Use Composition Functions instead. (see [below for nested schema](#nestedatt--spec--patch_sets))
- `pipeline` (Attributes List) Pipeline is a list of composition function steps that will be used when acomposite resource referring to this composition is created. One ofresources and pipeline must be specified - you cannot specify both.The Pipeline is only used by the 'Pipeline' mode of Composition. It isignored by other modes. (see [below for nested schema](#nestedatt--spec--pipeline))
- `publish_connection_details_with_store_config_ref` (Attributes) PublishConnectionDetailsWithStoreConfig specifies the secret store configwith which the connection details of composite resources dynamicallyprovisioned using this composition will be published.THIS IS AN ALPHA FIELD. Do not use it in production. It is not honoredunless the relevant Crossplane feature flag is enabled, and may bechanged or removed without notice. (see [below for nested schema](#nestedatt--spec--publish_connection_details_with_store_config_ref))
- `resources` (Attributes List) Resources is a list of resource templates that will be used when acomposite resource referring to this composition is created.Resources are only used by the 'Resources' mode of Composition. They areignored by other modes. (see [below for nested schema](#nestedatt--spec--resources))
- `resources` (Attributes List) Resources is a list of resource templates that will be used when acomposite resource referring to this composition is created.Resources are only used by the 'Resources' mode of Composition. They areignored by other modes.Deprecated: Use Composition Functions instead. (see [below for nested schema](#nestedatt--spec--resources))
- `write_connection_secrets_to_namespace` (String) WriteConnectionSecretsToNamespace specifies the namespace in which theconnection secrets of composite resource dynamically provisioned usingthis composition will be created.This field is planned to be replaced in a future release in favor ofPublishConnectionDetailsWithStoreConfigRef. Currently, both could beset independently and connection details would be published to bothwithout affecting each other as long as related fields at MR levelspecified.

<a id="nestedatt--spec--composite_type_ref"></a>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,11 +59,11 @@ Required:
Optional:

- `environment` (Attributes) Environment configures the environment in which resources are rendered.THIS IS AN ALPHA FIELD. Do not use it in production. It is not honoredunless the relevant Crossplane feature flag is enabled, and may bechanged or removed without notice. (see [below for nested schema](#nestedatt--spec--environment))
- `mode` (String) Mode controls what type or 'mode' of Composition will be used.'Resources' (the default) indicates that a Composition uses what iscommonly referred to as 'Patch & Transform' or P&T composition. This modeof Composition uses an array of resources, each a template for a composedresource.'Pipeline' indicates that a Composition specifies a pipelineof Composition Functions, each of which is responsible for producingcomposed resources that Crossplane should create or update. THE PIPELINEMODE IS A BETA FEATURE. It is not honored if the relevant Crossplanefeature flag is disabled.
- `patch_sets` (Attributes List) PatchSets define a named set of patches that may be included by anyresource in this Composition. PatchSets cannot themselves refer to otherPatchSets.PatchSets are only used by the 'Resources' mode of Composition. Theyare ignored by other modes. (see [below for nested schema](#nestedatt--spec--patch_sets))
- `pipeline` (Attributes List) Pipeline is a list of composition function steps that will be used when acomposite resource referring to this composition is created. One ofresources and pipeline must be specified - you cannot specify both.The Pipeline is only used by the 'Pipeline' mode of Composition. It isignored by other modes.THIS IS A BETA FIELD. It is not honored if the relevant Crossplanefeature flag is disabled. (see [below for nested schema](#nestedatt--spec--pipeline))
- `mode` (String) Mode controls what type or 'mode' of Composition will be used.'Pipeline' indicates that a Composition specifies a pipeline ofComposition Functions, each of which is responsible for producingcomposed resources that Crossplane should create or update.'Resources' indicates that a Composition uses what is commonly referredto as 'Patch & Transform' or P&T composition. This mode of Compositionuses an array of resources, each a template for a composed resource.All Compositions should use Pipeline mode. Resources mode is deprecated.Resources mode won't be removed in Crossplane 1.x, and will remain thedefault to avoid breaking legacy Compositions. However, it's no longeraccepting new features, and only accepting security related bug fixes.
- `patch_sets` (Attributes List) PatchSets define a named set of patches that may be included by anyresource in this Composition. PatchSets cannot themselves refer to otherPatchSets.PatchSets are only used by the 'Resources' mode of Composition. Theyare ignored by other modes.Deprecated: Use Composition Functions instead. (see [below for nested schema](#nestedatt--spec--patch_sets))
- `pipeline` (Attributes List) Pipeline is a list of composition function steps that will be used when acomposite resource referring to this composition is created. One ofresources and pipeline must be specified - you cannot specify both.The Pipeline is only used by the 'Pipeline' mode of Composition. It isignored by other modes. (see [below for nested schema](#nestedatt--spec--pipeline))
- `publish_connection_details_with_store_config_ref` (Attributes) PublishConnectionDetailsWithStoreConfig specifies the secret store configwith which the connection details of composite resources dynamicallyprovisioned using this composition will be published.THIS IS AN ALPHA FIELD. Do not use it in production. It is not honoredunless the relevant Crossplane feature flag is enabled, and may bechanged or removed without notice. (see [below for nested schema](#nestedatt--spec--publish_connection_details_with_store_config_ref))
- `resources` (Attributes List) Resources is a list of resource templates that will be used when acomposite resource referring to this composition is created.Resources are only used by the 'Resources' mode of Composition. They areignored by other modes. (see [below for nested schema](#nestedatt--spec--resources))
- `resources` (Attributes List) Resources is a list of resource templates that will be used when acomposite resource referring to this composition is created.Resources are only used by the 'Resources' mode of Composition. They areignored by other modes.Deprecated: Use Composition Functions instead. (see [below for nested schema](#nestedatt--spec--resources))
- `write_connection_secrets_to_namespace` (String) WriteConnectionSecretsToNamespace specifies the namespace in which theconnection secrets of composite resource dynamically provisioned usingthis composition will be created.This field is planned to be replaced in a future release in favor ofPublishConnectionDetailsWithStoreConfigRef. Currently, both could beset independently and connection details would be published to bothwithout affecting each other as long as related fields at MR levelspecified.

<a id="nestedatt--spec--composite_type_ref"></a>
Expand Down
Loading

0 comments on commit 6f7bca1

Please sign in to comment.