-
Notifications
You must be signed in to change notification settings - Fork 24
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
Conditional rendering using CEL #84
Closed
stevendborrelli
wants to merge
42
commits into
crossplane-contrib:main
from
stevendborrelli:cel-conditionals
Closed
Changes from all commits
Commits
Show all changes
42 commits
Select commit
Hold shift + click to select a range
04c3eb7
evaluate expressions with cel
stevendborrelli 2ca7c04
use new sdk fork module
stevendborrelli 8c4eb9c
fix linter errors
stevendborrelli 23bdd38
gci import update
stevendborrelli 1b5ba1c
add test for conditionals
stevendborrelli 3a30fd5
improve type error message
stevendborrelli e6b16ed
update examples with reand nop provider
stevendborrelli 155a4b3
update go.mod for function-sdk-go updates
stevendborrelli 1feed87
feat: :wrench: eval CEL expression for each composed resource
a36244b
Merge pull request #1 from jcooklin/pr/stevendborrelli/26
stevendborrelli 0b35fb6
merge upstream main
stevendborrelli f4bba8d
update repo location
stevendborrelli 20b2fce
lint fixes
stevendborrelli a0618e5
lint fixes
stevendborrelli f221df1
Merge pull request #2 from stevendborrelli/cel
stevendborrelli 6c1285a
change fields from condition/expression to condition
stevendborrelli ea49546
Merge pull request #3 from stevendborrelli/refactor-conditional
stevendborrelli 02b501d
initial push workflow
stevendborrelli c5fc464
fix package path
stevendborrelli 755c911
use crossplane xpkg login
stevendborrelli 033c1b5
Merge pull request #4 from stevendborrelli/github-actions
stevendborrelli aea859c
update readme
stevendborrelli bcd58de
update readme
stevendborrelli d89a56c
add examples
stevendborrelli d36f0f1
update readme
stevendborrelli 535f4fc
Merge pull request #5 from stevendborrelli/0.3.0-release
stevendborrelli de4e713
update readme
stevendborrelli e6a26c6
Merge pull request #6 from stevendborrelli/0.3.0-release
stevendborrelli 35d96b4
Merge branch 'dev/patch-and-order' into patch-ordering
stevendborrelli 1074aa0
update examples
stevendborrelli 61e3372
update version
stevendborrelli 436ba40
Merge pull request #7 from stevendborrelli/patch-ordering
stevendborrelli 0590290
Merge remote-tracking branch 'upstream/main' into upstream-sync
stevendborrelli a1a5ccd
Merge pull request #8 from stevendborrelli/upstream-sync
stevendborrelli 03f2829
feat(upboundcare): switch to upboundcare
haarchri 6d164cb
Merge pull request #1 from UpboundCare/feature/upboundcare-adoption
haarchri 511de38
add conditional rendering
stevendborrelli 49d4297
update go modules
stevendborrelli 51e7be6
Merge branch 'main' into cel-conditionals
stevendborrelli 4b208e6
remove render.go
stevendborrelli faf3317
remove old examples
stevendborrelli a98d431
change push org
stevendborrelli File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
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,20 @@ | ||
|
||
DOCKER := docker | ||
GO := go | ||
|
||
GOLANGCI_VERSION := 1.55.2 | ||
|
||
generate: | ||
$(GO) generate ./... | ||
|
||
test: | ||
$(GO) test ./... | ||
|
||
lint: | ||
$(DOCKER) run --rm -v $(CURDIR):/app -v ~/.cache/golangci-lint/v$(GOLANGCI_VERSION):/root/.cache -w /app golangci/golangci-lint:v$(GOLANGCI_VERSION) golangci-lint run --fix | ||
|
||
reviewable: generate test lint | ||
|
||
# run a local process for crossplane render | ||
run-local: | ||
$(GO) run . --debug --insecure |
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
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.