Skip to content

Commit d91c356

Browse files
committed
fix: apiversion
1 parent 9af2724 commit d91c356

4 files changed

Lines changed: 10 additions & 10 deletions

File tree

examples/test/mocks/observed-resources/standard/steps/1/github-repository.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
apiVersion: repo.m.github.upbound.io/v1alpha1
1+
apiVersion: repo.github.m.upbound.io/v1alpha1
22
kind: Repository
33
metadata:
44
name: gitops-gitops-repo

examples/test/mocks/observed-resources/standard/steps/2/github-repository.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
apiVersion: repo.m.github.upbound.io/v1alpha1
1+
apiVersion: repo.github.m.upbound.io/v1alpha1
22
kind: Repository
33
metadata:
44
name: gitops-gitops-repo

functions/render/210-github-repository.yaml.gotmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
{{- $repo := $state.repository }}
77

88
---
9-
apiVersion: repo.m.github.upbound.io/v1alpha1
9+
apiVersion: repo.github.m.upbound.io/v1alpha1
1010
kind: Repository
1111
metadata:
1212
name: {{ $state.name }}-gitops-repo

tests/test-render/main.k

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ _argocdReady = [
2727
]
2828
}
2929
{
30-
apiVersion = "repo.m.github.upbound.io/v1alpha1"
30+
apiVersion = "repo.github.m.upbound.io/v1alpha1"
3131
kind = "Repository"
3232
metadata = {
3333
name = "placeholder-repo"
@@ -68,7 +68,7 @@ _items = [
6868
metadata.name = "argocd"
6969
}
7070
{
71-
apiVersion = "repo.m.github.upbound.io/v1alpha1"
71+
apiVersion = "repo.github.m.upbound.io/v1alpha1"
7272
kind = "Repository"
7373
metadata.name = "test-gitops-gitops-repo"
7474
}
@@ -109,7 +109,7 @@ _items = [
109109
}
110110
}
111111
{
112-
apiVersion = "repo.m.github.upbound.io/v1alpha1"
112+
apiVersion = "repo.github.m.upbound.io/v1alpha1"
113113
kind = "Repository"
114114
metadata = {
115115
name = "labeled-gitops-gitops-repo"
@@ -219,7 +219,7 @@ _items = [
219219
}
220220
assertResources = [
221221
{
222-
apiVersion = "repo.m.github.upbound.io/v1alpha1"
222+
apiVersion = "repo.github.m.upbound.io/v1alpha1"
223223
kind = "Repository"
224224
metadata.name = "tmpl-test-gitops-repo"
225225
spec.forProvider = {
@@ -259,7 +259,7 @@ _items = [
259259
}
260260
assertResources = [
261261
{
262-
apiVersion = "repo.m.github.upbound.io/v1alpha1"
262+
apiVersion = "repo.github.m.upbound.io/v1alpha1"
263263
kind = "Repository"
264264
metadata.name = "init-test-gitops-repo"
265265
spec.forProvider = {
@@ -420,7 +420,7 @@ _items = [
420420
}
421421
assertResources = [
422422
{
423-
apiVersion = "repo.m.github.upbound.io/v1alpha1"
423+
apiVersion = "repo.github.m.upbound.io/v1alpha1"
424424
kind = "Repository"
425425
metadata.name = "pc-test-gitops-repo"
426426
spec.providerConfigRef = {
@@ -466,7 +466,7 @@ _items = [
466466
}
467467
assertResources = [
468468
{
469-
apiVersion = "repo.m.github.upbound.io/v1alpha1"
469+
apiVersion = "repo.github.m.upbound.io/v1alpha1"
470470
kind = "Repository"
471471
metadata.name = "custom-repo-gitops-repo"
472472
spec.forProvider = {

0 commit comments

Comments
 (0)