Created
April 21, 2024 18:46
-
-
Save vfarcic/e6636bb851ae28d748fc8c1517bac931 to your computer and use it in GitHub Desktop.
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
####################################################################################### | |
# Exploring KCL: Configuration and Data Structure Language; CUE and Pkl Replacement? # | |
####################################################################################### | |
# Additional Info: | |
# - KCL: https://kcl-lang.io | |
# - Is CUE The Perfect Language For Kubernetes Manifests (Helm Templates Replacement)?: https://youtu.be/m6g0aWggdUQ | |
# - Is Timoni With CUE a Helm Replacement?: https://youtu.be/bbE1BFCs548 | |
# - Is Pkl the Ultimate Data Format? Unveiling the Challenger to YAML, JSON, and CUE: https://youtu.be/Nm1ioWPRRVQ | |
######### | |
# Setup # | |
######### | |
git clone https://github.com/vfarcic/crossplane-app | |
cd crossplane-app | |
git pull | |
git checkout kcl | |
################# | |
# KCL in Action # | |
################# | |
kcl kcl/backend.k | |
cat kcl/backend.k | |
cat kcl/backend-db-remote.k | |
kcl kcl/backend-db-remote.k | |
cat kcl/common.k | |
cat kcl/deployment.k | |
kcl --help | |
########### | |
# Destroy # | |
########### | |
git checkout main |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment