-
Notifications
You must be signed in to change notification settings - Fork 2
/
charmcraft.yaml
72 lines (60 loc) · 1.41 KB
/
charmcraft.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
# Copyright 2024 Canonical Ltd.
# See LICENSE file for licensing details.
name: filesystem-client
type: charm
title: Filesystem Client
summary: Mount filesystems on machine charms.
description: |
Mount filesystems on machine charms.
Enables access to exported filesystems.
base: [email protected]
platforms:
amd64:
parts:
charm:
build-packages:
- just
build-snaps:
- astral-uv
charm-requirements: ["requirements.txt"]
override-build: |
just requirements
craftctl default
charm-libs:
- lib: operator-libs-linux.apt
version: "0.15"
- lib: operator-libs-linux.systemd
version: "1.4"
subordinate: true
requires:
filesystem:
interface: filesystem_info
limit: 1
juju-info:
interface: juju-info
scope: container
config:
options:
mountpoint:
description: Location to mount the filesystem on the machine.
type: string
noexec:
default: false
description: |
Block execution of binaries on the filesystem.
type: boolean
nosuid:
default: false
description: |
Do not honor suid and sgid bits on the filesystem.
type: boolean
nodev:
default: false
description: |
Blocking interpretation of character and/or block
devices on the filesystem.
type: boolean
read-only:
default: false
description: Mount filesystem as read-only.
type: boolean