Skip to content

Commit

Permalink
chore: remove useless config
Browse files Browse the repository at this point in the history
  • Loading branch information
sophon-zt committed Dec 26, 2024
1 parent 1e4aca2 commit df3edca
Show file tree
Hide file tree
Showing 21 changed files with 11 additions and 304 deletions.
2 changes: 1 addition & 1 deletion addons-cluster/pulsar/templates/cluster.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ metadata:
{{- end }}
spec:
terminationPolicy: {{ $.Values.terminationPolicy }}
{{- $topologyEnable := eq .Values.mode "" | default false }}
{{- $topologyEnable := ne .Values.mode "" | default false }}
{{- if $topologyEnable}}
clusterDef: pulsar
topology: {{ .Values.mode }}
Expand Down
9 changes: 0 additions & 9 deletions addons/pulsar/config/bookies-env.tpl

This file was deleted.

7 changes: 0 additions & 7 deletions addons/pulsar/config/bookies-recovery-env.tpl

This file was deleted.

8 changes: 0 additions & 8 deletions addons/pulsar/config/broker-env.tpl

This file was deleted.

8 changes: 0 additions & 8 deletions addons/pulsar/config/proxy-env.tpl

This file was deleted.

10 changes: 0 additions & 10 deletions addons/pulsar/templates/config/bookies-env-configmap.yaml

This file was deleted.

This file was deleted.

9 changes: 0 additions & 9 deletions addons/pulsar/templates/config/broker-env-configmap.yaml

This file was deleted.

3 changes: 1 addition & 2 deletions addons/pulsar/templates/config/pcr-bkrecovery-2.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
apiVersion: parameters.kubeblocks.io/v1alpha1
kind: ParameterDrivenConfigRender
kind: ParamConfigRenderer
metadata:
name: {{ include "pulsar2.bkrecoveryPCRName" . }}
labels:
Expand All @@ -9,7 +9,6 @@ spec:

configs:
- name: pulsar.env
templateName: bkrecovery-config
fileFormatConfig:
format: dotenv
reRenderResourceTypes:
Expand Down
3 changes: 1 addition & 2 deletions addons/pulsar/templates/config/pcr-bkrecovery-3.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
apiVersion: parameters.kubeblocks.io/v1alpha1
kind: ParameterDrivenConfigRender
kind: ParamConfigRenderer
metadata:
name: {{ include "pulsar3.bkrecoveryPCRName" . }}
labels:
Expand All @@ -9,7 +9,6 @@ spec:

configs:
- name: pulsar.env
templateName: bkrecovery-config
fileFormatConfig:
format: dotenv
reRenderResourceTypes:
Expand Down
4 changes: 1 addition & 3 deletions addons/pulsar/templates/config/pcr-bookies-2.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
apiVersion: parameters.kubeblocks.io/v1alpha1
kind: ParameterDrivenConfigRender
kind: ParamConfigRenderer
metadata:
name: {{ include "pulsar2.bookiesPCRName" . }}
labels:
Expand All @@ -11,11 +11,9 @@ spec:

configs:
- name: bookkeeper.conf
templateName: bookies-config
fileFormatConfig:
format: props-plus
- name: pulsar.env
templateName: bookies-config
fileFormatConfig:
format: dotenv
reRenderResourceTypes:
Expand Down
4 changes: 1 addition & 3 deletions addons/pulsar/templates/config/pcr-bookies-3.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
apiVersion: parameters.kubeblocks.io/v1alpha1
kind: ParameterDrivenConfigRender
kind: ParamConfigRenderer
metadata:
name: {{ include "pulsar3.bookiesPCRName" . }}
labels:
Expand All @@ -11,11 +11,9 @@ spec:

configs:
- name: bookkeeper.conf
templateName: bookies-config
fileFormatConfig:
format: props-plus
- name: pulsar.env
templateName: bookies-config
fileFormatConfig:
format: dotenv
reRenderResourceTypes:
Expand Down
4 changes: 1 addition & 3 deletions addons/pulsar/templates/config/pcr-broker-2.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
apiVersion: parameters.kubeblocks.io/v1alpha1
kind: ParameterDrivenConfigRender
kind: ParamConfigRenderer
metadata:
name: {{ include "pulsar2.brokerPCRName" . }}
labels:
Expand All @@ -11,11 +11,9 @@ spec:

configs:
- name: broker.conf
templateName: broker-config
fileFormatConfig:
format: props-plus
- name: pulsar.env
templateName: broker-config
fileFormatConfig:
format: dotenv
reRenderResourceTypes:
Expand Down
4 changes: 1 addition & 3 deletions addons/pulsar/templates/config/pcr-broker-3.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
apiVersion: parameters.kubeblocks.io/v1alpha1
kind: ParameterDrivenConfigRender
kind: ParamConfigRenderer
metadata:
name: {{ include "pulsar3.brokerPCRName" . }}
labels:
Expand All @@ -11,11 +11,9 @@ spec:

configs:
- name: broker.conf
templateName: broker-config
fileFormatConfig:
format: props-plus
- name: pulsar.env
templateName: broker-config
fileFormatConfig:
format: dotenv
reRenderResourceTypes:
Expand Down
4 changes: 1 addition & 3 deletions addons/pulsar/templates/config/pcr-proxy-2.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
apiVersion: parameters.kubeblocks.io/v1alpha1
kind: ParameterDrivenConfigRender
kind: ParamConfigRenderer
metadata:
name: {{ include "pulsar2.proxyPCRName" . }}
labels:
Expand All @@ -11,11 +11,9 @@ spec:

configs:
- name: proxy.conf
templateName: proxy-config
fileFormatConfig:
format: props-plus
- name: pulsar.env
templateName: proxy-config
fileFormatConfig:
format: dotenv
reRenderResourceTypes:
Expand Down
4 changes: 1 addition & 3 deletions addons/pulsar/templates/config/pcr-proxy-3.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
apiVersion: parameters.kubeblocks.io/v1alpha1
kind: ParameterDrivenConfigRender
kind: ParamConfigRenderer
metadata:
name: {{ include "pulsar3.proxyPCRName" . }}
labels:
Expand All @@ -11,11 +11,9 @@ spec:

configs:
- name: proxy.conf
templateName: proxy-config
fileFormatConfig:
format: props-plus
- name: pulsar.env
templateName: proxy-config
fileFormatConfig:
format: dotenv
reRenderResourceTypes:
Expand Down
4 changes: 1 addition & 3 deletions addons/pulsar/templates/config/pcr-zookeeper-2.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
apiVersion: parameters.kubeblocks.io/v1alpha1
kind: ParameterDrivenConfigRender
kind: ParamConfigRenderer
metadata:
name: {{ include "pulsar2.zookeeperPCRName" . }}
labels:
Expand All @@ -9,11 +9,9 @@ spec:

configs:
- name: zookeeper.conf
templateName: zookeeper-config
fileFormatConfig:
format: props-plus
- name: pulsar.env
templateName: zookeeper-config
fileFormatConfig:
format: dotenv
reRenderResourceTypes:
Expand Down
4 changes: 1 addition & 3 deletions addons/pulsar/templates/config/pcr-zookeeper-3.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
apiVersion: parameters.kubeblocks.io/v1alpha1
kind: ParameterDrivenConfigRender
kind: ParamConfigRenderer
metadata:
name: {{ include "pulsar3.zookeeperPCRName" . }}
labels:
Expand All @@ -9,11 +9,9 @@ spec:

configs:
- name: zookeeper.conf
templateName: zookeeper-config
fileFormatConfig:
format: props-plus
- name: pulsar.env
templateName: zookeeper-config
fileFormatConfig:
format: dotenv
reRenderResourceTypes:
Expand Down
10 changes: 0 additions & 10 deletions addons/pulsar/templates/config/proxy-env-configmap.yaml

This file was deleted.

10 changes: 0 additions & 10 deletions addons/pulsar/templates/config/zookeeper-env-configmap.yaml

This file was deleted.

Loading

0 comments on commit df3edca

Please sign in to comment.