-
Notifications
You must be signed in to change notification settings - Fork 129
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1334 from ulucinar/converted-examples
Add example manifests for the converted singleton list API versions
- Loading branch information
Showing
349 changed files
with
20,895 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# SPDX-FileCopyrightText: 2024 The Crossplane Authors <https://crossplane.io> | ||
# | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
apiVersion: accessanalyzer.aws.upbound.io/v1beta2 | ||
kind: Analyzer | ||
metadata: | ||
annotations: | ||
meta.upbound.io/example-id: accessanalyzer/v1beta2/analyzer | ||
labels: | ||
testing.upbound.io/example-name: example | ||
name: example | ||
spec: | ||
forProvider: | ||
region: us-west-1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
# SPDX-FileCopyrightText: 2024 The Crossplane Authors <https://crossplane.io> | ||
# | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
apiVersion: acm.aws.upbound.io/v1beta2 | ||
kind: Certificate | ||
metadata: | ||
annotations: | ||
meta.upbound.io/example-id: acm/v1beta2/certificate | ||
labels: | ||
testing.upbound.io/example-name: certificate | ||
name: example-dns | ||
spec: | ||
forProvider: | ||
domainName: example-dns.upbound-providers.io | ||
region: us-west-1 | ||
tags: | ||
Environment: test | ||
validationMethod: DNS | ||
|
||
--- | ||
|
||
apiVersion: acm.aws.upbound.io/v1beta1 | ||
kind: CertificateValidation | ||
metadata: | ||
annotations: | ||
meta.upbound.io/example-id: acm/v1beta2/certificate | ||
upjet.upbound.io/manual-intervention: It requires a real domain to be bought | ||
labels: | ||
testing.upbound.io/example-name: certificate | ||
name: example-dns | ||
spec: | ||
forProvider: | ||
certificateArnSelector: | ||
matchLabels: | ||
testing.upbound.io/example-name: certificate | ||
region: us-west-1 | ||
validationRecordFqdns: | ||
- _6a48817259ef461524224d64f7a209f4.example-dns.upbound-providers.io |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
# SPDX-FileCopyrightText: 2024 The Crossplane Authors <https://crossplane.io> | ||
# | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
apiVersion: acmpca.aws.upbound.io/v1beta2 | ||
kind: Certificate | ||
metadata: | ||
annotations: | ||
meta.upbound.io/example-id: acmpca/v1beta2/certificate | ||
upjet.upbound.io/manual-intervention: It depends on CertificateAuthority which | ||
is not suitable for continuous automated testing. | ||
name: example | ||
spec: | ||
forProvider: | ||
certificateAuthorityArnRef: | ||
name: example | ||
certificateSigningRequestSecretRef: | ||
key: certificate_signing_request | ||
name: acmpca-ca | ||
namespace: upbound-system | ||
region: eu-central-1 | ||
signingAlgorithm: SHA256WITHRSA | ||
templateArn: arn:aws:acm-pca:::template/RootCACertificate/V1 | ||
validity: | ||
type: YEARS | ||
value: "1" | ||
providerConfigRef: | ||
name: default | ||
writeConnectionSecretToRef: | ||
name: acmpca-certificate | ||
namespace: upbound-system |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
# SPDX-FileCopyrightText: 2024 The Crossplane Authors <https://crossplane.io> | ||
# | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
apiVersion: acmpca.aws.upbound.io/v1beta2 | ||
kind: CertificateAuthority | ||
metadata: | ||
annotations: | ||
meta.upbound.io/example-id: acmpca/v1beta2/certificateauthority | ||
upjet.upbound.io/manual-intervention: Creation of this resource costs over $100, | ||
so it is not suitable for continuous testing. | ||
name: example | ||
spec: | ||
forProvider: | ||
certificateAuthorityConfiguration: | ||
keyAlgorithm: RSA_4096 | ||
signingAlgorithm: SHA512WITHRSA | ||
subject: | ||
commonName: example.com | ||
permanentDeletionTimeInDays: 7 | ||
region: eu-central-1 | ||
type: ROOT | ||
providerConfigRef: | ||
name: default | ||
writeConnectionSecretToRef: | ||
name: acmpca-ca | ||
namespace: upbound-system |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
# SPDX-FileCopyrightText: 2024 The Crossplane Authors <https://crossplane.io> | ||
# | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
apiVersion: amp.aws.upbound.io/v1beta2 | ||
kind: Workspace | ||
metadata: | ||
annotations: | ||
meta.upbound.io/example-id: amp/v1beta2/workspace | ||
uptest.upbound.io/update-parameter: '{"tags":{"update-test-tag":"val"}}' | ||
labels: | ||
testing.upbound.io/example-name: amp | ||
name: demo | ||
spec: | ||
forProvider: | ||
region: us-east-1 | ||
|
||
--- | ||
|
||
apiVersion: amp.aws.upbound.io/v1beta1 | ||
kind: RuleGroupNamespace | ||
metadata: | ||
annotations: | ||
meta.upbound.io/example-id: amp/v1beta2/workspace | ||
labels: | ||
testing.upbound.io/example-name: amp | ||
name: demo | ||
spec: | ||
forProvider: | ||
data: | | ||
groups: | ||
- name: test | ||
rules: | ||
- record: metric:recording_rule | ||
expr: avg(rate(container_cpu_usage_seconds_total[5m])) | ||
region: us-east-1 | ||
workspaceIdSelector: | ||
matchLabels: | ||
testing.upbound.io/example-name: amp | ||
|
||
--- | ||
|
||
apiVersion: amp.aws.upbound.io/v1beta1 | ||
kind: AlertManagerDefinition | ||
metadata: | ||
annotations: | ||
meta.upbound.io/example-id: amp/v1beta2/workspace | ||
labels: | ||
testing.upbound.io/example-name: amp | ||
name: demo | ||
spec: | ||
forProvider: | ||
definition: | | ||
alertmanager_config: | | ||
route: | ||
receiver: 'default' | ||
receivers: | ||
- name: 'default' | ||
region: us-east-1 | ||
workspaceIdSelector: | ||
matchLabels: | ||
testing.upbound.io/example-name: amp |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
# SPDX-FileCopyrightText: 2024 The Crossplane Authors <https://crossplane.io> | ||
# | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
apiVersion: amplify.aws.upbound.io/v1beta2 | ||
kind: App | ||
metadata: | ||
annotations: | ||
meta.upbound.io/example-id: amplify/v1beta2/app | ||
labels: | ||
testing.upbound.io/example-name: example | ||
name: example | ||
spec: | ||
forProvider: | ||
buildSpec: | | ||
version: 0.1 | ||
frontend: | ||
phases: | ||
preBuild: | ||
commands: | ||
- yarn install | ||
build: | ||
commands: | ||
- yarn run build | ||
artifacts: | ||
baseDirectory: build | ||
files: | ||
- '**/*' | ||
cache: | ||
paths: | ||
- node_modules/**/* | ||
customRule: | ||
- source: /<*> | ||
status: "404" | ||
target: /index.html | ||
environmentVariables: | ||
ENV: test | ||
name: example | ||
region: us-west-1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# SPDX-FileCopyrightText: 2024 The Crossplane Authors <https://crossplane.io> | ||
# | ||
# SPDX-License-Identifier: CC0-1.0 | ||
|
||
apiVersion: apigateway.aws.upbound.io/v1beta2 | ||
kind: DomainName | ||
metadata: | ||
annotations: | ||
upjet.upbound.io/manual-intervention: "The DomainName resource needs valid certificates." | ||
labels: | ||
testing.upbound.io/example-name: domainname | ||
name: example | ||
spec: | ||
forProvider: | ||
certificateBody: <content of 'example.crt'> | ||
certificateChain: <content of ca.crt> | ||
certificateName: example-api | ||
certificatePrivateKeySecretRef: | ||
key: attribute.example.key | ||
name: example-secret | ||
namespace: upbound-system | ||
domainName: example.com | ||
region: us-west-1 |
Oops, something went wrong.