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 May 17, 2024
1 parent a838cd8 commit a7f92f1
Show file tree
Hide file tree
Showing 225 changed files with 16,305 additions and 8,418 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: B3ScaleIoBbbfrontendV1Manifest
on:
pull_request:
branches: [ main ]
paths:
- examples/data-sources/k8s_b3scale_io_bbb_frontend_v1_manifest/**
- internal/provider/b3scale_io_v1/b3scale_io_bbb_frontend_v1_manifest.go
- internal/provider/b3scale_io_v1/b3scale_io_bbb_frontend_v1_manifest_test.go
- terratest/b3scale_io_v1/b3scale_io_bbb_frontend_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/b3scale_io_v1/b3scale_io_bbb_frontend_v1_manifest_test.go
- id: terratest
name: Run Terratest Tests
run: go test -v -timeout=120s -count=1 -run TestB3ScaleIoBbbfrontendV1Manifest ./terratest/b3scale_io_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: StsMinIoPolicyBindingV1Beta1Manifest
on:
pull_request:
branches: [ main ]
paths:
- examples/data-sources/k8s_sts_min_io_policy_binding_v1beta1_manifest/**
- internal/provider/sts_min_io_v1beta1/sts_min_io_policy_binding_v1beta1_manifest.go
- internal/provider/sts_min_io_v1beta1/sts_min_io_policy_binding_v1beta1_manifest_test.go
- terratest/sts_min_io_v1beta1/sts_min_io_policy_binding_v1beta1_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/sts_min_io_v1beta1/sts_min_io_policy_binding_v1beta1_manifest_test.go
- id: terratest
name: Run Terratest Tests
run: go test -v -timeout=120s -count=1 -run TestStsMinIoPolicyBindingV1Beta1Manifest ./terratest/sts_min_io_v1beta1
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: WorkloadCodeflareDevAppWrapperV1Beta2Manifest
on:
pull_request:
branches: [ main ]
paths:
- examples/data-sources/k8s_workload_codeflare_dev_app_wrapper_v1beta2_manifest/**
- internal/provider/workload_codeflare_dev_v1beta2/workload_codeflare_dev_app_wrapper_v1beta2_manifest.go
- internal/provider/workload_codeflare_dev_v1beta2/workload_codeflare_dev_app_wrapper_v1beta2_manifest_test.go
- terratest/workload_codeflare_dev_v1beta2/workload_codeflare_dev_app_wrapper_v1beta2_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/workload_codeflare_dev_v1beta2/workload_codeflare_dev_app_wrapper_v1beta2_manifest_test.go
- id: terratest
name: Run Terratest Tests
run: go test -v -timeout=120s -count=1 -run TestWorkloadCodeflareDevAppWrapperV1Beta2Manifest ./terratest/workload_codeflare_dev_v1beta2
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,7 @@ Optional:
- `enable_pod_antiaffinity` (Boolean)
- `enable_pod_disruption_budget` (Boolean)
- `enable_readiness_probe` (Boolean)
- `enable_secrets_deletion` (Boolean)
- `enable_sidecars` (Boolean)
- `ignored_annotations` (List of String)
- `infrastructure_roles_secret_name` (String)
Expand Down
29 changes: 29 additions & 0 deletions docs/data-sources/acme_cert_manager_io_challenge_v1_manifest.md
Original file line number Diff line number Diff line change
Expand Up @@ -346,6 +346,7 @@ Optional:

- `access_key_id` (String) The AccessKeyID is used for authentication.Cannot be set when SecretAccessKeyID is set.If neither the Access Key nor Key ID are set, we fall-back to using envvars, shared credentials file or AWS Instance metadata,see: https://docs.aws.amazon.com/sdk-for-go/v1/developer-guide/configuring-sdk.html#specifying-credentials
- `access_key_id_secret_ref` (Attributes) The SecretAccessKey is used for authentication. If set, pull the AWSaccess key ID from a key within a Kubernetes Secret.Cannot be set when AccessKeyID is set.If neither the Access Key nor Key ID are set, we fall-back to using envvars, shared credentials file or AWS Instance metadata,see: https://docs.aws.amazon.com/sdk-for-go/v1/developer-guide/configuring-sdk.html#specifying-credentials (see [below for nested schema](#nestedatt--spec--solver--dns01--webhook--access_key_id_secret_ref))
- `auth` (Attributes) Auth configures how cert-manager authenticates. (see [below for nested schema](#nestedatt--spec--solver--dns01--webhook--auth))
- `hosted_zone_id` (String) If set, the provider will manage only this zone in Route53 and will not do an lookup using the route53:ListHostedZonesByName api call.
- `role` (String) Role is a Role ARN which the Route53 provider will assume using either the explicit credentials AccessKeyID/SecretAccessKeyor the inferred credentials from environment variables, shared credentials file or AWS Instance metadata
- `secret_access_key_secret_ref` (Attributes) The SecretAccessKey is used for authentication.If neither the Access Key nor Key ID are set, we fall-back to using envvars, shared credentials file or AWS Instance metadata,see: https://docs.aws.amazon.com/sdk-for-go/v1/developer-guide/configuring-sdk.html#specifying-credentials (see [below for nested schema](#nestedatt--spec--solver--dns01--webhook--secret_access_key_secret_ref))
Expand All @@ -362,6 +363,34 @@ Optional:
- `key` (String) The key of the entry in the Secret resource's 'data' field to be used.Some instances of this field may be defaulted, in others it may berequired.


<a id="nestedatt--spec--solver--dns01--webhook--auth"></a>
### Nested Schema for `spec.solver.dns01.webhook.auth`

Required:

- `kubernetes` (Attributes) Kubernetes authenticates with Route53 using AssumeRoleWithWebIdentityby passing a bound ServiceAccount token. (see [below for nested schema](#nestedatt--spec--solver--dns01--webhook--auth--kubernetes))

<a id="nestedatt--spec--solver--dns01--webhook--auth--kubernetes"></a>
### Nested Schema for `spec.solver.dns01.webhook.auth.kubernetes`

Required:

- `service_account_ref` (Attributes) A reference to a service account that will be used to request a boundtoken (also known as 'projected token'). To use this field, you mustconfigure an RBAC rule to let cert-manager request a token. (see [below for nested schema](#nestedatt--spec--solver--dns01--webhook--auth--kubernetes--service_account_ref))

<a id="nestedatt--spec--solver--dns01--webhook--auth--kubernetes--service_account_ref"></a>
### Nested Schema for `spec.solver.dns01.webhook.auth.kubernetes.service_account_ref`

Required:

- `name` (String) Name of the ServiceAccount used to request a token.

Optional:

- `audiences` (List of String) TokenAudiences is an optional list of audiences to include in thetoken passed to AWS. The default token consisting of the issuer's namespaceand name is always included.If unset the audience defaults to 'sts.amazonaws.com'.




<a id="nestedatt--spec--solver--dns01--webhook--secret_access_key_secret_ref"></a>
### Nested Schema for `spec.solver.dns01.webhook.secret_access_key_secret_ref`

Expand Down
Loading

0 comments on commit a7f92f1

Please sign in to comment.