Skip to content

Commit

Permalink
update operators
Browse files Browse the repository at this point in the history
  • Loading branch information
schoren committed Jul 29, 2024
1 parent 5d9a949 commit 6a8d79c
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 0 deletions.
1 change: 1 addition & 0 deletions charts/tracetest-agent-operator/templates/configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ data:
TRACETEST_TARGET_NAMESPACE: "{{ .Values.config.targetNamespace }}"
TRACETEST_TARGET_SERVER: {{ include "tracetest-common.url" .Values.global.urls.web }}
TRACETEST_TARGET_DOMAIN: "{{ .Values.global.urls.agents.domain }}"
TRACETEST_AGENT_EXTRA_ENV: ""
# TRACETEST_AGENT_EXTRA_ENV: |
# TRACETEST_ALLOW_INSECUE
TRACETEST_TRACING_COLLECTORENDPOINT: ""
Expand Down
7 changes: 7 additions & 0 deletions charts/tracetest-agent-operator/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,13 @@ spec:
name: {{ include "tracetest-agent-operator.fullname" . }}-config
key: TRACETEST_AGENT_EXTRA_ENV

- name: TRACETEST_AGENT_SKIP_VERIFY
valueFrom:
configMapKeyRef:
name: {{ include "tracetest-agent-operator.fullname" . }}-config
key: TRACETEST_AGENT_SKIP_VERIFY


imagePullPolicy: Always
resources:
{{- toYaml .Values.deployment.resources | nindent 12 }}
Expand Down
1 change: 1 addition & 0 deletions charts/tracetest-monitor-operator/templates/configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,4 @@ data:
TRACETEST_TARGET_NAMESPACE: "{{ .Values.config.targetNamespace }}"
TRACETEST_TARGET_SERVERURL: {{ include "tracetest-common.url" .Values.global.urls.api }}
TRACETEST_TRACING_COLLECTORENDPOINT: "{{ .Values.config.collectorEndpoint }}"
TRACETEST_AGENT_SKIP_VERIFY: "{{ not .Values.global.validCertificate }}"
6 changes: 6 additions & 0 deletions charts/tracetest-monitor-operator/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,12 @@ spec:
name: {{ include "tracetest-monitor-operator.fullname" . }}-config
key: TRACETEST_TRACING_COLLECTORENDPOINT

- name: TRACETEST_AGENT_SKIP_VERIFY
valueFrom:
configMapKeyRef:
name: {{ include "tracetest-monitor-operator.fullname" . }}-config
key: TRACETEST_AGENT_SKIP_VERIFY

imagePullPolicy: Always
resources:
{{- toYaml .Values.deployment.resources | nindent 12 }}
1 change: 1 addition & 0 deletions charts/tracetest-monitor-operator/values.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
global:
imagePullSecret: ""
tracetestImageRegistry: ""
validCertificate: true

nats:
endpoint: "nats://nats:4222"
Expand Down

0 comments on commit 6a8d79c

Please sign in to comment.