mirror of
https://github.com/kemko/nomad.git
synced 2026-01-01 16:05:42 +03:00
This directory and its subdirectories (packages) contain files licensed with the MPLv2 `LICENSE` file in this directory and are intentionally licensed separately from the BSL `LICENSE` file at the root of this repository. Co-authored-by: hashicorp-copywrite[bot] <110428419+hashicorp-copywrite[bot]@users.noreply.github.com>
37 lines
651 B
HCL
37 lines
651 B
HCL
# Copyright (c) HashiCorp, Inc.
|
|
# SPDX-License-Identifier: MPL-2.0
|
|
|
|
job "digitalocean" {
|
|
|
|
datacenters = ["dc1"]
|
|
type = "system"
|
|
|
|
group "csi" {
|
|
task "plugin" {
|
|
driver = "docker"
|
|
|
|
config {
|
|
image = "digitalocean/do-csi-plugin:v2.1.1"
|
|
args = [
|
|
"--endpoint=${CSI_ENDPOINT}",
|
|
"--token=${token}",
|
|
"--url=https://api.digitalocean.com/",
|
|
]
|
|
|
|
privileged = true
|
|
}
|
|
|
|
csi_plugin {
|
|
id = "digitalocean"
|
|
type = "monolith"
|
|
mount_dir = "/csi"
|
|
}
|
|
|
|
resources {
|
|
cpu = 500
|
|
memory = 256
|
|
}
|
|
}
|
|
}
|
|
}
|