Adding longhorn to AMD64 host
This commit is contained in:
parent
786ee5e03b
commit
6029bbec5d
3
components/storage/configs/dev-amd64/ingress-patch.yaml
Normal file
3
components/storage/configs/dev-amd64/ingress-patch.yaml
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
- op: replace
|
||||||
|
path: /spec/rules/0/host
|
||||||
|
value: longhorn-amd64.k8s.local
|
||||||
@ -1,3 +1,12 @@
|
|||||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
kind: Kustomization
|
kind: Kustomization
|
||||||
resources: []
|
resources:
|
||||||
|
- ../base/longhorn
|
||||||
|
|
||||||
|
patches:
|
||||||
|
- target:
|
||||||
|
group: networking.k8s.io
|
||||||
|
version: v1
|
||||||
|
kind: Ingress
|
||||||
|
name: longhorn-ingress
|
||||||
|
path: ingress-patch.yaml
|
||||||
3
components/storage/configs/dev-arm64/ingress-patch.yaml
Normal file
3
components/storage/configs/dev-arm64/ingress-patch.yaml
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
- op: replace
|
||||||
|
path: /spec/rules/0/host
|
||||||
|
value: longhorn-arm64.k8s.local
|
||||||
@ -1,4 +1,13 @@
|
|||||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
kind: Kustomization
|
kind: Kustomization
|
||||||
resources:
|
resources:
|
||||||
- ../base/longhorn
|
- ../base/longhorn
|
||||||
|
|
||||||
|
|
||||||
|
patches:
|
||||||
|
- target:
|
||||||
|
group: networking.k8s.io
|
||||||
|
version: v1
|
||||||
|
kind: Ingress
|
||||||
|
name: longhorn-ingress
|
||||||
|
path: ingress-patch.yaml
|
||||||
@ -3,6 +3,7 @@ kind: Kustomization
|
|||||||
resources:
|
resources:
|
||||||
- ../base
|
- ../base
|
||||||
- ../base/nfs
|
- ../base/nfs
|
||||||
|
- ../base/longhorn
|
||||||
secretGenerator:
|
secretGenerator:
|
||||||
- name: nfs-provisioner-config
|
- name: nfs-provisioner-config
|
||||||
namespace: storage
|
namespace: storage
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user