Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add policies suitable for humans that should be able to manage jobs in some namespace(s) #10

Merged
merged 1 commit into from
Oct 22, 2024

Conversation

foodelevator
Copy link
Member

No description provided.

@foodelevator foodelevator requested a review from RafDevX October 22, 2024 20:15
Copy link

OpenTofu plan for dsekt-infra

Plan: 2 to add, 0 to change, 0 to destroy.
OpenTofu used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
+   create

OpenTofu will perform the following actions:

  # nomad_acl_policy.manage_jobs["auth"] will be created
+   resource "nomad_acl_policy" "manage_jobs" {
+       description = "Can manage jobs in the auth namespace"
+       id          = (known after apply)
+       name        = "manage-jobs-in-auth"
+       rules_hcl   = <<-EOT
            namespace "auth" {
                  policies = ["read", "write"]
                }
        EOT
    }

  # nomad_acl_policy.manage_jobs["default"] will be created
+   resource "nomad_acl_policy" "manage_jobs" {
+       description = "Can manage jobs in the default namespace"
+       id          = (known after apply)
+       name        = "manage-jobs-in-default"
+       rules_hcl   = <<-EOT
            namespace "default" {
                  policies = ["read", "write"]
                }
        EOT
    }

Plan: 2 to add, 0 to change, 0 to destroy.

📝 Plan generated in Create OpenTofu plan #44

@foodelevator foodelevator merged commit 92cc590 into main Oct 22, 2024
1 check passed
@foodelevator foodelevator deleted the humans-are-🤖s-too branch October 22, 2024 21:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant