diff --git a/doc-Service-Telemetry-Framework/modules/proc_overriding-a-managed-manifest.adoc b/doc-Service-Telemetry-Framework/modules/proc_overriding-a-managed-manifest.adoc deleted file mode 100644 index 0a7c8ec6..00000000 --- a/doc-Service-Telemetry-Framework/modules/proc_overriding-a-managed-manifest.adoc +++ /dev/null @@ -1,76 +0,0 @@ -// Module included in the following assemblies: -// -// - -// This module can be included from assemblies using the following include statement: -// include::/proc_overriding-a-managed-manifest.adoc[leveloffset=+1] - - -[id="overriding-a-managed-manifest_{context}"] -= Overriding a managed manifest - -[role="_abstract"] -Edit the `ServiceTelemetry` object and provide a parameter and manifest. For a list of available manifest override parameters, see xref:manifest-overrides_assembly-advanced-features[]. The default `ServiceTelemetry` object is `default`. Use `oc get servicetelemetry` to list the available {ProjectShort} deployments. - -[TIP] -The `oc edit` command loads the default system editor. To override the default editor, pass or set the environment variable `EDITOR` to the preferred editor. For example, `EDITOR=nano oc edit servicetelemetry default`. - -.Procedure - -. Log in to {OpenShift}. -. Change to the `service-telemetry` namespace: -+ -[source,bash] ----- -$ oc project service-telemetry ----- - -. Load the `ServiceTelemetry` object into an editor: -+ -[source,bash] ----- -$ oc edit servicetelemetry default ----- - -. To modify the `ServiceTelemetry` object, provide a manifest override parameter and the contents of the manifest to write to {OpenShiftShort} instead of the defaults provided by {ProjectShort}. -+ -[NOTE] -==== -The trailing pipe (`|`) after entering the manifest override parameter indicates that the value provided is multi-line. -==== -+ -[source,yaml,options="nowrap"] ----- -$ oc edit stf default - -apiVersion: infra.watch/v1beta1 -kind: ServiceTelemetry -metadata: - ... -spec: - alertmanagerConfigManifest: | - apiVersion: v1 - kind: Secret - metadata: - name: 'alertmanager-default' - namespace: 'service-telemetry' - type: Opaque - stringData: - alertmanager.yaml: |- - global: - resolve_timeout: 10m - route: - group_by: ['job'] - group_wait: 30s - group_interval: 5m - repeat_interval: 12h - receiver: 'null' - receivers: - - name: 'null' -status: - ... ----- -+ -The `alertmanagerConfigManifest` manifest override parameter is defined in the `spec` of the `ServiceTelemetry` object. - -. Save and close.