Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
R
ROS-Kubernetes
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Larkin Heintzman
ROS-Kubernetes
Commits
3b84ecc2
Commit
3b84ecc2
authored
Oct 26, 2022
by
Larkin Heintzman
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://git.caslab.ece.vt.edu/hlarkin3/ros-kubernetes
plotting tools update
parents
54f11263
b403c238
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
36 additions
and
55 deletions
+36
-55
flannel.yml
flannel.yml
+36
-55
No files found.
flannel.yml
View file @
3b84ecc2
---
apiVersion
:
policy/v1beta1
kind
:
PodSecurityPolicy
kind
:
Namespace
apiVersion
:
v1
metadata
:
name
:
psp.flannel.unprivileged
annotations
:
seccomp.security.alpha.kubernetes.io/allowedProfileNames
:
docker/default
seccomp.security.alpha.kubernetes.io/defaultProfileName
:
docker/default
apparmor.security.beta.kubernetes.io/allowedProfileNames
:
runtime/default
apparmor.security.beta.kubernetes.io/defaultProfileName
:
runtime/default
spec
:
privileged
:
false
volumes
:
-
configMap
-
secret
-
emptyDir
-
hostPath
allowedHostPaths
:
-
pathPrefix
:
"
/etc/cni/net.d"
-
pathPrefix
:
"
/etc/kube-flannel"
-
pathPrefix
:
"
/run/flannel"
readOnlyRootFilesystem
:
false
# Users and groups
runAsUser
:
rule
:
RunAsAny
supplementalGroups
:
rule
:
RunAsAny
fsGroup
:
rule
:
RunAsAny
# Privilege Escalation
allowPrivilegeEscalation
:
false
defaultAllowPrivilegeEscalation
:
false
# Capabilities
allowedCapabilities
:
[
'
NET_ADMIN'
,
'
NET_RAW'
]
defaultAddCapabilities
:
[]
requiredDropCapabilities
:
[]
# Host namespaces
hostPID
:
false
hostIPC
:
false
hostNetwork
:
true
hostPorts
:
-
min
:
0
max
:
65535
# SELinux
seLinux
:
# SELinux is unused in CaaSP
rule
:
'
RunAsAny'
name
:
kube-flannel
labels
:
pod-security.kubernetes.io/enforce
:
privileged
---
kind
:
ClusterRole
apiVersion
:
rbac.authorization.k8s.io/v1
metadata
:
name
:
flannel
rules
:
-
apiGroups
:
[
'
extensions'
]
resources
:
[
'
podsecuritypolicies'
]
verbs
:
[
'
use'
]
resourceNames
:
[
'
psp.flannel.unprivileged'
]
-
apiGroups
:
-
"
"
resources
:
...
...
@@ -86,19 +42,19 @@ roleRef:
subjects
:
-
kind
:
ServiceAccount
name
:
flannel
namespace
:
kube-
system
namespace
:
kube-
flannel
---
apiVersion
:
v1
kind
:
ServiceAccount
metadata
:
name
:
flannel
namespace
:
kube-
system
namespace
:
kube-
flannel
---
kind
:
ConfigMap
apiVersion
:
v1
metadata
:
name
:
kube-flannel-cfg
namespace
:
kube-
system
namespace
:
kube-
flannel
labels
:
tier
:
node
app
:
flannel
...
...
@@ -135,7 +91,7 @@ apiVersion: apps/v1
kind
:
DaemonSet
metadata
:
name
:
kube-flannel-ds
namespace
:
kube-
system
namespace
:
kube-
flannel
labels
:
tier
:
node
app
:
flannel
...
...
@@ -165,8 +121,21 @@ spec:
effect
:
NoSchedule
serviceAccountName
:
flannel
initContainers
:
-
name
:
install-cni-plugin
#image: flannelcni/flannel-cni-plugin:v1.1.0 for ppc64le and mips64le (dockerhub limitations may apply)
image
:
docker.io/rancher/mirrored-flannelcni-flannel-cni-plugin:v1.1.0
command
:
-
cp
args
:
-
-f
-
/flannel
-
/opt/cni/bin/flannel
volumeMounts
:
-
name
:
cni-plugin
mountPath
:
/opt/cni/bin
-
name
:
install-cni
image
:
quay.io/coreos/flannel:v0.14.0
#image: flannelcni/flannel:v0.19.1 for ppc64le and mips64le (dockerhub limitations may apply)
image
:
docker.io/rancher/mirrored-flannelcni-flannel:v0.19.1
command
:
-
cp
args
:
...
...
@@ -180,7 +149,8 @@ spec:
mountPath
:
/etc/kube-flannel/
containers
:
-
name
:
kube-flannel
image
:
quay.io/coreos/flannel:v0.14.0
#image: flannelcni/flannel:v0.19.1 for ppc64le and mips64le (dockerhub limitations may apply)
image
:
docker.io/rancher/mirrored-flannelcni-flannel:v0.19.1
command
:
-
/opt/bin/flanneld
args
:
...
...
@@ -206,18 +176,29 @@ spec:
valueFrom
:
fieldRef
:
fieldPath
:
metadata.namespace
-
name
:
EVENT_QUEUE_DEPTH
value
:
"
5000"
volumeMounts
:
-
name
:
run
mountPath
:
/run/flannel
-
name
:
flannel-cfg
mountPath
:
/etc/kube-flannel/
-
name
:
xtables-lock
mountPath
:
/run/xtables.lock
volumes
:
-
name
:
run
hostPath
:
path
:
/run/flannel
-
name
:
cni-plugin
hostPath
:
path
:
/opt/cni/bin
-
name
:
cni
hostPath
:
path
:
/etc/cni/net.d
-
name
:
flannel-cfg
configMap
:
name
:
kube-flannel-cfg
-
name
:
xtables-lock
hostPath
:
path
:
/run/xtables.lock
type
:
FileOrCreate
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment