Skip to content

Commit

Permalink
allow pv creation
Browse files Browse the repository at this point in the history
  • Loading branch information
Ralf Grubenmann authored and Panaetius committed Nov 16, 2023
1 parent d498ce3 commit f42294b
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 1 deletion.
14 changes: 14 additions & 0 deletions chartpress.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
charts:
- name: helm-chart/amalthea
resetTag: latest
imagePrefix: renku/
repo:
git: SwissDataScienceCenter/helm-charts
published: https://swissdatasciencecenter.github.io/helm-charts
paths:
- .
images:
amalthea:
contextPath: .
dockerfilePath: Dockerfile
valuesPath: image
1 change: 1 addition & 0 deletions controller/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
{"name": "configmaps", "group": ""},
{"name": "services", "group": ""},
{"name": "persistentvolumeclaims", "group": ""},
{"name": "persistentvolumes", "group": ""},
]

CHILD_RESOURCES += json.loads(os.getenv("EXTRA_CHILD_RESOURCES", "[]"))
Expand Down
1 change: 1 addition & 0 deletions helm-chart/amalthea/templates/rbac/_rbac_rules.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
- networking.k8s.io
resources:
- statefulsets
- persistentvolume
- persistentvolumeclaims
- services
- ingresses
Expand Down
2 changes: 1 addition & 1 deletion helm-chart/amalthea/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ kopf:
# backoff: 10

# If the operator should be able to create and watch child resources other than
# [statefulset, persistentvolumeclaims, services, ingresses, secrets, configmaps]
# [statefulset, persistentvolumeclaims, persistentvolumeclaims, services, ingresses, secrets, configmaps]
# which are necessary for Amalthea to work, add the corresponding API groups and
# resources here as an array of name/group objects, eg:
extraChildResources: []
Expand Down

0 comments on commit f42294b

Please sign in to comment.