Skip to content

Instantly share code, notes, and snippets.

@YurgenUA
Last active January 20, 2024 18:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save YurgenUA/2ce5764665673f02275812a3eb324d96 to your computer and use it in GitHub Desktop.
Save YurgenUA/2ce5764665673f02275812a3eb324d96 to your computer and use it in GitHub Desktop.
resource "kubernetes_service_account" "non_privileged" {
metadata {
name = "non-privileged-sa"
namespace = kubernetes_namespace.playground.id
annotations = {
"kubernetes.io/enforce-mountable-secrets" = true
}
}
#secret {
#}
automount_service_account_token = true
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment