Skip to content

Commit

Permalink
fix: failed to get ip from fqdn (#5438) (#5674)
Browse files Browse the repository at this point in the history
(cherry picked from commit 90761cd)
  • Loading branch information
sophon-zt authored and ldming committed Nov 21, 2023
1 parent 2c07764 commit 640d9d6
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 8 deletions.
5 changes: 2 additions & 3 deletions tdengine/templates/clusterdefinition.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ spec:
configSpecs:
- name: tdengine-taos-config
templateRef: tdengine-config-template
constraintRef: tdengine-taos-config-constraints
volumeName: taos-config
namespace: {{ .Release.Namespace }}
- name: metrics-configuration
Expand Down Expand Up @@ -65,9 +64,9 @@ spec:
- name: TZ
value: {{ .Values.timeZone }}
- name: TAOS_FQDN
value: "$(KB_POD_FQDN)"
value: "$(KB_POD_FQDN).cluster.local"
- name: TAOS_FIRST_EP
value: "$(KB_0_HOSTNAME).$(KB_NAMESPACE).svc:$(SVC_PORT)"
value: "$(KB_0_HOSTNAME).$(KB_NAMESPACE).svc.cluster.local:$(SVC_PORT)"
- name: TAOS_ADAPTER_USERNAME
valueFrom:
secretKeyRef:
Expand Down
10 changes: 5 additions & 5 deletions tdengine/templates/configconstraint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ metadata:
{{- include "tdengine.labels" . | nindent 4 }}
spec:
# configmap reference
reloadOptions:
tplScriptTrigger:
sync: true
scriptConfigMapRef: tdengine-reload-script
namespace: {{ .Release.Namespace }}
{{/* reloadOptions:*/}}
{{/* tplScriptTrigger:*/}}
{{/* sync: true*/}}
{{/* scriptConfigMapRef: tdengine-reload-script*/}}
{{/* namespace: {{ .Release.Namespace }}*/}}

# top level mysql configuration type
cfgSchemaTopLevelName: TaosParameter
Expand Down

0 comments on commit 640d9d6

Please sign in to comment.