From c02cd550a95d051f07b0426f6e00b47dda81ee3f Mon Sep 17 00:00:00 2001 From: Moritz Graf Date: Sat, 20 Jun 2020 17:28:03 +0200 Subject: [PATCH] Removing longhorn --- bootstrap/README.md | 4 +- k8s/longhorn-system/longhorn-ingress.yaml | 52 +++++++++++----------- k8s/longhorn-system/longhorn.secret.yaml | Bin 507 -> 545 bytes k8s/longhorn-system/longhorn.yaml | 34 +++++++------- 4 files changed, 46 insertions(+), 44 deletions(-) diff --git a/bootstrap/README.md b/bootstrap/README.md index d587566..47c7967 100644 --- a/bootstrap/README.md +++ b/bootstrap/README.md @@ -68,7 +68,9 @@ Check the current default value of `kube_version` in cloned repository. ```sh cd kubespray -ansible-playbook -i inventory/prod/inventory.ini -e kube_version=v1.17.5 -e upgrade_cluster_setup=true cluster.yml +ansible-playbook -i inventory/prod/inventory.ini -e kube_version=v1.17.7 -e upgrade_cluster_setup=true cluster.yml +# or just the newest version +ansible-playbook -i inventory/prod/inventory.ini -e upgrade_cluster_setup=true cluster.yml ``` History: diff --git a/k8s/longhorn-system/longhorn-ingress.yaml b/k8s/longhorn-system/longhorn-ingress.yaml index d6abde2..53d4183 100644 --- a/k8s/longhorn-system/longhorn-ingress.yaml +++ b/k8s/longhorn-system/longhorn-ingress.yaml @@ -1,28 +1,28 @@ -# ### status: works, but is not secure +# # ### status: works, but is not secure -apiVersion: extensions/v1beta1 -kind: Ingress -metadata: - name: longhorn-frontend - namespace: longhorn-system - annotations: - kubernetes.io/ingress.class: "nginx" - nginx.ingress.kubernetes.io/force-ssl-redirect: "true" - cert-manager.io/cluster-issuer: "letsencrypt-prod" - nginx.ingress.kubernetes.io/auth-type: basic - nginx.ingress.kubernetes.io/auth-secret: htpasswd - nginx.ingress.kubernetes.io/auth-realm: "Authentication Required - ok" -spec: - tls: - - hosts: - - "longhorn.haumdaucher.de" - secretName: longhorn-haumdaucher-de - rules: - - host: longhorn.haumdaucher.de - http: - paths: - - path: / - backend: - serviceName: longhorn-frontend - servicePort: 80 \ No newline at end of file +# apiVersion: extensions/v1beta1 +# kind: Ingress +# metadata: +# name: longhorn-frontend +# namespace: longhorn-system +# annotations: +# kubernetes.io/ingress.class: "nginx" +# nginx.ingress.kubernetes.io/force-ssl-redirect: "true" +# cert-manager.io/cluster-issuer: "letsencrypt-prod" +# nginx.ingress.kubernetes.io/auth-type: basic +# nginx.ingress.kubernetes.io/auth-secret: htpasswd +# nginx.ingress.kubernetes.io/auth-realm: "Authentication Required - ok" +# spec: +# tls: +# - hosts: +# - "longhorn.haumdaucher.de" +# secretName: longhorn-haumdaucher-de +# rules: +# - host: longhorn.haumdaucher.de +# http: +# paths: +# - path: / +# backend: +# serviceName: longhorn-frontend +# servicePort: 80 \ No newline at end of file diff --git a/k8s/longhorn-system/longhorn.secret.yaml b/k8s/longhorn-system/longhorn.secret.yaml index a81a1b291a7b54c1f1035fb355bf89b8368d7ab8..5e6f059818bf24e197af4efed6b8dbe441f37dd5 100644 GIT binary patch literal 545 zcmV++0^a=qM@dveQdv+`02EBj19?SMvUPYZH^$FQi{POjXUM_oG;lLRzQ2E~;?^NJ zC=pq@@2JS>49hF_}ew`+^s%UYOU zwGd^fdzk^tJqM4G(w9MZl~E8Z5$SVrk zC#Q@dAhl88s(aPnnN|LO!8~U(6V0vc*hKkYJ55539|}Is%gU?03|ekl+_^7Ja#T6ok`z~5 zR-{qR6)Fd$ubh;uokDefW|f`NQ?Gu-;6`LOhAXX?O|VL7pHsL!E}8Frm_vp+LG|uw zY>ftr{H4M$DCn72L`){mZUQ=amGu%k9{tDp4V8e-< z$}4UBQl+pzwdnP>=`H$HmR$G=d*vNvu;o?Qc?{5>xaHxvur literal 507 zcmVJh){lH8Boh~*T+imNGs$(kV z%fd6#E~R4x%mKC0UbL0NzLPyEd0e_z?Y{HH?wOJFeH3Z@xG$c+tx>89@CeLHQv#Cr z8rBOKIBQXy+4jXM5Z4}IrhcjQCc$_PUkgRc15woN8t#9QV({;Ny2_ait~`9EKl=cG z>kpe)0LJpQ$9mJl@`~ZSTeK=Qg!t33K9x(ADY*nbS>1&=ZeYax=zo`cHsNlu+AyKo zO5?Z5H>8m7pKXw-Y$7<~6BB`?0SsX>+y+SJ<6f1sjT@xpJh*cn-qjn!c+{ZZ x{~_j}0pIf~N>>YuIKkH2bF9nW9;XS%1IQC*zMuHC}Q5Tx6x;=EG5{bB$B diff --git a/k8s/longhorn-system/longhorn.yaml b/k8s/longhorn-system/longhorn.yaml index 107a522..97aa899 100644 --- a/k8s/longhorn-system/longhorn.yaml +++ b/k8s/longhorn-system/longhorn.yaml @@ -1,18 +1,18 @@ -# status: implemented +# # 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: - # defaultSettings: - # backupTarget: - # backupTargetCredentialSecret: \ No newline at end of file +# 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: +# # defaultSettings: +# # backupTarget: +# # backupTargetCredentialSecret: \ No newline at end of file