feat: enable incus support in actionsdind container
Build / build (pull_request) Successful in 18m12s
Build / build (pull_request) Successful in 18m12s
- add incus-images backend - set incus-images as default backend - manage deploying client.key/client.crt from vault to specific containers
This commit is contained in:
@@ -7,4 +7,6 @@ locals {
|
||||
incus_base_name = "${var.os_name}${var.os_version_major}/${var.os_image}"
|
||||
incus_output_image = "${local.incus_base_name}/${var.suffix}"
|
||||
is_master = "${var.git_branch}" == "master"
|
||||
incus_key = vault("kv/data/service/packer/builder/docker-incus-client", "private_key")
|
||||
incus_crt = vault("kv/data/service/packer/builder/docker-incus-client", "public_key")
|
||||
}
|
||||
|
||||
@@ -121,3 +121,8 @@ variable "git_branch" {
|
||||
type = string
|
||||
default = env("GIT_BRANCH")
|
||||
}
|
||||
|
||||
variable "include_incus_client_certs" {
|
||||
type = bool
|
||||
default = false
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user