Skip to content

Commit

Permalink
chore: remove unused configs (#378)
Browse files Browse the repository at this point in the history
  • Loading branch information
shanshanying authored Mar 12, 2024
1 parent 3a1b117 commit dbd1c11
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 709 deletions.
54 changes: 0 additions & 54 deletions addons/mogdb/templates/agamotto-configmap.yaml

This file was deleted.

16 changes: 3 additions & 13 deletions addons/mogdb/templates/clusterdefinition.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,24 +46,14 @@ spec:
namespace: {{ .Release.Namespace }}
volumeName: mogdb-config
defaultMode: 0777
- name: mogdb-custom-metrics
templateRef: mogdb-custom-metrics
namespace: {{ .Release.Namespace }}
volumeName: mogdb-custom-metrics
defaultMode: 0777
- name: agamotto-configuration
templateRef: mogdb-agamotto-configuration
namespace: {{ .Release.Namespace }}
volumeName: agamotto-configuration
defaultMode: 0777
scriptSpecs:
- name: mogdb-scripts
templateRef: mogdb-scripts
namespace: {{ .Release.Namespace }}
volumeName: scripts
defaultMode: 0777
monitor:
buildIn: false
builtIn: false
exporterConfig:
scrapePath: /metrics
scrapePort: {{ .Values.metrics.service.port }}
Expand Down Expand Up @@ -115,10 +105,10 @@ spec:
pgport="5432"
if [ -n "$PGPORT" ];then
pgport="$PGPORT"
pgport="$PGPORT"
fi
ha_port=$(expr $pgport + 1)
ha_service_port=$(expr $pgport + 2)
ha_service_port=$(expr $pgport + 2)
cat >/tmp/replconninfo.conf
for ((i=0; i<$ordinal; i++)); do
Expand Down
Loading

0 comments on commit dbd1c11

Please sign in to comment.