-
Notifications
You must be signed in to change notification settings - Fork 0
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
Added vault agent to k8s worker for testing purposes #16
base: main
Are you sure you want to change the base?
Conversation
@@ -101,4 +101,35 @@ module "kubernetes_workers" { | |||
} | |||
} | |||
} | |||
vault_agent = { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The commit of submodule terraform-libvirt-kubernetes-node
needs to be changed so this var is available.
type = "approle" | ||
config = { | ||
role_id = "add_role_id" | ||
secret_id = "add_secret_id" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I suggest to provide a complete example that works so therefore have valid values here.
secret_id = "add_secret_id" | ||
} | ||
} | ||
vault_address = "https://vault.ferlab.lan:" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There's a trailing :
to remove at the end of the value.
} | ||
} | ||
vault_address = "https://vault.ferlab.lan:" | ||
vault_ca_cert = "" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The cert can be found in file ../shared/vault-ca.crt
.
] | ||
agent_config = "" | ||
release_version = "1.17.2" | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There's a variable extra_config
that is missing here. Actually also in repo terraform-libvirt-kubernetes-node
.
No description provided.