Skip to content

Commit

Permalink
Merge pull request #46 from deepflowio/watcher
Browse files Browse the repository at this point in the history
unified naming style
  • Loading branch information
LYootsz authored Sep 25, 2024
2 parents dec166b + f206f90 commit 17c7217
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion charts/deepflow-agent/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ description: An automated observability platform for cloud-native developers.
name: deepflow-agent
engine: gotpl
type: application
version: 6.6.011
version: 6.6.012
appVersion: "6.6.5"
kubeVersion: ">=1.16.0-0"
sources:
Expand Down
10 changes: 5 additions & 5 deletions charts/deepflow-agent/templates/daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ spec:
checksum/config: {{ include (print $.Template.BasePath "/configmap.yaml") . | sha256sum }}
checksum/customConfig: {{ sha256sum (print .Values.deepflowAgentConfig) }}
container.apparmor.security.beta.kubernetes.io/deepflow-agent: unconfined
{{- if .Values.tke_sidecar }}
{{- if .Values.tkeSidecar }}
eks.tke.cloud.tencent.com/ds-injection: "true"
{{- end }}
{{- with .Values.podAnnotations }}
Expand Down Expand Up @@ -56,7 +56,7 @@ spec:
{{- toYaml .Values.securityContext | nindent 12 }}
image: "{{ tpl .Values.image.repository . }}:{{ tpl (toString .Values.image.tag) . }}"
imagePullPolicy: {{ tpl .Values.image.pullPolicy . }}
{{- if .Values.tke_sidecar }}
{{- if .Values.tkeSidecar }}
command:
- /usr/bin/deepflow-agent
args:
Expand Down Expand Up @@ -97,18 +97,18 @@ spec:
valueFrom:
fieldRef:
fieldPath: metadata.name
{{- if .Values.tke_sidecar }}
{{- if .Values.tkeSidecar }}
- name: CTRL_NETWORK_INTERFACE
value: "eth0"
{{- end }}
{{- if .Values.AgentWatchDisabled }}
{{- if .Values.daemonsetWatchDisabled }}
- name: K8S_WATCH_POLICY
value: "watch-disabled"
{{- end }}
- name: K8S_POD_IP_FOR_DEEPFLOW
valueFrom:
fieldRef:
{{- if .Values.tke_sidecar }}
{{- if .Values.tkeSidecar }}
fieldPath: status.hostIP
{{- else }}
fieldPath: status.podIP
Expand Down
4 changes: 2 additions & 2 deletions charts/deepflow-agent/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ deployComponent:
- "daemonset"
# - "watcher"
#
tke_sidecar: false
AgentWatchDisabled: false # Whether to disable the watch for Agent configured through daemonset
tkeSidecar: false
daemonsetWatchDisabled: false # Whether to disable the watch for Agent configured through daemonset

image:
repository: registry.cn-hongkong.aliyuncs.com/deepflow-ce/deepflow-agent
Expand Down
2 changes: 1 addition & 1 deletion charts/deepflow/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ description: An automated observability platform for cloud-native developers.
name: deepflow
engine: gotpl
type: application
version: 6.6.011
version: 6.6.012
appVersion: "6.6.5"
kubeVersion: ">=1.16.0-0"
sources:
Expand Down
4 changes: 2 additions & 2 deletions charts/deepflow/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -678,8 +678,8 @@ deepflow-agent:
- "daemonset"
# - "watcher"
#
tke_sidecar: false
AgentWatchDisabled: false # Whether to disable the watch for Agent configured through daemonset
tkeSidecar: false
daemonsetWatchDisabled: false # Whether to disable the watch for Agent configured through daemonset
podAnnotations: {}
nodeIPInjection: true
podSecurityContext: {}
Expand Down

0 comments on commit 17c7217

Please sign in to comment.