From c2881f0f0a5a3b81e70c15c0c79050fecf18be02 Mon Sep 17 00:00:00 2001 From: Moritz Graf Date: Fri, 10 Apr 2020 01:29:08 +0200 Subject: [PATCH] Tryout with storageos - not successful --- k8s/README.md | 10 ++++-- k8s/auth/phpldapadmin.yaml | 49 +++++++++++++-------------- k8s/storageos-operator/storageos.yaml | 14 ++++++++ 3 files changed, 46 insertions(+), 27 deletions(-) create mode 100644 k8s/storageos-operator/storageos.yaml diff --git a/k8s/README.md b/k8s/README.md index f0231d7..46c40d2 100644 --- a/k8s/README.md +++ b/k8s/README.md @@ -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" +namespaces="flux cert-manager nginx-ingress infrapuzzle kuard auth nextcloud datalab web development storageos-operator" for i in $( echo $NAMESPACES ) ; do k create ns $i done @@ -65,6 +65,12 @@ $ kubectl apply -f kuard $ kubectl delete -f kuard ``` +## storageos + +```sh +kubectl apply -f storageos-operator/storageos.yaml +``` + ## auth Including: @@ -138,4 +144,4 @@ kubectl apply -f datalab/ ```sh kubectl apply -f web/ -``` \ No newline at end of file +``` diff --git a/k8s/auth/phpldapadmin.yaml b/k8s/auth/phpldapadmin.yaml index d9eaf3d..f5c61a3 100644 --- a/k8s/auth/phpldapadmin.yaml +++ b/k8s/auth/phpldapadmin.yaml @@ -1,26 +1,25 @@ -# status: chart not working -# note: problem could not be found yet +# # status: removed again -apiVersion: helm.fluxcd.io/v1 -kind: HelmRelease -metadata: - name: helm-phpldapadmin - namespace: flux -spec: - releaseName: phpldapadmin - targetNamespace: auth - chart: - repository: https://cetic.github.io/helm-charts - version: 0.1.3 - name: phpldapadmin - values: - service: - type: ClusterIP - ingress: - enabled: true - hosts: - - "ldap.haumdaucher.de" - annotations: - cert-manager.io/cluster-issuer: "letsencrypt-prod" - tls: - - ldap-haumdaucher-de +# apiVersion: helm.fluxcd.io/v1 +# kind: HelmRelease +# metadata: +# name: helm-phpldapadmin +# namespace: flux +# spec: +# releaseName: phpldapadmin +# targetNamespace: auth +# chart: +# repository: https://cetic.github.io/helm-charts +# version: 0.1.3 +# name: phpldapadmin +# values: +# service: +# type: ClusterIP +# ingress: +# enabled: true +# hosts: +# - "ldap.haumdaucher.de" +# annotations: +# cert-manager.io/cluster-issuer: "letsencrypt-prod" +# tls: +# - ldap-haumdaucher-de diff --git a/k8s/storageos-operator/storageos.yaml b/k8s/storageos-operator/storageos.yaml new file mode 100644 index 0000000..5dd3854 --- /dev/null +++ b/k8s/storageos-operator/storageos.yaml @@ -0,0 +1,14 @@ +# 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 \ No newline at end of file