Skip to content

Commit

Permalink
linux-bridge: use w/ openshift required-scc annotation
Browse files Browse the repository at this point in the history
Signed-off-by: Miguel Duarte Barroso <[email protected]>
  • Loading branch information
maiqueb committed Dec 4, 2024
1 parent f83346a commit e30a3af
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
6 changes: 6 additions & 0 deletions data/linux-bridge/002-linux-bridge.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,14 @@ spec:
name: kube-cni-linux-bridge-plugin
tier: node
app: cni-plugins
{{ if .IsOpenshift }}
annotations:
openshift.io/required-scc: "linux-bridge"
description: LinuxBridge installs 'bridge' CNI on cluster nodes, so it can be later used to attach Pods/VMs to Linux bridges
{{ else }}
annotations:
description: LinuxBridge installs 'bridge' CNI on cluster nodes, so it can be later used to attach Pods/VMs to Linux bridges
{{ end }}
spec:
{{ if .EnableSCC }}
serviceAccountName: linux-bridge
Expand Down
6 changes: 6 additions & 0 deletions data/linux-bridge/003-bridge-marker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,14 @@ spec:
tier: node
app: bridge-marker
name: bridge-marker
{{ if .IsOpenshift }}
annotations:
openshift.io/required-scc: "bridge-marker"
description: Bridge marker exposes network bridges available on nodes as node resources
{{ else }}
annotations:
description: Bridge marker exposes network bridges available on nodes as node resources
{{ end }}
spec:
serviceAccountName: bridge-marker
hostNetwork: true
Expand Down

0 comments on commit e30a3af

Please sign in to comment.