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 Sep 27, 2024
1 parent 51e9224 commit 86f8c85
Show file tree
Hide file tree
Showing 166 changed files with 33,151 additions and 60,178 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: GatewayNetworkingK8SIoBackendLbpolicyV1Alpha2Manifest
on:
pull_request:
branches: [ main ]
paths:
- examples/data-sources/k8s_gateway_networking_k8s_io_backend_lb_policy_v1alpha2_manifest/**
- internal/provider/gateway_networking_k8s_io_v1alpha2/gateway_networking_k8s_io_backend_lb_policy_v1alpha2_manifest.go
- internal/provider/gateway_networking_k8s_io_v1alpha2/gateway_networking_k8s_io_backend_lb_policy_v1alpha2_manifest_test.go
- terratest/gateway_networking_k8s_io_v1alpha2/gateway_networking_k8s_io_backend_lb_policy_v1alpha2_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/gateway_networking_k8s_io_v1alpha2/gateway_networking_k8s_io_backend_lb_policy_v1alpha2_manifest_test.go
- id: terratest
name: Run Terratest Tests
run: go test -v -timeout=120s -count=1 -run TestGatewayNetworkingK8SIoBackendLbpolicyV1Alpha2Manifest ./terratest/gateway_networking_k8s_io_v1alpha2
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: GatewayNetworkingK8SIoBackendTlspolicyV1Alpha3Manifest
on:
pull_request:
branches: [ main ]
paths:
- examples/data-sources/k8s_gateway_networking_k8s_io_backend_tls_policy_v1alpha3_manifest/**
- internal/provider/gateway_networking_k8s_io_v1alpha3/gateway_networking_k8s_io_backend_tls_policy_v1alpha3_manifest.go
- internal/provider/gateway_networking_k8s_io_v1alpha3/gateway_networking_k8s_io_backend_tls_policy_v1alpha3_manifest_test.go
- terratest/gateway_networking_k8s_io_v1alpha3/gateway_networking_k8s_io_backend_tls_policy_v1alpha3_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/gateway_networking_k8s_io_v1alpha3/gateway_networking_k8s_io_backend_tls_policy_v1alpha3_manifest_test.go
- id: terratest
name: Run Terratest Tests
run: go test -v -timeout=120s -count=1 -run TestGatewayNetworkingK8SIoBackendTlspolicyV1Alpha3Manifest ./terratest/gateway_networking_k8s_io_v1alpha3
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: KueueXK8SIoCohortV1Alpha1Manifest
on:
pull_request:
branches: [ main ]
paths:
- examples/data-sources/k8s_kueue_x_k8s_io_cohort_v1alpha1_manifest/**
- internal/provider/kueue_x_k8s_io_v1alpha1/kueue_x_k8s_io_cohort_v1alpha1_manifest.go
- internal/provider/kueue_x_k8s_io_v1alpha1/kueue_x_k8s_io_cohort_v1alpha1_manifest_test.go
- terratest/kueue_x_k8s_io_v1alpha1/kueue_x_k8s_io_cohort_v1alpha1_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/kueue_x_k8s_io_v1alpha1/kueue_x_k8s_io_cohort_v1alpha1_manifest_test.go
- id: terratest
name: Run Terratest Tests
run: go test -v -timeout=120s -count=1 -run TestKueueXK8SIoCohortV1Alpha1Manifest ./terratest/kueue_x_k8s_io_v1alpha1
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: KueueXK8SIoMultiKueueClusterV1Alpha1Manifest
on:
pull_request:
branches: [ main ]
paths:
- examples/data-sources/k8s_kueue_x_k8s_io_multi_kueue_cluster_v1alpha1_manifest/**
- internal/provider/kueue_x_k8s_io_v1alpha1/kueue_x_k8s_io_multi_kueue_cluster_v1alpha1_manifest.go
- internal/provider/kueue_x_k8s_io_v1alpha1/kueue_x_k8s_io_multi_kueue_cluster_v1alpha1_manifest_test.go
- terratest/kueue_x_k8s_io_v1alpha1/kueue_x_k8s_io_multi_kueue_cluster_v1alpha1_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/kueue_x_k8s_io_v1alpha1/kueue_x_k8s_io_multi_kueue_cluster_v1alpha1_manifest_test.go
- id: terratest
name: Run Terratest Tests
run: go test -v -timeout=120s -count=1 -run TestKueueXK8SIoMultiKueueClusterV1Alpha1Manifest ./terratest/kueue_x_k8s_io_v1alpha1
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: KueueXK8SIoMultiKueueConfigV1Alpha1Manifest
on:
pull_request:
branches: [ main ]
paths:
- examples/data-sources/k8s_kueue_x_k8s_io_multi_kueue_config_v1alpha1_manifest/**
- internal/provider/kueue_x_k8s_io_v1alpha1/kueue_x_k8s_io_multi_kueue_config_v1alpha1_manifest.go
- internal/provider/kueue_x_k8s_io_v1alpha1/kueue_x_k8s_io_multi_kueue_config_v1alpha1_manifest_test.go
- terratest/kueue_x_k8s_io_v1alpha1/kueue_x_k8s_io_multi_kueue_config_v1alpha1_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/kueue_x_k8s_io_v1alpha1/kueue_x_k8s_io_multi_kueue_config_v1alpha1_manifest_test.go
- id: terratest
name: Run Terratest Tests
run: go test -v -timeout=120s -count=1 -run TestKueueXK8SIoMultiKueueConfigV1Alpha1Manifest ./terratest/kueue_x_k8s_io_v1alpha1
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: KueueXK8SIoProvisioningRequestConfigV1Beta1Manifest
on:
pull_request:
branches: [ main ]
paths:
- examples/data-sources/k8s_kueue_x_k8s_io_provisioning_request_config_v1beta1_manifest/**
- internal/provider/kueue_x_k8s_io_v1beta1/kueue_x_k8s_io_provisioning_request_config_v1beta1_manifest.go
- internal/provider/kueue_x_k8s_io_v1beta1/kueue_x_k8s_io_provisioning_request_config_v1beta1_manifest_test.go
- terratest/kueue_x_k8s_io_v1beta1/kueue_x_k8s_io_provisioning_request_config_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/kueue_x_k8s_io_v1beta1/kueue_x_k8s_io_provisioning_request_config_v1beta1_manifest_test.go
- id: terratest
name: Run Terratest Tests
run: go test -v -timeout=120s -count=1 -run TestKueueXK8SIoProvisioningRequestConfigV1Beta1Manifest ./terratest/kueue_x_k8s_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: KueueXK8SIoWorkloadPriorityClassV1Beta1Manifest
on:
pull_request:
branches: [ main ]
paths:
- examples/data-sources/k8s_kueue_x_k8s_io_workload_priority_class_v1beta1_manifest/**
- internal/provider/kueue_x_k8s_io_v1beta1/kueue_x_k8s_io_workload_priority_class_v1beta1_manifest.go
- internal/provider/kueue_x_k8s_io_v1beta1/kueue_x_k8s_io_workload_priority_class_v1beta1_manifest_test.go
- terratest/kueue_x_k8s_io_v1beta1/kueue_x_k8s_io_workload_priority_class_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/kueue_x_k8s_io_v1beta1/kueue_x_k8s_io_workload_priority_class_v1beta1_manifest_test.go
- id: terratest
name: Run Terratest Tests
run: go test -v -timeout=120s -count=1 -run TestKueueXK8SIoWorkloadPriorityClassV1Beta1Manifest ./terratest/kueue_x_k8s_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: OperatorVictoriametricsComVlogsV1Beta1Manifest
on:
pull_request:
branches: [ main ]
paths:
- examples/data-sources/k8s_operator_victoriametrics_com_v_logs_v1beta1_manifest/**
- internal/provider/operator_victoriametrics_com_v1beta1/operator_victoriametrics_com_v_logs_v1beta1_manifest.go
- internal/provider/operator_victoriametrics_com_v1beta1/operator_victoriametrics_com_v_logs_v1beta1_manifest_test.go
- terratest/operator_victoriametrics_com_v1beta1/operator_victoriametrics_com_v_logs_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/operator_victoriametrics_com_v1beta1/operator_victoriametrics_com_v_logs_v1beta1_manifest_test.go
- id: terratest
name: Run Terratest Tests
run: go test -v -timeout=120s -count=1 -run TestOperatorVictoriametricsComVlogsV1Beta1Manifest ./terratest/operator_victoriametrics_com_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: OperatorVictoriametricsComVmscrapeConfigV1Beta1Manifest
on:
pull_request:
branches: [ main ]
paths:
- examples/data-sources/k8s_operator_victoriametrics_com_vm_scrape_config_v1beta1_manifest/**
- internal/provider/operator_victoriametrics_com_v1beta1/operator_victoriametrics_com_vm_scrape_config_v1beta1_manifest.go
- internal/provider/operator_victoriametrics_com_v1beta1/operator_victoriametrics_com_vm_scrape_config_v1beta1_manifest_test.go
- terratest/operator_victoriametrics_com_v1beta1/operator_victoriametrics_com_vm_scrape_config_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/operator_victoriametrics_com_v1beta1/operator_victoriametrics_com_vm_scrape_config_v1beta1_manifest_test.go
- id: terratest
name: Run Terratest Tests
run: go test -v -timeout=120s -count=1 -run TestOperatorVictoriametricsComVmscrapeConfigV1Beta1Manifest ./terratest/operator_victoriametrics_com_v1beta1
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
data "k8s_gateway_networking_k8s_io_backend_lb_policy_v1alpha2_manifest" "example" {
metadata = {
name = "some-name"
namespace = "some-namespace"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
terraform {
required_providers {
k8s = {
source = "localhost/metio/k8s"
version = "9999.99.99"
}
}
}

provider "k8s" {
offline = true
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
output "manifests" {
value = {
"example" = data.k8s_gateway_networking_k8s_io_backend_lb_policy_v1alpha2_manifest.example.yaml
}
}
Loading

0 comments on commit 86f8c85

Please sign in to comment.