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 #136

Merged
merged 3 commits into from
Apr 28, 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: ImageToolkitFluxcdIoImageUpdateAutomationV1Beta2Manifest
on:
pull_request:
branches: [ main ]
paths:
- examples/data-sources/k8s_image_toolkit_fluxcd_io_image_update_automation_v1beta2_manifest/**
- internal/provider/image_toolkit_fluxcd_io_v1beta2/image_toolkit_fluxcd_io_image_update_automation_v1beta2_manifest.go
- internal/provider/image_toolkit_fluxcd_io_v1beta2/image_toolkit_fluxcd_io_image_update_automation_v1beta2_manifest_test.go
- terratest/image_toolkit_fluxcd_io_v1beta2/image_toolkit_fluxcd_io_image_update_automation_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/image_toolkit_fluxcd_io_v1beta2/image_toolkit_fluxcd_io_image_update_automation_v1beta2_manifest_test.go
- id: terratest
name: Run Terratest Tests
run: go test -v -timeout=120s -count=1 -run TestImageToolkitFluxcdIoImageUpdateAutomationV1Beta2Manifest ./terratest/image_toolkit_fluxcd_io_v1beta2
Original file line number Diff line number Diff line change
Expand Up @@ -251,6 +251,7 @@ Optional:
- `logical_backup_provider` (String)
- `logical_backup_s3_access_key_id` (String)
- `logical_backup_s3_bucket` (String)
- `logical_backup_s3_bucket_prefix` (String)
- `logical_backup_s3_endpoint` (String)
- `logical_backup_s3_region` (String)
- `logical_backup_s3_retention_time` (String)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ Optional:
- `key_storage_security_standard` (String) Specifies a cryptographic key management compliance standard used for handlingCA keys.Default: FIPS_140_2_LEVEL_3_OR_HIGHERSome Amazon Web Services Regions do not support the default. When creatinga CA in these Regions, you must provide FIPS_140_2_LEVEL_2_OR_HIGHER as theargument for KeyStorageSecurityStandard. Failure to do this results in anInvalidArgsException with the message, 'A certificate authority cannot becreated in this region with the specified security standard.'For information about security standard support in various Regions, see Storageand security compliance of Amazon Web Services Private CA private keys (https://docs.aws.amazon.com/privateca/latest/userguide/data-protection.html#private-keys).
- `revocation_configuration` (Attributes) Contains information to enable Online Certificate Status Protocol (OCSP)support, to enable a certificate revocation list (CRL), to enable both, orto enable neither. The default is for both certificate validation mechanismsto be disabled.The following requirements apply to revocation configurations. * A configuration disabling CRLs or OCSP must contain only the Enabled=False parameter, and will fail if other parameters such as CustomCname or ExpirationInDays are included. * In a CRL configuration, the S3BucketName parameter must conform to Amazon S3 bucket naming rules (https://docs.aws.amazon.com/AmazonS3/latest/userguide/bucketnamingrules.html). * A configuration containing a custom Canonical Name (CNAME) parameter for CRLs or OCSP must conform to RFC2396 (https://www.ietf.org/rfc/rfc2396.txt) restrictions on the use of special characters in a CNAME. * In a CRL or OCSP configuration, the value of a CNAME parameter must not include a protocol prefix such as 'http://' or 'https://'.For more information, see the OcspConfiguration (https://docs.aws.amazon.com/privateca/latest/APIReference/API_OcspConfiguration.html)and CrlConfiguration (https://docs.aws.amazon.com/privateca/latest/APIReference/API_CrlConfiguration.html)types. (see [below for nested schema](#nestedatt--spec--revocation_configuration))
- `tags` (Attributes List) Key-value pairs that will be attached to the new private CA. You can associateup to 50 tags with a private CA. For information using tags with IAM to managepermissions, see Controlling Access Using IAM Tags (https://docs.aws.amazon.com/IAM/latest/UserGuide/access_iam-tags.html). (see [below for nested schema](#nestedatt--spec--tags))
- `type` (String)
- `type` (String) The type of the certificate authority.
- `usage_mode` (String) Specifies whether the CA issues general-purpose certificates that typicallyrequire a revocation mechanism, or short-lived certificates that may optionallyomit revocation because they expire quickly. Short-lived certificate validityis limited to seven days.The default value is GENERAL_PURPOSE.

<a id="nestedatt--spec--certificate_authority_configuration"></a>
Expand Down
244 changes: 28 additions & 216 deletions docs/data-sources/apps_kubeblocks_io_cluster_v1alpha1_manifest.md

Large diffs are not rendered by default.

Loading
Loading