Skip to content

Commit 29f6894

Browse files
authored
Merge pull request #221 from Peefy/cilium-0.3
feat: release cilium 0.3
2 parents 3b8840d + 1604f8c commit 29f6894

20 files changed

+423
-427
lines changed

cilium/kcl.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "cilium"
33
edition = "*"
4-
version = "0.2.0"
4+
version = "0.3.0"
55
description = "`cilium` is the cilium spec definition"
66

77
[dependencies]

cilium/v2/cilium_io_v2_cilium_clusterwide_envoy_config.k

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ schema CiliumIoV2CiliumClusterwideEnvoyConfigSpecNodeSelector:
100100

101101

102102
check:
103-
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
103+
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
104104

105105

106106
schema CiliumIoV2CiliumClusterwideEnvoyConfigSpecNodeSelectorMatchExpressionsItems0:

cilium/v2/cilium_io_v2_cilium_clusterwide_network_policy.k

Lines changed: 81 additions & 80 deletions
Large diffs are not rendered by default.

cilium/v2/cilium_io_v2_cilium_egress_gateway_policy.k

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ Editing this file might prove futile when you re-run the KCL auto-gen generate c
44
"""
55
import regex
66
import k8s.apimachinery.pkg.apis.meta.v1
7+
_regex_match = regex.match
78

89

910
schema CiliumEgressGatewayPolicy:
@@ -108,7 +109,7 @@ schema CiliumIoV2CiliumEgressGatewayPolicySpecEgressGatewayNodeSelector:
108109

109110

110111
check:
111-
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
112+
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
112113

113114

114115
schema CiliumIoV2CiliumEgressGatewayPolicySpecEgressGatewayNodeSelectorMatchExpressionsItems0:
@@ -170,7 +171,7 @@ schema CiliumIoV2CiliumEgressGatewayPolicySpecSelectorsItems0NamespaceSelector:
170171

171172

172173
check:
173-
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
174+
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
174175

175176

176177
schema CiliumIoV2CiliumEgressGatewayPolicySpecSelectorsItems0NamespaceSelectorMatchExpressionsItems0:
@@ -214,7 +215,7 @@ schema CiliumIoV2CiliumEgressGatewayPolicySpecSelectorsItems0PodSelector:
214215

215216

216217
check:
217-
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
218+
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
218219

219220

220221
schema CiliumIoV2CiliumEgressGatewayPolicySpecSelectorsItems0PodSelectorMatchExpressionsItems0:

0 commit comments

Comments
 (0)