File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -150,6 +150,15 @@ spec:
150
150
# is not 'off'.
151
151
host_groups : [ubuntu, nginx, other]
152
152
153
+ # List of entries to include in a temporary sudoers file created in
154
+ # `/etc/sudoers.d`. The records are removed on session close.
155
+ host_sudoers : [
156
+ # This line will allow the login user to run `systemctl restart nginx.service`
157
+ # as root without requiring a password. The sudoers entry will be prefixed
158
+ # with the logged in username.
159
+ " ALL = (root) NOPASSWD: /usr/bin/systemctl restart nginx.service"
160
+ ]
161
+
153
162
# kubernetes_groups specifies Kubernetes groups a user with this role will assume.
154
163
# You can refer to a SAML/OIDC trait via the 'external' property bag.
155
164
# This allows you to specify Kubernetes group membership in an identity manager:
You can’t perform that action at this time.
0 commit comments