From 0217bfd00476b291905c3755cf1b321452fe5200 Mon Sep 17 00:00:00 2001 From: deantchi <21262275+deantchi@users.noreply.github.com> Date: Wed, 1 Nov 2023 14:11:29 -0700 Subject: [PATCH] chore: add label to all configmaps (#80) --- templates/configmaps/bitcoind.template.yaml | 3 +++ .../configmaps/chain-coord-deployment-plan.template.yaml | 2 ++ templates/configmaps/chain-coord-devnet.template.yaml | 5 +++++ templates/configmaps/chain-coord-project-dir.template.yaml | 5 +++++ .../configmaps/chain-coord-project-manifest.template.yaml | 5 +++++ templates/configmaps/stacks-blockchain-api-pg.template.yaml | 5 +++++ templates/configmaps/stacks-blockchain-api.template.yaml | 5 +++++ templates/configmaps/stacks-blockchain.template.yaml | 5 +++++ 8 files changed, 35 insertions(+) diff --git a/templates/configmaps/bitcoind.template.yaml b/templates/configmaps/bitcoind.template.yaml index 55fce72..0fa9a81 100644 --- a/templates/configmaps/bitcoind.template.yaml +++ b/templates/configmaps/bitcoind.template.yaml @@ -5,3 +5,6 @@ kind: ConfigMap metadata: name: bitcoind namespace: "{namespace}" + labels: + app.kubernetes.io/managed-by: stacks-devnet-api + diff --git a/templates/configmaps/chain-coord-deployment-plan.template.yaml b/templates/configmaps/chain-coord-deployment-plan.template.yaml index d505124..a733b8c 100644 --- a/templates/configmaps/chain-coord-deployment-plan.template.yaml +++ b/templates/configmaps/chain-coord-deployment-plan.template.yaml @@ -5,3 +5,5 @@ kind: ConfigMap metadata: name: deployment-plan namespace: "{namespace}" + labels: + app.kubernetes.io/managed-by: stacks-devnet-api diff --git a/templates/configmaps/chain-coord-devnet.template.yaml b/templates/configmaps/chain-coord-devnet.template.yaml index 7397da1..3386eb9 100644 --- a/templates/configmaps/chain-coord-devnet.template.yaml +++ b/templates/configmaps/chain-coord-devnet.template.yaml @@ -5,3 +5,8 @@ kind: ConfigMap metadata: name: devnet namespace: "{namespace}" + labels: + app.kubernetes.io/managed-by: stacks-devnet-api + app.kubernetes.io/instance: "{user_id}" + app.kubernetes.io/name: devnet + app.kubernetes.io/component: devnet diff --git a/templates/configmaps/chain-coord-project-dir.template.yaml b/templates/configmaps/chain-coord-project-dir.template.yaml index c6b8e81..b71e4c9 100644 --- a/templates/configmaps/chain-coord-project-dir.template.yaml +++ b/templates/configmaps/chain-coord-project-dir.template.yaml @@ -5,3 +5,8 @@ kind: ConfigMap metadata: name: project-dir namespace: "{namespace}" + labels: + app.kubernetes.io/managed-by: stacks-devnet-api + app.kubernetes.io/instance: "{user_id}" + app.kubernetes.io/name: project-dir + app.kubernetes.io/component: project-dir diff --git a/templates/configmaps/chain-coord-project-manifest.template.yaml b/templates/configmaps/chain-coord-project-manifest.template.yaml index c657e1e..7c7a85f 100644 --- a/templates/configmaps/chain-coord-project-manifest.template.yaml +++ b/templates/configmaps/chain-coord-project-manifest.template.yaml @@ -5,3 +5,8 @@ kind: ConfigMap metadata: name: project-manifest namespace: "{namespace}" + labels: + app.kubernetes.io/managed-by: stacks-devnet-api + app.kubernetes.io/instance: "{user_id}" + app.kubernetes.io/name: project-manifest + app.kubernetes.io/component: project-manifest diff --git a/templates/configmaps/stacks-blockchain-api-pg.template.yaml b/templates/configmaps/stacks-blockchain-api-pg.template.yaml index 8e15c54..fe996d7 100644 --- a/templates/configmaps/stacks-blockchain-api-pg.template.yaml +++ b/templates/configmaps/stacks-blockchain-api-pg.template.yaml @@ -5,3 +5,8 @@ kind: ConfigMap metadata: name: stacks-blockchain-api-pg namespace: "{namespace}" + labels: + app.kubernetes.io/managed-by: stacks-devnet-api + app.kubernetes.io/instance: "{user_id}" + app.kubernetes.io/name: stacks-blockchain-api-pg + app.kubernetes.io/component: stacks-blockchain-api-pg \ No newline at end of file diff --git a/templates/configmaps/stacks-blockchain-api.template.yaml b/templates/configmaps/stacks-blockchain-api.template.yaml index 4027081..ed691f5 100644 --- a/templates/configmaps/stacks-blockchain-api.template.yaml +++ b/templates/configmaps/stacks-blockchain-api.template.yaml @@ -5,3 +5,8 @@ kind: ConfigMap metadata: name: stacks-blockchain-api namespace: "{namespace}" + labels: + app.kubernetes.io/managed-by: stacks-devnet-api + app.kubernetes.io/instance: "{user_id}" + app.kubernetes.io/name: stacks-blockchain-api + app.kubernetes.io/component: stacks-blockchain-api diff --git a/templates/configmaps/stacks-blockchain.template.yaml b/templates/configmaps/stacks-blockchain.template.yaml index a50cfd5..e15941f 100644 --- a/templates/configmaps/stacks-blockchain.template.yaml +++ b/templates/configmaps/stacks-blockchain.template.yaml @@ -5,3 +5,8 @@ kind: ConfigMap metadata: name: stacks-blockchain namespace: "{namespace}" + labels: + app.kubernetes.io/managed-by: stacks-devnet-api + app.kubernetes.io/instance: "{user_id}" + app.kubernetes.io/name: stacks-blockchain + app.kubernetes.io/component: stacks-blockchain