Declarative PostgreSQL Management in Kubernetes: GitOps for Secure User Provisioning and Database Configuration

This paper presents a secure and fully automated GitOps-based framework for managing PostgreSQL deployments in Kubernetes. The system leverages ArgoCD and GitHub as the backbone of declarative configuration management, handling both PostgreSQL cluster configurations and user access policies. Sensitive credentials are never stored in plaintext; instead, a sealing process encrypts passwords into Kubernetes Sealed Secrets, ensuring secure handling of user data. A custom PostgreSQL User Controller dynamically reconciles sanitized user configurations from ConfigMaps with sealed credentials stored as Kubernetes Secrets, enabling automatic user creation, updates, and deletions. Simultaneously, the Zalando PostgreSQL Operator maintains the desired state of the database cluster, including provisioning, scaling, and failover. This approach enhances automation, security, and auditability, aligning with modern cloudnative best practices.

Authors

Institutions

Publication Details

Published
2025-09-22
DOI
https://doi.org/10.23919/apnoms67058.2025.11181373
Primary Topic
Blockchain Technology Applications and Security
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Declarative PostgreSQL Management in Kubernetes: GitOps for Secure User Provisioning and Database Configuration

Muhammad Asif, Umar Mahmood, Wang‐Cheol Song
Blockchain Technology Applications and Security
article

Declarative PostgreSQL Management in Kubernetes: GitOps for Secure User Provisioning and Database Configuration

Muhammad Asif, Umar Mahmood, Wang‐Cheol Song
article en

Abstract

This paper presents a secure and fully automated GitOps-based framework for managing PostgreSQL deployments in Kubernetes. The system leverages ArgoCD and GitHub as the backbone of declarative configuration management, handling both PostgreSQL cluster configurations and user access policies. Sensitive credentials are never stored in plaintext; instead, a sealing process encrypts passwords into Kubernetes Sealed Secrets, ensuring secure handling of user data. A custom PostgreSQL User Controller dynamically reconciles sanitized user configurations from ConfigMaps with sealed credentials stored as Kubernetes Secrets, enabling automatic user creation, updates, and deletions. Simultaneously, the Zalando PostgreSQL Operator maintains the desired state of the database cluster, including provisioning, scaling, and failover. This approach enhances automation, security, and auditability, aligning with modern cloudnative best practices.

Jeju National University (KR)
Openalex Percentile: Top 59%
Blockchain Technology Applications and Security
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.