Skip to content

Commit

Permalink
Merge pull request emissary-ingress#4358 from emissary-ingress/alexge…
Browse files Browse the repository at this point in the history
…rvais/dev/disable-diagnostics-feature

Disabled diagnostics reporting feature flag
  • Loading branch information
Alex Gervais authored Jul 27, 2022
2 parents 05e9326 + 8c106f1 commit b0c6860
Show file tree
Hide file tree
Showing 7 changed files with 0 additions and 34 deletions.
7 changes: 0 additions & 7 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,13 +80,6 @@ it will be removed; but as it won't be user-visible this isn't considered a brea
- Feature: The agent is now able to parse api contracts using swagger 2, and to convert them to
OpenAPI 3, making them available for use in the dev portal.

- Feature: The agent now has the ability to report diagnostics information to Ambassador Cloud. If
you previously connected your installation to Ambassador Cloud, you may choose to enable this
functionality by setting the following environment variables on your agent `Deployment`:
`AES_REPORT_DIAGNOSTICS_TO_CLOUD=true`,
`AES_DIAGNOSTICS_URL="http://[ambassador-admin]:8877/ambassador/v0/diag/?json=true"`. This
capability is enabled by default in the standard published `.yaml` files and Helm chart.

- Change: In the standard published `.yaml` files, the `Module` resource enables serving remote
client requests to the `:8877/ambassador/v0/diag/` endpoint. The associated Helm chart release
also now enables it by default.
Expand Down
1 change: 0 additions & 1 deletion charts/emissary-ingress/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ numbering uses [semantic versioning](http://semver.org).

## Next Release

- Feature: The Agent Deployment is now configured to report diagnostics information to Ambassador Cloud by default.
- Change: The default for the `module` value has changed to enable serving remote client requests to the <code>:8877/ambassador/v0/diag/</code> endpoint by default.

## v8.0.0
Expand Down
6 changes: 0 additions & 6 deletions charts/emissary-ingress/templates/ambassador-agent.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -241,14 +241,8 @@ spec:
value: {{ include "ambassador.fullname" . }}-agent-cloud-token
- name: RPC_CONNECTION_ADDRESS
value: {{ .Values.agent.rpcAddress }}
{{- if .Values.agent.diagnostics }}
- name: AES_REPORT_DIAGNOSTICS_TO_CLOUD
value: "true"
{{- end }}
- name: AES_SNAPSHOT_URL
value: "http://{{ include "ambassador.fullname" . }}-admin.{{ include "ambassador.namespace" . }}:{{ .Values.adminService.snapshotPort }}/snapshot-external"
- name: AES_DIAGNOSTICS_URL
value: "http://{{ include "ambassador.fullname" . }}-admin.{{ include "ambassador.namespace" . }}:{{ .Values.adminService.port }}/ambassador/v0/diag/?json=true"
{{ if .Values.progressDeadlines }}
{{ if hasKey .Values.progressDeadlines "agent" }}
progressDeadlineSeconds: {{ .Values.progressDeadlines.agent }}
Expand Down
2 changes: 0 additions & 2 deletions charts/emissary-ingress/values.yaml.in
Original file line number Diff line number Diff line change
Expand Up @@ -388,8 +388,6 @@ prometheusExporter: # +doc-gen:break
agent:
# If `true`, installs the ambassador-agent Deployment, ServiceAccount and ClusterRole in the ambassador namespace, enabling the Ambassador Cloud connectivity.
enabled: true
# If `true`, will report diagnostics information.
diagnostics: true
# API token for reporting snapshots to [Ambassador Cloud](https://app.getambassador.io/cloud/);
# If empty, agent will not report snapshots
cloudConnectToken: ''
Expand Down
10 changes: 0 additions & 10 deletions docs/releaseNotes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,16 +40,6 @@ items:
body: >-
The agent is now able to parse api contracts using swagger 2, and to convert them to OpenAPI 3, making them
available for use in the dev portal.
- title:
type: feature
body: >-
The agent now has the ability to report diagnostics information to Ambassador Cloud.
If you previously connected your installation to Ambassador Cloud, you may choose to enable this functionality
by setting the following environment variables on your agent <code>Deployment</code>:
<code>AES_REPORT_DIAGNOSTICS_TO_CLOUD=true</code>,
<code>AES_DIAGNOSTICS_URL="http://[ambassador-admin]:8877/ambassador/v0/diag/?json=true"</code>.
This capability is enabled by default in the standard published <code>.yaml</code> files and Helm chart.
docs: ../../../cloud/latest/service-catalog/reference/diagnostics/
- title: Default YAML enables the diagnostics interface from non-local clients on the admin service port
type: change
body: >-
Expand Down
4 changes: 0 additions & 4 deletions manifests/emissary/emissary-defaultns.yaml.in
Original file line number Diff line number Diff line change
Expand Up @@ -636,12 +636,8 @@ spec:
value: emissary-ingress-agent-cloud-token
- name: RPC_CONNECTION_ADDRESS
value: https://app.getambassador.io/
- name: AES_REPORT_DIAGNOSTICS_TO_CLOUD
value: "true"
- name: AES_SNAPSHOT_URL
value: http://emissary-ingress-admin.default:8005/snapshot-external
- name: AES_DIAGNOSTICS_URL
value: http://emissary-ingress-admin.default:8877/ambassador/v0/diag/?json=true
image: $imageRepo$:$version$
imagePullPolicy: IfNotPresent
name: agent
Expand Down
4 changes: 0 additions & 4 deletions manifests/emissary/emissary-emissaryns.yaml.in
Original file line number Diff line number Diff line change
Expand Up @@ -636,12 +636,8 @@ spec:
value: emissary-ingress-agent-cloud-token
- name: RPC_CONNECTION_ADDRESS
value: https://app.getambassador.io/
- name: AES_REPORT_DIAGNOSTICS_TO_CLOUD
value: "true"
- name: AES_SNAPSHOT_URL
value: http://emissary-ingress-admin.emissary:8005/snapshot-external
- name: AES_DIAGNOSTICS_URL
value: http://emissary-ingress-admin.emissary:8877/ambassador/v0/diag/?json=true
image: $imageRepo$:$version$
imagePullPolicy: IfNotPresent
name: agent
Expand Down

0 comments on commit b0c6860

Please sign in to comment.