Replies: 1 comment
-
@mysticaltech do you have any suggestions to this? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
To enable Kubernetes API server audit logs (or Pod Security Admission configuration), you'll need to add a policy file to the servers. Source
/var/lib/rancher/k3s/server/audit.yaml
And pass some args to the kube-api-server:
I know it's possible to add files to the servers using cloud init (
cloudinit_write_files_common
), but I assume this would only work for new servers and not already existing ones.What would be the best practice to copy various files to all nodes (even existing ones)?
Also, did I understand correctly, currently it's not possible to override the kube_apiserver_args because of this line?
terraform-hcloud-kube-hetzner/locals.tf
Line 437 in 163d50c
I'm open to prepare a PR to solve this, just wanted to do some in-advance discovery on how it should be implemented.
Beta Was this translation helpful? Give feedback.
All reactions