Skip to content
This repository was archived by the owner on Aug 5, 2025. It is now read-only.
This repository was archived by the owner on Aug 5, 2025. It is now read-only.

Config Maps created by Patroni are not deleted during cleanup process #87

@kuanfandevops

Description

@kuanfandevops

There are two config maps create when deploy Patroni. Samples are listed as below:

  1. patroni-dev-133-config
    apiVersion: v1
    kind: ConfigMap
    metadata:
    annotations:
    config: >-
    {"postgresql":{"parameters":{"max_prepared_transactions":0,"max_connections":100,"max_locks_per_transaction":64},"use_pg_rewind":true}}
    initialize: '6810106684732760101'
    creationTimestamp: '2020-03-30T20:52:02Z'
    labels:
    app.kubernetes.io/name: patroni
    cluster-name: patroni-dev-133
    name: patroni-dev-133-config
    namespace: tbiwaq-dev
    resourceVersion: '1692551404'
    selfLink: /api/v1/namespaces/tbiwaq-dev/configmaps/patroni-dev-133-config
    uid: 4e464ba5-72c8-11ea-94de-0050568379a2

  2. patroni-dev-133-leader
    apiVersion: v1
    kind: ConfigMap
    metadata:
    annotations:
    acquireTime: '2020-03-30T20:52:24.377124+00:00'
    optime: '29074544'
    renewTime: '2020-03-30T21:12:14.526894+00:00'
    transitions: '0'
    ttl: '30'
    creationTimestamp: '2020-03-30T20:52:24Z'
    labels:
    app.kubernetes.io/name: patroni
    cluster-name: patroni-dev-133
    name: patroni-dev-133-leader
    namespace: tbiwaq-dev
    resourceVersion: '1692582304'
    selfLink: /api/v1/namespaces/tbiwaq-dev/configmaps/patroni-dev-133-leader
    uid: 5b9bd86a-72c8-11ea-94de-0050568379a2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions