Skip to content

Commit c5e7460

Browse files
committed
fix tests for uptest
1 parent 0e4c11b commit c5e7460

4 files changed

Lines changed: 9 additions & 24 deletions

File tree

apis/appconfig/v1beta1/zz_deployment_types.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

apis/appconfig/v1beta1/zz_generated.resolvers.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

config/appconfig/config.go

Lines changed: 0 additions & 19 deletions
This file was deleted.

examples/appconfig/deployment.yaml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ apiVersion: appconfig.aws.upbound.io/v1beta1
22
kind: Deployment
33
metadata:
44
annotations:
5+
upjet.upbound.io/manual-intervention: "Requires configuration version to replaced manually."
56
meta.upbound.io/example-id: appconfig/v1beta1/deployment
67
labels:
78
testing.upbound.io/example-name: example
@@ -18,12 +19,10 @@ spec:
1819
matchLabels:
1920
testing.upbound.io/example-name: example
2021
description: My example deployment
22+
configurationVersion: "1" #manually add version for the created hosted configuration version
2123
environmentIdSelector:
2224
matchLabels:
2325
testing.upbound.io/example-name: example
24-
configurationVersionSelector:
25-
matchLabels:
26-
testing.upbound.io/example-name: example
2726
region: us-east-1
2827
tags:
2928
Type: AppConfig Deployment
@@ -32,6 +31,7 @@ apiVersion: appconfig.aws.upbound.io/v1beta1
3231
kind: HostedConfigurationVersion
3332
metadata:
3433
annotations:
34+
upjet.upbound.io/manual-intervention: "Requires configuration version to replaced manually."
3535
meta.upbound.io/example-id: appconfig/v1beta1/deployment
3636
labels:
3737
testing.upbound.io/example-name: example
@@ -56,6 +56,7 @@ apiVersion: appconfig.aws.upbound.io/v1beta1
5656
kind: Application
5757
metadata:
5858
annotations:
59+
upjet.upbound.io/manual-intervention: "Requires configuration version to replaced manually."
5960
meta.upbound.io/example-id: appconfig/v1beta1/deployment
6061
labels:
6162
testing.upbound.io/example-name: example
@@ -72,6 +73,7 @@ apiVersion: appconfig.aws.upbound.io/v1beta1
7273
kind: ConfigurationProfile
7374
metadata:
7475
annotations:
76+
upjet.upbound.io/manual-intervention: "Requires configuration version to replaced manually."
7577
meta.upbound.io/example-id: appconfig/v1beta1/deployment
7678
labels:
7779
testing.upbound.io/example-name: example
@@ -101,6 +103,7 @@ apiVersion: appconfig.aws.upbound.io/v1beta1
101103
kind: DeploymentStrategy
102104
metadata:
103105
annotations:
106+
upjet.upbound.io/manual-intervention: "Requires configuration version to replaced manually."
104107
meta.upbound.io/example-id: appconfig/v1beta1/deployment
105108
labels:
106109
testing.upbound.io/example-name: example
@@ -122,6 +125,7 @@ apiVersion: appconfig.aws.upbound.io/v1beta1
122125
kind: Environment
123126
metadata:
124127
annotations:
128+
upjet.upbound.io/manual-intervention: "Requires configuration version to replaced manually."
125129
meta.upbound.io/example-id: appconfig/v1beta1/deployment
126130
labels:
127131
testing.upbound.io/example-name: example

0 commit comments

Comments
 (0)