Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update upstream specifications to their latest version #158

Merged
merged 1 commit into from
Jun 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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: Pgv2PerconaComPerconaPgupgradeV2Manifest
on:
pull_request:
branches: [ main ]
paths:
- examples/data-sources/k8s_pgv2_percona_com_percona_pg_upgrade_v2_manifest/**
- internal/provider/pgv2_percona_com_v2/pgv2_percona_com_percona_pg_upgrade_v2_manifest.go
- internal/provider/pgv2_percona_com_v2/pgv2_percona_com_percona_pg_upgrade_v2_manifest_test.go
- terratest/pgv2_percona_com_v2/pgv2_percona_com_percona_pg_upgrade_v2_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/pgv2_percona_com_v2/pgv2_percona_com_percona_pg_upgrade_v2_manifest_test.go
- id: terratest
name: Run Terratest Tests
run: go test -v -timeout=120s -count=1 -run TestPgv2PerconaComPerconaPgupgradeV2Manifest ./terratest/pgv2_percona_com_v2
Original file line number Diff line number Diff line change
Expand Up @@ -1573,8 +1573,10 @@ Required:
- `hegel` (Attributes) (see [below for nested schema](#nestedatt--spec--versions_bundles--tinkerbell--tinkerbell_stack--hegel))
- `hook` (Attributes) Tinkerbell hook OS. (see [below for nested schema](#nestedatt--spec--versions_bundles--tinkerbell--tinkerbell_stack--hook))
- `rufio` (Attributes) (see [below for nested schema](#nestedatt--spec--versions_bundles--tinkerbell--tinkerbell_stack--rufio))
- `stack` (Attributes) (see [below for nested schema](#nestedatt--spec--versions_bundles--tinkerbell--tinkerbell_stack--stack))
- `tink` (Attributes) (see [below for nested schema](#nestedatt--spec--versions_bundles--tinkerbell--tinkerbell_stack--tink))
- `tinkerbell_chart` (Attributes) (see [below for nested schema](#nestedatt--spec--versions_bundles--tinkerbell--tinkerbell_stack--tinkerbell_chart))
- `tinkerbell_crds` (Attributes) (see [below for nested schema](#nestedatt--spec--versions_bundles--tinkerbell--tinkerbell_stack--tinkerbell_crds))

<a id="nestedatt--spec--versions_bundles--tinkerbell--tinkerbell_stack--actions"></a>
### Nested Schema for `spec.versions_bundles.tinkerbell.tinkerbell_stack.actions`
Expand Down Expand Up @@ -1847,15 +1849,44 @@ Optional:
- `uri` (String) The image repository, name, and tag


<a id="nestedatt--spec--versions_bundles--tinkerbell--tinkerbell_stack--stack"></a>
### Nested Schema for `spec.versions_bundles.tinkerbell.tinkerbell_stack.stack`

Optional:

- `arch` (List of String) Architectures of the asset
- `description` (String)
- `image_digest` (String) The SHA256 digest of the image manifest
- `name` (String) The asset name
- `os` (String) Operating system of the asset
- `os_name` (String) Name of the OS like ubuntu, bottlerocket
- `uri` (String) The image repository, name, and tag


<a id="nestedatt--spec--versions_bundles--tinkerbell--tinkerbell_stack--tink"></a>
### Nested Schema for `spec.versions_bundles.tinkerbell.tinkerbell_stack.tink`

Required:

- `nginx` (Attributes) (see [below for nested schema](#nestedatt--spec--versions_bundles--tinkerbell--tinkerbell_stack--tink--nginx))
- `tink_controller` (Attributes) (see [below for nested schema](#nestedatt--spec--versions_bundles--tinkerbell--tinkerbell_stack--tink--tink_controller))
- `tink_server` (Attributes) (see [below for nested schema](#nestedatt--spec--versions_bundles--tinkerbell--tinkerbell_stack--tink--tink_server))
- `tink_worker` (Attributes) (see [below for nested schema](#nestedatt--spec--versions_bundles--tinkerbell--tinkerbell_stack--tink--tink_worker))

<a id="nestedatt--spec--versions_bundles--tinkerbell--tinkerbell_stack--tink--nginx"></a>
### Nested Schema for `spec.versions_bundles.tinkerbell.tinkerbell_stack.tink.nginx`

Optional:

- `arch` (List of String) Architectures of the asset
- `description` (String)
- `image_digest` (String) The SHA256 digest of the image manifest
- `name` (String) The asset name
- `os` (String) Operating system of the asset
- `os_name` (String) Name of the OS like ubuntu, bottlerocket
- `uri` (String) The image repository, name, and tag


<a id="nestedatt--spec--versions_bundles--tinkerbell--tinkerbell_stack--tink--tink_controller"></a>
### Nested Schema for `spec.versions_bundles.tinkerbell.tinkerbell_stack.tink.tink_controller`

Expand Down Expand Up @@ -1913,6 +1944,20 @@ Optional:
- `uri` (String) The image repository, name, and tag


<a id="nestedatt--spec--versions_bundles--tinkerbell--tinkerbell_stack--tinkerbell_crds"></a>
### Nested Schema for `spec.versions_bundles.tinkerbell.tinkerbell_stack.tinkerbell_crds`

Optional:

- `arch` (List of String) Architectures of the asset
- `description` (String)
- `image_digest` (String) The SHA256 digest of the image manifest
- `name` (String) The asset name
- `os` (String) Operating system of the asset
- `os_name` (String) Name of the OS like ubuntu, bottlerocket
- `uri` (String) The image repository, name, and tag




<a id="nestedatt--spec--versions_bundles--upgrader"></a>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@ Required:
Optional:

- `health_check` (Attributes) The health check configuration. Changes to this value will update VPC Lattice resource in place. (see [below for nested schema](#nestedatt--spec--health_check))
- `protocol` (String) The protocol to use for routing traffic to the targets. Supported values are HTTP (default) and HTTPS. Changes to this value results in a replacement of VPC Lattice target group.
- `protocol_version` (String) The protocol version to use. Supported values are HTTP1 (default) and HTTP2. When a policy is behind GRPCRoute, this field value will be ignored as GRPC is only supported through HTTP/2. Changes to this value results in a replacement of VPC Lattice target group.
- `protocol` (String) The protocol to use for routing traffic to the targets. Supported values are HTTP (default), HTTPS and TCP. Changes to this value results in a replacement of VPC Lattice target group.
- `protocol_version` (String) The protocol version to use. Supported values are HTTP1 (default) and HTTP2. When a policy Protocol is TCP, you should not set this field. Otherwise, the whole TargetGroupPolicy will not take effect. When a policy is behind GRPCRoute, this field value will be ignored as GRPC is only supported through HTTP/2. Changes to this value results in a replacement of VPC Lattice target group.

<a id="nestedatt--spec--target_ref"></a>
### Nested Schema for `spec.target_ref`
Expand All @@ -85,7 +85,7 @@ Optional:
- `path` (String) The destination for health checks on the targets.
- `port` (Number) The port used when performing health checks on targets. If not specified, health check defaults to the port that a target receives traffic on.
- `protocol` (String) The protocol used when performing health checks on targets.
- `protocol_version` (String) The protocol version used when performing health checks on targets. Defaults to HTTP/1.
- `protocol_version` (String) The protocol version used when performing health checks on targets.
- `status_match` (String) A regular expression to match HTTP status codes when checking for successful response from a target.
- `timeout_seconds` (Number) The amount of time, in seconds, to wait before reporting a target as unhealthy.
- `unhealthy_threshold_count` (Number) The number of consecutive failed health checks required before considering a target unhealthy.
Loading
Loading