From b062f0fdc23d25e4bf33d6baa297655d28ee0b14 Mon Sep 17 00:00:00 2001 From: cuisongliu Date: Tue, 14 Nov 2023 11:56:28 +0800 Subject: [PATCH] refactor(main): remove the 'host' field. (#140) Signed-off-by: cuisongliu --- README.md | 2 -- config/charts/endpoints-operator/Chart.yaml | 2 +- config/demo/dmz-kube.yaml | 4 ++-- 3 files changed, 3 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 7d4f0fe..72653a8 100644 --- a/README.md +++ b/README.md @@ -69,8 +69,6 @@ metadata: name: wordpress namespace: default spec: - hosts: - periodSeconds: 10 ports: - name: wp-https diff --git a/config/charts/endpoints-operator/Chart.yaml b/config/charts/endpoints-operator/Chart.yaml index 795d92a..fdbdaa4 100644 --- a/config/charts/endpoints-operator/Chart.yaml +++ b/config/charts/endpoints-operator/Chart.yaml @@ -16,7 +16,7 @@ apiVersion: v2 name: endpoints-operator description: kubernetes endpoints balance for outsite apiserver engine: gotpl -kubeVersion: ">=1.16.0-0" +kubeVersion: ">=1.20.0-0" sources: - https://github.com/labring/endpoints-operator home: https://github.com/labring/endpoints-operator diff --git a/config/demo/dmz-kube.yaml b/config/demo/dmz-kube.yaml index a68244c..4633d4e 100644 --- a/config/demo/dmz-kube.yaml +++ b/config/demo/dmz-kube.yaml @@ -19,10 +19,10 @@ metadata: spec: clusterIP: None periodSeconds: 10 - hosts: - - 192.168.64.24 ports: - name: https + hosts: + - 192.168.64.24 port: 6443 protocol: TCP targetPort: 6443