This is an automated email from the ASF dual-hosted git repository.
zhongxjian pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/dubbo-kubernetes.git
The following commit(s) were added to refs/heads/master by this push:
new 081469a0 [charts] Removing redundant charts packages (#480)
081469a0 is described below
commit 081469a02b9872115cd59764f6734a39d1778711
Author: mfordjody <[email protected]>
AuthorDate: Wed Oct 23 09:22:15 2024 +0800
[charts] Removing redundant charts packages (#480)
---
manifests/charts/{ => base}/README.md | 0
manifests/charts/nacos/.helmignore | 22 ---
manifests/charts/nacos/Chart.yaml | 28 ----
manifests/charts/nacos/templates/NOTES.txt | 0
manifests/charts/nacos/templates/_charts.tpl | 111 -------------
manifests/charts/nacos/templates/configmap.yaml | 31 ----
manifests/charts/nacos/templates/extra-list.yaml | 19 ---
.../charts/nacos/templates/networkpolicy.yaml | 42 -----
manifests/charts/nacos/templates/pdb.yaml | 33 ----
manifests/charts/nacos/templates/statefulset.yaml | 179 --------------------
manifests/charts/nacos/templates/svc-headless.yaml | 41 -----
manifests/charts/nacos/templates/svc.yaml | 42 -----
manifests/charts/nacos/values.yaml | 181 ---------------------
13 files changed, 729 deletions(-)
diff --git a/manifests/charts/README.md b/manifests/charts/base/README.md
similarity index 100%
rename from manifests/charts/README.md
rename to manifests/charts/base/README.md
diff --git a/manifests/charts/nacos/.helmignore
b/manifests/charts/nacos/.helmignore
deleted file mode 100644
index 50af0317..00000000
--- a/manifests/charts/nacos/.helmignore
+++ /dev/null
@@ -1,22 +0,0 @@
-# Patterns to ignore when building packages.
-# This supports shell glob matching, relative path matching, and
-# negation (prefixed with !). Only one pattern per line.
-.DS_Store
-# Common VCS dirs
-.git/
-.gitignore
-.bzr/
-.bzrignore
-.hg/
-.hgignore
-.svn/
-# Common backup files
-*.swp
-*.bak
-*.tmp
-*~
-# Various IDEs
-.project
-.idea/
-*.tmproj
-.vscode/
diff --git a/manifests/charts/nacos/Chart.yaml
b/manifests/charts/nacos/Chart.yaml
deleted file mode 100644
index 7b0d1815..00000000
--- a/manifests/charts/nacos/Chart.yaml
+++ /dev/null
@@ -1,28 +0,0 @@
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-
-apiVersion: v2
-appVersion: "1.0"
-name: nacos
-description: an easy-to-use dynamic service discovery, configuration and
service management platform for building cloud native applications.
-home: https://nacos.io
-kubeVersion: '>=1.20.0-0'
-maintainers:
- - email: [email protected]
- name: dubbo
-sources:
- - https://github.com/alibaba/nacos
-type: application
-version: 0.1.5
diff --git a/manifests/charts/nacos/templates/NOTES.txt
b/manifests/charts/nacos/templates/NOTES.txt
deleted file mode 100644
index e69de29b..00000000
diff --git a/manifests/charts/nacos/templates/_charts.tpl
b/manifests/charts/nacos/templates/_charts.tpl
deleted file mode 100644
index 9c0b50d4..00000000
--- a/manifests/charts/nacos/templates/_charts.tpl
+++ /dev/null
@@ -1,111 +0,0 @@
-{{/*
-Create chart name and version as used by the chart label.
-*/}}
-{{- define "nacos.chart" -}}
-{{- printf "%s-%s" .Chart.Name .Chart.Version | replace "+" "_" | trunc 63 |
trimSuffix "-" -}}
-{{- end -}}
-
-{{/* vim: set filetype=mustache: */}}
-{{/*
-Expand the name of the chart.
-*/}}
-{{- define "nacos.name" -}}
-{{- default .Chart.Name .Values.nameOverride | trunc 63 | trimSuffix "-" -}}
-{{- end -}}
-
-{{/*
-Create a default fully qualified app name.
-We truncate at 63 chars because some Kubernetes name fields are limited to
this (by the DNS naming spec).
-If release name contains chart name it will be used as a full name.
-*/}}
-{{- define "nacos.fullname" -}}
-{{- if .Values.fullnameOverride -}}
-{{- .Values.fullnameOverride | trunc 63 | trimSuffix "-" -}}
-{{- else -}}
-{{- $name := default .Chart.Name .Values.nameOverride -}}
-{{- if contains $name .Release.Name -}}
-{{- .Release.Name | trunc 63 | trimSuffix "-" -}}
-{{- else -}}
-{{- printf "%s-%s" .Release.Name $name | trunc 63 | trimSuffix "-" -}}
-{{- end -}}
-{{- end -}}
-{{- end -}}
-
-{{/*
-Nacos Namespace to use
-*/}}
-{{- define "nacos.namespace" -}}
-{{- if .Values.namespaceOverride -}}
- {{- .Values.namespaceOverride -}}
-{{- else -}}
- {{- .Release.Namespace -}}
-{{- end -}}
-{{- end -}}
-
-{{- define "nacos.labels" -}}
-app.kubernetes.io/name: {{ include "nacos.name" . }}
-helm.sh/chart: {{ include "nacos.chart" . }}
-app.kubernetes.io/instance: {{ .Release.Name }}
-app.kubernetes.io/managed-by: {{ .Release.Service }}
-{{- end -}}
-
-{{/*
-Labels to use on sts.spec.selector.matchLabels and svc.spec.selector
-*/}}
-{{- define "nacos.matchLabels" -}}
-app.kubernetes.io/name: {{ include "nacos.name" . }}
-{{- end -}}
-
-{{/*
-Return the appropriate apiVersion for networkpolicy.
-*/}}
-{{- define "nacos.networkPolicy.apiVersion" -}}
-{{- if semverCompare "<1.7-0" (include "nacos.kubeVersion" .) -}}
-{{- print "extensions/v1beta1" -}}
-{{- else -}}
-{{- print "networking.k8s.io/v1" -}}
-{{- end -}}
-{{- end -}}
-
-{{/*
-Return the appropriate apiVersion for poddisruptionbudget.
-*/}}
-{{- define "nacos.policy.apiVersion" -}}
-{{- if semverCompare "<1.21-0" (include "nacos.kubeVersion" .) -}}
-{{- print "policy/v1beta1" -}}
-{{- else -}}
-{{- print "policy/v1" -}}
-{{- end -}}
-{{- end -}}
-
-{{/*
-Return the target Kubernetes version
-*/}}
-{{- define "nacos.kubeVersion" -}}
-{{- if .Values.global }}
- {{- if .Values.global.kubeVersion }}
- {{- .Values.global.kubeVersion -}}
- {{- else }}
- {{- default .Capabilities.KubeVersion.Version .Values.kubeVersion -}}
- {{- end -}}
-{{- else }}
-{{- default .Capabilities.KubeVersion.Version .Values.kubeVersion -}}
-{{- end -}}
-{{- end -}}
-{{/*
-Return the appropriate apiVersion for statefulset.
-*/}}
-
-{{/* vim: set filetype=mustache: */}}
-{{/*
-Renders a value that contains template.
-Usage:
-{{ include "tplvalues.render" ( dict "value" .Values.path.to.the.Value
"context" $) }}
-*/}}
-{{- define "tplvalues.render" -}}
- {{- if typeIs "string" .value }}
- {{- tpl .value .context }}
- {{- else }}
- {{- tpl (.value | toYaml) .context }}
- {{- end }}
-{{- end -}}
diff --git a/manifests/charts/nacos/templates/configmap.yaml
b/manifests/charts/nacos/templates/configmap.yaml
deleted file mode 100644
index a058194c..00000000
--- a/manifests/charts/nacos/templates/configmap.yaml
+++ /dev/null
@@ -1,31 +0,0 @@
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-
-{{- if eq .Values.storage.type "mysql"}}
-apiVersion: v1
-kind: ConfigMap
-metadata:
- name: {{ template "nacos.fullname" . }}-configmap
- namespace: {{ template "nacos.namespace" . }}
-data:
- {{- with .Values.storage.db }}
- mysql.db.host: {{ .host }}
- mysql.db.name: {{ .name }}
- mysql.port: "{{ .port | default 3306 }}"
- mysql.user: {{ .username }}
- mysql.password: {{ .password }}
- mysql.param: {{ .param | default
"characterEncoding=utf8&connectTimeout=1000&socketTimeout=3000&autoReconnect=true&useSSL=false"
}}
- {{- end }}
- {{- end }}
diff --git a/manifests/charts/nacos/templates/extra-list.yaml
b/manifests/charts/nacos/templates/extra-list.yaml
deleted file mode 100644
index 7535c308..00000000
--- a/manifests/charts/nacos/templates/extra-list.yaml
+++ /dev/null
@@ -1,19 +0,0 @@
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-
-{{- range .Values.extraDeploy }}
----
-{{ include "tplvalues.render" (dict "value" . "context" $) }}
-{{- end }}
diff --git a/manifests/charts/nacos/templates/networkpolicy.yaml
b/manifests/charts/nacos/templates/networkpolicy.yaml
deleted file mode 100644
index 85d55287..00000000
--- a/manifests/charts/nacos/templates/networkpolicy.yaml
+++ /dev/null
@@ -1,42 +0,0 @@
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-
-{{- if .Values.networkPolicy.enabled }}
-kind: NetworkPolicy
-apiVersion: networking.k8s.io/v1 {{ include "nacos.networkPolicy.apiVersion" .
}}
-metadata:
- name: {{ include "nacos.fullname" . }}
- namespace: {{ template "nacos.namespace" . }}
- labels: {{- include "nacos.labels" . | nindent 4 }}
-spec:
- podSelector:
- matchLabels: {{- include "nacos.matchLabels" . | nindent 6 }}
- policyTypes:
- - Ingress
- ingress:
- - ports:
- - port: {{ .Values.service.port }}
- from:
- - podSelector:
- matchLabels:
- {{ include "nacos.fullname" . }}-client: "true"
- - podSelector:
- matchLabels: {{- include "nacos.matchLabels" . | nindent 14 }}
- - ports:
- - port: {{ .Values.service.port }}
- from:
- - podSelector:
- matchLabels: {{- include "nacos.matchLabels" . | nindent 14 }}
- {{- end }}
diff --git a/manifests/charts/nacos/templates/pdb.yaml
b/manifests/charts/nacos/templates/pdb.yaml
deleted file mode 100644
index ab4cbe87..00000000
--- a/manifests/charts/nacos/templates/pdb.yaml
+++ /dev/null
@@ -1,33 +0,0 @@
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-
-{{- $replica := int .Values.replicas }}
-{{- if and .Values.podDisruptionBudget.enabled (gt $replica 1) }}
-apiVersion: {{ include "nacos.policy.apiVersion" . }}
-kind: PodDisruptionBudget
-metadata:
- name: {{ template "nacos.fullname" . }}
- namespace: {{ template "nacos.namespace" . }}
- labels: {{- include "nacos.labels" . | nindent 4 }}
-spec:
- {{- if .Values.podDisruptionBudget.minAvailable }}
- minAvailable: {{ .Values.podDisruptionBudget.minAvailable }}
- {{- end }}
- {{- if .Values.podDisruptionBudget.maxUnavailable }}
- maxUnavailable: {{ .Values.podDisruptionBudget.maxUnavailable }}
- {{- end }}
- selector:
- matchLabels: {{- include "nacos.matchLabels" . | nindent 6 }}
-{{- end }}
diff --git a/manifests/charts/nacos/templates/statefulset.yaml
b/manifests/charts/nacos/templates/statefulset.yaml
deleted file mode 100644
index 53625ad3..00000000
--- a/manifests/charts/nacos/templates/statefulset.yaml
+++ /dev/null
@@ -1,179 +0,0 @@
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-
-apiVersion: apps/v1
-kind: StatefulSet
-metadata:
- name: {{ template "nacos.fullname" . }}
- namespace: {{ template "nacos.namespace" . }}
-spec:
- replicas: {{ .Values.replicas }}
- {{- if eq .Values.global.mode "cluster" }}
- serviceName: nacos-headless
- {{- else }}
- serviceName: nacos
- {{- end }}
- selector:
- matchLabels: {{- include "nacos.matchLabels" . | nindent 6 }}
- template:
- metadata:
- labels:
- app.kubernetes.io/name: nacos
- spec:
- {{- with .Values.nodeSelector }}
- nodeSelector:
- {{- toYaml . | nindent 8 }}
- {{- end }}
- {{- with .Values.affinity }}
- affinity:
- {{- toYaml . | nindent 8 }}
- {{- end }}
- {{- with .Values.tolerations }}
- tolerations:
- {{- toYaml . | nindent 8 }}
- {{- end }}
- {{- if and (eq .Values.global.mode "cluster") (.Values.plugin.enable) }}
- initContainers:
- - name: peer-finder-plugin-install
- image: {{.Values.plugin.image.repository
}}:{{.Values.plugin.image.tag }}
- imagePullPolicy: {{ .Values.plugin.image.pullPolicy }}
- volumeMounts:
- - mountPath: /home/nacos/plugins/peer-finder
- name: data
- subPath: peer-finder
- {{- end }}
- containers:
- - name: nacos
- image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
- imagePullPolicy: {{ .Values.image.pullPolicy }}
- startupProbe:
- initialDelaySeconds: 180
- periodSeconds: 5
- timeoutSeconds: 10
- httpGet:
- scheme: HTTP
- port: {{ .Values.service.port }}
- path: /nacos/v1/console/health/readiness
- livenessProbe:
- initialDelaySeconds: 10
- periodSeconds: 5
- timeoutSeconds: 10
- httpGet:
- scheme: HTTP
- port: {{ .Values.service.port }}
- path: /nacos/v1/console/health/liveness
- ports:
- - name: http
- containerPort: {{ .Values.service.port }}
- protocol: TCP
- - containerPort: {{ add .Values.service.port 1000 }}
- name: client-rpc
- - containerPort: {{ add .Values.service.port 1001 }}
- name: raft-rpc
- - containerPort: 7848
- name: old-raft-rpc
- resources:
- {{- toYaml .Values.resources | nindent 12 }}
- env:
- - name: NACOS_SERVER_PORT
- value: {{ .Values.service.port | quote }}
- - name: NACOS_APPLICATION_PORT
- value: {{ .Values.service.port | quote }}
- - name: PREFER_HOST_MODE
- value: {{ .Values.service.port | quote }}
- {{- if eq .Values.global.mode "standalone" }}
- - name: MODE
- value: "standalone"
- {{- else if eq .Values.global.mode "cluster" }}
- - name: SERVICE_NAME
- value: "nacos-headless"
- - name: DOMAIN_NAME
- value: {{ .Values.domainName | quote }}
- - name: POD_NAMESPACE
- valueFrom:
- fieldRef:
- apiVersion: v1
- fieldPath: metadata.namespace
- {{- end }}
- {{- if eq .Values.storage.type "mysql" }}
- - name: SPRING_DATASOURCE_PLATFORM
- value: "mysql"
- - name: MYSQL_SERVICE_HOST
- valueFrom:
- configMapKeyRef:
- name: nacos-configmap
- key: mysql.db.host
- - name: MYSQL_SERVICE_DB_NAME
- valueFrom:
- configMapKeyRef:
- name: nacos-configmap
- key: mysql.db.name
- - name: MYSQL_SERVICE_PORT
- valueFrom:
- configMapKeyRef:
- name: nacos-configmap
- key: mysql.port
- - name: MYSQL_SERVICE_USER
- valueFrom:
- configMapKeyRef:
- name: nacos-configmap
- key: mysql.user
- - name: MYSQL_SERVICE_PASSWORD
- valueFrom:
- configMapKeyRef:
- name: nacos-configmap
- key: mysql.password
- - name: MYSQL_SERVICE_DB_PARAM
- valueFrom:
- configMapKeyRef:
- name: nacos-configmap
- key: mysql.param
- {{- else }}
- - name: EMBEDDED_STORAGE
- value: embedded
- {{- end }}
- volumeMounts:
- - name: data
- mountPath: /home/nacos/plugins/peer-finder
- subPath: peer-finder
- - name: data
- mountPath: /home/nacos/data
- subPath: data
- - name: data
- mountPath: /home/nacos/logs
- subPath: logs
- {{- if not .Values.persistence.enabled }}
- volumes:
- - name: data
- emptyDir: {}
- {{- end }}
- {{- if .Values.persistence.enabled }}
- volumeClaimTemplates:
- - metadata:
- name: data
- spec:
- accessModes:
- {{- range .Values.persistence.accessModes }}
- - {{ . | quote }}
- {{- end }}
- resources:
- requests:
- storage: {{ .Values.persistence.size }}
- {{ if .Values.persistence.ClaimName }}
- claimName: {{ .Values.persistence.ClaimName }}
- {{- else -}}
- emptyDir: {{ .Values.persistence.emptyDir }}
- {{- end }}
- {{- end }}
diff --git a/manifests/charts/nacos/templates/svc-headless.yaml
b/manifests/charts/nacos/templates/svc-headless.yaml
deleted file mode 100644
index 4f38db4c..00000000
--- a/manifests/charts/nacos/templates/svc-headless.yaml
+++ /dev/null
@@ -1,41 +0,0 @@
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-
-{{- if and (eq .Values.global.mode "cluster") }}
-apiVersion: v1
-kind: Service
-metadata:
- name: {{ template "nacos.name" . }}-headless
- namespace: {{ template "nacos.namespace" }}
- labels: {{- include "nacos.labels" . | nindent 4 }}
-spec:
- clusterIP: None
- ports:
- - port: {{ .Values.service.port }}
- targetPort: {{ .Values.service.port }}
- protocol: TCP
- name: http
- - port: {{ add .Values.service.port 1000 }}
- name: client-rpc
- targetPort: {{ add .Values.service.port 1000 }}
- - port: {{ add .Values.service.port 1001 }}
- name: raft-rpc
- targetPort: {{ add .Values.service.port 1001 }}
- - port: 7848
- name: old-raft-rpc
- targetPort: 7848
- protocol: TCP
- selector: {{- include "nacos.matchLabels" . | nindent 4 }}
- {{- end }}
diff --git a/manifests/charts/nacos/templates/svc.yaml
b/manifests/charts/nacos/templates/svc.yaml
deleted file mode 100644
index a939daaf..00000000
--- a/manifests/charts/nacos/templates/svc.yaml
+++ /dev/null
@@ -1,42 +0,0 @@
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-
-apiVersion: v1
-kind: Service
-metadata:
- name: {{ template "nacos.name" . }}
- namespace: {{ template "nacos.namespace" . }}
- labels: {{- include "nacos.labels" . | nindent 4 }}
-spec:
- type: {{ .Values.service.type }}
- ports:
- - port: {{ .Values.service.port }}
- targetPort: {{ .Values.service.port }}
- protocol: TCP
- name: http
- - port: {{ add .Values.service.port 1000 }}
- name: client-rpc
- targetPort: {{add .Values.service.port 1000 }}
- - port: {{add .Values.service.port 1001 }}
- name: raft-rpc
- targetPort: {{add .Values.service.port 1001 }}
- - port: 7848
- name: old-raft-rpc
- targetPort: 7848
- protocol: TCP
- {{- if eq .Values.service.type "NodePort" }}
- nodePort: {{ .Values.service.nodePort }}
- {{- end }}
- selector: {{- include "nacos.matchLabels" . | nindent 4 }}
diff --git a/manifests/charts/nacos/values.yaml
b/manifests/charts/nacos/values.yaml
deleted file mode 100644
index 6bc4acdb..00000000
--- a/manifests/charts/nacos/values.yaml
+++ /dev/null
@@ -1,181 +0,0 @@
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-
-global:
- mode: standalone
- # mode: cluster
-
-image:
- registry: docker.io
- # e.g registry.k8s.io
- repository: nacos/nacos-server
- tag: latest
- pullPolicy: IfNotPresent
-
-plugin:
- enable: true
- # true or false
- image:
- repository: nacos/nacos-peer-finder-plugin
- tag: 1.1
- pullPolicy: IfNotPresent
-
-replicas: 1
-
-domainName: cluster.local
-
-extraDeploy: []
-
-nodeSelector: []
-
-affinity: []
-
-tolerations: []
-
-maxUnavailable: []
-
-resources:
- limits: {}
- requests: {}
-
-storage:
- type: ~
- # db:
- # host: localhost
- # name: nacos
- # port: 3306
- # username: usernmae
- # password: password
- # param:
characterEncoding=utf8&connectTimeout=1000&socketTimeout=3000&autoReconnect=true&useSSL=false
-
-service:
- name: http
- ##
- ## Service name.
- ##
- type: NodePort
- ##
- ## Service type.
- ##
- port: 8848
- ##
- ## Service port.
- ##
- nodePort: 30000
- ##
- ## Service nodePort.
- ##
- clusterIP: ""
- ##
- ## Service clusterIP.
- ##
- loadBalancerIP: ""
- ##
- ## Service loadBalancerIP.
- ##
- loadBalancerSourceRanges: ""
- ##
- ## Service loadBalancerSourceRanges.
- ##
- externalIPs: ""
- ##
- ## Service externalIPs.
-
-persistence:
- enabled: false
- accessModes:
- - ReadWriteOnce
- storageClassName: ""
- size: 5Gi
- ClaimName: {}
- ## persistence emptyDir
- emptyDir: {}
-
-## See `kubectl explain poddisruptionbudget.spec` for more
-## ref: https://kubernetes.io/docs/tasks/run-application/configure-pdb/
-podDisruptionBudget:
- enabled: false
- minAvailable: 1
- # maxUnavailable: 1
-
-ingress:
- enabled: false
- # For Kubernetes >= 1.18 you should specify the ingress-controller via the
field ingressClassName
- # See
https://kubernetes.io/blog/2020/04/02/improvements-to-the-ingress-api-in-kubernetes-1.18/#specifying-the-class-of-an-ingress
- # ingressClassName: nginx
- # Values can be templated
- annotations: {}
- # kubernetes.io/ingress.class: nginx
- # kubernetes.io/tls-acme: "true"
- labels: {}
- path: /
- ##
- ##
- # pathType is only for k8s >= 1.1=
- pathType: Prefix
- ##
- ##
- hosts:
- - chart-example.local
- ## Extra paths to prepend to every host configuration. This is useful when
working with annotation based services.
- extraPaths: []
- # - path: /*
- # backend:
- # serviceName: ssl-redirect
- # servicePort: use-annotation
- ## Or for k8s > 1.19
- # - path: /*
- # pathType: Prefix
- # backend:
- # service:
- # name: ssl-redirect
- # port:
- # name: use-annotation
- ##
- ##
- tls: []
- # - secretName: chart-example-tls
- # hosts:
- # - chart-example.local
-
-networkPolicy:
- ## @param networkPolicy.enabled Enable creation of NetworkPolicy resources.
Only Ingress traffic is filtered for now.
- ##
- enabled: false
- ## @param networkPolicy.allowExternal Don't require client label for
connections
- ## The Policy model to apply. When set to false, only pods with the correct
- ## client label will have network access to dubbo-admin port defined.
- ## When true, dubbo-admin will accept connections from any source
- ## (with the correct destination port).
- ##
- ingress: true
- ## @param networkPolicy.ingress When true enables the creation
- ## an ingress network policy
- ##
- ##
- ##
- ##
- egress:
- ## @param networkPolicy.egress.enabled When enabled, an egress network
policy will be
- ## created allowing dubbo-admin to connect to external data sources from
kubernetes cluster.
- enabled: false
- ##
- ## @param networkPolicy.egress.ports Add individual ports to be allowed by
the egress
- ports: []
- ## Add ports to the egress by specifying - port: <port number>
- ## E.X.
- ## ports:
- ## - port: 80
- ## - port: 443