Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Infrastructure GitOps
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Operate
Terraform modules
Analyze
Contributor analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Shivering-Isles
Infrastructure GitOps
Commits
58da7c28
Verified
Commit
58da7c28
authored
3 years ago
by
Sheogorath
Browse files
Options
Downloads
Patches
Plain Diff
Update calico settings
parent
f3434798
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
infrastructure/calico/release.yaml
+14
-0
14 additions, 0 deletions
infrastructure/calico/release.yaml
infrastructure/kyverno/allow-from-same-namespace-network-policies.yaml
+29
-0
29 additions, 0 deletions
...e/kyverno/allow-from-same-namespace-network-policies.yaml
with
43 additions
and
0 deletions
infrastructure/calico/release.yaml
+
14
−
0
View file @
58da7c28
...
@@ -13,3 +13,17 @@ spec:
...
@@ -13,3 +13,17 @@ spec:
name
:
projectcalico
name
:
projectcalico
version
:
v3.20.1
version
:
v3.20.1
interval
:
15m
interval
:
15m
values
:
installation
:
enabled
:
true
kubernetesProvider
:
"
"
calicoNetwork
:
bgp
:
Disabled
hostPorts
:
Enabled
ipPools
:
-
blockSize
:
26
cidr
:
192.168.0.0/16
encapsulation
:
VXLAN
natOutgoing
:
Enabled
nodeSelector
:
all()
This diff is collapsed.
Click to expand it.
infrastructure/kyverno/allow-from-same-namespace-network-policies.yaml
0 → 100644
+
29
−
0
View file @
58da7c28
apiVersion
:
kyverno.io/v1
kind
:
ClusterPolicy
metadata
:
name
:
default
spec
:
rules
:
-
name
:
allow-from-same-namespace
match
:
resources
:
kinds
:
-
Namespace
exclude
:
resources
:
namespaces
:
-
*-system
-
default
-
kube-public
-
kyverno
generate
:
apiVersion
:
networking.k8s.io/v1
kind
:
NetworkPolicy
metadata
:
name
:
allow-from-same-namespace-managed
namespace
:
{{
request.object.metadata.name
}}
spec
:
podSelector
:
{}
ingress
:
-
from
:
-
podSelector
:
{}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment