calico policy artifacts source of truth validation
The strategy is to develop a tool, that could validate/compare local user input (policies) with the deployment repository and can be called when applying the calico policies via airshipctl (with calicoctl image integrated). Relates-To: #124 Change-Id: I4e7bb31afe84319e232be34df0b05c54092fd863
This commit is contained in:
parent
f819f6c510
commit
2296ca666b
|
@ -2,6 +2,10 @@ apiVersion: projectcalico.org/v3
|
|||
kind: GlobalNetworkPolicy
|
||||
metadata:
|
||||
name: hosts-ingress-rule
|
||||
labels:
|
||||
app.kubernetes.io/component: network-policy
|
||||
app.kubernetes.io/part-of: calico
|
||||
app.kubernetes.io/managed-by: calico
|
||||
spec:
|
||||
order: 0
|
||||
selector: all()
|
||||
|
|
|
@ -2,6 +2,10 @@ apiVersion: airshipit.org/v1alpha1
|
|||
kind: ReplacementTransformer
|
||||
metadata:
|
||||
name: networking-policy-replacements
|
||||
labels:
|
||||
app.kubernetes.io/component: network-policy
|
||||
app.kubernetes.io/part-of: calico
|
||||
app.kubernetes.io/managed-by: calico
|
||||
annotations:
|
||||
config.kubernetes.io/function: |-
|
||||
container:
|
||||
|
|
Loading…
Reference in New Issue