-
Notifications
You must be signed in to change notification settings - Fork 1
/
rockcraft.yaml
52 lines (47 loc) · 1.38 KB
/
rockcraft.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
name: charmed-karapace
summary: Charmed Karapace ROCK
description: |
This is an OCI image that bundles Karapace binaries together with other
tools of its ecosystem in order to be used in Charmed Operators, providing
an automated and seamless experience to deploy, operate, manage and monitor
Karapace on K8s cluster.
It is an open source, end-to-end, production ready data platform on top of
cloud native technologies.
license: Apache-2.0
version: '3.12.0'
base: ubuntu@22.04
platforms:
amd64:
run_user: _daemon_
services:
karapace:
command: karapace /etc/karapace/karapace.config.json
summary: "This is the service to startup Karapace processes"
override: replace
startup: enabled
parts:
karapace:
plugin: python
source: https://github.com/Aiven-Open/karapace.git
source-tag: 3.12.0
python-requirements:
- ./requirements/requirements.txt
python-packages:
- sentry_sdk
stage-packages:
- python3.10-venv
- util-linux
entry:
plugin: dump
after: [karapace]
source: files
organize:
authfile.json: etc/karapace/authfile.json
karapace.config.json: etc/karapace/karapace.config.json
stage:
- etc/karapace/authfile.json
- etc/karapace/karapace.config.json
override-prime: |
craftctl default
ROCK_USER_UID=584792
chown -R ${ROCK_USER_UID}:${ROCK_USER_UID} etc/karapace/