Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Philippe Scorsolini <[email protected]>
Signed-off-by: Steven Borrelli <[email protected]>
  • Loading branch information
stevendborrelli and phisco committed Oct 8, 2024
1 parent ed7d8f4 commit f01d533
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,8 @@ apiVersion: meta.gotemplating.fn.crossplane.io/v1alpha1
kind: Context
data:
"apiextensions.crossplane.io/environment":
kind: Environment
apiVersion: internal.crossplane.io/v1alpha1
update: environment
nestedEnvUpdate:
hello: world
Expand Down
4 changes: 0 additions & 4 deletions example/context/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,17 +47,13 @@ fields:
hello: world
update: environment
newkey:
apiVersion: internal.crossplane.io/v1alpha1
hello: world
kind: Environment
other-context-key:
apiVersion: internal.crossplane.io/v1alpha1
complex:
a: b
c:
d: e
f: "1"
kind: Environment
kind: Context
```

Expand Down
4 changes: 2 additions & 2 deletions example/context/composition.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ spec:
data:
# update existing EnvironmentConfig by using the "apiextensions.crossplane.io/environment" key
"apiextensions.crossplane.io/environment":
kind: Environment,
apiVersion: internal.crossplane.io/v1alpha1,
kind: Environment
apiVersion: internal.crossplane.io/v1alpha1
update: environment
nestedEnvUpdate:
hello: world
Expand Down

0 comments on commit f01d533

Please sign in to comment.