small fix with corona

This commit is contained in:
Moritz Graf 2020-04-10 02:18:12 +02:00
parent c2881f0f0a
commit 58146a07a2
7 changed files with 34 additions and 22 deletions

3
.gitattributes vendored
View File

@ -1 +1,2 @@
*.secret filter=git-crypt diff=git-crypt
*.secret filter=git-crypt diff=git-crypt
*.secret.yaml filter=git-crypt diff=git-crypt

View File

@ -19,7 +19,7 @@ kubectl get pods | grep Error | cut -d' ' -f 1 | xargs kubectl delete pod
## namespaces
```sh
namespaces="flux cert-manager nginx-ingress infrapuzzle kuard auth nextcloud datalab web development storageos-operator"
namespaces="flux cert-manager nginx-ingress infrapuzzle kuard auth nextcloud datalab web development longhorn-system"
for i in $( echo $NAMESPACES ) ; do
k create ns $i
done
@ -65,10 +65,13 @@ $ kubectl apply -f kuard
$ kubectl delete -f kuard
```
## storageos
## longhorn-system
```sh
kubectl apply -f storageos-operator/storageos.yaml
# on node:
sudo yum install -y iscsi-initiator-utils
# locally
kubectl apply -f longhorn-system/longhorn.yaml
```
## auth

View File

@ -42,7 +42,7 @@ spec:
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
name: corona-api
name: corona-api-haumdaucher
namespace: datalab
annotations:
kubernetes.io/ingress.class: "nginx"
@ -65,7 +65,7 @@ spec:
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
name: corona-api
name: corona-api-moritzgraf
namespace: datalab
annotations:
kubernetes.io/ingress.class: "nginx"

View File

@ -42,7 +42,7 @@ spec:
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
name: corona
name: corona-haumdaucher
namespace: datalab
annotations:
kubernetes.io/ingress.class: "nginx"
@ -65,7 +65,7 @@ spec:
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
name: corona
name: corona-moritzgraf
namespace: datalab
annotations:
kubernetes.io/ingress.class: "nginx"

View File

@ -0,0 +1,22 @@
# status: implemented
apiVersion: helm.fluxcd.io/v1
kind: HelmRelease
metadata:
name: helm-longhorn
namespace: flux
spec:
releaseName: longhorn
targetNamespace: longhorn-system
chart:
git: https://github.com/longhorn/longhorn.git
path: "chart/"
ref: "v0.8.0"
# values:
# replicaCount: 1
# webhook:
# replicaCount: 1
# podLabels:
# app: cert-manager
# prometheus:
# enabled: false

View File

@ -1,14 +0,0 @@
# status: chart not working with helm3
# apiVersion: helm.fluxcd.io/v1
# kind: HelmRelease
# metadata:
# name: helm-storageos
# namespace: flux
# spec:
# releaseName: storageos
# targetNamespace: storageos-operator
# chart:
# repository: https://charts.storageos.com
# version: 0.2.19
# name: storageos

Binary file not shown.

Before

Width:  |  Height:  |  Size: 21 KiB