Skip to content

Commit

Permalink
Merge pull request #221 from Peefy/cilium-0.3
Browse files Browse the repository at this point in the history
feat: release cilium 0.3
  • Loading branch information
Peefy authored Aug 15, 2024
2 parents 3b8840d + 1604f8c commit 29f6894
Show file tree
Hide file tree
Showing 20 changed files with 423 additions and 427 deletions.
2 changes: 1 addition & 1 deletion cilium/kcl.mod
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "cilium"
edition = "*"
version = "0.2.0"
version = "0.3.0"
description = "`cilium` is the cilium spec definition"

[dependencies]
Expand Down
2 changes: 1 addition & 1 deletion cilium/v2/cilium_io_v2_cilium_clusterwide_envoy_config.k
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ schema CiliumIoV2CiliumClusterwideEnvoyConfigSpecNodeSelector:


check:
all _, matchLabels in matchLabels {len(matchLabels) <= _regex_match(str(matchLabels), r"^(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])?$") if matchLabels } if matchLabels
all _, matchLabels in matchLabels {_regex_match(str(matchLabels), r"^(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])?$") if matchLabels } if matchLabels


schema CiliumIoV2CiliumClusterwideEnvoyConfigSpecNodeSelectorMatchExpressionsItems0:
Expand Down
161 changes: 81 additions & 80 deletions cilium/v2/cilium_io_v2_cilium_clusterwide_network_policy.k

Large diffs are not rendered by default.

7 changes: 4 additions & 3 deletions cilium/v2/cilium_io_v2_cilium_egress_gateway_policy.k
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ Editing this file might prove futile when you re-run the KCL auto-gen generate c
"""
import regex
import k8s.apimachinery.pkg.apis.meta.v1
_regex_match = regex.match


schema CiliumEgressGatewayPolicy:
Expand Down Expand Up @@ -108,7 +109,7 @@ schema CiliumIoV2CiliumEgressGatewayPolicySpecEgressGatewayNodeSelector:


check:
all _, matchLabels in matchLabels {len(matchLabels) <= _regex_match(str(matchLabels), r"^(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])?$") if matchLabels } if matchLabels
all _, matchLabels in matchLabels {_regex_match(str(matchLabels), r"^(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])?$") if matchLabels } if matchLabels


schema CiliumIoV2CiliumEgressGatewayPolicySpecEgressGatewayNodeSelectorMatchExpressionsItems0:
Expand Down Expand Up @@ -170,7 +171,7 @@ schema CiliumIoV2CiliumEgressGatewayPolicySpecSelectorsItems0NamespaceSelector:


check:
all _, matchLabels in matchLabels {len(matchLabels) <= _regex_match(str(matchLabels), r"^(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])?$") if matchLabels } if matchLabels
all _, matchLabels in matchLabels {_regex_match(str(matchLabels), r"^(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])?$") if matchLabels } if matchLabels


schema CiliumIoV2CiliumEgressGatewayPolicySpecSelectorsItems0NamespaceSelectorMatchExpressionsItems0:
Expand Down Expand Up @@ -214,7 +215,7 @@ schema CiliumIoV2CiliumEgressGatewayPolicySpecSelectorsItems0PodSelector:


check:
all _, matchLabels in matchLabels {len(matchLabels) <= _regex_match(str(matchLabels), r"^(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])?$") if matchLabels } if matchLabels
all _, matchLabels in matchLabels {_regex_match(str(matchLabels), r"^(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])?$") if matchLabels } if matchLabels


schema CiliumIoV2CiliumEgressGatewayPolicySpecSelectorsItems0PodSelectorMatchExpressionsItems0:
Expand Down
Loading

0 comments on commit 29f6894

Please sign in to comment.