Uploaded image for project: 'OpenShift Monitoring'
  1. OpenShift Monitoring
  2. MON-2206

Expose sigv4 settings for remote write in the CMO configuration

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: Undefined Undefined
    • None
    • None
    • CMO

      Prometheus and Prometheus operator already support sigv4 authentication for remote write. This should be possible to configure the same in the CMO configuration:

       

      apiVersion: v1
      kind: ConfigMap
      metadata:
        name: cluster-monitoring-config
        namespace: openshift-monitoring
      data:
        config.yaml: |
          prometheusK8s:
            remoteWrite:
            - url: "https://remote-write.endpoint"
              sigv4:
                accessKey:
                  name: aws-credentialss
                  key: access
                secretKey:
                  name: aws-credentials
                  key: secret

                profile: "SomeProfile"

                roleArn: "SomeRoleArn"

      DoD:

      • Ability to configure sigv4 authentication for remote write in the openshift-monitoring/cluster-monitoring-config configmap
      • Ability to configure sigv4 authentication for remote write in the openshift-user-workload-monitoring/user-workload-monitoring-config configmap

              jmarcal@redhat.com Joao Marcal
              spasquie@redhat.com Simon Pasquier
              Junqi Zhao Junqi Zhao
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: