basit9958 / configmap-operator

This project involves developing clusterwide configmap which is a configuration object that holds key-value pairs and is accessible to all pods running in the cluster. This enables a central location to manage application configurations that can be shared across multiple pods and even across different namespaces within the cluster.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Configmap Operator

Configmap operator helps to manage ConfigMaps cluster-wide.

Usage

Make sure you have a Kubernetes cluster running before using the operator.

  • Clone the repository.
  • To install the CRD (DemoClusterConfigmap) into the cluster: make install
  • To run the controller: make run ENABLE_WEBHOOKS=false

Using Docker

  • make deploy bh3139/configmap-operator:0.1

  • Create a Namespace:

    # ns1.yaml
    apiVersion: v1
    kind: Namespace
    metadata:
        name: ns1
        labels:
            managed: "dev1"

    kubectl apply -f ns1.yaml

  • Create a ClusterConfigMap object: kubectl apply -f example/test1.yaml

About

This project involves developing clusterwide configmap which is a configuration object that holds key-value pairs and is accessible to all pods running in the cluster. This enables a central location to manage application configurations that can be shared across multiple pods and even across different namespaces within the cluster.


Languages

Language:Go 75.2%Language:Makefile 20.9%Language:Dockerfile 3.9%