Add smallstep config
This commit is contained in:
parent
928566923a
commit
4f2890cd12
2 changed files with 34 additions and 0 deletions
26
templates/smallstep-pvc.yml.j2
Normal file
26
templates/smallstep-pvc.yml.j2
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
apiVersion: v1
|
||||
kind: PersistentVolumeClaim
|
||||
metadata:
|
||||
name: smallstep
|
||||
labels:
|
||||
app: smallstep
|
||||
spec:
|
||||
accessModes:
|
||||
{% if smallstep_storage_classname == "manual" %}
|
||||
- ReadWriteOnce
|
||||
storageClassName: manual
|
||||
{% elif smallstep_storage_classname == "local" %}
|
||||
- ReadWriteOnce
|
||||
storageClassName: local-path
|
||||
{% elif smallstep_storage_classname == "longhorn" %}
|
||||
- ReadWriteOnce
|
||||
storageClassName: longhorn
|
||||
{% elif smallstep_storage_classname == "nfs-backup" %}
|
||||
- ReadWriteMany
|
||||
storageClassName: nfs-backup
|
||||
{% elif smallstep_storage_classname is not defined or smallstep_storage_classname == "default" %}
|
||||
- ReadWriteOnce
|
||||
{% endif %}
|
||||
resources:
|
||||
requests:
|
||||
storage: 1Gi
|
||||
Loading…
Add table
Add a link
Reference in a new issue