Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

stoping using beta.kubernetes.io/os #411

Merged
merged 1 commit into from
Mar 14, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion bindata/manifests/daemon/daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ spec:
hostNetwork: true
hostPID: true
nodeSelector:
beta.kubernetes.io/os: linux
kubernetes.io/os: linux
node-role.kubernetes.io/worker:
tolerations:
- operator: Exists
Expand Down
2 changes: 1 addition & 1 deletion bindata/manifests/operator-webhook/server.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ spec:
serviceAccountName: operator-webhook-sa
priorityClassName: "system-cluster-critical"
nodeSelector:
beta.kubernetes.io/os: linux
kubernetes.io/os: linux
affinity:
{{ if not .ExternalControlPlane }}
nodeAffinity:
Expand Down
2 changes: 1 addition & 1 deletion bindata/manifests/plugins/sriov-device-plugin.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ spec:
spec:
hostNetwork: true
nodeSelector:
beta.kubernetes.io/os: linux
kubernetes.io/os: linux
node-role.kubernetes.io/worker:
tolerations:
- operator: Exists
Expand Down
2 changes: 1 addition & 1 deletion bindata/manifests/webhook/server.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ spec:
serviceAccountName: network-resources-injector-sa
priorityClassName: "system-cluster-critical"
nodeSelector:
beta.kubernetes.io/os: linux
kubernetes.io/os: linux
affinity:
{{ if not .ExternalControlPlane }}
nodeAffinity:
Expand Down
2 changes: 1 addition & 1 deletion controllers/sriovnetworknodepolicy_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ func (r *SriovNetworkNodePolicyReconciler) Reconcile(ctx context.Context, req ct
nodeList := &corev1.NodeList{}
lo := &client.MatchingLabels{
"node-role.kubernetes.io/worker": "",
"beta.kubernetes.io/os": "linux",
"kubernetes.io/os": "linux",
}
defaultOpConf := &sriovnetworkv1.SriovOperatorConfig{}
if err := r.Get(ctx, types.NamespacedName{Namespace: namespace, Name: constants.DefaultConfigName}, defaultOpConf); err != nil {
Expand Down
2 changes: 1 addition & 1 deletion doc/quickstart.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(
service/sriov-network-operator ClusterIP 10.102.53.223 <none> 8383/TCP 9s

NAME DESIRED CURRENT READY UP-TO-DATE AVAILABLE NODE SELECTOR AGE
daemonset.apps/sriov-network-config-daemon 1 1 1 1 1 beta.kubernetes.io/os=linux,node-role.kubernetes.io/worker= 8s
daemonset.apps/sriov-network-config-daemon 1 1 1 1 1 kubernetes.io/os=linux,node-role.kubernetes.io/worker= 8s

NAME READY UP-TO-DATE AVAILABLE AGE
deployment.apps/sriov-network-operator 1/1 1 1 10s
Expand Down