Updating openebs & switching to bitnami minio chart

This commit is contained in:
Moritz Graf 2022-04-03 16:26:52 +02:00
parent fa43769c71
commit 9bc48ecb24
6 changed files with 47 additions and 24 deletions

3
.gitattributes vendored
View File

@ -1,3 +1,4 @@
*.secret filter=git-crypt diff=git-crypt *.secret filter=git-crypt diff=git-crypt
*.secret.yaml filter=git-crypt diff=git-crypt *.secret.yaml filter=git-crypt diff=git-crypt
*.secret.values filter=git-crypt diff=git-crypt *.secret.values filter=git-crypt diff=git-crypt
*.secret.sh filter=git-crypt diff=git-crypt

View File

@ -69,12 +69,23 @@ helm upgrade --install --create-namespace -f openebs/openebs.yml openebs --names
k apply -f openebs/storageclass.yml k apply -f openebs/storageclass.yml
``` ```
## minio (bitnami)
Switching to [Bitnami chart](https://artifacthub.io/packages/helm/bitnami/minio) as "normal" chart just too big.
```sh
helm repo update
helm upgrade --install -f minio/minio.secret.yaml --namespace minio --create-namespace minio bitnami/minio
```
## minio ## minio
**DEPRECATED - INSTALL WITH OPERATOR**
See [chart on GitHub](https://github.com/minio/charts/tree/master/minio). See [chart on GitHub](https://github.com/minio/charts/tree/master/minio).
```sh ```sh
helm repo add minio https://helm.min.io/ helm repo add minio https://charts.min.io/
helm repo update helm repo update
helm upgrade --install -f minio/minio.secret.yaml --namespace minio --create-namespace minio minio/minio helm upgrade --install -f minio/minio.secret.yaml --namespace minio --create-namespace minio minio/minio
# # # #
@ -328,12 +339,24 @@ Deployment instructions for [Octobot](https://github.com/Drakkar-Software/OctoBo
```sh ```sh
kubectl create ns octobot kubectl create ns octobot
helm repo add dex https://charts.dexidp.io helm repo add oauth2-proxy https://oauth2-proxy.github.io/manifests
helm repo update helm repo update
helm upgrade --install -n octobot dex-octobot dex/dex -f ./octobot/dex.secret.values helm upgrade --install -n octobot oauth2-octobot oauth2-proxy/oauth2-proxy -f ./octobot/oauth2.secret.values
kubectl apply $(ls octobot/*.yaml | awk ' { print " -f " $1 } ') kubectl apply $(ls octobot/*.yaml | awk ' { print " -f " $1 } ')
``` ```
## octobot-fabi
Deployment instructions for [Octobot](https://github.com/Drakkar-Software/OctoBot). Dex is used for authenticating.
```sh
kubectl create ns octobot-fabi
helm repo add oauth2-proxy https://oauth2-proxy.github.io/manifests
helm repo update
helm upgrade --install -n octobot-fabi oauth2-octobot oauth2-proxy/oauth2-proxy -f ./octobot-fabi/oauth2.secret.values
kubectl apply $(ls octobot-fabi/*.yaml | awk ' { print " -f " $1 } ')
```
## nextcloud ## nextcloud
[Chart GitHub](https://github.com/nextcloud/helm/tree/master/charts/nextcloud) [Chart GitHub](https://github.com/nextcloud/helm/tree/master/charts/nextcloud)

Binary file not shown.

View File

@ -25,14 +25,10 @@ spec:
limits: limits:
cpu: "1" cpu: "1"
memory: "800Mi" memory: "800Mi"
# args: # # To make manual configurations on the container
# - --cert-dir=/tmp # command:
# - --secure-port=4443 # - "sleep"
# - --kubelet-preferred-address-types=InternalIP,ExternalIP,Hostname # - "9999"
# - --kubelet-use-node-status-port
# - --kubelet-preferred-address-types=InternalIP
# - --v=2
# - --kubelet-insecure-tls
image: drakkarsoftware/octobot:stable image: drakkarsoftware/octobot:stable
imagePullPolicy: Always imagePullPolicy: Always
# livenessProbe: # livenessProbe:
@ -55,7 +51,7 @@ spec:
# scheme: HTTPS # scheme: HTTPS
# periodSeconds: 10 # periodSeconds: 10
# securityContext: # securityContext:
# readOnlyRootFilesystem: true # #readOnlyRootFilesystem: true
# runAsNonRoot: true # runAsNonRoot: true
# runAsUser: 1000 # runAsUser: 1000
volumeMounts: volumeMounts:
@ -66,18 +62,17 @@ spec:
name: user name: user
- mountPath: /octobot/tentacles - mountPath: /octobot/tentacles
name: tentacles name: tentacles
# - mountPath: /octobot/logs - mountPath: /octobot/logs
# name: logs name: logs
nodeSelector: nodeSelector:
kubernetes.io/os: linux kubernetes.io/os: linux
# serviceAccountName: metrics-server # serviceAccountName: metrics-server
volumes: volumes:
# - name: octobot-config - name: user
# configMap: persistentVolumeClaim:
# name: octobot-config claimName: octobot-user
- name: tentacles
persistentVolumeClaim:
claimName: octobot-tentacles
- emptyDir: {} - emptyDir: {}
name: user name: logs
- emptyDir: {}
name: tentacles
# - emptyDir: {}
# name: logs

View File

@ -6,7 +6,7 @@ analytics:
ndmOperator: ndmOperator:
enabled: false enabled: false
ndm: ndm:
enabled: false enabled: true
snapshotOperator: snapshotOperator:
enabled: true enabled: true
webhook: webhook:

View File

@ -2,10 +2,14 @@ apiVersion: storage.k8s.io/v1
kind: StorageClass kind: StorageClass
metadata: metadata:
annotations: annotations:
meta.helm.sh/release-name: openebs
meta.helm.sh/release-namespace: openebs
cas.openebs.io/config: "- name: StorageType\n value: \"hostpath\"\n- name: BasePath\n cas.openebs.io/config: "- name: StorageType\n value: \"hostpath\"\n- name: BasePath\n
\ value: /var/openebs/local \n" \ value: /var/openebs/local \n"
openebs.io/cas-type: local openebs.io/cas-type: local
storageclass.kubernetes.io/is-default-class: "true" storageclass.kubernetes.io/is-default-class: "true"
labels:
app.kubernetes.io/managed-by: "Helm"
name: openebs-hostpath name: openebs-hostpath
provisioner: openebs.io/local provisioner: openebs.io/local
reclaimPolicy: Delete reclaimPolicy: Delete