Skip to Main Content
Cloud Management and AIOps

This is an IBM Automation portal for Cloud Management and AIOps products. To view all of your ideas submitted to IBM, create and manage groups of Ideas, or create an idea explicitly set to be either visible by all (public) or visible only to you and IBM (private), use the IBM Unified Ideas Portal (

Shape the future of IBM!

We invite you to shape the future of IBM, including product roadmaps, by submitting ideas that matter to you the most. Here's how it works:

Search existing ideas

Start by searching and reviewing ideas and requests to enhance a product or service. Take a look at ideas others have posted, and add a comment, vote, or subscribe to updates on them if they matter to you. If you can't find what you are looking for,

Post your ideas
  1. Post an idea.

  2. Get feedback from the IBM team and other customers to refine your idea.

  3. Follow the idea through the IBM Ideas process.

Specific links you will want to bookmark for future use

Welcome to the IBM Ideas Portal ( - Use this site to find out additional information and details about the IBM Ideas process and statuses.

IBM Unified Ideas Portal ( - Use this site to view all of your ideas, create new ideas for any IBM product, or search for ideas across all of IBM. - Use this email to suggest enhancements to the Ideas process or request help from IBM for submitting your Ideas.

Status Functionality already exists
Workspace Instana
Categories Kubernetes
Created by Guest
Created on Aug 31, 2023

Manage configuration.yaml with Secret

We would like to monitor EDB Postgres for Kubernetes on Instana.

As a prerequisite, Instana runs only agents in SaaS deployment format in an OpenShift environment.

EDB Postgres for Kubernetes runs in the same OpenShift environment.

Referring to the following page, we were able to monitor EDB from Instana.

However, there are security concerns about recording DB user password information in ConfigMap.


# oc get cm instana-agent -n instana-agent -o yaml

apiVersion: v1


cluster_name: dev-mcp-001

configuration-disable-kubernetes-sensor.yaml: |


enabled: false

configuration.yaml: |2

# Manual a-priori configuration. Configuration will be only used when the sensor



user: 'edbuser'

password: 'edbpassword'

database: 'edbuser' # by default PostgreSQL will use 'user' as database to connect to.


The contents of configuration.yaml include confidential information depending on the settings.

Could you please improve it so that it can be defined in Secret instead of ConfigMap?

Thank you very much.

Idea priority Urgent
  • Admin
    Henning Treu
    Jan 12, 2024

    Dear Customer,

    Pulling password from Kubernetes secrets in Agent configuration can already be achieved by combining two existing features:

    • Mount the password from a Secret to an environment variable or file into the application pod

      • it is critical to mount the secret inside the application pod, in your example the postgresql pod will have the file or env var mounted!

      • mount to file is described here

      • mount to environment variable is described here

    • Reference the file or env var mounted from the Agent's configuration.yaml as described here

      • Instana Agent will look up the referenced file or env var inside the application pod and fill in the configuration value for the sensor

    Thank you & best regards

    Henning Treu - Instana Product Manager Agent, Logging, Applications