Skip to content

Commit

Permalink
fix: Insure tailscale namespace exists
Browse files Browse the repository at this point in the history
  • Loading branch information
grifonas committed Jan 4, 2023
1 parent 9ef864b commit c7187d0
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tailscale/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@
locals {
auth_secret_name = "tailscale-auth"
}
resource "kubernetes_namespace_v1" "tailscale" {
metadata {
name = var.k8s_namespace
}
}

resource "kubernetes_role_v1" "tailscale" {
metadata {
name = "tailscale"
Expand Down

0 comments on commit c7187d0

Please sign in to comment.