Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
* MTL-2458

* Update copyright

Signed-off-by: Russell Bunch <doomslayer@hpe.com>

---------

Signed-off-by: Russell Bunch <doomslayer@hpe.com>
Co-authored-by: Russell Bunch <doomslayer@hpe.com>
  • Loading branch information
jpdavis-prof and rustydb authored Sep 4, 2024
1 parent 6492be2 commit 46af23f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/operations/kubernetes/encryption.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#
# MIT License
#
# (C) Copyright 2022-2023 Hewlett Packard Enterprise Development LP
# (C) Copyright 2022-2024 Hewlett Packard Enterprise Development LP
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the "Software"),
Expand Down Expand Up @@ -682,7 +682,7 @@ commatospace() {
# controlplane nodes have the encryption file so no sense in annotating anything
# that isn't a control-plane.
kubectl_get_controlplane_nodes() {
kubectl get nodes --selector=node-role.kubernetes.io/master --no-headers=true -o custom-columns=NAME:.metadata.name
kubectl get nodes --selector=node-role.kubernetes.io/control-plane --no-headers=true -o custom-columns=NAME:.metadata.name
}

# Get the current node annotation values
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@ spec:
- key: "node-role.kubernetes.io/master"
operator: "Exists"
effect: "NoSchedule"
- key: "node-role.kubernetes.io/control-plane"
operator: "Exists"
effect: "NoSchedule"
entrypoint: main
templates:
- name: main
Expand Down

0 comments on commit 46af23f

Please sign in to comment.