diff --git a/infra/configs/openbao-volume.yaml b/infra/configs/openbao-volume.yaml new file mode 100644 index 0000000..beab41a --- /dev/null +++ b/infra/configs/openbao-volume.yaml @@ -0,0 +1,46 @@ +--- +apiVersion: local.openebs.io/v1alpha1 +kind: LVMVolume +metadata: + labels: + kubernetes.io/nodename: anapistula-delrosalae + name: openbao-volume-lvmhdd + namespace: openebs +spec: + capacity: 1Gi + ownerNodeID: anapistula-delrosalae + shared: "yes" + thinProvision: "no" + vgPattern: ^openebs-hdd$ + volGroup: openebs-hdd +--- +kind: PersistentVolume +apiVersion: v1 +metadata: + name: openbao-volume-lvmhdd +spec: + capacity: + storage: 1Gi + accessModes: + - ReadWriteOnce + persistentVolumeReclaimPolicy: Retain + storageClassName: hdd-lvmpv + volumeMode: Filesystem + csi: + driver: local.csi.openebs.io + fsType: btrfs + volumeHandle: openbao-volume-lvmhdd +--- +kind: PersistentVolumeClaim +apiVersion: v1 +metadata: + name: openbao-volume-lvmhdd + namespace: openbao +spec: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 1Gi + storageClassName: hdd-lvmpv + volumeName: openbao-volume-lvmhdd \ No newline at end of file diff --git a/infra/kustomization.yaml b/infra/kustomization.yaml index 80e1aed..dc257fc 100644 --- a/infra/kustomization.yaml +++ b/infra/kustomization.yaml @@ -9,7 +9,6 @@ resources: - controllers/cert-manager-webhook-ovh.yaml - controllers/openebs.yaml - controllers/k8up.yaml - - controllers/openbao.yaml - controllers/external-secrets.yaml - controllers/vault-secrets-operator.yaml - controllers/mongodb-operator.yaml @@ -24,3 +23,6 @@ resources: - configs/mayastor-snapshotclass.yaml - configs/openbao-cert.yaml - configs/ovh-cert-manager-secret.yaml + + - configs/openbao-volume.yaml + - controllers/openbao.yaml