From 1730496fb15eb271eb6b1224e027c3b0f278463d Mon Sep 17 00:00:00 2001 From: "Jiawei \"Tyler\" Gu" <47795840+tylergu@users.noreply.github.com> Date: Thu, 17 Aug 2023 16:27:43 -0500 Subject: [PATCH] Backport fixes and tests from AE (#264) * Add test files Signed-off-by: Tyler Gu * Backport fixes and tests from AE branch Signed-off-by: Tyler Gu * Backport ansible script updates Signed-off-by: Tyler Gu * Add gh action to run bug reproduction Signed-off-by: Tyler Gu --------- Signed-off-by: Tyler Gu --- .github/workflows/e2e-test.yml | 29 + .github/workflows/unittest.yaml | 2 +- acto/__main__.py | 3 +- acto/checker/impl/state.py | 2 - acto/common.py | 2 +- acto/engine.py | 51 +- acto/input/input.py | 28 +- acto/kubernetes_engine/kind.py | 6 +- acto/post_process/post_diff_test.py | 50 +- acto/reproduce.py | 58 +- data/cass-operator/config.json | 3 +- data/mongodb-community-operator/config.json | 5 +- .../config.json | 3 +- data/tidb-operator/config.json | 4 + data/zookeeper-operator/config.json | 1 + pytest.ini | 3 + requirements.txt | 3 +- scripts/ansible/acto.yaml | 50 +- scripts/ansible/configure.yaml | 8 +- scripts/ansible/data.yaml | 2 + scripts/ansible/python.yaml | 8 +- scripts/ansible/tmpfs.yaml | 8 +- test/test_bug_reproduction.py | 151 + .../cassop-315/inputs/mutated-0.yaml | 27 + .../cassop-315/inputs/mutated-1.yaml | 29 + .../cassop-315/inputs/mutated-2.yaml | 28 + .../cassop-315/inputs/mutated-3.yaml | 32 + .../cassop-330/trial-demo/mutated-0.yaml | 27 + .../cassop-330/trial-demo/mutated-1.yaml | 31 + .../cassop-330/trial-demo/mutated-2.yaml | 30 + test/test_data/cassop-334/mutated-0.yaml | 27 + test/test_data/cassop-334/mutated-1.yaml | 29 + test/test_data/cassop-471/mutated-0.yaml | 27 + test/test_data/cassop-471/mutated-1.yaml | 35 + test/test_data/cassop-471/mutated-2.yaml | 35 + test/test_data/crdbop-918/mutated-0.yaml | 27 + test/test_data/crdbop-918/mutated-1.yaml | 27 + test/test_data/crdbop-919/mutated-0.yaml | 27 + test/test_data/crdbop-919/mutated-1.yaml | 28 + test/test_data/crdbop-919/mutated-2.yaml | 27 + test/test_data/crdbop-920/cli-output--1.log | 4 + test/test_data/crdbop-920/cli-output-0.log | 4 + test/test_data/crdbop-920/cli-output-1.log | 4 + test/test_data/crdbop-920/cli-output-2.log | 4 + test/test_data/crdbop-920/delta-0.log | 20497 ++++++++++++++++ test/test_data/crdbop-920/delta-1.log | 448 + test/test_data/crdbop-920/delta-2.log | 53 + test/test_data/crdbop-920/events-0.json | 10 + test/test_data/crdbop-920/events-1.json | 10 + test/test_data/crdbop-920/events-2.json | 10 + .../crdbop-920/generation-0-runtime.json | 14 + .../crdbop-920/generation-1-runtime.json | 17 + .../crdbop-920/generation-2-runtime.json | 29 + .../crdbop-920/inputs/mutated-0.yaml | 27 + .../crdbop-920/inputs/mutated-1.yaml | 34 + .../crdbop-920/inputs/mutated-2.yaml | 32 + test/test_data/crdbop-920/mutated--1.yaml | 32 + test/test_data/crdbop-920/mutated-0.yaml | 27 + test/test_data/crdbop-920/mutated-1.yaml | 32 + test/test_data/crdbop-920/mutated-2.yaml | 32 + test/test_data/crdbop-920/operator--1.log | 6 + test/test_data/crdbop-920/operator-0.log | 201 + test/test_data/crdbop-920/operator-1.log | 36 + test/test_data/crdbop-920/operator-2.log | 6 + test/test_data/crdbop-920/result.json | 38 + .../crdbop-920/system-state--01.json | 7566 ++++++ .../crdbop-920/system-state-000.json | 7442 ++++++ .../crdbop-920/system-state-001.json | 7566 ++++++ .../crdbop-920/system-state-002.json | 7564 ++++++ test/test_data/crdbop-927/mutated-0.yaml | 27 + test/test_data/crdbop-927/mutated-1.yaml | 32 + test/test_data/crdbop-927/mutated-2.yaml | 31 + test/test_data/crdbop-953/mutated-0.yaml | 27 + test/test_data/crdbop-953/mutated-1.yaml | 31 + test/test_data/knop-1137/mutated-0.yaml | 43 + test/test_data/knop-1137/mutated-1.yaml | 44 + test/test_data/knop-1157/mutated-0.yaml | 43 + test/test_data/knop-1157/mutated-1.yaml | 45 + test/test_data/knop-1157/mutated-2.yaml | 45 + test/test_data/knop-1158/mutated-0.yaml | 30 + test/test_data/knop-1158/mutated-1.yaml | 33 + test/test_data/mgopone-1024/mutated-0.yaml | 60 + test/test_data/mgopone-1024/mutated-1.yaml | 61 + test/test_data/mgopone-1054/mutated-0.yaml | 61 + test/test_data/mgopone-1054/mutated-1.yaml | 64 + test/test_data/mgopone-1055/mutated-0.yaml | 61 + test/test_data/mgopone-1055/mutated-1.yaml | 61 + test/test_data/mgopone-1072/mutated-0.yaml | 61 + test/test_data/mgopone-1072/mutated-1.yaml | 62 + test/test_data/mgopone-1072/mutated-2.yaml | 62 + test/test_data/mgopone-1074/mutated-0.yaml | 61 + test/test_data/mgopone-1074/mutated-1.yaml | 61 + test/test_data/mgopone-1245/mutated-0.yaml | 60 + test/test_data/mgopone-1245/mutated-1.yaml | 69 + test/test_data/mgopone-1251/mutated-0.yaml | 60 + test/test_data/mgopone-1251/mutated-1.yaml | 66 + test/test_data/mgopone-1251/mutated-2.yaml | 61 + test/test_data/mgopone-1252/mutated-0.yaml | 58 + test/test_data/mgopone-1252/mutated-1.yaml | 49 + test/test_data/mgopone-1252/mutated-2.yaml | 49 + test/test_data/mgoptwo-696/mutated-0.yaml | 133 + test/test_data/mgoptwo-696/mutated-1.yaml | 135 + test/test_data/mgoptwo-696/mutated-2.yaml | 134 + test/test_data/mgoptwo-738/mutated-0.yaml | 150 + test/test_data/mgoptwo-738/mutated-1.yaml | 150 + test/test_data/mgoptwo-742/mutated-0.yaml | 133 + test/test_data/mgoptwo-742/mutated-1.yaml | 135 + test/test_data/mgoptwo-895/mutated-0.yaml | 133 + test/test_data/mgoptwo-895/mutated-1.yaml | 133 + test/test_data/mgoptwo-897/mutated-0.yaml | 133 + test/test_data/mgoptwo-897/mutated-1.yaml | 137 + test/test_data/rbop-928/mutated-0.yaml | 50 + test/test_data/rbop-928/mutated-1.yaml | 66 + test/test_data/rbop-928/mutated-2.yaml | 57 + test/test_data/rbop-968/mutated-0.yaml | 46 + test/test_data/rbop-968/mutated-1.yaml | 48 + test/test_data/rbop-968/mutated-2.yaml | 46 + test/test_data/rbop-992/mutated-0.yaml | 47 + test/test_data/rbop-992/mutated-1.yaml | 47 + test/test_data/rdopone-400/mutated-0.yaml | 36 + test/test_data/rdopone-400/mutated-1.yaml | 38 + test/test_data/rdopone-407/mutated-0.yaml | 47 + test/test_data/rdopone-407/mutated-1.yaml | 47 + test/test_data/rdopone-552/mutated-0.yaml | 36 + test/test_data/rdopone-552/mutated-1.yaml | 45 + test/test_data/rdoptwo-280/mutated-0.yaml | 35 + test/test_data/rdoptwo-280/mutated-1.yaml | 36 + test/test_data/rdoptwo-280/mutated-2.yaml | 36 + test/test_data/rdoptwo-283/mutated-0.yaml | 35 + test/test_data/rdoptwo-283/mutated-1.yaml | 29 + test/test_data/rdoptwo-286/mutated-0.yaml | 35 + test/test_data/rdoptwo-286/mutated-1.yaml | 37 + test/test_data/rdoptwo-287/mutated-0.yaml | 35 + test/test_data/rdoptwo-287/mutated-1.yaml | 39 + test/test_data/rdoptwo-287/mutated-2.yaml | 39 + test/test_data/rdoptwo-290/mutated-0.yaml | 35 + test/test_data/rdoptwo-290/mutated-1.yaml | 41 + test/test_data/rdoptwo-290/mutated-2.yaml | 41 + test/test_data/rdoptwo-291/mutated-0.yaml | 35 + test/test_data/rdoptwo-291/mutated-1.yaml | 40 + test/test_data/rdoptwo-297/mutated-0.yaml | 35 + test/test_data/rdoptwo-297/mutated-1.yaml | 39 + test/test_data/rdoptwo-474/mutated-0.yaml | 35 + test/test_data/rdoptwo-474/mutated-1.yaml | 35 + test/test_data/rdoptwo-480/mutated-0.yaml | 35 + test/test_data/rdoptwo-480/mutated-1.yaml | 45 + test/test_data/tiop-4613/diff/mutated-0.yaml | 40 + test/test_data/tiop-4613/diff/mutated-1.yaml | 47 + test/test_data/tiop-4613/diff/mutated-2.yaml | 45 + .../test_data/tiop-4613/normal/mutated-0.yaml | 40 + .../test_data/tiop-4613/normal/mutated-1.yaml | 47 + test/test_data/tiop-4684/mutated-0.yaml | 40 + test/test_data/tiop-4684/mutated-1.yaml | 49 + test/test_data/tiop-4945/mutated-0.yaml | 40 + test/test_data/tiop-4945/mutated-1.yaml | 41 + test/test_data/tiop-4946/mutated-0.yaml | 40 + test/test_data/tiop-4946/mutated-1.yaml | 41 + test/test_data/xtop-1060/mutated-0.yaml | 119 + test/test_data/xtop-1060/mutated-1.yaml | 119 + test/test_data/xtop-1061/mutated-0.yaml | 119 + test/test_data/xtop-1061/mutated-1.yaml | 121 + test/test_data/xtop-1061/mutated-2.yaml | 120 + test/test_data/xtop-1067/mutated-0.yaml | 119 + test/test_data/xtop-1067/mutated-1.yaml | 121 + test/test_data/xtop-1068/mutated-0.yaml | 119 + test/test_data/xtop-1068/mutated-1.yaml | 121 + test/test_data/xtop-1068/mutated-2.yaml | 119 + test/test_data/xtop-1069/mutated-0.yaml | 119 + test/test_data/xtop-1069/mutated-1.yaml | 121 + test/test_data/xtop-1155/mutated-0.yaml | 119 + test/test_data/xtop-1155/mutated-1.yaml | 121 + test/test_data/zkop-454/mutated-0.yaml | 18 + test/test_data/zkop-454/mutated-1.yaml | 20 + test/test_data/zkop-454/mutated-2.yaml | 20 + test/test_data/zkop-474/mutated-0.yaml | 18 + test/test_data/zkop-474/mutated-1.yaml | 21 + test/test_data/zkop-513/mutated-0.yaml | 18 + test/test_data/zkop-513/mutated-1.yaml | 18 + test/test_data/zkop-513/mutated-2.yaml | 18 + test/test_data/zkop-540/mutated-0.yaml | 18 + test/test_data/zkop-540/mutated-1.yaml | 18 + test/test_data/zkop-541/mutated-0.yaml | 18 + test/test_data/zkop-541/mutated-1.yaml | 21 + test/test_data/zkop-547/mutated-0.yaml | 18 + test/test_data/zkop-547/mutated-1.yaml | 21 + test/utils.py | 582 +- 186 files changed, 60098 insertions(+), 126 deletions(-) create mode 100644 .github/workflows/e2e-test.yml create mode 100644 pytest.ini create mode 100644 test/test_bug_reproduction.py create mode 100644 test/test_data/cassop-315/inputs/mutated-0.yaml create mode 100644 test/test_data/cassop-315/inputs/mutated-1.yaml create mode 100644 test/test_data/cassop-315/inputs/mutated-2.yaml create mode 100644 test/test_data/cassop-315/inputs/mutated-3.yaml create mode 100644 test/test_data/cassop-330/trial-demo/mutated-0.yaml create mode 100644 test/test_data/cassop-330/trial-demo/mutated-1.yaml create mode 100644 test/test_data/cassop-330/trial-demo/mutated-2.yaml create mode 100644 test/test_data/cassop-334/mutated-0.yaml create mode 100644 test/test_data/cassop-334/mutated-1.yaml create mode 100644 test/test_data/cassop-471/mutated-0.yaml create mode 100644 test/test_data/cassop-471/mutated-1.yaml create mode 100644 test/test_data/cassop-471/mutated-2.yaml create mode 100644 test/test_data/crdbop-918/mutated-0.yaml create mode 100644 test/test_data/crdbop-918/mutated-1.yaml create mode 100644 test/test_data/crdbop-919/mutated-0.yaml create mode 100644 test/test_data/crdbop-919/mutated-1.yaml create mode 100644 test/test_data/crdbop-919/mutated-2.yaml create mode 100644 test/test_data/crdbop-920/cli-output--1.log create mode 100644 test/test_data/crdbop-920/cli-output-0.log create mode 100644 test/test_data/crdbop-920/cli-output-1.log create mode 100644 test/test_data/crdbop-920/cli-output-2.log create mode 100644 test/test_data/crdbop-920/delta-0.log create mode 100644 test/test_data/crdbop-920/delta-1.log create mode 100644 test/test_data/crdbop-920/delta-2.log create mode 100644 test/test_data/crdbop-920/events-0.json create mode 100644 test/test_data/crdbop-920/events-1.json create mode 100644 test/test_data/crdbop-920/events-2.json create mode 100644 test/test_data/crdbop-920/generation-0-runtime.json create mode 100644 test/test_data/crdbop-920/generation-1-runtime.json create mode 100644 test/test_data/crdbop-920/generation-2-runtime.json create mode 100644 test/test_data/crdbop-920/inputs/mutated-0.yaml create mode 100644 test/test_data/crdbop-920/inputs/mutated-1.yaml create mode 100644 test/test_data/crdbop-920/inputs/mutated-2.yaml create mode 100644 test/test_data/crdbop-920/mutated--1.yaml create mode 100644 test/test_data/crdbop-920/mutated-0.yaml create mode 100644 test/test_data/crdbop-920/mutated-1.yaml create mode 100644 test/test_data/crdbop-920/mutated-2.yaml create mode 100644 test/test_data/crdbop-920/operator--1.log create mode 100644 test/test_data/crdbop-920/operator-0.log create mode 100644 test/test_data/crdbop-920/operator-1.log create mode 100644 test/test_data/crdbop-920/operator-2.log create mode 100644 test/test_data/crdbop-920/result.json create mode 100644 test/test_data/crdbop-920/system-state--01.json create mode 100644 test/test_data/crdbop-920/system-state-000.json create mode 100644 test/test_data/crdbop-920/system-state-001.json create mode 100644 test/test_data/crdbop-920/system-state-002.json create mode 100644 test/test_data/crdbop-927/mutated-0.yaml create mode 100644 test/test_data/crdbop-927/mutated-1.yaml create mode 100644 test/test_data/crdbop-927/mutated-2.yaml create mode 100644 test/test_data/crdbop-953/mutated-0.yaml create mode 100644 test/test_data/crdbop-953/mutated-1.yaml create mode 100644 test/test_data/knop-1137/mutated-0.yaml create mode 100644 test/test_data/knop-1137/mutated-1.yaml create mode 100644 test/test_data/knop-1157/mutated-0.yaml create mode 100644 test/test_data/knop-1157/mutated-1.yaml create mode 100644 test/test_data/knop-1157/mutated-2.yaml create mode 100644 test/test_data/knop-1158/mutated-0.yaml create mode 100644 test/test_data/knop-1158/mutated-1.yaml create mode 100644 test/test_data/mgopone-1024/mutated-0.yaml create mode 100644 test/test_data/mgopone-1024/mutated-1.yaml create mode 100644 test/test_data/mgopone-1054/mutated-0.yaml create mode 100644 test/test_data/mgopone-1054/mutated-1.yaml create mode 100644 test/test_data/mgopone-1055/mutated-0.yaml create mode 100644 test/test_data/mgopone-1055/mutated-1.yaml create mode 100644 test/test_data/mgopone-1072/mutated-0.yaml create mode 100644 test/test_data/mgopone-1072/mutated-1.yaml create mode 100644 test/test_data/mgopone-1072/mutated-2.yaml create mode 100644 test/test_data/mgopone-1074/mutated-0.yaml create mode 100644 test/test_data/mgopone-1074/mutated-1.yaml create mode 100644 test/test_data/mgopone-1245/mutated-0.yaml create mode 100644 test/test_data/mgopone-1245/mutated-1.yaml create mode 100644 test/test_data/mgopone-1251/mutated-0.yaml create mode 100644 test/test_data/mgopone-1251/mutated-1.yaml create mode 100644 test/test_data/mgopone-1251/mutated-2.yaml create mode 100644 test/test_data/mgopone-1252/mutated-0.yaml create mode 100644 test/test_data/mgopone-1252/mutated-1.yaml create mode 100644 test/test_data/mgopone-1252/mutated-2.yaml create mode 100644 test/test_data/mgoptwo-696/mutated-0.yaml create mode 100644 test/test_data/mgoptwo-696/mutated-1.yaml create mode 100644 test/test_data/mgoptwo-696/mutated-2.yaml create mode 100644 test/test_data/mgoptwo-738/mutated-0.yaml create mode 100644 test/test_data/mgoptwo-738/mutated-1.yaml create mode 100644 test/test_data/mgoptwo-742/mutated-0.yaml create mode 100644 test/test_data/mgoptwo-742/mutated-1.yaml create mode 100644 test/test_data/mgoptwo-895/mutated-0.yaml create mode 100644 test/test_data/mgoptwo-895/mutated-1.yaml create mode 100644 test/test_data/mgoptwo-897/mutated-0.yaml create mode 100644 test/test_data/mgoptwo-897/mutated-1.yaml create mode 100644 test/test_data/rbop-928/mutated-0.yaml create mode 100644 test/test_data/rbop-928/mutated-1.yaml create mode 100644 test/test_data/rbop-928/mutated-2.yaml create mode 100644 test/test_data/rbop-968/mutated-0.yaml create mode 100644 test/test_data/rbop-968/mutated-1.yaml create mode 100644 test/test_data/rbop-968/mutated-2.yaml create mode 100644 test/test_data/rbop-992/mutated-0.yaml create mode 100644 test/test_data/rbop-992/mutated-1.yaml create mode 100644 test/test_data/rdopone-400/mutated-0.yaml create mode 100644 test/test_data/rdopone-400/mutated-1.yaml create mode 100644 test/test_data/rdopone-407/mutated-0.yaml create mode 100644 test/test_data/rdopone-407/mutated-1.yaml create mode 100644 test/test_data/rdopone-552/mutated-0.yaml create mode 100644 test/test_data/rdopone-552/mutated-1.yaml create mode 100644 test/test_data/rdoptwo-280/mutated-0.yaml create mode 100644 test/test_data/rdoptwo-280/mutated-1.yaml create mode 100644 test/test_data/rdoptwo-280/mutated-2.yaml create mode 100644 test/test_data/rdoptwo-283/mutated-0.yaml create mode 100644 test/test_data/rdoptwo-283/mutated-1.yaml create mode 100644 test/test_data/rdoptwo-286/mutated-0.yaml create mode 100644 test/test_data/rdoptwo-286/mutated-1.yaml create mode 100644 test/test_data/rdoptwo-287/mutated-0.yaml create mode 100644 test/test_data/rdoptwo-287/mutated-1.yaml create mode 100644 test/test_data/rdoptwo-287/mutated-2.yaml create mode 100644 test/test_data/rdoptwo-290/mutated-0.yaml create mode 100644 test/test_data/rdoptwo-290/mutated-1.yaml create mode 100644 test/test_data/rdoptwo-290/mutated-2.yaml create mode 100644 test/test_data/rdoptwo-291/mutated-0.yaml create mode 100644 test/test_data/rdoptwo-291/mutated-1.yaml create mode 100644 test/test_data/rdoptwo-297/mutated-0.yaml create mode 100644 test/test_data/rdoptwo-297/mutated-1.yaml create mode 100644 test/test_data/rdoptwo-474/mutated-0.yaml create mode 100644 test/test_data/rdoptwo-474/mutated-1.yaml create mode 100644 test/test_data/rdoptwo-480/mutated-0.yaml create mode 100644 test/test_data/rdoptwo-480/mutated-1.yaml create mode 100644 test/test_data/tiop-4613/diff/mutated-0.yaml create mode 100644 test/test_data/tiop-4613/diff/mutated-1.yaml create mode 100644 test/test_data/tiop-4613/diff/mutated-2.yaml create mode 100644 test/test_data/tiop-4613/normal/mutated-0.yaml create mode 100644 test/test_data/tiop-4613/normal/mutated-1.yaml create mode 100644 test/test_data/tiop-4684/mutated-0.yaml create mode 100644 test/test_data/tiop-4684/mutated-1.yaml create mode 100644 test/test_data/tiop-4945/mutated-0.yaml create mode 100644 test/test_data/tiop-4945/mutated-1.yaml create mode 100644 test/test_data/tiop-4946/mutated-0.yaml create mode 100644 test/test_data/tiop-4946/mutated-1.yaml create mode 100644 test/test_data/xtop-1060/mutated-0.yaml create mode 100644 test/test_data/xtop-1060/mutated-1.yaml create mode 100644 test/test_data/xtop-1061/mutated-0.yaml create mode 100644 test/test_data/xtop-1061/mutated-1.yaml create mode 100644 test/test_data/xtop-1061/mutated-2.yaml create mode 100644 test/test_data/xtop-1067/mutated-0.yaml create mode 100644 test/test_data/xtop-1067/mutated-1.yaml create mode 100644 test/test_data/xtop-1068/mutated-0.yaml create mode 100644 test/test_data/xtop-1068/mutated-1.yaml create mode 100644 test/test_data/xtop-1068/mutated-2.yaml create mode 100644 test/test_data/xtop-1069/mutated-0.yaml create mode 100644 test/test_data/xtop-1069/mutated-1.yaml create mode 100644 test/test_data/xtop-1155/mutated-0.yaml create mode 100644 test/test_data/xtop-1155/mutated-1.yaml create mode 100644 test/test_data/zkop-454/mutated-0.yaml create mode 100644 test/test_data/zkop-454/mutated-1.yaml create mode 100644 test/test_data/zkop-454/mutated-2.yaml create mode 100644 test/test_data/zkop-474/mutated-0.yaml create mode 100644 test/test_data/zkop-474/mutated-1.yaml create mode 100644 test/test_data/zkop-513/mutated-0.yaml create mode 100644 test/test_data/zkop-513/mutated-1.yaml create mode 100644 test/test_data/zkop-513/mutated-2.yaml create mode 100644 test/test_data/zkop-540/mutated-0.yaml create mode 100644 test/test_data/zkop-540/mutated-1.yaml create mode 100644 test/test_data/zkop-541/mutated-0.yaml create mode 100644 test/test_data/zkop-541/mutated-1.yaml create mode 100644 test/test_data/zkop-547/mutated-0.yaml create mode 100644 test/test_data/zkop-547/mutated-1.yaml diff --git a/.github/workflows/e2e-test.yml b/.github/workflows/e2e-test.yml new file mode 100644 index 0000000000..ae35d0525c --- /dev/null +++ b/.github/workflows/e2e-test.yml @@ -0,0 +1,29 @@ +name: End-to-End Test +on: + pull_request: + schedule: + - cron: '0 0 * * 0' # Run every Sunday at 00:00 UTC +jobs: + bug_reproduction: + timeout-minutes: 1440 + runs-on: [self-hosted, Linux, X64] + steps: + - uses: actions/checkout@v3 + - uses: actions/setup-go@v4 + with: + go-version: '1.20.5' + - name: Set up Python + uses: actions/setup-python@v4 + with: + python-version: '3.8' + - name: Install dependencies + run: | + python -m pip install --upgrade pip + pip install -r requirements.txt + make + - name: Create profile dir with 777 mode + run: | + mkdir -m 777 -p profile/data + - name: Run bug reproduction + run: | + pytest -m "local" \ No newline at end of file diff --git a/.github/workflows/unittest.yaml b/.github/workflows/unittest.yaml index 708af3145b..4b44c2f6ac 100644 --- a/.github/workflows/unittest.yaml +++ b/.github/workflows/unittest.yaml @@ -19,4 +19,4 @@ jobs: make - name: Run unittest run: | - pytest \ No newline at end of file + pytest -m "not local" \ No newline at end of file diff --git a/acto/__main__.py b/acto/__main__.py index a6c249e71a..52228cd27e 100644 --- a/acto/__main__.py +++ b/acto/__main__.py @@ -151,7 +151,8 @@ is_reproduce=is_reproduce, input_model=input_model, apply_testcase_f=apply_testcase_f, - delta_from=args.delta_from) + delta_from=args.delta_from, + focus_fields=config.focus_fields,) generation_time = datetime.now() logger.info('Acto initialization finished in %s', generation_time - start_time) if args.additional_semantic: diff --git a/acto/checker/impl/state.py b/acto/checker/impl/state.py index 0a57e8886f..2e9653c0f1 100644 --- a/acto/checker/impl/state.py +++ b/acto/checker/impl/state.py @@ -323,7 +323,6 @@ def check(self, generation: int, snapshot: Snapshot, prev_snapshot: Snapshot) -> continue logger.error('Found no matching fields for input delta') logger.error('Input delta [%s]' % delta.path) - print_event(f'Found bug: {delta.path} changed from [{delta.prev}] to [{delta.curr}]') return StateResult(Oracle.SYSTEM_STATE, 'Found no matching fields for input', delta) else: @@ -334,7 +333,6 @@ def check(self, generation: int, snapshot: Snapshot, prev_snapshot: Snapshot) -> logger.error(f'Matched delta {match_delta.path}') logger.error(f'Matched delta prev {match_delta.prev}, curr {match_delta.curr}') logger.error('Failed to match input delta with matched system state delta') - print_event(f'Found bug: {delta.path} changed from [{delta.prev}] to [{delta.curr}]') return StateResult(Oracle.SYSTEM_STATE, 'Found no matching fields for input', delta) elif not should_compare: diff --git a/acto/common.py b/acto/common.py index e89a3ff564..ba9ec011f1 100644 --- a/acto/common.py +++ b/acto/common.py @@ -494,7 +494,7 @@ def invalid_input_message(log_msg: str, input_delta: dict) -> Tuple[bool, list]: # if delta.curr is an int, we do exact match to avoid matching a short # int (e.g. 1) to a log line and consider the int as invalid input - elif isinstance(delta.curr, int): + elif isinstance(delta.curr, int) and len(str(delta.curr)) > 1: for item in log_msg.split(' '): if item == str(delta.curr): logger.info( diff --git a/acto/engine.py b/acto/engine.py index 10263818ba..ba83556426 100644 --- a/acto/engine.py +++ b/acto/engine.py @@ -37,7 +37,7 @@ set_thread_logger_prefix) from ssa.analysis import analyze -def save_result(trial_dir: str, trial_result: RunResult, num_tests: int, trial_elapsed): +def save_result(trial_dir: str, trial_result: RunResult, num_tests: int, trial_elapsed, time_breakdown): logger = get_thread_logger(with_prefix=False) result_dict = {} @@ -47,6 +47,7 @@ def save_result(trial_dir: str, trial_result: RunResult, num_tests: int, trial_e except: result_dict['trial_num'] = trial_dir result_dict['duration'] = trial_elapsed + result_dict['time_breakdown'] = time_breakdown result_dict['num_tests'] = num_tests if trial_result == None: logger.info('Trial %s completed without error', trial_dir) @@ -198,7 +199,7 @@ def __init__(self, context: dict, input_model: InputModel, deploy: Deploy, runne checker_t: type, wait_time: int, custom_on_init: List[callable], custom_oracle: List[callable], workdir: str, cluster: base.KubernetesEngine, worker_id: int, sequence_base: int, dryrun: bool, is_reproduce: bool, - apply_testcase_f: FunctionType) -> None: + apply_testcase_f: FunctionType, acto_namespace: int) -> None: self.context = context self.workdir = workdir self.base_workdir = workdir @@ -206,9 +207,9 @@ def __init__(self, context: dict, input_model: InputModel, deploy: Deploy, runne self.images_archive = os.path.join(workdir, 'images.tar') self.worker_id = worker_id self.sequence_base = sequence_base # trial number to start with - self.context_name = cluster.get_context_name(f"acto-cluster-{worker_id}") + self.context_name = cluster.get_context_name(f"acto-{acto_namespace}-cluster-{worker_id}") self.kubeconfig = os.path.join(os.path.expanduser('~'), '.kube', self.context_name) - self.cluster_name = f"acto-cluster-{worker_id}" + self.cluster_name = f"acto-{acto_namespace}-cluster-{worker_id}" self.input_model = input_model self.deploy = deploy self.runner_t = runner_t @@ -226,7 +227,7 @@ def __init__(self, context: dict, input_model: InputModel, deploy: Deploy, runne self.curr_trial = 0 - def run(self, mode: str = InputModel.NORMAL): + def run(self, errors: List[RunResult], mode: str = InputModel.NORMAL): logger = get_thread_logger(with_prefix=True) self.input_model.set_worker_id(self.worker_id) @@ -246,12 +247,13 @@ def run(self, mode: str = InputModel.NORMAL): self.cluster.restart_cluster(self.cluster_name, self.kubeconfig, CONST.K8S_VERSION) apiclient = kubernetes_client(self.kubeconfig, self.context_name) self.cluster.load_images(self.images_archive, self.cluster_name) + trial_k8s_bootstrap_time = time.time() deployed = self.deploy.deploy_with_retry(self.context, self.kubeconfig, self.context_name) if not deployed: logger.info('Not deployed. Try again!') continue - + operator_deploy_time = time.time() trial_dir = os.path.join( self.workdir, 'trial-%02d-%04d' % (self.worker_id + self.sequence_base, self.curr_trial)) @@ -260,13 +262,22 @@ def run(self, mode: str = InputModel.NORMAL): trial_err, num_tests = self.run_trial(trial_dir=trial_dir, curr_trial=self.curr_trial) self.snapshots = [] - trial_elapsed = time.strftime("%H:%M:%S", time.gmtime(time.time() - trial_start_time)) + trial_finished_time = time.time() + trial_elapsed = time.strftime("%H:%M:%S", time.gmtime(trial_finished_time - trial_start_time)) logger.info('Trial %d finished, completed in %s' % (self.curr_trial, trial_elapsed)) + logger.info(f'Kubernetes bootstrap: {trial_k8s_bootstrap_time - trial_start_time}') + logger.info(f'Operator deploy: {operator_deploy_time - trial_k8s_bootstrap_time}') + logger.info(f'Trial run: {trial_finished_time - operator_deploy_time}') logger.info('---------------------------------------\n') delete_operator_pod(apiclient, self.context['namespace']) - save_result(trial_dir, trial_err, num_tests, trial_elapsed) + save_result(trial_dir, trial_err, num_tests, trial_elapsed, { + 'k8s_bootstrap': trial_k8s_bootstrap_time - trial_start_time, + 'operator_deploy': operator_deploy_time - trial_k8s_bootstrap_time, + 'trial_run': trial_finished_time - operator_deploy_time + }) self.curr_trial = self.curr_trial + 1 + errors.append(trial_err) if self.input_model.is_empty(): logger.info('Test finished') @@ -602,7 +613,8 @@ def __init__(self, reproduce_dir: str = None, delta_from: str = None, mount: list = None, - focus_fields: list = None) -> None: + focus_fields: list = None, + acto_namespace: int = 0) -> None: logger = get_thread_logger(with_prefix=False) try: @@ -625,13 +637,13 @@ def __init__(self, raise UnknownDeployMethodError() if cluster_runtime == "KIND": - cluster = kind.Kind() + cluster = kind.Kind(acto_namespace=acto_namespace) elif cluster_runtime == "K3D": cluster = k3d.K3D() else: logger.warning( f"Cluster Runtime {cluster_runtime} is not supported, defaulted to use kind") - cluster = kind.Kind() + cluster = kind.Kind(acto_namespace=acto_namespace) self.cluster = cluster self.deploy = deploy @@ -644,6 +656,7 @@ def __init__(self, self.is_reproduce = is_reproduce self.apply_testcase_f = apply_testcase_f self.reproduce_dir = reproduce_dir + self.acto_namespace = acto_namespace self.runner_type = Runner self.checker_type = CheckerSet @@ -674,6 +687,7 @@ def __init__(self, if operator_config.k8s_fields is not None: module = importlib.import_module(operator_config.k8s_fields) if hasattr(module,'BLACKBOX') and actoConfig.mode == 'blackbox': + applied_custom_k8s_fields = True for k8s_field in module.BLACKBOX: self.input_model.apply_k8s_schema(k8s_field) elif hasattr(module,'WHITEBOX') and actoConfig.mode == 'whitebox': @@ -814,7 +828,8 @@ def __learn(self, context_file, helper_crd, analysis_only=False): with open(context_file, 'w') as context_fout: json.dump(self.context, context_fout, cls=ContextEncoder, indent=4, sort_keys=True) - def run(self, modes: list = ['normal', 'overspecified', 'copiedover']): + def run(self, modes: list = ['normal', 'overspecified', 'copiedover']) -> List[RunResult]: + # TODO: return the alarms here logger = get_thread_logger(with_prefix=True) # Build an archive to be preloaded @@ -829,19 +844,20 @@ def run(self, modes: list = ['normal', 'overspecified', 'copiedover']): start_time = time.time() + errors: List[RunResult] = [] runners: List[TrialRunner] = [] for i in range(self.num_workers): runner = TrialRunner(self.context, self.input_model, self.deploy, self.runner_type, self.checker_type, self.operator_config.wait_time, self.custom_on_init, self.custom_oracle, self.workdir_path, self.cluster, i, self.sequence_base, self.dryrun, - self.is_reproduce, self.apply_testcase_f) + self.is_reproduce, self.apply_testcase_f, self.acto_namespace) runners.append(runner) if 'normal' in modes: threads = [] for runner in runners: - t = threading.Thread(target=runner.run, args=([])) + t = threading.Thread(target=runner.run, args=([errors])) t.start() threads.append(t) @@ -853,7 +869,7 @@ def run(self, modes: list = ['normal', 'overspecified', 'copiedover']): if 'overspecified' in modes: threads = [] for runner in runners: - t = threading.Thread(target=runner.run, args=([InputModel.OVERSPECIFIED])) + t = threading.Thread(target=runner.run, args=([errors, InputModel.OVERSPECIFIED])) t.start() threads.append(t) @@ -865,7 +881,7 @@ def run(self, modes: list = ['normal', 'overspecified', 'copiedover']): if 'copiedover' in modes: threads = [] for runner in runners: - t = threading.Thread(target=runner.run, args=([InputModel.COPIED_OVER])) + t = threading.Thread(target=runner.run, args=([errors, InputModel.COPIED_OVER])) t.start() threads.append(t) @@ -877,7 +893,7 @@ def run(self, modes: list = ['normal', 'overspecified', 'copiedover']): if InputModel.ADDITIONAL_SEMANTIC in modes: threads = [] for runner in runners: - t = threading.Thread(target=runner.run, args=([InputModel.ADDITIONAL_SEMANTIC])) + t = threading.Thread(target=runner.run, args=([errors, InputModel.ADDITIONAL_SEMANTIC])) t.start() threads.append(t) @@ -904,3 +920,4 @@ def run(self, modes: list = ['normal', 'overspecified', 'copiedover']): json.dump(testrun_info, info_file, cls=ActoEncoder, indent=4) logger.info('All tests finished') + return errors diff --git a/acto/input/input.py b/acto/input/input.py index 1092a06827..66143455f4 100644 --- a/acto/input/input.py +++ b/acto/input/input.py @@ -11,7 +11,7 @@ import yaml from deepdiff import DeepDiff -from acto.common import random_string +from acto.common import is_subfield, random_string from acto.input import known_schemas from acto.input.get_matched_schemas import find_matched_schema from acto.input.valuegenerator import extract_schema_with_value_generator @@ -693,7 +693,7 @@ def generate_test_plan(self, delta_from: str = None, focus_fields: list = None) focused = False for focus_field in focus_fields: logger.info(f'Comparing {schema.path} with {focus_field}') - if focus_field == schema.path: + if is_subfield(schema.path, focus_field): focused = True break if not focused: @@ -732,6 +732,18 @@ def generate_test_plan(self, delta_from: str = None, focus_fields: list = None) # num_additional_semantic_testcases += len(k8s_str_tests) for schema in pruned_by_overspecified: + # Skip if the schema is not in the focus fields + if focus_fields is not None: + logger.info(f'focusing on {focus_fields}') + focused = False + for focus_field in focus_fields: + logger.info(f'Comparing {schema.path} with {focus_field}') + if is_subfield(schema.path, focus_field): + focused = True + break + if not focused: + continue + testcases, semantic_testcases_ = schema.test_cases() path = json.dumps(schema.path).replace('\"ITEM\"', '0').replace('additional_properties', @@ -754,6 +766,18 @@ def generate_test_plan(self, delta_from: str = None, focus_fields: list = None) num_total_semantic_tests += 1 for schema in pruned_by_copied: + # Skip if the schema is not in the focus fields + if focus_fields is not None: + logger.info(f'focusing on {focus_fields}') + focused = False + for focus_field in focus_fields: + logger.info(f'Comparing {schema.path} with {focus_field}') + if is_subfield(schema.path, focus_field): + focused = True + break + if not focused: + continue + testcases, semantic_testcases_ = schema.test_cases() path = json.dumps(schema.path).replace('\"ITEM\"', '0').replace('additional_properties', diff --git a/acto/kubernetes_engine/kind.py b/acto/kubernetes_engine/kind.py index 4ad96501bf..956c390a44 100644 --- a/acto/kubernetes_engine/kind.py +++ b/acto/kubernetes_engine/kind.py @@ -14,8 +14,8 @@ class Kind(base.KubernetesEngine): - def __init__(self): - self.config_path = os.path.join(CONST.CLUSTER_CONFIG_FOLDER, 'KIND.yaml') + def __init__(self, acto_namespace: int): + self.config_path = os.path.join(CONST.CLUSTER_CONFIG_FOLDER, f'KIND-{acto_namespace}.yaml') def configure_cluster(self, num_nodes: int, version: str): '''Create config file for kind''' @@ -63,7 +63,7 @@ def create_cluster(self, name: str, kubeconfig: str, version: str): config: path of the config file for cluster version: k8s version ''' - print_event('Creating kind cluster...') + print_event('Creating a Kind cluster...') cmd = ['kind', 'create', 'cluster'] if name: diff --git a/acto/post_process/post_diff_test.py b/acto/post_process/post_diff_test.py index f7f08e9faa..04a3bb708e 100644 --- a/acto/post_process/post_diff_test.py +++ b/acto/post_process/post_diff_test.py @@ -88,6 +88,12 @@ def compare_system_equality(curr_system_state: Dict, obj['data'][key] = json.loads(data) except: pass + + if len(curr_system_state['secret']) != len(prev_system_state['secret']): + logger.debug(f"failed attempt recovering to seed state - secret count mismatch") + return RecoveryResult( + delta=DeepDiff(len(curr_system_state['secret']), len(prev_system_state['secret'])), + from_=prev_system_state, to_=curr_system_state) # remove custom resource from both states curr_system_state.pop('custom_resource_spec', None) @@ -256,15 +262,15 @@ def get_nondeterministic_fields(s1, s2, additional_exclude_paths): class AdditionalRunner: def __init__(self, context: Dict, deploy: Deploy, workdir: str, cluster: base.KubernetesEngine, - worker_id): + worker_id, acto_namespace: int): self._context = context self._deploy = deploy self._workdir = workdir self._cluster = cluster self._worker_id = worker_id - self._cluster_name = f"acto-cluster-{worker_id}" - self._context_name = cluster.get_context_name(f"acto-cluster-{worker_id}") + self._cluster_name = f"acto-{acto_namespace}-cluster-{worker_id}" + self._context_name = cluster.get_context_name(f"acto-{acto_namespace}-cluster-{worker_id}") self._kubeconfig = os.path.join(os.path.expanduser('~'), '.kube', self._context_name) self._generation = 0 @@ -297,15 +303,15 @@ def run_cr(self, cr, trial, gen): class DeployRunner: def __init__(self, workqueue: multiprocessing.Queue, context: Dict, deploy: Deploy, - workdir: str, cluster: base.KubernetesEngine, worker_id): + workdir: str, cluster: base.KubernetesEngine, worker_id, acto_namespace: int): self._workqueue = workqueue self._context = context self._deploy = deploy self._workdir = workdir self._cluster = cluster self._worker_id = worker_id - self._cluster_name = f"acto-cluster-{worker_id}" - self._context_name = cluster.get_context_name(f"acto-cluster-{worker_id}") + self._cluster_name = f"acto-{acto_namespace}-cluster-{worker_id}" + self._context_name = cluster.get_context_name(f"acto-{acto_namespace}-cluster-{worker_id}") self._kubeconfig = os.path.join(os.path.expanduser('~'), '.kube', self._context_name) self._images_archive = os.path.join(workdir, 'images.tar') @@ -315,18 +321,21 @@ def run(self): trial_dir = os.path.join(self._workdir, 'trial-%02d' % self._worker_id) os.makedirs(trial_dir, exist_ok=True) + before_k8s_bootstrap_time = time.time() # Start the cluster and deploy the operator self._cluster.restart_cluster(self._cluster_name, self._kubeconfig, CONST.K8S_VERSION) self._cluster.load_images(self._images_archive, self._cluster_name) apiclient = kubernetes_client(self._kubeconfig, self._context_name) + after_k8s_bootstrap_time = time.time() deployed = self._deploy.deploy_with_retry(self._context, self._kubeconfig, self._context_name) - add_acto_label(apiclient, self._context) + after_operator_deploy_time = time.time() trial_dir = os.path.join(self._workdir, 'trial-%02d' % self._worker_id) os.makedirs(trial_dir, exist_ok=True) runner = Runner(self._context, trial_dir, self._kubeconfig, self._context_name) while True: + after_k8s_bootstrap_time = time.time() try: group = self._workqueue.get(block=False) except queue.Empty: @@ -335,26 +344,34 @@ def run(self): cr = group.iloc[0]['input'] snapshot, err = runner.run(cr, generation=generation) + after_run_time = time.time() err = True difftest_result = { 'input_digest': group.iloc[0]['input_digest'], 'snapshot': snapshot.to_dict(), 'originals': group[['trial', 'gen']].to_dict('records'), + 'time': { + 'k8s_bootstrap': after_k8s_bootstrap_time - before_k8s_bootstrap_time, + 'operator_deploy': after_operator_deploy_time - after_k8s_bootstrap_time, + 'run': after_run_time - after_operator_deploy_time, + }, } difftest_result_path = os.path.join(trial_dir, 'difftest-%03d.json' % generation) with open(difftest_result_path, 'w') as f: json.dump(difftest_result, f, cls=ActoEncoder, indent=6) if err: + before_k8s_bootstrap_time = time.time() logger.error(f'Restart cluster due to error: {err}') # Start the cluster and deploy the operator self._cluster.restart_cluster(self._cluster_name, self._kubeconfig, CONST.K8S_VERSION) self._cluster.load_images(self._images_archive, self._cluster_name) apiclient = kubernetes_client(self._kubeconfig, self._context_name) + after_k8s_bootstrap_time = time.time() deployed = self._deploy.deploy_with_retry(self._context, self._kubeconfig, self._context_name) - add_acto_label(apiclient, self._context) + after_operator_deploy_time = time.time() runner = Runner(self._context, trial_dir, self._kubeconfig, self._context_name) generation += 1 @@ -362,7 +379,8 @@ def run(self): class PostDiffTest(PostProcessor): - def __init__(self, testrun_dir: str, config: OperatorConfig): + def __init__(self, testrun_dir: str, config: OperatorConfig, ignore_invalid: bool = False, acto_namespace: int = 0): + self.acto_namespace = acto_namespace super().__init__(testrun_dir, config) logger = get_thread_logger(with_prefix=True) @@ -370,7 +388,7 @@ def __init__(self, testrun_dir: str, config: OperatorConfig): for trial, steps in self.trial_to_steps.items(): for step in steps.values(): invalid, _ = step.runtime_result.is_invalid() - if invalid: + if invalid and not ignore_invalid: continue self.all_inputs.append({ 'trial': trial, @@ -402,7 +420,7 @@ def __init__(self, testrun_dir: str, config: OperatorConfig): def post_process(self, workdir: str, num_workers: int = 1): if not os.path.exists(workdir): os.mkdir(workdir) - cluster = kind.Kind() + cluster = kind.Kind(acto_namespace=self.acto_namespace) cluster.configure_cluster(self.config.num_nodes, CONST.K8S_VERSION) deploy = Deploy(DeployMethod.YAML, self.config.deploy.file, self.config.deploy.init).new() # Build an archive to be preloaded @@ -420,7 +438,7 @@ def post_process(self, workdir: str, num_workers: int = 1): runners: List[DeployRunner] = [] for i in range(num_workers): - runner = DeployRunner(workqueue, self.context, deploy, workdir, cluster, i) + runner = DeployRunner(workqueue, self.context, deploy, workdir, cluster, i, self.acto_namespace) runners.append(runner) processes = [] @@ -458,7 +476,7 @@ def check_diff_test_result(self, workqueue: multiprocessing.Queue, workdir: str, generation = 0 # for additional runner additional_runner_dir = os.path.join(workdir, f'additional-runner-{worker_id}') - cluster = kind.Kind() + cluster = kind.Kind(acto_namespace=self.acto_namespace) cluster.configure_cluster(self.config.num_nodes, CONST.K8S_VERSION) deploy = Deploy(DeployMethod.YAML, self.config.deploy.file, self.config.deploy.init).new() @@ -467,7 +485,8 @@ def check_diff_test_result(self, workqueue: multiprocessing.Queue, workdir: str, deploy=deploy, workdir=additional_runner_dir, cluster=cluster, - worker_id=worker_id) + worker_id=worker_id, + acto_namespace=self.acto_namespace) while True: try: @@ -513,8 +532,7 @@ def check_diff_test_step(diff_test_result: Dict, trial_dir = original_result.trial_dir gen = original_result.gen - invalid, _ = original_result.runtime_result.is_invalid() - if isinstance(original_result.runtime_result.health_result, ErrorResult) or invalid: + if isinstance(original_result.runtime_result.health_result, ErrorResult): return original_operator_log = original_result.operator_log diff --git a/acto/reproduce.py b/acto/reproduce.py index f23253cd2e..3f60c3f472 100644 --- a/acto/reproduce.py +++ b/acto/reproduce.py @@ -4,16 +4,17 @@ import json import sys import logging +from typing import List import jsonpatch import yaml from glob import glob import os +from acto.common import RunResult from acto.engine import Acto +from acto.input.testplan import TestGroup from acto.input.valuegenerator import extract_schema_with_value_generator - -from acto.schema import BaseSchema, OpaqueSchema -from acto.input.testplan import TestGroup, TreeNode +from acto.post_process.post_diff_test import PostDiffTest from acto.input.value_with_schema import ValueWithSchema from acto.input import TestCase @@ -123,9 +124,6 @@ def next_test(self) -> list: def apply_k8s_schema(self, k8s_field): pass - def apply_custom_field(self, custom_field: CustomField): - pass - def repro_precondition(v): return True @@ -139,8 +137,17 @@ def repro_setup(v): return None -def reproduce(workdir_path: str, reproduce_dir: str, operator_config: OperatorConfig, **kwargs): - +def reproduce(workdir_path: str, reproduce_dir: str, operator_config: OperatorConfig, acto_namespace: int, **kwargs) -> List[RunResult]: + os.makedirs(workdir_path, exist_ok=True) + # Setting up log infra + logging.basicConfig( + filename=os.path.join(workdir_path, 'test.log'), + level=logging.DEBUG, + filemode='w', + format='%(asctime)s %(levelname)-7s, %(name)s, %(filename)-9s:%(lineno)d, %(message)s') + logging.getLogger("kubernetes").setLevel(logging.ERROR) + logging.getLogger("sh").setLevel(logging.ERROR) + with open(operator_config, 'r') as config_file: config = OperatorConfig(**json.load(config_file)) context_cache = os.path.join(os.path.dirname(config.seed_custom_resource), 'context.json') @@ -158,15 +165,28 @@ def reproduce(workdir_path: str, reproduce_dir: str, operator_config: OperatorCo num_cases=1, dryrun=False, analysis_only=False, - is_reproduce=is_reproduce, + is_reproduce=True, input_model=input_model, apply_testcase_f=apply_testcase_f, - reproduce_dir=reproduce_dir) + reproduce_dir=reproduce_dir, + acto_namespace=acto_namespace) - acto.run(modes=['normal']) + errors = acto.run(modes=['normal']) + return [error for error in errors if error is not None] +def reproduce_postdiff(workdir_path: str, operator_config: OperatorConfig, acto_namespace: int, **kwargs) -> bool: + with open(operator_config, 'r') as config_file: + config = OperatorConfig(**json.load(config_file)) + post_diff_test_dir = os.path.join(workdir_path, 'post_diff_test') + logs = glob(workdir_path + '/*/operator-*.log') + for log in logs: + open(log, 'w').close() + p = PostDiffTest(testrun_dir=workdir_path, config=config, ignore_invalid=True, acto_namespace=acto_namespace) + p.post_process(post_diff_test_dir, num_workers=1) + p.check(post_diff_test_dir, num_workers=1) + + return len(glob(os.path.join(post_diff_test_dir, 'compare-results-*.json'))) > 0 -# TODO add main function if __name__ == '__main__': parser = argparse.ArgumentParser( description='Automatic, Continuous Testing for k8s/openshift Operators') @@ -188,17 +208,6 @@ def reproduce(workdir_path: str, reproduce_dir: str, operator_config: OperatorCo args = parser.parse_args() workdir_path = 'testrun-%s' % datetime.now().strftime('%Y-%m-%d-%H-%M') - os.makedirs(workdir_path, exist_ok=True) - # Setting up log infra - logging.basicConfig( - filename=os.path.join(workdir_path, 'test.log'), - level=logging.DEBUG, - filemode='w', - format='%(asctime)s %(levelname)-7s, %(name)s, %(filename)-9s:%(lineno)d, %(message)s') - logging.getLogger("kubernetes").setLevel(logging.ERROR) - logging.getLogger("sh").setLevel(logging.ERROR) - - logger = get_thread_logger(with_prefix=False) is_reproduce = True start_time = datetime.now() @@ -206,5 +215,4 @@ def reproduce(workdir_path: str, reproduce_dir: str, operator_config: OperatorCo reproduce_dir=args.reproduce_dir, operator_config=args.config, cluster_runtime=args.cluster_runtime) - end_time = datetime.now() - logger.info('Acto finished in %s', end_time - start_time) \ No newline at end of file + end_time = datetime.now() \ No newline at end of file diff --git a/data/cass-operator/config.json b/data/cass-operator/config.json index 5838e7465c..4d4274a2c1 100644 --- a/data/cass-operator/config.json +++ b/data/cass-operator/config.json @@ -30,6 +30,7 @@ "\\['service_account'\\]\\['cass\\-operator\\-controller\\-manager'\\]\\['secrets'\\]\\[.*\\]\\['name'\\]", "\\['service_account'\\]\\['default'\\]\\['secrets'\\]\\[.*\\]\\['name'\\]", "\\['stateful_set'\\]\\['cluster1\\-test\\-cluster\\-default\\-sts'\\]\\['spec'\\]\\['update_strategy'\\]\\['rolling_update'\\]\\['max_unavailable'\\]", - "\\['stateful_set'\\]\\['cluster1\\-test\\-cluster\\-default\\-sts'\\]\\['spec'\\]\\['persistent_volume_claim_retention_policy'\\]" + "\\['stateful_set'\\]\\['cluster1\\-test\\-cluster\\-default\\-sts'\\]\\['spec'\\]\\['persistent_volume_claim_retention_policy'\\]", + "\\['cassandra\\.datastax\\.com/resource\\-hash'\\]" ] } \ No newline at end of file diff --git a/data/mongodb-community-operator/config.json b/data/mongodb-community-operator/config.json index 91aa27ace9..c6b6874325 100644 --- a/data/mongodb-community-operator/config.json +++ b/data/mongodb-community-operator/config.json @@ -16,5 +16,8 @@ "entrypoint": "cmd/manager", "type": "MongoDBCommunity", "package": "github.com/mongodb/mongodb-kubernetes-operator/api/v1" - } + }, + "diff_ignore_fields": [ + "\\['metadata'\\]\\['annotations'\\]\\['agent\\.mongodb\\.com\\\/version'\\]" + ] } \ No newline at end of file diff --git a/data/percona-server-mongodb-operator/config.json b/data/percona-server-mongodb-operator/config.json index d3efb01a5c..eb2f20e0a5 100644 --- a/data/percona-server-mongodb-operator/config.json +++ b/data/percona-server-mongodb-operator/config.json @@ -24,6 +24,7 @@ "\\['secret'\\]\\['percona\\-server\\-mongodb\\-operator\\-token-.*'\\]", "\\['secret'\\]\\[.*\\]\\['data'\\]", "\\['metadata'\\]\\['annotations'\\]\\['percona\\.com\\\/ssl\\-hash'\\]", - "\\['metadata'\\]\\['annotations'\\]\\['percona\\.com\\\/ssl\\-internal\\-hash'\\]" + "\\['metadata'\\]\\['annotations'\\]\\['percona\\.com\\\/ssl\\-internal\\-hash'\\]", + "\\['metadata'\\]\\['annotations'\\]\\['percona\\.com\\\/last\\-config\\-hash'\\]" ] } \ No newline at end of file diff --git a/data/tidb-operator/config.json b/data/tidb-operator/config.json index ef7fb1cca3..753c13d6c2 100644 --- a/data/tidb-operator/config.json +++ b/data/tidb-operator/config.json @@ -21,5 +21,9 @@ "\\['tidb\\.pingcap\\.com\\\/cluster\\-id'\\]", "\\['tidb\\.pingcap\\.com\\\/member\\-id'\\]", "\\['tidb\\.pingcap\\.com\\\/store\\-id'\\]" + ], + "focus_fields": [ + ["spec", "tidb"], + ["spec", "tiflash", "storage", "storageClaims"] ] } diff --git a/data/zookeeper-operator/config.json b/data/zookeeper-operator/config.json index fc78968658..0c90a8d3ff 100644 --- a/data/zookeeper-operator/config.json +++ b/data/zookeeper-operator/config.json @@ -18,6 +18,7 @@ "type": "ZookeeperCluster", "package": "github.com/pravega/zookeeper-operator/pkg/apis/zookeeper/v1beta1" }, + "wait_time": 45, "diff_ignore_fields": [ "\\['config_map'\\]\\['zookeeper\\-operator\\-lock'\\]\\['metadata'\\]\\['owner_references'\\]\\[.*\\]\\['name'\\]", "\\['service'\\]\\['test\\-cluster\\-admin\\-server'\\]\\['spec'\\]\\['ports'\\]\\[.*\\]\\['node_port'\\]" diff --git a/pytest.ini b/pytest.ini new file mode 100644 index 0000000000..13bc2a8e86 --- /dev/null +++ b/pytest.ini @@ -0,0 +1,3 @@ +[pytest] +markers = + local: mark a test to run on a local machine \ No newline at end of file diff --git a/requirements.txt b/requirements.txt index b67feefcc4..49577c7536 100644 --- a/requirements.txt +++ b/requirements.txt @@ -8,4 +8,5 @@ PyYAML~=6.0 requests~=2.31.0 pytest~=7.4.0 pydantic~=1.10.9 -pytest-cov~=4.1.0 \ No newline at end of file +pytest-cov~=4.1.0 +tabulate~=0.9.0 \ No newline at end of file diff --git a/scripts/ansible/acto.yaml b/scripts/ansible/acto.yaml index f95b5fba95..ee56ee93fa 100644 --- a/scripts/ansible/acto.yaml +++ b/scripts/ansible/acto.yaml @@ -4,51 +4,15 @@ tasks: - - name: Clean up previous acto repo - file: - path: /tmp/acto - state: absent - - - name: Download acto repo - local_action: - module: ansible.builtin.git - archive: /tmp/acto.tar.gz - clone: yes - dest: /tmp/acto - repo: git@github.com:xlab-uiuc/acto.git - version: main - run_once: true - - - name: Get the home directory - become: false - command: echo $HOME - register: home - - - name: Copy Acto archive to remote - ansible.builtin.copy: - src: /tmp/acto.tar.gz - dest: "{{ home.stdout }}" - - # - name: Ansible delete file glob - # find: - # paths: "{{ home.stdout }}/acto" - # patterns: "*" - # register: files_to_delete - - # - name: Ansible remove file glob - # file: - # path: "{{ item.path }}" - # state: absent - # with_items: "{{ files_to_delete.files }}" - - name: create Acto dir become: false ansible.builtin.file: - path: "{{ home.stdout }}/acto" + path: "{{ home.stdout }}/workdir/acto" state: directory - - name: open archive - ansible.builtin.unarchive: - copy: true - dest: "{{ home.stdout }}/acto" - src: /tmp/acto.tar.gz \ No newline at end of file + - name: clone Acto repo + become: false + ansible.builtin.git: + dest: "{{ home.stdout }}/workdir/acto" + repo: https://github.com/xlab-uiuc/acto.git + version: main diff --git a/scripts/ansible/configure.yaml b/scripts/ansible/configure.yaml index f025ab3a13..54b6af7a6d 100644 --- a/scripts/ansible/configure.yaml +++ b/scripts/ansible/configure.yaml @@ -10,9 +10,12 @@ - name: Install go import_playbook: go.yaml -- name: Install go +- name: Install docker import_playbook: docker.yaml +- name: Install acto + import_playbook: acto.yaml + - name: Install python import_playbook: python.yaml @@ -36,6 +39,3 @@ - name: Install htop import_playbook: htop.yaml - -- name: Install acto - import_playbook: acto.yaml \ No newline at end of file diff --git a/scripts/ansible/data.yaml b/scripts/ansible/data.yaml index a2602c1e0a..0b03c2960c 100644 --- a/scripts/ansible/data.yaml +++ b/scripts/ansible/data.yaml @@ -16,4 +16,6 @@ PYTHON_PKGS: - jsonschema - jsonpatch - pandas + - tabulate + - pydantic TMPFS_SIZE: 350G \ No newline at end of file diff --git a/scripts/ansible/python.yaml b/scripts/ansible/python.yaml index 4d146c1ecb..fc57c15011 100644 --- a/scripts/ansible/python.yaml +++ b/scripts/ansible/python.yaml @@ -12,7 +12,13 @@ state: present update_cache: yes + - name: Get the home directory + become: false + command: echo $HOME + register: home + - name: Install python packages using pip pip: - name: "{{ PYTHON_PKGS }}" + # Implication: this script should happen after acto.yml + requirements: "{{ home.stdout }}/workdir/acto/requirements.txt" state: present \ No newline at end of file diff --git a/scripts/ansible/tmpfs.yaml b/scripts/ansible/tmpfs.yaml index 0e3dd038a2..28fff92b12 100644 --- a/scripts/ansible/tmpfs.yaml +++ b/scripts/ansible/tmpfs.yaml @@ -24,21 +24,21 @@ command: echo $HOME register: home - - name: create Acto dir + - name: create work dir become: false ansible.builtin.file: - path: "{{ home.stdout }}/acto" + path: "{{ home.stdout }}/workdir" state: directory - name: Mount the spare partition on acto dir ansible.posix.mount: - path: "{{ home.stdout }}/acto" + path: "{{ home.stdout }}/workdir" fstype: ext4 src: /dev/sda4 state: mounted - name: Change ownership of acto dir ansible.builtin.file: - path: "{{ home.stdout }}/acto" + path: "{{ home.stdout }}/workdir" mode: "u=rwx,g=rwx,o=rwx" state: directory \ No newline at end of file diff --git a/test/test_bug_reproduction.py b/test/test_bug_reproduction.py new file mode 100644 index 0000000000..1edb124a18 --- /dev/null +++ b/test/test_bug_reproduction.py @@ -0,0 +1,151 @@ +import multiprocessing +import os +import pathlib +import queue +from typing import Dict, List, Tuple +import unittest + +import pytest +from acto.common import PassResult +from acto.reproduce import reproduce, reproduce_postdiff + +from test.utils import BugConfig, all_bugs, check_postdiff_runtime_error + +test_dir = pathlib.Path(__file__).parent.resolve() +test_data_dir = os.path.join(test_dir, 'test_data') + +def run_bug_config(operator_name: str, bug_id: str, bug_config: BugConfig, acto_namespace: int) -> bool: + '''This function tries to reproduce a bug according to the bug config + + Returns: + if the reproduction is successful + ''' + repro_dir = os.path.join(test_data_dir, bug_config.dir) + work_dir = f'testrun-{bug_id}' + operator_config = f'data/{operator_name}/config.json' + + reproduced: bool = False + normal_run_result = reproduce(work_dir, + repro_dir, + operator_config, + cluster_runtime='KIND', + acto_namespace=acto_namespace) + if bug_config.difftest: + if bug_config.diffdir != None: + diff_repro_dir = os.path.join(test_data_dir, bug_config.diffdir) + work_dir = f'testrun-{bug_id}-diff' + reproduce(work_dir, + diff_repro_dir, + operator_config, + cluster_runtime='KIND', + acto_namespace=acto_namespace) + if reproduce_postdiff(work_dir, + operator_config, + cluster_runtime='KIND', + acto_namespace=acto_namespace): + reproduced = True + else: + print(f"Bug {bug_id} not reproduced!") + return False + + if bug_config.declaration: + if len(normal_run_result) != 0: + last_error = normal_run_result[-1] + if last_error.state_result != None and not isinstance( + last_error.state_result, PassResult): + reproduced = True + elif last_error.recovery_result != None and not isinstance( + last_error.recovery_result, PassResult): + reproduced = True + else: + print(f"Bug {bug_id} not reproduced!") + return False + + if bug_config.recovery: + if len(normal_run_result) != 0: + last_error = normal_run_result[-1] + if last_error.recovery_result != None and not isinstance( + last_error.recovery_result, PassResult): + reproduced = True + elif last_error.state_result != None and not isinstance( + last_error.state_result, PassResult): + reproduced = True + else: + print(f"Bug {bug_id} not reproduced!") + return False + + if bug_config.runtime_error: + if bug_config.difftest and check_postdiff_runtime_error(work_dir): + reproduced = True + elif len(normal_run_result) != 0: + last_error = normal_run_result[-1] + if last_error.health_result != None and not isinstance( + last_error.health_result, PassResult): + reproduced = True + else: + print(f"Bug {bug_id} not reproduced!") + return False + + if reproduced: + return True + else: + return False + +def run_worker(workqueue: multiprocessing.Queue, acto_namespace: int, reproduction_results: Dict[str, bool]): + while True: + try: + bug_tuple: Tuple[str, str, BugConfig] = workqueue.get(block=True, timeout=5) + except queue.Empty: + break + + operator_name, bug_id, bug_config = bug_tuple + reproduced = False + NUM_RETRY = 3 + + for _ in range(NUM_RETRY): + if run_bug_config(operator_name=operator_name, + bug_id=bug_id, + bug_config=bug_config, + acto_namespace=acto_namespace): + reproduced = True + break + + reproduction_results[bug_id] = reproduced + +@pytest.mark.local +class TestBugReproduction(unittest.TestCase): + + def __init__(self, methodName: str = "runTest") -> None: + super().__init__(methodName) + + self._num_workers = 2 # Number of workers to run the test + + def test_all_bugs(self): + manager = multiprocessing.Manager() + workqueue = multiprocessing.Queue() + + for operator, bugs in all_bugs.items(): + for bug_id, bug_config in bugs.items(): + workqueue.put((operator, bug_id, bug_config)) + + reproduction_results: Dict[str, bool] = manager.dict() # workers write reproduction results + # to this dict. Bug ID -> if success + processes: List[multiprocessing.Process] = [] + for i in range(self._num_workers): + p = multiprocessing.Process(target=run_worker, args=(workqueue, i, reproduction_results)) + p.start() + processes.append(p) + + for p in processes: + p.join() + + errors = [] + for bug_id, if_reproduced in reproduction_results.items(): + if not if_reproduced: + errors.append(bug_id) + + self.assertFalse(errors, f'Test failed with {errors}') + + +if __name__ == '__main__': + unittest.main() \ No newline at end of file diff --git a/test/test_data/cassop-315/inputs/mutated-0.yaml b/test/test_data/cassop-315/inputs/mutated-0.yaml new file mode 100644 index 0000000000..e24479c1c4 --- /dev/null +++ b/test/test_data/cassop-315/inputs/mutated-0.yaml @@ -0,0 +1,27 @@ +apiVersion: cassandra.datastax.com/v1beta1 +kind: CassandraDatacenter +metadata: + name: test-cluster +spec: + clusterName: cluster1 + config: + cassandra-yaml: + authenticator: org.apache.cassandra.auth.PasswordAuthenticator + authorizer: org.apache.cassandra.auth.CassandraAuthorizer + role_manager: org.apache.cassandra.auth.CassandraRoleManager + jvm-options: + initial_heap_size: 800M + max_heap_size: 800M + managementApiAuth: + insecure: {} + serverType: cassandra + serverVersion: 3.11.7 + size: 3 + storageConfig: + cassandraDataVolumeClaimSpec: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 3Gi + storageClassName: server-storage diff --git a/test/test_data/cassop-315/inputs/mutated-1.yaml b/test/test_data/cassop-315/inputs/mutated-1.yaml new file mode 100644 index 0000000000..20584668f9 --- /dev/null +++ b/test/test_data/cassop-315/inputs/mutated-1.yaml @@ -0,0 +1,29 @@ +apiVersion: cassandra.datastax.com/v1beta1 +kind: CassandraDatacenter +metadata: + name: test-cluster +spec: + clusterName: cluster1 + config: + cassandra-yaml: + authenticator: org.apache.cassandra.auth.PasswordAuthenticator + authorizer: org.apache.cassandra.auth.CassandraAuthorizer + role_manager: org.apache.cassandra.auth.CassandraRoleManager + jvm-options: + initial_heap_size: 800M + max_heap_size: 800M + managementApiAuth: + insecure: {} + replaceNodes: + - ACTOKEY + serverType: cassandra + serverVersion: 3.11.7 + size: 3 + storageConfig: + cassandraDataVolumeClaimSpec: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 3Gi + storageClassName: server-storage diff --git a/test/test_data/cassop-315/inputs/mutated-2.yaml b/test/test_data/cassop-315/inputs/mutated-2.yaml new file mode 100644 index 0000000000..204631f846 --- /dev/null +++ b/test/test_data/cassop-315/inputs/mutated-2.yaml @@ -0,0 +1,28 @@ +apiVersion: cassandra.datastax.com/v1beta1 +kind: CassandraDatacenter +metadata: + name: test-cluster +spec: + clusterName: cluster1 + config: + cassandra-yaml: + authenticator: org.apache.cassandra.auth.PasswordAuthenticator + authorizer: org.apache.cassandra.auth.CassandraAuthorizer + role_manager: org.apache.cassandra.auth.CassandraRoleManager + jvm-options: + initial_heap_size: 800M + max_heap_size: 800M + managementApiAuth: + insecure: {} + replaceNodes: [] + serverType: cassandra + serverVersion: 3.11.7 + size: 3 + storageConfig: + cassandraDataVolumeClaimSpec: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 3Gi + storageClassName: server-storage diff --git a/test/test_data/cassop-315/inputs/mutated-3.yaml b/test/test_data/cassop-315/inputs/mutated-3.yaml new file mode 100644 index 0000000000..f16a1e308f --- /dev/null +++ b/test/test_data/cassop-315/inputs/mutated-3.yaml @@ -0,0 +1,32 @@ +apiVersion: cassandra.datastax.com/v1beta1 +kind: CassandraDatacenter +metadata: + name: test-cluster +spec: + additionalServiceConfig: + nodePortService: + additionalAnnotations: + ACTOKEY: ACTOKEY + clusterName: cluster1 + config: + cassandra-yaml: + authenticator: org.apache.cassandra.auth.PasswordAuthenticator + authorizer: org.apache.cassandra.auth.CassandraAuthorizer + role_manager: org.apache.cassandra.auth.CassandraRoleManager + jvm-options: + initial_heap_size: 800M + max_heap_size: 800M + managementApiAuth: + insecure: {} + replaceNodes: [] + serverType: cassandra + serverVersion: 3.11.7 + size: 3 + storageConfig: + cassandraDataVolumeClaimSpec: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 3Gi + storageClassName: server-storage diff --git a/test/test_data/cassop-330/trial-demo/mutated-0.yaml b/test/test_data/cassop-330/trial-demo/mutated-0.yaml new file mode 100644 index 0000000000..e24479c1c4 --- /dev/null +++ b/test/test_data/cassop-330/trial-demo/mutated-0.yaml @@ -0,0 +1,27 @@ +apiVersion: cassandra.datastax.com/v1beta1 +kind: CassandraDatacenter +metadata: + name: test-cluster +spec: + clusterName: cluster1 + config: + cassandra-yaml: + authenticator: org.apache.cassandra.auth.PasswordAuthenticator + authorizer: org.apache.cassandra.auth.CassandraAuthorizer + role_manager: org.apache.cassandra.auth.CassandraRoleManager + jvm-options: + initial_heap_size: 800M + max_heap_size: 800M + managementApiAuth: + insecure: {} + serverType: cassandra + serverVersion: 3.11.7 + size: 3 + storageConfig: + cassandraDataVolumeClaimSpec: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 3Gi + storageClassName: server-storage diff --git a/test/test_data/cassop-330/trial-demo/mutated-1.yaml b/test/test_data/cassop-330/trial-demo/mutated-1.yaml new file mode 100644 index 0000000000..668099ee44 --- /dev/null +++ b/test/test_data/cassop-330/trial-demo/mutated-1.yaml @@ -0,0 +1,31 @@ +apiVersion: cassandra.datastax.com/v1beta1 +kind: CassandraDatacenter +metadata: + name: test-cluster +spec: + additionalServiceConfig: + seedService: + additionalLabels: + ACTOKEY: ACTOKEY + clusterName: cluster1 + config: + cassandra-yaml: + authenticator: org.apache.cassandra.auth.PasswordAuthenticator + authorizer: org.apache.cassandra.auth.CassandraAuthorizer + role_manager: org.apache.cassandra.auth.CassandraRoleManager + jvm-options: + initial_heap_size: 800M + max_heap_size: 800M + managementApiAuth: + insecure: {} + serverType: cassandra + serverVersion: 3.11.7 + size: 3 + storageConfig: + cassandraDataVolumeClaimSpec: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 3Gi + storageClassName: server-storage diff --git a/test/test_data/cassop-330/trial-demo/mutated-2.yaml b/test/test_data/cassop-330/trial-demo/mutated-2.yaml new file mode 100644 index 0000000000..c90b77d78d --- /dev/null +++ b/test/test_data/cassop-330/trial-demo/mutated-2.yaml @@ -0,0 +1,30 @@ +apiVersion: cassandra.datastax.com/v1beta1 +kind: CassandraDatacenter +metadata: + name: test-cluster +spec: + additionalServiceConfig: + seedService: + additionalLabels: {} + clusterName: cluster1 + config: + cassandra-yaml: + authenticator: org.apache.cassandra.auth.PasswordAuthenticator + authorizer: org.apache.cassandra.auth.CassandraAuthorizer + role_manager: org.apache.cassandra.auth.CassandraRoleManager + jvm-options: + initial_heap_size: 800M + max_heap_size: 800M + managementApiAuth: + insecure: {} + serverType: cassandra + serverVersion: 3.11.7 + size: 3 + storageConfig: + cassandraDataVolumeClaimSpec: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 3Gi + storageClassName: server-storage diff --git a/test/test_data/cassop-334/mutated-0.yaml b/test/test_data/cassop-334/mutated-0.yaml new file mode 100644 index 0000000000..e24479c1c4 --- /dev/null +++ b/test/test_data/cassop-334/mutated-0.yaml @@ -0,0 +1,27 @@ +apiVersion: cassandra.datastax.com/v1beta1 +kind: CassandraDatacenter +metadata: + name: test-cluster +spec: + clusterName: cluster1 + config: + cassandra-yaml: + authenticator: org.apache.cassandra.auth.PasswordAuthenticator + authorizer: org.apache.cassandra.auth.CassandraAuthorizer + role_manager: org.apache.cassandra.auth.CassandraRoleManager + jvm-options: + initial_heap_size: 800M + max_heap_size: 800M + managementApiAuth: + insecure: {} + serverType: cassandra + serverVersion: 3.11.7 + size: 3 + storageConfig: + cassandraDataVolumeClaimSpec: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 3Gi + storageClassName: server-storage diff --git a/test/test_data/cassop-334/mutated-1.yaml b/test/test_data/cassop-334/mutated-1.yaml new file mode 100644 index 0000000000..bdd680f0cb --- /dev/null +++ b/test/test_data/cassop-334/mutated-1.yaml @@ -0,0 +1,29 @@ +apiVersion: cassandra.datastax.com/v1beta1 +kind: CassandraDatacenter +metadata: + name: test-cluster +spec: + clusterName: cluster1 + config: + cassandra-yaml: + authenticator: org.apache.cassandra.auth.PasswordAuthenticator + authorizer: org.apache.cassandra.auth.CassandraAuthorizer + role_manager: org.apache.cassandra.auth.CassandraRoleManager + jvm-options: + initial_heap_size: 800M + max_heap_size: 800M + managementApiAuth: + insecure: {} + serverType: cassandra + serverVersion: 3.11.7 + nodeAffinityLabels: + dc: someLabel1 + size: 3 + storageConfig: + cassandraDataVolumeClaimSpec: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 3Gi + storageClassName: server-storage diff --git a/test/test_data/cassop-471/mutated-0.yaml b/test/test_data/cassop-471/mutated-0.yaml new file mode 100644 index 0000000000..e24479c1c4 --- /dev/null +++ b/test/test_data/cassop-471/mutated-0.yaml @@ -0,0 +1,27 @@ +apiVersion: cassandra.datastax.com/v1beta1 +kind: CassandraDatacenter +metadata: + name: test-cluster +spec: + clusterName: cluster1 + config: + cassandra-yaml: + authenticator: org.apache.cassandra.auth.PasswordAuthenticator + authorizer: org.apache.cassandra.auth.CassandraAuthorizer + role_manager: org.apache.cassandra.auth.CassandraRoleManager + jvm-options: + initial_heap_size: 800M + max_heap_size: 800M + managementApiAuth: + insecure: {} + serverType: cassandra + serverVersion: 3.11.7 + size: 3 + storageConfig: + cassandraDataVolumeClaimSpec: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 3Gi + storageClassName: server-storage diff --git a/test/test_data/cassop-471/mutated-1.yaml b/test/test_data/cassop-471/mutated-1.yaml new file mode 100644 index 0000000000..09d1ac8554 --- /dev/null +++ b/test/test_data/cassop-471/mutated-1.yaml @@ -0,0 +1,35 @@ +apiVersion: cassandra.datastax.com/v1beta1 +kind: CassandraDatacenter +metadata: + name: test-cluster +spec: + clusterName: cluster1 + config: + cassandra-yaml: + authenticator: org.apache.cassandra.auth.PasswordAuthenticator + authorizer: org.apache.cassandra.auth.CassandraAuthorizer + role_manager: org.apache.cassandra.auth.CassandraRoleManager + jvm-options: + initial_heap_size: 800M + max_heap_size: 800M + managementApiAuth: + insecure: {} + serverType: cassandra + serverVersion: 3.11.7 + size: 3 + storageConfig: + cassandraDataVolumeClaimSpec: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 3Gi + storageClassName: server-storage + podTemplateSpec: + spec: + containers: [] + tolerations: + - effect: NoSchedule + key: node-role.kubernetes.io/control-plane + operator: Exists + tolerationSeconds: 3600 diff --git a/test/test_data/cassop-471/mutated-2.yaml b/test/test_data/cassop-471/mutated-2.yaml new file mode 100644 index 0000000000..c3f898d2af --- /dev/null +++ b/test/test_data/cassop-471/mutated-2.yaml @@ -0,0 +1,35 @@ +apiVersion: cassandra.datastax.com/v1beta1 +kind: CassandraDatacenter +metadata: + name: test-cluster +spec: + clusterName: cluster1 + config: + cassandra-yaml: + authenticator: org.apache.cassandra.auth.PasswordAuthenticator + authorizer: org.apache.cassandra.auth.CassandraAuthorizer + role_manager: org.apache.cassandra.auth.CassandraRoleManager + jvm-options: + initial_heap_size: 800M + max_heap_size: 800M + managementApiAuth: + insecure: {} + serverType: cassandra + serverVersion: 3.11.7 + size: 3 + storageConfig: + cassandraDataVolumeClaimSpec: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 3Gi + storageClassName: server-storage + podTemplateSpec: + spec: + containers: [] + tolerations: + - effect: NoSchedule + key: node-role.kubernetes.io/control-plane + operator: Exists + tolerationSeconds: 7200 diff --git a/test/test_data/crdbop-918/mutated-0.yaml b/test/test_data/crdbop-918/mutated-0.yaml new file mode 100644 index 0000000000..fd0e8ddafa --- /dev/null +++ b/test/test_data/crdbop-918/mutated-0.yaml @@ -0,0 +1,27 @@ +apiVersion: crdb.cockroachlabs.com/v1alpha1 +kind: CrdbCluster +metadata: + name: test-cluster +spec: + additionalLabels: + crdb: is-cool + dataStore: + pvc: + spec: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 1Gi + volumeMode: Filesystem + image: + name: cockroachdb/cockroach:v21.2.10 + nodes: 3 + resources: + limits: + cpu: 2 + memory: 2Gi + requests: + cpu: 100m + memory: 1Gi + tlsEnabled: true diff --git a/test/test_data/crdbop-918/mutated-1.yaml b/test/test_data/crdbop-918/mutated-1.yaml new file mode 100644 index 0000000000..2cc040d0e7 --- /dev/null +++ b/test/test_data/crdbop-918/mutated-1.yaml @@ -0,0 +1,27 @@ +apiVersion: crdb.cockroachlabs.com/v1alpha1 +kind: CrdbCluster +metadata: + name: test-cluster +spec: + additionalLabels: + crdb: is-cool + dataStore: + pvc: + spec: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 1Gi + volumeMode: Filesystem + image: + name: cockroachdb/cockroach + nodes: 3 + resources: + limits: + cpu: 2 + memory: 2Gi + requests: + cpu: 100m + memory: 1Gi + tlsEnabled: true diff --git a/test/test_data/crdbop-919/mutated-0.yaml b/test/test_data/crdbop-919/mutated-0.yaml new file mode 100644 index 0000000000..fd0e8ddafa --- /dev/null +++ b/test/test_data/crdbop-919/mutated-0.yaml @@ -0,0 +1,27 @@ +apiVersion: crdb.cockroachlabs.com/v1alpha1 +kind: CrdbCluster +metadata: + name: test-cluster +spec: + additionalLabels: + crdb: is-cool + dataStore: + pvc: + spec: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 1Gi + volumeMode: Filesystem + image: + name: cockroachdb/cockroach:v21.2.10 + nodes: 3 + resources: + limits: + cpu: 2 + memory: 2Gi + requests: + cpu: 100m + memory: 1Gi + tlsEnabled: true diff --git a/test/test_data/crdbop-919/mutated-1.yaml b/test/test_data/crdbop-919/mutated-1.yaml new file mode 100644 index 0000000000..79d971600a --- /dev/null +++ b/test/test_data/crdbop-919/mutated-1.yaml @@ -0,0 +1,28 @@ +apiVersion: crdb.cockroachlabs.com/v1alpha1 +kind: CrdbCluster +metadata: + name: test-cluster +spec: + additionalLabels: + crdb: is-cool + dataStore: + pvc: + spec: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 2Gi + volumeMode: Filesystem + supportsAutoResize: true + image: + name: cockroachdb/cockroach:v21.2.10 + nodes: 3 + resources: + limits: + cpu: 2 + memory: 2Gi + requests: + cpu: 100m + memory: 1Gi + tlsEnabled: true diff --git a/test/test_data/crdbop-919/mutated-2.yaml b/test/test_data/crdbop-919/mutated-2.yaml new file mode 100644 index 0000000000..fd0e8ddafa --- /dev/null +++ b/test/test_data/crdbop-919/mutated-2.yaml @@ -0,0 +1,27 @@ +apiVersion: crdb.cockroachlabs.com/v1alpha1 +kind: CrdbCluster +metadata: + name: test-cluster +spec: + additionalLabels: + crdb: is-cool + dataStore: + pvc: + spec: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 1Gi + volumeMode: Filesystem + image: + name: cockroachdb/cockroach:v21.2.10 + nodes: 3 + resources: + limits: + cpu: 2 + memory: 2Gi + requests: + cpu: 100m + memory: 1Gi + tlsEnabled: true diff --git a/test/test_data/crdbop-920/cli-output--1.log b/test/test_data/crdbop-920/cli-output--1.log new file mode 100644 index 0000000000..2127a95ab0 --- /dev/null +++ b/test/test_data/crdbop-920/cli-output--1.log @@ -0,0 +1,4 @@ +{ + "stdout": "crdbcluster.crdb.cockroachlabs.com/test-cluster configured\n", + "stderr": "" +} \ No newline at end of file diff --git a/test/test_data/crdbop-920/cli-output-0.log b/test/test_data/crdbop-920/cli-output-0.log new file mode 100644 index 0000000000..8dd4b74f7f --- /dev/null +++ b/test/test_data/crdbop-920/cli-output-0.log @@ -0,0 +1,4 @@ +{ + "stdout": "crdbcluster.crdb.cockroachlabs.com/test-cluster created\n", + "stderr": "" +} \ No newline at end of file diff --git a/test/test_data/crdbop-920/cli-output-1.log b/test/test_data/crdbop-920/cli-output-1.log new file mode 100644 index 0000000000..2127a95ab0 --- /dev/null +++ b/test/test_data/crdbop-920/cli-output-1.log @@ -0,0 +1,4 @@ +{ + "stdout": "crdbcluster.crdb.cockroachlabs.com/test-cluster configured\n", + "stderr": "" +} \ No newline at end of file diff --git a/test/test_data/crdbop-920/cli-output-2.log b/test/test_data/crdbop-920/cli-output-2.log new file mode 100644 index 0000000000..2127a95ab0 --- /dev/null +++ b/test/test_data/crdbop-920/cli-output-2.log @@ -0,0 +1,4 @@ +{ + "stdout": "crdbcluster.crdb.cockroachlabs.com/test-cluster configured\n", + "stderr": "" +} \ No newline at end of file diff --git a/test/test_data/crdbop-920/delta-0.log b/test/test_data/crdbop-920/delta-0.log new file mode 100644 index 0000000000..388d65d489 --- /dev/null +++ b/test/test_data/crdbop-920/delta-0.log @@ -0,0 +1,20497 @@ +---------- INPUT DELTA ---------- +{} +---------- SYSTEM DELTA ---------- +{ + "pod": { + "dictionary_item_added": { + "root['test-cluster-0'][metadata][creation_timestamp]": { + "prev": "NotPresent", + "curr": "2023-05-04T20:30:58+00:00", + "path": [ + "test-cluster-0", + "metadata", + "creation_timestamp" + ] + }, + "root['test-cluster-0'][metadata][generate_name]": { + "prev": "NotPresent", + "curr": "test-cluster-", + "path": [ + "test-cluster-0", + "metadata", + "generate_name" + ] + }, + "root['test-cluster-0'][metadata][labels][app.kubernetes.io/component]": { + "prev": "NotPresent", + "curr": "database", + "path": [ + "test-cluster-0", + "metadata", + "labels", + "app.kubernetes.io/component" + ] + }, + "root['test-cluster-0'][metadata][labels][app.kubernetes.io/instance]": { + "prev": "NotPresent", + "curr": "test-cluster", + "path": [ + "test-cluster-0", + "metadata", + "labels", + "app.kubernetes.io/instance" + ] + }, + "root['test-cluster-0'][metadata][labels][app.kubernetes.io/name]": { + "prev": "NotPresent", + "curr": "cockroachdb", + "path": [ + "test-cluster-0", + "metadata", + "labels", + "app.kubernetes.io/name" + ] + }, + "root['test-cluster-0'][metadata][labels][controller-revision-hash]": { + "prev": "NotPresent", + "curr": "test-cluster-76f9c78d88", + "path": [ + "test-cluster-0", + "metadata", + "labels", + "controller-revision-hash" + ] + }, + "root['test-cluster-0'][metadata][labels][crdb]": { + "prev": "NotPresent", + "curr": "is-cool", + "path": [ + "test-cluster-0", + "metadata", + "labels", + "crdb" + ] + }, + "root['test-cluster-0'][metadata][labels][statefulset.kubernetes.io/pod-name]": { + "prev": "NotPresent", + "curr": "test-cluster-0", + "path": [ + "test-cluster-0", + "metadata", + "labels", + "statefulset.kubernetes.io/pod-name" + ] + }, + "root['test-cluster-0'][metadata][managed_fields][0][api_version]": { + "prev": "NotPresent", + "curr": "v1", + "path": [ + "test-cluster-0", + "metadata", + "managed_fields", + 0, + "api_version" + ] + }, + "root['test-cluster-0'][metadata][managed_fields][0][fields_type]": { + "prev": "NotPresent", + "curr": "FieldsV1", + "path": [ + "test-cluster-0", + "metadata", + "managed_fields", + 0, + "fields_type" + ] + }, + "root['test-cluster-0'][metadata][managed_fields][0][manager]": { + "prev": "NotPresent", + "curr": "kube-controller-manager", + "path": [ + "test-cluster-0", + "metadata", + "managed_fields", + 0, + "manager" + ] + }, + "root['test-cluster-0'][metadata][managed_fields][0][operation]": { + "prev": "NotPresent", + "curr": "Update", + "path": [ + "test-cluster-0", + "metadata", + "managed_fields", + 0, + "operation" + ] + }, + "root['test-cluster-0'][metadata][managed_fields][0][time]": { + "prev": "NotPresent", + "curr": "2023-05-04T20:30:58+00:00", + "path": [ + "test-cluster-0", + "metadata", + "managed_fields", + 0, + "time" + ] + }, + "root['test-cluster-0'][metadata][managed_fields][1][api_version]": { + "prev": "NotPresent", + "curr": "v1", + "path": [ + "test-cluster-0", + "metadata", + "managed_fields", + 1, + "api_version" + ] + }, + "root['test-cluster-0'][metadata][managed_fields][1][fields_type]": { + "prev": "NotPresent", + "curr": "FieldsV1", + "path": [ + "test-cluster-0", + "metadata", + "managed_fields", + 1, + "fields_type" + ] + }, + "root['test-cluster-0'][metadata][managed_fields][1][manager]": { + "prev": "NotPresent", + "curr": "kubelet", + "path": [ + "test-cluster-0", + "metadata", + "managed_fields", + 1, + "manager" + ] + }, + "root['test-cluster-0'][metadata][managed_fields][1][operation]": { + "prev": "NotPresent", + "curr": "Update", + "path": [ + "test-cluster-0", + "metadata", + "managed_fields", + 1, + "operation" + ] + }, + "root['test-cluster-0'][metadata][managed_fields][1][subresource]": { + "prev": "NotPresent", + "curr": "status", + "path": [ + "test-cluster-0", + "metadata", + "managed_fields", + 1, + "subresource" + ] + }, + "root['test-cluster-0'][metadata][managed_fields][1][time]": { + "prev": "NotPresent", + "curr": "2023-05-04T20:31:17+00:00", + "path": [ + "test-cluster-0", + "metadata", + "managed_fields", + 1, + "time" + ] + }, + "root['test-cluster-0'][metadata][name]": { + "prev": "NotPresent", + "curr": "test-cluster-0", + "path": [ + "test-cluster-0", + "metadata", + "name" + ] + }, + "root['test-cluster-0'][metadata][namespace]": { + "prev": "NotPresent", + "curr": "cockroach-operator-system", + "path": [ + "test-cluster-0", + "metadata", + "namespace" + ] + }, + "root['test-cluster-0'][metadata][owner_references][0][api_version]": { + "prev": "NotPresent", + "curr": "apps/v1", + "path": [ + "test-cluster-0", + "metadata", + "owner_references", + 0, + "api_version" + ] + }, + "root['test-cluster-0'][metadata][owner_references][0][block_owner_deletion]": { + "prev": "NotPresent", + "curr": true, + "path": [ + "test-cluster-0", + "metadata", + "owner_references", + 0, + "block_owner_deletion" + ] + }, + "root['test-cluster-0'][metadata][owner_references][0][controller]": { + "prev": "NotPresent", + "curr": true, + "path": [ + "test-cluster-0", + "metadata", + "owner_references", + 0, + "controller" + ] + }, + "root['test-cluster-0'][metadata][owner_references][0][kind]": { + "prev": "NotPresent", + "curr": "StatefulSet", + "path": [ + "test-cluster-0", + "metadata", + "owner_references", + 0, + "kind" + ] + }, + "root['test-cluster-0'][metadata][owner_references][0][name]": { + "prev": "NotPresent", + "curr": "test-cluster", + "path": [ + "test-cluster-0", + "metadata", + "owner_references", + 0, + "name" + ] + }, + "root['test-cluster-0'][metadata][owner_references][0][uid]": { + "prev": "NotPresent", + "curr": "f53f5464-2142-4d42-8f5b-bdd30e5c1acf", + "path": [ + "test-cluster-0", + "metadata", + "owner_references", + 0, + "uid" + ] + }, + "root['test-cluster-0'][metadata][resource_version]": { + "prev": "NotPresent", + "curr": "1035", + "path": [ + "test-cluster-0", + "metadata", + "resource_version" + ] + }, + "root['test-cluster-0'][metadata][uid]": { + "prev": "NotPresent", + "curr": "3a41326f-04a0-41ef-9b75-7d9930634288", + "path": [ + "test-cluster-0", + "metadata", + "uid" + ] + }, + "root['test-cluster-0'][spec][automount_service_account_token]": { + "prev": "NotPresent", + "curr": false, + "path": [ + "test-cluster-0", + "spec", + "automount_service_account_token" + ] + }, + "root['test-cluster-0'][spec][containers][0][command][0]": { + "prev": "NotPresent", + "curr": "/bin/bash", + "path": [ + "test-cluster-0", + "spec", + "containers", + 0, + "command", + 0 + ] + }, + "root['test-cluster-0'][spec][containers][0][command][1]": { + "prev": "NotPresent", + "curr": "-ecx", + "path": [ + "test-cluster-0", + "spec", + "containers", + 0, + "command", + 1 + ] + }, + "root['test-cluster-0'][spec][containers][0][command][2]": { + "prev": "NotPresent", + "curr": "exec /cockroach/cockroach.sh start --advertise-host=$(POD_NAME).test-cluster.cockroach-operator-system --certs-dir=/cockroach/cockroach-certs/ --http-port=8080 --sql-addr=:26257 --listen-addr=:26258 --log=\"{sinks: {stderr: {channels: [OPS, HEALTH], redact: true}}}\" --cache $(expr $MEMORY_LIMIT_MIB / 4)MiB --max-sql-memory $(expr $MEMORY_LIMIT_MIB / 4)MiB --join=test-cluster-0.test-cluster.cockroach-operator-system:26258,test-cluster-1.test-cluster.cockroach-operator-system:26258,test-cluster-2.test-cluster.cockroach-operator-system:26258", + "path": [ + "test-cluster-0", + "spec", + "containers", + 0, + "command", + 2 + ] + }, + "root['test-cluster-0'][spec][containers][0][env][0][name]": { + "prev": "NotPresent", + "curr": "COCKROACH_CHANNEL", + "path": [ + "test-cluster-0", + "spec", + "containers", + 0, + "env", + 0, + "name" + ] + }, + "root['test-cluster-0'][spec][containers][0][env][0][value]": { + "prev": "NotPresent", + "curr": "kubernetes-operator-unknown", + "path": [ + "test-cluster-0", + "spec", + "containers", + 0, + "env", + 0, + "value" + ] + }, + "root['test-cluster-0'][spec][containers][0][env][1][name]": { + "prev": "NotPresent", + "curr": "POD_NAME", + "path": [ + "test-cluster-0", + "spec", + "containers", + 0, + "env", + 1, + "name" + ] + }, + "root['test-cluster-0'][spec][containers][0][env][1][value_from][field_ref][api_version]": { + "prev": "NotPresent", + "curr": "v1", + "path": [ + "test-cluster-0", + "spec", + "containers", + 0, + "env", + 1, + "value_from", + "field_ref", + "api_version" + ] + }, + "root['test-cluster-0'][spec][containers][0][env][1][value_from][field_ref][field_path]": { + "prev": "NotPresent", + "curr": "metadata.name", + "path": [ + "test-cluster-0", + "spec", + "containers", + 0, + "env", + 1, + "value_from", + "field_ref", + "field_path" + ] + }, + "root['test-cluster-0'][spec][containers][0][env][2][name]": { + "prev": "NotPresent", + "curr": "GOMAXPROCS", + "path": [ + "test-cluster-0", + "spec", + "containers", + 0, + "env", + 2, + "name" + ] + }, + "root['test-cluster-0'][spec][containers][0][env][2][value_from][resource_field_ref][divisor]": { + "prev": "NotPresent", + "curr": "1", + "path": [ + "test-cluster-0", + "spec", + "containers", + 0, + "env", + 2, + "value_from", + "resource_field_ref", + "divisor" + ] + }, + "root['test-cluster-0'][spec][containers][0][env][2][value_from][resource_field_ref][resource]": { + "prev": "NotPresent", + "curr": "limits.cpu", + "path": [ + "test-cluster-0", + "spec", + "containers", + 0, + "env", + 2, + "value_from", + "resource_field_ref", + "resource" + ] + }, + "root['test-cluster-0'][spec][containers][0][env][3][name]": { + "prev": "NotPresent", + "curr": "MEMORY_LIMIT_MIB", + "path": [ + "test-cluster-0", + "spec", + "containers", + 0, + "env", + 3, + "name" + ] + }, + "root['test-cluster-0'][spec][containers][0][env][3][value_from][resource_field_ref][divisor]": { + "prev": "NotPresent", + "curr": "1Mi", + "path": [ + "test-cluster-0", + "spec", + "containers", + 0, + "env", + 3, + "value_from", + "resource_field_ref", + "divisor" + ] + }, + "root['test-cluster-0'][spec][containers][0][env][3][value_from][resource_field_ref][resource]": { + "prev": "NotPresent", + "curr": "limits.memory", + "path": [ + "test-cluster-0", + "spec", + "containers", + 0, + "env", + 3, + "value_from", + "resource_field_ref", + "resource" + ] + }, + "root['test-cluster-0'][spec][containers][0][image]": { + "prev": "NotPresent", + "curr": "cockroachdb/cockroach:v21.2.10", + "path": [ + "test-cluster-0", + "spec", + "containers", + 0, + "image" + ] + }, + "root['test-cluster-0'][spec][containers][0][image_pull_policy]": { + "prev": "NotPresent", + "curr": "IfNotPresent", + "path": [ + "test-cluster-0", + "spec", + "containers", + 0, + "image_pull_policy" + ] + }, + "root['test-cluster-0'][spec][containers][0][lifecycle][pre_stop][_exec][command][0]": { + "prev": "NotPresent", + "curr": "sh", + "path": [ + "test-cluster-0", + "spec", + "containers", + 0, + "lifecycle", + "pre_stop", + "_exec", + "command", + 0 + ] + }, + "root['test-cluster-0'][spec][containers][0][lifecycle][pre_stop][_exec][command][1]": { + "prev": "NotPresent", + "curr": "-c", + "path": [ + "test-cluster-0", + "spec", + "containers", + 0, + "lifecycle", + "pre_stop", + "_exec", + "command", + 1 + ] + }, + "root['test-cluster-0'][spec][containers][0][lifecycle][pre_stop][_exec][command][2]": { + "prev": "NotPresent", + "curr": "/cockroach/cockroach node drain --certs-dir=/cockroach/cockroach-certs/ || exit 0", + "path": [ + "test-cluster-0", + "spec", + "containers", + 0, + "lifecycle", + "pre_stop", + "_exec", + "command", + 2 + ] + }, + "root['test-cluster-0'][spec][containers][0][name]": { + "prev": "NotPresent", + "curr": "db", + "path": [ + "test-cluster-0", + "spec", + "containers", + 0, + "name" + ] + }, + "root['test-cluster-0'][spec][containers][0][ports][0][container_port]": { + "prev": "NotPresent", + "curr": 26258, + "path": [ + "test-cluster-0", + "spec", + "containers", + 0, + "ports", + 0, + "container_port" + ] + }, + "root['test-cluster-0'][spec][containers][0][ports][0][name]": { + "prev": "NotPresent", + "curr": "grpc", + "path": [ + "test-cluster-0", + "spec", + "containers", + 0, + "ports", + 0, + "name" + ] + }, + "root['test-cluster-0'][spec][containers][0][ports][0][protocol]": { + "prev": "NotPresent", + "curr": "TCP", + "path": [ + "test-cluster-0", + "spec", + "containers", + 0, + "ports", + 0, + "protocol" + ] + }, + "root['test-cluster-0'][spec][containers][0][ports][1][container_port]": { + "prev": "NotPresent", + "curr": 8080, + "path": [ + "test-cluster-0", + "spec", + "containers", + 0, + "ports", + 1, + "container_port" + ] + }, + "root['test-cluster-0'][spec][containers][0][ports][1][name]": { + "prev": "NotPresent", + "curr": "http", + "path": [ + "test-cluster-0", + "spec", + "containers", + 0, + "ports", + 1, + "name" + ] + }, + "root['test-cluster-0'][spec][containers][0][ports][1][protocol]": { + "prev": "NotPresent", + "curr": "TCP", + "path": [ + "test-cluster-0", + "spec", + "containers", + 0, + "ports", + 1, + "protocol" + ] + }, + "root['test-cluster-0'][spec][containers][0][ports][2][container_port]": { + "prev": "NotPresent", + "curr": 26257, + "path": [ + "test-cluster-0", + "spec", + "containers", + 0, + "ports", + 2, + "container_port" + ] + }, + "root['test-cluster-0'][spec][containers][0][ports][2][name]": { + "prev": "NotPresent", + "curr": "sql", + "path": [ + "test-cluster-0", + "spec", + "containers", + 0, + "ports", + 2, + "name" + ] + }, + "root['test-cluster-0'][spec][containers][0][ports][2][protocol]": { + "prev": "NotPresent", + "curr": "TCP", + "path": [ + "test-cluster-0", + "spec", + "containers", + 0, + "ports", + 2, + "protocol" + ] + }, + "root['test-cluster-0'][spec][containers][0][readiness_probe][failure_threshold]": { + "prev": "NotPresent", + "curr": 2, + "path": [ + "test-cluster-0", + "spec", + "containers", + 0, + "readiness_probe", + "failure_threshold" + ] + }, + "root['test-cluster-0'][spec][containers][0][readiness_probe][http_get][path]": { + "prev": "NotPresent", + "curr": "/health?ready=1", + "path": [ + "test-cluster-0", + "spec", + "containers", + 0, + "readiness_probe", + "http_get", + "path" + ] + }, + "root['test-cluster-0'][spec][containers][0][readiness_probe][http_get][port]": { + "prev": "NotPresent", + "curr": "http", + "path": [ + "test-cluster-0", + "spec", + "containers", + 0, + "readiness_probe", + "http_get", + "port" + ] + }, + "root['test-cluster-0'][spec][containers][0][readiness_probe][http_get][scheme]": { + "prev": "NotPresent", + "curr": "HTTPS", + "path": [ + "test-cluster-0", + "spec", + "containers", + 0, + "readiness_probe", + "http_get", + "scheme" + ] + }, + "root['test-cluster-0'][spec][containers][0][readiness_probe][initial_delay_seconds]": { + "prev": "NotPresent", + "curr": 10, + "path": [ + "test-cluster-0", + "spec", + "containers", + 0, + "readiness_probe", + "initial_delay_seconds" + ] + }, + "root['test-cluster-0'][spec][containers][0][readiness_probe][period_seconds]": { + "prev": "NotPresent", + "curr": 5, + "path": [ + "test-cluster-0", + "spec", + "containers", + 0, + "readiness_probe", + "period_seconds" + ] + }, + "root['test-cluster-0'][spec][containers][0][readiness_probe][success_threshold]": { + "prev": "NotPresent", + "curr": 1, + "path": [ + "test-cluster-0", + "spec", + "containers", + 0, + "readiness_probe", + "success_threshold" + ] + }, + "root['test-cluster-0'][spec][containers][0][readiness_probe][timeout_seconds]": { + "prev": "NotPresent", + "curr": 1, + "path": [ + "test-cluster-0", + "spec", + "containers", + 0, + "readiness_probe", + "timeout_seconds" + ] + }, + "root['test-cluster-0'][spec][containers][0][resources][limits][cpu]": { + "prev": "NotPresent", + "curr": "2", + "path": [ + "test-cluster-0", + "spec", + "containers", + 0, + "resources", + "limits", + "cpu" + ] + }, + "root['test-cluster-0'][spec][containers][0][resources][limits][memory]": { + "prev": "NotPresent", + "curr": "2Gi", + "path": [ + "test-cluster-0", + "spec", + "containers", + 0, + "resources", + "limits", + "memory" + ] + }, + "root['test-cluster-0'][spec][containers][0][resources][requests][cpu]": { + "prev": "NotPresent", + "curr": "100m", + "path": [ + "test-cluster-0", + "spec", + "containers", + 0, + "resources", + "requests", + "cpu" + ] + }, + "root['test-cluster-0'][spec][containers][0][resources][requests][memory]": { + "prev": "NotPresent", + "curr": "1Gi", + "path": [ + "test-cluster-0", + "spec", + "containers", + 0, + "resources", + "requests", + "memory" + ] + }, + "root['test-cluster-0'][spec][containers][0][termination_message_path]": { + "prev": "NotPresent", + "curr": "/dev/termination-log", + "path": [ + "test-cluster-0", + "spec", + "containers", + 0, + "termination_message_path" + ] + }, + "root['test-cluster-0'][spec][containers][0][termination_message_policy]": { + "prev": "NotPresent", + "curr": "File", + "path": [ + "test-cluster-0", + "spec", + "containers", + 0, + "termination_message_policy" + ] + }, + "root['test-cluster-0'][spec][containers][0][volume_mounts][0][mount_path]": { + "prev": "NotPresent", + "curr": "/cockroach/cockroach-data/", + "path": [ + "test-cluster-0", + "spec", + "containers", + 0, + "volume_mounts", + 0, + "mount_path" + ] + }, + "root['test-cluster-0'][spec][containers][0][volume_mounts][0][name]": { + "prev": "NotPresent", + "curr": "datadir", + "path": [ + "test-cluster-0", + "spec", + "containers", + 0, + "volume_mounts", + 0, + "name" + ] + }, + "root['test-cluster-0'][spec][containers][0][volume_mounts][1][mount_path]": { + "prev": "NotPresent", + "curr": "/cockroach/cockroach-certs/", + "path": [ + "test-cluster-0", + "spec", + "containers", + 0, + "volume_mounts", + 1, + "mount_path" + ] + }, + "root['test-cluster-0'][spec][containers][0][volume_mounts][1][name]": { + "prev": "NotPresent", + "curr": "emptydir", + "path": [ + "test-cluster-0", + "spec", + "containers", + 0, + "volume_mounts", + 1, + "name" + ] + }, + "root['test-cluster-0'][spec][dns_policy]": { + "prev": "NotPresent", + "curr": "ClusterFirst", + "path": [ + "test-cluster-0", + "spec", + "dns_policy" + ] + }, + "root['test-cluster-0'][spec][enable_service_links]": { + "prev": "NotPresent", + "curr": true, + "path": [ + "test-cluster-0", + "spec", + "enable_service_links" + ] + }, + "root['test-cluster-0'][spec][hostname]": { + "prev": "NotPresent", + "curr": "test-cluster-0", + "path": [ + "test-cluster-0", + "spec", + "hostname" + ] + }, + "root['test-cluster-0'][spec][init_containers][0][command][0]": { + "prev": "NotPresent", + "curr": "/bin/sh", + "path": [ + "test-cluster-0", + "spec", + "init_containers", + 0, + "command", + 0 + ] + }, + "root['test-cluster-0'][spec][init_containers][0][command][1]": { + "prev": "NotPresent", + "curr": "-c", + "path": [ + "test-cluster-0", + "spec", + "init_containers", + 0, + "command", + 1 + ] + }, + "root['test-cluster-0'][spec][init_containers][0][command][2]": { + "prev": "NotPresent", + "curr": ">- cp -p /cockroach/cockroach-certs-prestage/..data/* /cockroach/cockroach-certs/ && chmod 700 /cockroach/cockroach-certs/*.key && chown 1000581000:1000581000 /cockroach/cockroach-certs/*.key", + "path": [ + "test-cluster-0", + "spec", + "init_containers", + 0, + "command", + 2 + ] + }, + "root['test-cluster-0'][spec][init_containers][0][image]": { + "prev": "NotPresent", + "curr": "cockroachdb/cockroach:v21.2.10", + "path": [ + "test-cluster-0", + "spec", + "init_containers", + 0, + "image" + ] + }, + "root['test-cluster-0'][spec][init_containers][0][image_pull_policy]": { + "prev": "NotPresent", + "curr": "IfNotPresent", + "path": [ + "test-cluster-0", + "spec", + "init_containers", + 0, + "image_pull_policy" + ] + }, + "root['test-cluster-0'][spec][init_containers][0][name]": { + "prev": "NotPresent", + "curr": "db-init", + "path": [ + "test-cluster-0", + "spec", + "init_containers", + 0, + "name" + ] + }, + "root['test-cluster-0'][spec][init_containers][0][security_context][allow_privilege_escalation]": { + "prev": "NotPresent", + "curr": false, + "path": [ + "test-cluster-0", + "spec", + "init_containers", + 0, + "security_context", + "allow_privilege_escalation" + ] + }, + "root['test-cluster-0'][spec][init_containers][0][security_context][run_as_user]": { + "prev": "NotPresent", + "curr": 0, + "path": [ + "test-cluster-0", + "spec", + "init_containers", + 0, + "security_context", + "run_as_user" + ] + }, + "root['test-cluster-0'][spec][init_containers][0][termination_message_path]": { + "prev": "NotPresent", + "curr": "/dev/termination-log", + "path": [ + "test-cluster-0", + "spec", + "init_containers", + 0, + "termination_message_path" + ] + }, + "root['test-cluster-0'][spec][init_containers][0][termination_message_policy]": { + "prev": "NotPresent", + "curr": "File", + "path": [ + "test-cluster-0", + "spec", + "init_containers", + 0, + "termination_message_policy" + ] + }, + "root['test-cluster-0'][spec][init_containers][0][volume_mounts][0][mount_path]": { + "prev": "NotPresent", + "curr": "/cockroach/cockroach-certs-prestage/", + "path": [ + "test-cluster-0", + "spec", + "init_containers", + 0, + "volume_mounts", + 0, + "mount_path" + ] + }, + "root['test-cluster-0'][spec][init_containers][0][volume_mounts][0][name]": { + "prev": "NotPresent", + "curr": "certs", + "path": [ + "test-cluster-0", + "spec", + "init_containers", + 0, + "volume_mounts", + 0, + "name" + ] + }, + "root['test-cluster-0'][spec][init_containers][0][volume_mounts][1][mount_path]": { + "prev": "NotPresent", + "curr": "/cockroach/cockroach-certs/", + "path": [ + "test-cluster-0", + "spec", + "init_containers", + 0, + "volume_mounts", + 1, + "mount_path" + ] + }, + "root['test-cluster-0'][spec][init_containers][0][volume_mounts][1][name]": { + "prev": "NotPresent", + "curr": "emptydir", + "path": [ + "test-cluster-0", + "spec", + "init_containers", + 0, + "volume_mounts", + 1, + "name" + ] + }, + "root['test-cluster-0'][spec][node_name]": { + "prev": "NotPresent", + "curr": "acto-cluster-0-worker", + "path": [ + "test-cluster-0", + "spec", + "node_name" + ] + }, + "root['test-cluster-0'][spec][preemption_policy]": { + "prev": "NotPresent", + "curr": "PreemptLowerPriority", + "path": [ + "test-cluster-0", + "spec", + "preemption_policy" + ] + }, + "root['test-cluster-0'][spec][priority]": { + "prev": "NotPresent", + "curr": 0, + "path": [ + "test-cluster-0", + "spec", + "priority" + ] + }, + "root['test-cluster-0'][spec][restart_policy]": { + "prev": "NotPresent", + "curr": "Always", + "path": [ + "test-cluster-0", + "spec", + "restart_policy" + ] + }, + "root['test-cluster-0'][spec][scheduler_name]": { + "prev": "NotPresent", + "curr": "default-scheduler", + "path": [ + "test-cluster-0", + "spec", + "scheduler_name" + ] + }, + "root['test-cluster-0'][spec][security_context][fs_group]": { + "prev": "NotPresent", + "curr": 1000581000, + "path": [ + "test-cluster-0", + "spec", + "security_context", + "fs_group" + ] + }, + "root['test-cluster-0'][spec][security_context][run_as_user]": { + "prev": "NotPresent", + "curr": 1000581000, + "path": [ + "test-cluster-0", + "spec", + "security_context", + "run_as_user" + ] + }, + "root['test-cluster-0'][spec][service_account]": { + "prev": "NotPresent", + "curr": "test-cluster-sa", + "path": [ + "test-cluster-0", + "spec", + "service_account" + ] + }, + "root['test-cluster-0'][spec][service_account_name]": { + "prev": "NotPresent", + "curr": "test-cluster-sa", + "path": [ + "test-cluster-0", + "spec", + "service_account_name" + ] + }, + "root['test-cluster-0'][spec][subdomain]": { + "prev": "NotPresent", + "curr": "test-cluster", + "path": [ + "test-cluster-0", + "spec", + "subdomain" + ] + }, + "root['test-cluster-0'][spec][termination_grace_period_seconds]": { + "prev": "NotPresent", + "curr": 300, + "path": [ + "test-cluster-0", + "spec", + "termination_grace_period_seconds" + ] + }, + "root['test-cluster-0'][spec][tolerations][0][effect]": { + "prev": "NotPresent", + "curr": "NoExecute", + "path": [ + "test-cluster-0", + "spec", + "tolerations", + 0, + "effect" + ] + }, + "root['test-cluster-0'][spec][tolerations][0][key]": { + "prev": "NotPresent", + "curr": "node.kubernetes.io/not-ready", + "path": [ + "test-cluster-0", + "spec", + "tolerations", + 0, + "key" + ] + }, + "root['test-cluster-0'][spec][tolerations][0][operator]": { + "prev": "NotPresent", + "curr": "Exists", + "path": [ + "test-cluster-0", + "spec", + "tolerations", + 0, + "operator" + ] + }, + "root['test-cluster-0'][spec][tolerations][0][toleration_seconds]": { + "prev": "NotPresent", + "curr": 300, + "path": [ + "test-cluster-0", + "spec", + "tolerations", + 0, + "toleration_seconds" + ] + }, + "root['test-cluster-0'][spec][tolerations][1][effect]": { + "prev": "NotPresent", + "curr": "NoExecute", + "path": [ + "test-cluster-0", + "spec", + "tolerations", + 1, + "effect" + ] + }, + "root['test-cluster-0'][spec][tolerations][1][key]": { + "prev": "NotPresent", + "curr": "node.kubernetes.io/unreachable", + "path": [ + "test-cluster-0", + "spec", + "tolerations", + 1, + "key" + ] + }, + "root['test-cluster-0'][spec][tolerations][1][operator]": { + "prev": "NotPresent", + "curr": "Exists", + "path": [ + "test-cluster-0", + "spec", + "tolerations", + 1, + "operator" + ] + }, + "root['test-cluster-0'][spec][tolerations][1][toleration_seconds]": { + "prev": "NotPresent", + "curr": 300, + "path": [ + "test-cluster-0", + "spec", + "tolerations", + 1, + "toleration_seconds" + ] + }, + "root['test-cluster-0'][spec][volumes][0][name]": { + "prev": "NotPresent", + "curr": "datadir", + "path": [ + "test-cluster-0", + "spec", + "volumes", + 0, + "name" + ] + }, + "root['test-cluster-0'][spec][volumes][0][persistent_volume_claim][claim_name]": { + "prev": "NotPresent", + "curr": "datadir-test-cluster-0", + "path": [ + "test-cluster-0", + "spec", + "volumes", + 0, + "persistent_volume_claim", + "claim_name" + ] + }, + "root['test-cluster-0'][spec][volumes][1][name]": { + "prev": "NotPresent", + "curr": "emptydir", + "path": [ + "test-cluster-0", + "spec", + "volumes", + 1, + "name" + ] + }, + "root['test-cluster-0'][spec][volumes][2][name]": { + "prev": "NotPresent", + "curr": "certs", + "path": [ + "test-cluster-0", + "spec", + "volumes", + 2, + "name" + ] + }, + "root['test-cluster-0'][spec][volumes][2][projected][default_mode]": { + "prev": "NotPresent", + "curr": 400, + "path": [ + "test-cluster-0", + "spec", + "volumes", + 2, + "projected", + "default_mode" + ] + }, + "root['test-cluster-0'][spec][volumes][2][projected][sources][0][secret][items][0][key]": { + "prev": "NotPresent", + "curr": "ca.crt", + "path": [ + "test-cluster-0", + "spec", + "volumes", + 2, + "projected", + "sources", + 0, + "secret", + "items", + 0, + "key" + ] + }, + "root['test-cluster-0'][spec][volumes][2][projected][sources][0][secret][items][0][mode]": { + "prev": "NotPresent", + "curr": 504, + "path": [ + "test-cluster-0", + "spec", + "volumes", + 2, + "projected", + "sources", + 0, + "secret", + "items", + 0, + "mode" + ] + }, + "root['test-cluster-0'][spec][volumes][2][projected][sources][0][secret][items][0][path]": { + "prev": "NotPresent", + "curr": "ca.crt", + "path": [ + "test-cluster-0", + "spec", + "volumes", + 2, + "projected", + "sources", + 0, + "secret", + "items", + 0, + "path" + ] + }, + "root['test-cluster-0'][spec][volumes][2][projected][sources][0][secret][items][1][key]": { + "prev": "NotPresent", + "curr": "tls.crt", + "path": [ + "test-cluster-0", + "spec", + "volumes", + 2, + "projected", + "sources", + 0, + "secret", + "items", + 1, + "key" + ] + }, + "root['test-cluster-0'][spec][volumes][2][projected][sources][0][secret][items][1][mode]": { + "prev": "NotPresent", + "curr": 504, + "path": [ + "test-cluster-0", + "spec", + "volumes", + 2, + "projected", + "sources", + 0, + "secret", + "items", + 1, + "mode" + ] + }, + "root['test-cluster-0'][spec][volumes][2][projected][sources][0][secret][items][1][path]": { + "prev": "NotPresent", + "curr": "node.crt", + "path": [ + "test-cluster-0", + "spec", + "volumes", + 2, + "projected", + "sources", + 0, + "secret", + "items", + 1, + "path" + ] + }, + "root['test-cluster-0'][spec][volumes][2][projected][sources][0][secret][items][2][key]": { + "prev": "NotPresent", + "curr": "tls.key", + "path": [ + "test-cluster-0", + "spec", + "volumes", + 2, + "projected", + "sources", + 0, + "secret", + "items", + 2, + "key" + ] + }, + "root['test-cluster-0'][spec][volumes][2][projected][sources][0][secret][items][2][mode]": { + "prev": "NotPresent", + "curr": 400, + "path": [ + "test-cluster-0", + "spec", + "volumes", + 2, + "projected", + "sources", + 0, + "secret", + "items", + 2, + "mode" + ] + }, + "root['test-cluster-0'][spec][volumes][2][projected][sources][0][secret][items][2][path]": { + "prev": "NotPresent", + "curr": "node.key", + "path": [ + "test-cluster-0", + "spec", + "volumes", + 2, + "projected", + "sources", + 0, + "secret", + "items", + 2, + "path" + ] + }, + "root['test-cluster-0'][spec][volumes][2][projected][sources][0][secret][name]": { + "prev": "NotPresent", + "curr": "test-cluster-node", + "path": [ + "test-cluster-0", + "spec", + "volumes", + 2, + "projected", + "sources", + 0, + "secret", + "name" + ] + }, + "root['test-cluster-0'][spec][volumes][2][projected][sources][1][secret][items][0][key]": { + "prev": "NotPresent", + "curr": "tls.crt", + "path": [ + "test-cluster-0", + "spec", + "volumes", + 2, + "projected", + "sources", + 1, + "secret", + "items", + 0, + "key" + ] + }, + "root['test-cluster-0'][spec][volumes][2][projected][sources][1][secret][items][0][mode]": { + "prev": "NotPresent", + "curr": 504, + "path": [ + "test-cluster-0", + "spec", + "volumes", + 2, + "projected", + "sources", + 1, + "secret", + "items", + 0, + "mode" + ] + }, + "root['test-cluster-0'][spec][volumes][2][projected][sources][1][secret][items][0][path]": { + "prev": "NotPresent", + "curr": "client.root.crt", + "path": [ + "test-cluster-0", + "spec", + "volumes", + 2, + "projected", + "sources", + 1, + "secret", + "items", + 0, + "path" + ] + }, + "root['test-cluster-0'][spec][volumes][2][projected][sources][1][secret][items][1][key]": { + "prev": "NotPresent", + "curr": "tls.key", + "path": [ + "test-cluster-0", + "spec", + "volumes", + 2, + "projected", + "sources", + 1, + "secret", + "items", + 1, + "key" + ] + }, + "root['test-cluster-0'][spec][volumes][2][projected][sources][1][secret][items][1][mode]": { + "prev": "NotPresent", + "curr": 400, + "path": [ + "test-cluster-0", + "spec", + "volumes", + 2, + "projected", + "sources", + 1, + "secret", + "items", + 1, + "mode" + ] + }, + "root['test-cluster-0'][spec][volumes][2][projected][sources][1][secret][items][1][path]": { + "prev": "NotPresent", + "curr": "client.root.key", + "path": [ + "test-cluster-0", + "spec", + "volumes", + 2, + "projected", + "sources", + 1, + "secret", + "items", + 1, + "path" + ] + }, + "root['test-cluster-0'][spec][volumes][2][projected][sources][1][secret][name]": { + "prev": "NotPresent", + "curr": "test-cluster-root", + "path": [ + "test-cluster-0", + "spec", + "volumes", + 2, + "projected", + "sources", + 1, + "secret", + "name" + ] + }, + "root['test-cluster-0'][status][conditions][0][last_transition_time]": { + "prev": "NotPresent", + "curr": "2023-05-04T20:31:02+00:00", + "path": [ + "test-cluster-0", + "status", + "conditions", + 0, + "last_transition_time" + ] + }, + "root['test-cluster-0'][status][conditions][0][status]": { + "prev": "NotPresent", + "curr": "True", + "path": [ + "test-cluster-0", + "status", + "conditions", + 0, + "status" + ] + }, + "root['test-cluster-0'][status][conditions][0][type]": { + "prev": "NotPresent", + "curr": "Initialized", + "path": [ + "test-cluster-0", + "status", + "conditions", + 0, + "type" + ] + }, + "root['test-cluster-0'][status][conditions][1][last_transition_time]": { + "prev": "NotPresent", + "curr": "2023-05-04T20:31:17+00:00", + "path": [ + "test-cluster-0", + "status", + "conditions", + 1, + "last_transition_time" + ] + }, + "root['test-cluster-0'][status][conditions][1][status]": { + "prev": "NotPresent", + "curr": "True", + "path": [ + "test-cluster-0", + "status", + "conditions", + 1, + "status" + ] + }, + "root['test-cluster-0'][status][conditions][1][type]": { + "prev": "NotPresent", + "curr": "Ready", + "path": [ + "test-cluster-0", + "status", + "conditions", + 1, + "type" + ] + }, + "root['test-cluster-0'][status][conditions][2][last_transition_time]": { + "prev": "NotPresent", + "curr": "2023-05-04T20:31:17+00:00", + "path": [ + "test-cluster-0", + "status", + "conditions", + 2, + "last_transition_time" + ] + }, + "root['test-cluster-0'][status][conditions][2][status]": { + "prev": "NotPresent", + "curr": "True", + "path": [ + "test-cluster-0", + "status", + "conditions", + 2, + "status" + ] + }, + "root['test-cluster-0'][status][conditions][2][type]": { + "prev": "NotPresent", + "curr": "ContainersReady", + "path": [ + "test-cluster-0", + "status", + "conditions", + 2, + "type" + ] + }, + "root['test-cluster-0'][status][conditions][3][last_transition_time]": { + "prev": "NotPresent", + "curr": "2023-05-04T20:31:02+00:00", + "path": [ + "test-cluster-0", + "status", + "conditions", + 3, + "last_transition_time" + ] + }, + "root['test-cluster-0'][status][conditions][3][status]": { + "prev": "NotPresent", + "curr": "True", + "path": [ + "test-cluster-0", + "status", + "conditions", + 3, + "status" + ] + }, + "root['test-cluster-0'][status][conditions][3][type]": { + "prev": "NotPresent", + "curr": "PodScheduled", + "path": [ + "test-cluster-0", + "status", + "conditions", + 3, + "type" + ] + }, + "root['test-cluster-0'][status][container_statuses][0][container_id]": { + "prev": "NotPresent", + "curr": "containerd://81e44e3937e2943b153f21478c743b09aaf6729a5556d78fabed4374ea307eab", + "path": [ + "test-cluster-0", + "status", + "container_statuses", + 0, + "container_id" + ] + }, + "root['test-cluster-0'][status][container_statuses][0][image]": { + "prev": "NotPresent", + "curr": "docker.io/cockroachdb/cockroach:v21.2.10", + "path": [ + "test-cluster-0", + "status", + "container_statuses", + 0, + "image" + ] + }, + "root['test-cluster-0'][status][container_statuses][0][image_id]": { + "prev": "NotPresent", + "curr": "docker.io/library/import-2023-05-04@sha256:070cca8c19ddf0ae6bc2bd88819e394fef6131b6cd44edb93847d703a068c29c", + "path": [ + "test-cluster-0", + "status", + "container_statuses", + 0, + "image_id" + ] + }, + "root['test-cluster-0'][status][container_statuses][0][name]": { + "prev": "NotPresent", + "curr": "db", + "path": [ + "test-cluster-0", + "status", + "container_statuses", + 0, + "name" + ] + }, + "root['test-cluster-0'][status][container_statuses][0][ready]": { + "prev": "NotPresent", + "curr": true, + "path": [ + "test-cluster-0", + "status", + "container_statuses", + 0, + "ready" + ] + }, + "root['test-cluster-0'][status][container_statuses][0][restart_count]": { + "prev": "NotPresent", + "curr": 0, + "path": [ + "test-cluster-0", + "status", + "container_statuses", + 0, + "restart_count" + ] + }, + "root['test-cluster-0'][status][container_statuses][0][started]": { + "prev": "NotPresent", + "curr": true, + "path": [ + "test-cluster-0", + "status", + "container_statuses", + 0, + "started" + ] + }, + "root['test-cluster-0'][status][container_statuses][0][state][running][started_at]": { + "prev": "NotPresent", + "curr": "2023-05-04T20:31:03+00:00", + "path": [ + "test-cluster-0", + "status", + "container_statuses", + 0, + "state", + "running", + "started_at" + ] + }, + "root['test-cluster-0'][status][host_ip]": { + "prev": "NotPresent", + "curr": "172.18.0.5", + "path": [ + "test-cluster-0", + "status", + "host_ip" + ] + }, + "root['test-cluster-0'][status][init_container_statuses][0][container_id]": { + "prev": "NotPresent", + "curr": "containerd://f6125d79ef93cf40968b0a21344b7b2704bc2357d4618d833121fcd757336057", + "path": [ + "test-cluster-0", + "status", + "init_container_statuses", + 0, + "container_id" + ] + }, + "root['test-cluster-0'][status][init_container_statuses][0][image]": { + "prev": "NotPresent", + "curr": "docker.io/cockroachdb/cockroach:v21.2.10", + "path": [ + "test-cluster-0", + "status", + "init_container_statuses", + 0, + "image" + ] + }, + "root['test-cluster-0'][status][init_container_statuses][0][image_id]": { + "prev": "NotPresent", + "curr": "docker.io/library/import-2023-05-04@sha256:070cca8c19ddf0ae6bc2bd88819e394fef6131b6cd44edb93847d703a068c29c", + "path": [ + "test-cluster-0", + "status", + "init_container_statuses", + 0, + "image_id" + ] + }, + "root['test-cluster-0'][status][init_container_statuses][0][name]": { + "prev": "NotPresent", + "curr": "db-init", + "path": [ + "test-cluster-0", + "status", + "init_container_statuses", + 0, + "name" + ] + }, + "root['test-cluster-0'][status][init_container_statuses][0][ready]": { + "prev": "NotPresent", + "curr": true, + "path": [ + "test-cluster-0", + "status", + "init_container_statuses", + 0, + "ready" + ] + }, + "root['test-cluster-0'][status][init_container_statuses][0][restart_count]": { + "prev": "NotPresent", + "curr": 0, + "path": [ + "test-cluster-0", + "status", + "init_container_statuses", + 0, + "restart_count" + ] + }, + "root['test-cluster-0'][status][init_container_statuses][0][state][terminated][container_id]": { + "prev": "NotPresent", + "curr": "containerd://f6125d79ef93cf40968b0a21344b7b2704bc2357d4618d833121fcd757336057", + "path": [ + "test-cluster-0", + "status", + "init_container_statuses", + 0, + "state", + "terminated", + "container_id" + ] + }, + "root['test-cluster-0'][status][init_container_statuses][0][state][terminated][exit_code]": { + "prev": "NotPresent", + "curr": 0, + "path": [ + "test-cluster-0", + "status", + "init_container_statuses", + 0, + "state", + "terminated", + "exit_code" + ] + }, + "root['test-cluster-0'][status][init_container_statuses][0][state][terminated][finished_at]": { + "prev": "NotPresent", + "curr": "2023-05-04T20:31:02+00:00", + "path": [ + "test-cluster-0", + "status", + "init_container_statuses", + 0, + "state", + "terminated", + "finished_at" + ] + }, + "root['test-cluster-0'][status][init_container_statuses][0][state][terminated][reason]": { + "prev": "NotPresent", + "curr": "Completed", + "path": [ + "test-cluster-0", + "status", + "init_container_statuses", + 0, + "state", + "terminated", + "reason" + ] + }, + "root['test-cluster-0'][status][init_container_statuses][0][state][terminated][started_at]": { + "prev": "NotPresent", + "curr": "2023-05-04T20:31:02+00:00", + "path": [ + "test-cluster-0", + "status", + "init_container_statuses", + 0, + "state", + "terminated", + "started_at" + ] + }, + "root['test-cluster-0'][status][phase]": { + "prev": "NotPresent", + "curr": "Running", + "path": [ + "test-cluster-0", + "status", + "phase" + ] + }, + "root['test-cluster-0'][status][pod_ip]": { + "prev": "NotPresent", + "curr": "10.244.3.4", + "path": [ + "test-cluster-0", + "status", + "pod_ip" + ] + }, + "root['test-cluster-0'][status][pod_i_ps][0][ip]": { + "prev": "NotPresent", + "curr": "10.244.3.4", + "path": [ + "test-cluster-0", + "status", + "pod_i_ps", + 0, + "ip" + ] + }, + "root['test-cluster-0'][status][qos_class]": { + "prev": "NotPresent", + "curr": "Burstable", + "path": [ + "test-cluster-0", + "status", + "qos_class" + ] + }, + "root['test-cluster-0'][status][start_time]": { + "prev": "NotPresent", + "curr": "2023-05-04T20:31:02+00:00", + "path": [ + "test-cluster-0", + "status", + "start_time" + ] + }, + "root['test-cluster-1'][metadata][creation_timestamp]": { + "prev": "NotPresent", + "curr": "2023-05-04T20:30:58+00:00", + "path": [ + "test-cluster-1", + "metadata", + "creation_timestamp" + ] + }, + "root['test-cluster-1'][metadata][generate_name]": { + "prev": "NotPresent", + "curr": "test-cluster-", + "path": [ + "test-cluster-1", + "metadata", + "generate_name" + ] + }, + "root['test-cluster-1'][metadata][labels][app.kubernetes.io/component]": { + "prev": "NotPresent", + "curr": "database", + "path": [ + "test-cluster-1", + "metadata", + "labels", + "app.kubernetes.io/component" + ] + }, + "root['test-cluster-1'][metadata][labels][app.kubernetes.io/instance]": { + "prev": "NotPresent", + "curr": "test-cluster", + "path": [ + "test-cluster-1", + "metadata", + "labels", + "app.kubernetes.io/instance" + ] + }, + "root['test-cluster-1'][metadata][labels][app.kubernetes.io/name]": { + "prev": "NotPresent", + "curr": "cockroachdb", + "path": [ + "test-cluster-1", + "metadata", + "labels", + "app.kubernetes.io/name" + ] + }, + "root['test-cluster-1'][metadata][labels][controller-revision-hash]": { + "prev": "NotPresent", + "curr": "test-cluster-76f9c78d88", + "path": [ + "test-cluster-1", + "metadata", + "labels", + "controller-revision-hash" + ] + }, + "root['test-cluster-1'][metadata][labels][crdb]": { + "prev": "NotPresent", + "curr": "is-cool", + "path": [ + "test-cluster-1", + "metadata", + "labels", + "crdb" + ] + }, + "root['test-cluster-1'][metadata][labels][statefulset.kubernetes.io/pod-name]": { + "prev": "NotPresent", + "curr": "test-cluster-1", + "path": [ + "test-cluster-1", + "metadata", + "labels", + "statefulset.kubernetes.io/pod-name" + ] + }, + "root['test-cluster-1'][metadata][managed_fields][0][api_version]": { + "prev": "NotPresent", + "curr": "v1", + "path": [ + "test-cluster-1", + "metadata", + "managed_fields", + 0, + "api_version" + ] + }, + "root['test-cluster-1'][metadata][managed_fields][0][fields_type]": { + "prev": "NotPresent", + "curr": "FieldsV1", + "path": [ + "test-cluster-1", + "metadata", + "managed_fields", + 0, + "fields_type" + ] + }, + "root['test-cluster-1'][metadata][managed_fields][0][manager]": { + "prev": "NotPresent", + "curr": "kube-controller-manager", + "path": [ + "test-cluster-1", + "metadata", + "managed_fields", + 0, + "manager" + ] + }, + "root['test-cluster-1'][metadata][managed_fields][0][operation]": { + "prev": "NotPresent", + "curr": "Update", + "path": [ + "test-cluster-1", + "metadata", + "managed_fields", + 0, + "operation" + ] + }, + "root['test-cluster-1'][metadata][managed_fields][0][time]": { + "prev": "NotPresent", + "curr": "2023-05-04T20:30:58+00:00", + "path": [ + "test-cluster-1", + "metadata", + "managed_fields", + 0, + "time" + ] + }, + "root['test-cluster-1'][metadata][managed_fields][1][api_version]": { + "prev": "NotPresent", + "curr": "v1", + "path": [ + "test-cluster-1", + "metadata", + "managed_fields", + 1, + "api_version" + ] + }, + "root['test-cluster-1'][metadata][managed_fields][1][fields_type]": { + "prev": "NotPresent", + "curr": "FieldsV1", + "path": [ + "test-cluster-1", + "metadata", + "managed_fields", + 1, + "fields_type" + ] + }, + "root['test-cluster-1'][metadata][managed_fields][1][manager]": { + "prev": "NotPresent", + "curr": "kubelet", + "path": [ + "test-cluster-1", + "metadata", + "managed_fields", + 1, + "manager" + ] + }, + "root['test-cluster-1'][metadata][managed_fields][1][operation]": { + "prev": "NotPresent", + "curr": "Update", + "path": [ + "test-cluster-1", + "metadata", + "managed_fields", + 1, + "operation" + ] + }, + "root['test-cluster-1'][metadata][managed_fields][1][subresource]": { + "prev": "NotPresent", + "curr": "status", + "path": [ + "test-cluster-1", + "metadata", + "managed_fields", + 1, + "subresource" + ] + }, + "root['test-cluster-1'][metadata][managed_fields][1][time]": { + "prev": "NotPresent", + "curr": "2023-05-04T20:31:21+00:00", + "path": [ + "test-cluster-1", + "metadata", + "managed_fields", + 1, + "time" + ] + }, + "root['test-cluster-1'][metadata][name]": { + "prev": "NotPresent", + "curr": "test-cluster-1", + "path": [ + "test-cluster-1", + "metadata", + "name" + ] + }, + "root['test-cluster-1'][metadata][namespace]": { + "prev": "NotPresent", + "curr": "cockroach-operator-system", + "path": [ + "test-cluster-1", + "metadata", + "namespace" + ] + }, + "root['test-cluster-1'][metadata][owner_references][0][api_version]": { + "prev": "NotPresent", + "curr": "apps/v1", + "path": [ + "test-cluster-1", + "metadata", + "owner_references", + 0, + "api_version" + ] + }, + "root['test-cluster-1'][metadata][owner_references][0][block_owner_deletion]": { + "prev": "NotPresent", + "curr": true, + "path": [ + "test-cluster-1", + "metadata", + "owner_references", + 0, + "block_owner_deletion" + ] + }, + "root['test-cluster-1'][metadata][owner_references][0][controller]": { + "prev": "NotPresent", + "curr": true, + "path": [ + "test-cluster-1", + "metadata", + "owner_references", + 0, + "controller" + ] + }, + "root['test-cluster-1'][metadata][owner_references][0][kind]": { + "prev": "NotPresent", + "curr": "StatefulSet", + "path": [ + "test-cluster-1", + "metadata", + "owner_references", + 0, + "kind" + ] + }, + "root['test-cluster-1'][metadata][owner_references][0][name]": { + "prev": "NotPresent", + "curr": "test-cluster", + "path": [ + "test-cluster-1", + "metadata", + "owner_references", + 0, + "name" + ] + }, + "root['test-cluster-1'][metadata][owner_references][0][uid]": { + "prev": "NotPresent", + "curr": "f53f5464-2142-4d42-8f5b-bdd30e5c1acf", + "path": [ + "test-cluster-1", + "metadata", + "owner_references", + 0, + "uid" + ] + }, + "root['test-cluster-1'][metadata][resource_version]": { + "prev": "NotPresent", + "curr": "1047", + "path": [ + "test-cluster-1", + "metadata", + "resource_version" + ] + }, + "root['test-cluster-1'][metadata][uid]": { + "prev": "NotPresent", + "curr": "cc1555b0-c26a-4b7b-bec4-c44b82760466", + "path": [ + "test-cluster-1", + "metadata", + "uid" + ] + }, + "root['test-cluster-1'][spec][automount_service_account_token]": { + "prev": "NotPresent", + "curr": false, + "path": [ + "test-cluster-1", + "spec", + "automount_service_account_token" + ] + }, + "root['test-cluster-1'][spec][containers][0][command][0]": { + "prev": "NotPresent", + "curr": "/bin/bash", + "path": [ + "test-cluster-1", + "spec", + "containers", + 0, + "command", + 0 + ] + }, + "root['test-cluster-1'][spec][containers][0][command][1]": { + "prev": "NotPresent", + "curr": "-ecx", + "path": [ + "test-cluster-1", + "spec", + "containers", + 0, + "command", + 1 + ] + }, + "root['test-cluster-1'][spec][containers][0][command][2]": { + "prev": "NotPresent", + "curr": "exec /cockroach/cockroach.sh start --advertise-host=$(POD_NAME).test-cluster.cockroach-operator-system --certs-dir=/cockroach/cockroach-certs/ --http-port=8080 --sql-addr=:26257 --listen-addr=:26258 --log=\"{sinks: {stderr: {channels: [OPS, HEALTH], redact: true}}}\" --cache $(expr $MEMORY_LIMIT_MIB / 4)MiB --max-sql-memory $(expr $MEMORY_LIMIT_MIB / 4)MiB --join=test-cluster-0.test-cluster.cockroach-operator-system:26258,test-cluster-1.test-cluster.cockroach-operator-system:26258,test-cluster-2.test-cluster.cockroach-operator-system:26258", + "path": [ + "test-cluster-1", + "spec", + "containers", + 0, + "command", + 2 + ] + }, + "root['test-cluster-1'][spec][containers][0][env][0][name]": { + "prev": "NotPresent", + "curr": "COCKROACH_CHANNEL", + "path": [ + "test-cluster-1", + "spec", + "containers", + 0, + "env", + 0, + "name" + ] + }, + "root['test-cluster-1'][spec][containers][0][env][0][value]": { + "prev": "NotPresent", + "curr": "kubernetes-operator-unknown", + "path": [ + "test-cluster-1", + "spec", + "containers", + 0, + "env", + 0, + "value" + ] + }, + "root['test-cluster-1'][spec][containers][0][env][1][name]": { + "prev": "NotPresent", + "curr": "POD_NAME", + "path": [ + "test-cluster-1", + "spec", + "containers", + 0, + "env", + 1, + "name" + ] + }, + "root['test-cluster-1'][spec][containers][0][env][1][value_from][field_ref][api_version]": { + "prev": "NotPresent", + "curr": "v1", + "path": [ + "test-cluster-1", + "spec", + "containers", + 0, + "env", + 1, + "value_from", + "field_ref", + "api_version" + ] + }, + "root['test-cluster-1'][spec][containers][0][env][1][value_from][field_ref][field_path]": { + "prev": "NotPresent", + "curr": "metadata.name", + "path": [ + "test-cluster-1", + "spec", + "containers", + 0, + "env", + 1, + "value_from", + "field_ref", + "field_path" + ] + }, + "root['test-cluster-1'][spec][containers][0][env][2][name]": { + "prev": "NotPresent", + "curr": "GOMAXPROCS", + "path": [ + "test-cluster-1", + "spec", + "containers", + 0, + "env", + 2, + "name" + ] + }, + "root['test-cluster-1'][spec][containers][0][env][2][value_from][resource_field_ref][divisor]": { + "prev": "NotPresent", + "curr": "1", + "path": [ + "test-cluster-1", + "spec", + "containers", + 0, + "env", + 2, + "value_from", + "resource_field_ref", + "divisor" + ] + }, + "root['test-cluster-1'][spec][containers][0][env][2][value_from][resource_field_ref][resource]": { + "prev": "NotPresent", + "curr": "limits.cpu", + "path": [ + "test-cluster-1", + "spec", + "containers", + 0, + "env", + 2, + "value_from", + "resource_field_ref", + "resource" + ] + }, + "root['test-cluster-1'][spec][containers][0][env][3][name]": { + "prev": "NotPresent", + "curr": "MEMORY_LIMIT_MIB", + "path": [ + "test-cluster-1", + "spec", + "containers", + 0, + "env", + 3, + "name" + ] + }, + "root['test-cluster-1'][spec][containers][0][env][3][value_from][resource_field_ref][divisor]": { + "prev": "NotPresent", + "curr": "1Mi", + "path": [ + "test-cluster-1", + "spec", + "containers", + 0, + "env", + 3, + "value_from", + "resource_field_ref", + "divisor" + ] + }, + "root['test-cluster-1'][spec][containers][0][env][3][value_from][resource_field_ref][resource]": { + "prev": "NotPresent", + "curr": "limits.memory", + "path": [ + "test-cluster-1", + "spec", + "containers", + 0, + "env", + 3, + "value_from", + "resource_field_ref", + "resource" + ] + }, + "root['test-cluster-1'][spec][containers][0][image]": { + "prev": "NotPresent", + "curr": "cockroachdb/cockroach:v21.2.10", + "path": [ + "test-cluster-1", + "spec", + "containers", + 0, + "image" + ] + }, + "root['test-cluster-1'][spec][containers][0][image_pull_policy]": { + "prev": "NotPresent", + "curr": "IfNotPresent", + "path": [ + "test-cluster-1", + "spec", + "containers", + 0, + "image_pull_policy" + ] + }, + "root['test-cluster-1'][spec][containers][0][lifecycle][pre_stop][_exec][command][0]": { + "prev": "NotPresent", + "curr": "sh", + "path": [ + "test-cluster-1", + "spec", + "containers", + 0, + "lifecycle", + "pre_stop", + "_exec", + "command", + 0 + ] + }, + "root['test-cluster-1'][spec][containers][0][lifecycle][pre_stop][_exec][command][1]": { + "prev": "NotPresent", + "curr": "-c", + "path": [ + "test-cluster-1", + "spec", + "containers", + 0, + "lifecycle", + "pre_stop", + "_exec", + "command", + 1 + ] + }, + "root['test-cluster-1'][spec][containers][0][lifecycle][pre_stop][_exec][command][2]": { + "prev": "NotPresent", + "curr": "/cockroach/cockroach node drain --certs-dir=/cockroach/cockroach-certs/ || exit 0", + "path": [ + "test-cluster-1", + "spec", + "containers", + 0, + "lifecycle", + "pre_stop", + "_exec", + "command", + 2 + ] + }, + "root['test-cluster-1'][spec][containers][0][name]": { + "prev": "NotPresent", + "curr": "db", + "path": [ + "test-cluster-1", + "spec", + "containers", + 0, + "name" + ] + }, + "root['test-cluster-1'][spec][containers][0][ports][0][container_port]": { + "prev": "NotPresent", + "curr": 26258, + "path": [ + "test-cluster-1", + "spec", + "containers", + 0, + "ports", + 0, + "container_port" + ] + }, + "root['test-cluster-1'][spec][containers][0][ports][0][name]": { + "prev": "NotPresent", + "curr": "grpc", + "path": [ + "test-cluster-1", + "spec", + "containers", + 0, + "ports", + 0, + "name" + ] + }, + "root['test-cluster-1'][spec][containers][0][ports][0][protocol]": { + "prev": "NotPresent", + "curr": "TCP", + "path": [ + "test-cluster-1", + "spec", + "containers", + 0, + "ports", + 0, + "protocol" + ] + }, + "root['test-cluster-1'][spec][containers][0][ports][1][container_port]": { + "prev": "NotPresent", + "curr": 8080, + "path": [ + "test-cluster-1", + "spec", + "containers", + 0, + "ports", + 1, + "container_port" + ] + }, + "root['test-cluster-1'][spec][containers][0][ports][1][name]": { + "prev": "NotPresent", + "curr": "http", + "path": [ + "test-cluster-1", + "spec", + "containers", + 0, + "ports", + 1, + "name" + ] + }, + "root['test-cluster-1'][spec][containers][0][ports][1][protocol]": { + "prev": "NotPresent", + "curr": "TCP", + "path": [ + "test-cluster-1", + "spec", + "containers", + 0, + "ports", + 1, + "protocol" + ] + }, + "root['test-cluster-1'][spec][containers][0][ports][2][container_port]": { + "prev": "NotPresent", + "curr": 26257, + "path": [ + "test-cluster-1", + "spec", + "containers", + 0, + "ports", + 2, + "container_port" + ] + }, + "root['test-cluster-1'][spec][containers][0][ports][2][name]": { + "prev": "NotPresent", + "curr": "sql", + "path": [ + "test-cluster-1", + "spec", + "containers", + 0, + "ports", + 2, + "name" + ] + }, + "root['test-cluster-1'][spec][containers][0][ports][2][protocol]": { + "prev": "NotPresent", + "curr": "TCP", + "path": [ + "test-cluster-1", + "spec", + "containers", + 0, + "ports", + 2, + "protocol" + ] + }, + "root['test-cluster-1'][spec][containers][0][readiness_probe][failure_threshold]": { + "prev": "NotPresent", + "curr": 2, + "path": [ + "test-cluster-1", + "spec", + "containers", + 0, + "readiness_probe", + "failure_threshold" + ] + }, + "root['test-cluster-1'][spec][containers][0][readiness_probe][http_get][path]": { + "prev": "NotPresent", + "curr": "/health?ready=1", + "path": [ + "test-cluster-1", + "spec", + "containers", + 0, + "readiness_probe", + "http_get", + "path" + ] + }, + "root['test-cluster-1'][spec][containers][0][readiness_probe][http_get][port]": { + "prev": "NotPresent", + "curr": "http", + "path": [ + "test-cluster-1", + "spec", + "containers", + 0, + "readiness_probe", + "http_get", + "port" + ] + }, + "root['test-cluster-1'][spec][containers][0][readiness_probe][http_get][scheme]": { + "prev": "NotPresent", + "curr": "HTTPS", + "path": [ + "test-cluster-1", + "spec", + "containers", + 0, + "readiness_probe", + "http_get", + "scheme" + ] + }, + "root['test-cluster-1'][spec][containers][0][readiness_probe][initial_delay_seconds]": { + "prev": "NotPresent", + "curr": 10, + "path": [ + "test-cluster-1", + "spec", + "containers", + 0, + "readiness_probe", + "initial_delay_seconds" + ] + }, + "root['test-cluster-1'][spec][containers][0][readiness_probe][period_seconds]": { + "prev": "NotPresent", + "curr": 5, + "path": [ + "test-cluster-1", + "spec", + "containers", + 0, + "readiness_probe", + "period_seconds" + ] + }, + "root['test-cluster-1'][spec][containers][0][readiness_probe][success_threshold]": { + "prev": "NotPresent", + "curr": 1, + "path": [ + "test-cluster-1", + "spec", + "containers", + 0, + "readiness_probe", + "success_threshold" + ] + }, + "root['test-cluster-1'][spec][containers][0][readiness_probe][timeout_seconds]": { + "prev": "NotPresent", + "curr": 1, + "path": [ + "test-cluster-1", + "spec", + "containers", + 0, + "readiness_probe", + "timeout_seconds" + ] + }, + "root['test-cluster-1'][spec][containers][0][resources][limits][cpu]": { + "prev": "NotPresent", + "curr": "2", + "path": [ + "test-cluster-1", + "spec", + "containers", + 0, + "resources", + "limits", + "cpu" + ] + }, + "root['test-cluster-1'][spec][containers][0][resources][limits][memory]": { + "prev": "NotPresent", + "curr": "2Gi", + "path": [ + "test-cluster-1", + "spec", + "containers", + 0, + "resources", + "limits", + "memory" + ] + }, + "root['test-cluster-1'][spec][containers][0][resources][requests][cpu]": { + "prev": "NotPresent", + "curr": "100m", + "path": [ + "test-cluster-1", + "spec", + "containers", + 0, + "resources", + "requests", + "cpu" + ] + }, + "root['test-cluster-1'][spec][containers][0][resources][requests][memory]": { + "prev": "NotPresent", + "curr": "1Gi", + "path": [ + "test-cluster-1", + "spec", + "containers", + 0, + "resources", + "requests", + "memory" + ] + }, + "root['test-cluster-1'][spec][containers][0][termination_message_path]": { + "prev": "NotPresent", + "curr": "/dev/termination-log", + "path": [ + "test-cluster-1", + "spec", + "containers", + 0, + "termination_message_path" + ] + }, + "root['test-cluster-1'][spec][containers][0][termination_message_policy]": { + "prev": "NotPresent", + "curr": "File", + "path": [ + "test-cluster-1", + "spec", + "containers", + 0, + "termination_message_policy" + ] + }, + "root['test-cluster-1'][spec][containers][0][volume_mounts][0][mount_path]": { + "prev": "NotPresent", + "curr": "/cockroach/cockroach-data/", + "path": [ + "test-cluster-1", + "spec", + "containers", + 0, + "volume_mounts", + 0, + "mount_path" + ] + }, + "root['test-cluster-1'][spec][containers][0][volume_mounts][0][name]": { + "prev": "NotPresent", + "curr": "datadir", + "path": [ + "test-cluster-1", + "spec", + "containers", + 0, + "volume_mounts", + 0, + "name" + ] + }, + "root['test-cluster-1'][spec][containers][0][volume_mounts][1][mount_path]": { + "prev": "NotPresent", + "curr": "/cockroach/cockroach-certs/", + "path": [ + "test-cluster-1", + "spec", + "containers", + 0, + "volume_mounts", + 1, + "mount_path" + ] + }, + "root['test-cluster-1'][spec][containers][0][volume_mounts][1][name]": { + "prev": "NotPresent", + "curr": "emptydir", + "path": [ + "test-cluster-1", + "spec", + "containers", + 0, + "volume_mounts", + 1, + "name" + ] + }, + "root['test-cluster-1'][spec][dns_policy]": { + "prev": "NotPresent", + "curr": "ClusterFirst", + "path": [ + "test-cluster-1", + "spec", + "dns_policy" + ] + }, + "root['test-cluster-1'][spec][enable_service_links]": { + "prev": "NotPresent", + "curr": true, + "path": [ + "test-cluster-1", + "spec", + "enable_service_links" + ] + }, + "root['test-cluster-1'][spec][hostname]": { + "prev": "NotPresent", + "curr": "test-cluster-1", + "path": [ + "test-cluster-1", + "spec", + "hostname" + ] + }, + "root['test-cluster-1'][spec][init_containers][0][command][0]": { + "prev": "NotPresent", + "curr": "/bin/sh", + "path": [ + "test-cluster-1", + "spec", + "init_containers", + 0, + "command", + 0 + ] + }, + "root['test-cluster-1'][spec][init_containers][0][command][1]": { + "prev": "NotPresent", + "curr": "-c", + "path": [ + "test-cluster-1", + "spec", + "init_containers", + 0, + "command", + 1 + ] + }, + "root['test-cluster-1'][spec][init_containers][0][command][2]": { + "prev": "NotPresent", + "curr": ">- cp -p /cockroach/cockroach-certs-prestage/..data/* /cockroach/cockroach-certs/ && chmod 700 /cockroach/cockroach-certs/*.key && chown 1000581000:1000581000 /cockroach/cockroach-certs/*.key", + "path": [ + "test-cluster-1", + "spec", + "init_containers", + 0, + "command", + 2 + ] + }, + "root['test-cluster-1'][spec][init_containers][0][image]": { + "prev": "NotPresent", + "curr": "cockroachdb/cockroach:v21.2.10", + "path": [ + "test-cluster-1", + "spec", + "init_containers", + 0, + "image" + ] + }, + "root['test-cluster-1'][spec][init_containers][0][image_pull_policy]": { + "prev": "NotPresent", + "curr": "IfNotPresent", + "path": [ + "test-cluster-1", + "spec", + "init_containers", + 0, + "image_pull_policy" + ] + }, + "root['test-cluster-1'][spec][init_containers][0][name]": { + "prev": "NotPresent", + "curr": "db-init", + "path": [ + "test-cluster-1", + "spec", + "init_containers", + 0, + "name" + ] + }, + "root['test-cluster-1'][spec][init_containers][0][security_context][allow_privilege_escalation]": { + "prev": "NotPresent", + "curr": false, + "path": [ + "test-cluster-1", + "spec", + "init_containers", + 0, + "security_context", + "allow_privilege_escalation" + ] + }, + "root['test-cluster-1'][spec][init_containers][0][security_context][run_as_user]": { + "prev": "NotPresent", + "curr": 0, + "path": [ + "test-cluster-1", + "spec", + "init_containers", + 0, + "security_context", + "run_as_user" + ] + }, + "root['test-cluster-1'][spec][init_containers][0][termination_message_path]": { + "prev": "NotPresent", + "curr": "/dev/termination-log", + "path": [ + "test-cluster-1", + "spec", + "init_containers", + 0, + "termination_message_path" + ] + }, + "root['test-cluster-1'][spec][init_containers][0][termination_message_policy]": { + "prev": "NotPresent", + "curr": "File", + "path": [ + "test-cluster-1", + "spec", + "init_containers", + 0, + "termination_message_policy" + ] + }, + "root['test-cluster-1'][spec][init_containers][0][volume_mounts][0][mount_path]": { + "prev": "NotPresent", + "curr": "/cockroach/cockroach-certs-prestage/", + "path": [ + "test-cluster-1", + "spec", + "init_containers", + 0, + "volume_mounts", + 0, + "mount_path" + ] + }, + "root['test-cluster-1'][spec][init_containers][0][volume_mounts][0][name]": { + "prev": "NotPresent", + "curr": "certs", + "path": [ + "test-cluster-1", + "spec", + "init_containers", + 0, + "volume_mounts", + 0, + "name" + ] + }, + "root['test-cluster-1'][spec][init_containers][0][volume_mounts][1][mount_path]": { + "prev": "NotPresent", + "curr": "/cockroach/cockroach-certs/", + "path": [ + "test-cluster-1", + "spec", + "init_containers", + 0, + "volume_mounts", + 1, + "mount_path" + ] + }, + "root['test-cluster-1'][spec][init_containers][0][volume_mounts][1][name]": { + "prev": "NotPresent", + "curr": "emptydir", + "path": [ + "test-cluster-1", + "spec", + "init_containers", + 0, + "volume_mounts", + 1, + "name" + ] + }, + "root['test-cluster-1'][spec][node_name]": { + "prev": "NotPresent", + "curr": "acto-cluster-0-worker3", + "path": [ + "test-cluster-1", + "spec", + "node_name" + ] + }, + "root['test-cluster-1'][spec][preemption_policy]": { + "prev": "NotPresent", + "curr": "PreemptLowerPriority", + "path": [ + "test-cluster-1", + "spec", + "preemption_policy" + ] + }, + "root['test-cluster-1'][spec][priority]": { + "prev": "NotPresent", + "curr": 0, + "path": [ + "test-cluster-1", + "spec", + "priority" + ] + }, + "root['test-cluster-1'][spec][restart_policy]": { + "prev": "NotPresent", + "curr": "Always", + "path": [ + "test-cluster-1", + "spec", + "restart_policy" + ] + }, + "root['test-cluster-1'][spec][scheduler_name]": { + "prev": "NotPresent", + "curr": "default-scheduler", + "path": [ + "test-cluster-1", + "spec", + "scheduler_name" + ] + }, + "root['test-cluster-1'][spec][security_context][fs_group]": { + "prev": "NotPresent", + "curr": 1000581000, + "path": [ + "test-cluster-1", + "spec", + "security_context", + "fs_group" + ] + }, + "root['test-cluster-1'][spec][security_context][run_as_user]": { + "prev": "NotPresent", + "curr": 1000581000, + "path": [ + "test-cluster-1", + "spec", + "security_context", + "run_as_user" + ] + }, + "root['test-cluster-1'][spec][service_account]": { + "prev": "NotPresent", + "curr": "test-cluster-sa", + "path": [ + "test-cluster-1", + "spec", + "service_account" + ] + }, + "root['test-cluster-1'][spec][service_account_name]": { + "prev": "NotPresent", + "curr": "test-cluster-sa", + "path": [ + "test-cluster-1", + "spec", + "service_account_name" + ] + }, + "root['test-cluster-1'][spec][subdomain]": { + "prev": "NotPresent", + "curr": "test-cluster", + "path": [ + "test-cluster-1", + "spec", + "subdomain" + ] + }, + "root['test-cluster-1'][spec][termination_grace_period_seconds]": { + "prev": "NotPresent", + "curr": 300, + "path": [ + "test-cluster-1", + "spec", + "termination_grace_period_seconds" + ] + }, + "root['test-cluster-1'][spec][tolerations][0][effect]": { + "prev": "NotPresent", + "curr": "NoExecute", + "path": [ + "test-cluster-1", + "spec", + "tolerations", + 0, + "effect" + ] + }, + "root['test-cluster-1'][spec][tolerations][0][key]": { + "prev": "NotPresent", + "curr": "node.kubernetes.io/not-ready", + "path": [ + "test-cluster-1", + "spec", + "tolerations", + 0, + "key" + ] + }, + "root['test-cluster-1'][spec][tolerations][0][operator]": { + "prev": "NotPresent", + "curr": "Exists", + "path": [ + "test-cluster-1", + "spec", + "tolerations", + 0, + "operator" + ] + }, + "root['test-cluster-1'][spec][tolerations][0][toleration_seconds]": { + "prev": "NotPresent", + "curr": 300, + "path": [ + "test-cluster-1", + "spec", + "tolerations", + 0, + "toleration_seconds" + ] + }, + "root['test-cluster-1'][spec][tolerations][1][effect]": { + "prev": "NotPresent", + "curr": "NoExecute", + "path": [ + "test-cluster-1", + "spec", + "tolerations", + 1, + "effect" + ] + }, + "root['test-cluster-1'][spec][tolerations][1][key]": { + "prev": "NotPresent", + "curr": "node.kubernetes.io/unreachable", + "path": [ + "test-cluster-1", + "spec", + "tolerations", + 1, + "key" + ] + }, + "root['test-cluster-1'][spec][tolerations][1][operator]": { + "prev": "NotPresent", + "curr": "Exists", + "path": [ + "test-cluster-1", + "spec", + "tolerations", + 1, + "operator" + ] + }, + "root['test-cluster-1'][spec][tolerations][1][toleration_seconds]": { + "prev": "NotPresent", + "curr": 300, + "path": [ + "test-cluster-1", + "spec", + "tolerations", + 1, + "toleration_seconds" + ] + }, + "root['test-cluster-1'][spec][volumes][0][name]": { + "prev": "NotPresent", + "curr": "datadir", + "path": [ + "test-cluster-1", + "spec", + "volumes", + 0, + "name" + ] + }, + "root['test-cluster-1'][spec][volumes][0][persistent_volume_claim][claim_name]": { + "prev": "NotPresent", + "curr": "datadir-test-cluster-1", + "path": [ + "test-cluster-1", + "spec", + "volumes", + 0, + "persistent_volume_claim", + "claim_name" + ] + }, + "root['test-cluster-1'][spec][volumes][1][name]": { + "prev": "NotPresent", + "curr": "emptydir", + "path": [ + "test-cluster-1", + "spec", + "volumes", + 1, + "name" + ] + }, + "root['test-cluster-1'][spec][volumes][2][name]": { + "prev": "NotPresent", + "curr": "certs", + "path": [ + "test-cluster-1", + "spec", + "volumes", + 2, + "name" + ] + }, + "root['test-cluster-1'][spec][volumes][2][projected][default_mode]": { + "prev": "NotPresent", + "curr": 400, + "path": [ + "test-cluster-1", + "spec", + "volumes", + 2, + "projected", + "default_mode" + ] + }, + "root['test-cluster-1'][spec][volumes][2][projected][sources][0][secret][items][0][key]": { + "prev": "NotPresent", + "curr": "ca.crt", + "path": [ + "test-cluster-1", + "spec", + "volumes", + 2, + "projected", + "sources", + 0, + "secret", + "items", + 0, + "key" + ] + }, + "root['test-cluster-1'][spec][volumes][2][projected][sources][0][secret][items][0][mode]": { + "prev": "NotPresent", + "curr": 504, + "path": [ + "test-cluster-1", + "spec", + "volumes", + 2, + "projected", + "sources", + 0, + "secret", + "items", + 0, + "mode" + ] + }, + "root['test-cluster-1'][spec][volumes][2][projected][sources][0][secret][items][0][path]": { + "prev": "NotPresent", + "curr": "ca.crt", + "path": [ + "test-cluster-1", + "spec", + "volumes", + 2, + "projected", + "sources", + 0, + "secret", + "items", + 0, + "path" + ] + }, + "root['test-cluster-1'][spec][volumes][2][projected][sources][0][secret][items][1][key]": { + "prev": "NotPresent", + "curr": "tls.crt", + "path": [ + "test-cluster-1", + "spec", + "volumes", + 2, + "projected", + "sources", + 0, + "secret", + "items", + 1, + "key" + ] + }, + "root['test-cluster-1'][spec][volumes][2][projected][sources][0][secret][items][1][mode]": { + "prev": "NotPresent", + "curr": 504, + "path": [ + "test-cluster-1", + "spec", + "volumes", + 2, + "projected", + "sources", + 0, + "secret", + "items", + 1, + "mode" + ] + }, + "root['test-cluster-1'][spec][volumes][2][projected][sources][0][secret][items][1][path]": { + "prev": "NotPresent", + "curr": "node.crt", + "path": [ + "test-cluster-1", + "spec", + "volumes", + 2, + "projected", + "sources", + 0, + "secret", + "items", + 1, + "path" + ] + }, + "root['test-cluster-1'][spec][volumes][2][projected][sources][0][secret][items][2][key]": { + "prev": "NotPresent", + "curr": "tls.key", + "path": [ + "test-cluster-1", + "spec", + "volumes", + 2, + "projected", + "sources", + 0, + "secret", + "items", + 2, + "key" + ] + }, + "root['test-cluster-1'][spec][volumes][2][projected][sources][0][secret][items][2][mode]": { + "prev": "NotPresent", + "curr": 400, + "path": [ + "test-cluster-1", + "spec", + "volumes", + 2, + "projected", + "sources", + 0, + "secret", + "items", + 2, + "mode" + ] + }, + "root['test-cluster-1'][spec][volumes][2][projected][sources][0][secret][items][2][path]": { + "prev": "NotPresent", + "curr": "node.key", + "path": [ + "test-cluster-1", + "spec", + "volumes", + 2, + "projected", + "sources", + 0, + "secret", + "items", + 2, + "path" + ] + }, + "root['test-cluster-1'][spec][volumes][2][projected][sources][0][secret][name]": { + "prev": "NotPresent", + "curr": "test-cluster-node", + "path": [ + "test-cluster-1", + "spec", + "volumes", + 2, + "projected", + "sources", + 0, + "secret", + "name" + ] + }, + "root['test-cluster-1'][spec][volumes][2][projected][sources][1][secret][items][0][key]": { + "prev": "NotPresent", + "curr": "tls.crt", + "path": [ + "test-cluster-1", + "spec", + "volumes", + 2, + "projected", + "sources", + 1, + "secret", + "items", + 0, + "key" + ] + }, + "root['test-cluster-1'][spec][volumes][2][projected][sources][1][secret][items][0][mode]": { + "prev": "NotPresent", + "curr": 504, + "path": [ + "test-cluster-1", + "spec", + "volumes", + 2, + "projected", + "sources", + 1, + "secret", + "items", + 0, + "mode" + ] + }, + "root['test-cluster-1'][spec][volumes][2][projected][sources][1][secret][items][0][path]": { + "prev": "NotPresent", + "curr": "client.root.crt", + "path": [ + "test-cluster-1", + "spec", + "volumes", + 2, + "projected", + "sources", + 1, + "secret", + "items", + 0, + "path" + ] + }, + "root['test-cluster-1'][spec][volumes][2][projected][sources][1][secret][items][1][key]": { + "prev": "NotPresent", + "curr": "tls.key", + "path": [ + "test-cluster-1", + "spec", + "volumes", + 2, + "projected", + "sources", + 1, + "secret", + "items", + 1, + "key" + ] + }, + "root['test-cluster-1'][spec][volumes][2][projected][sources][1][secret][items][1][mode]": { + "prev": "NotPresent", + "curr": 400, + "path": [ + "test-cluster-1", + "spec", + "volumes", + 2, + "projected", + "sources", + 1, + "secret", + "items", + 1, + "mode" + ] + }, + "root['test-cluster-1'][spec][volumes][2][projected][sources][1][secret][items][1][path]": { + "prev": "NotPresent", + "curr": "client.root.key", + "path": [ + "test-cluster-1", + "spec", + "volumes", + 2, + "projected", + "sources", + 1, + "secret", + "items", + 1, + "path" + ] + }, + "root['test-cluster-1'][spec][volumes][2][projected][sources][1][secret][name]": { + "prev": "NotPresent", + "curr": "test-cluster-root", + "path": [ + "test-cluster-1", + "spec", + "volumes", + 2, + "projected", + "sources", + 1, + "secret", + "name" + ] + }, + "root['test-cluster-1'][status][conditions][0][last_transition_time]": { + "prev": "NotPresent", + "curr": "2023-05-04T20:31:01+00:00", + "path": [ + "test-cluster-1", + "status", + "conditions", + 0, + "last_transition_time" + ] + }, + "root['test-cluster-1'][status][conditions][0][status]": { + "prev": "NotPresent", + "curr": "True", + "path": [ + "test-cluster-1", + "status", + "conditions", + 0, + "status" + ] + }, + "root['test-cluster-1'][status][conditions][0][type]": { + "prev": "NotPresent", + "curr": "Initialized", + "path": [ + "test-cluster-1", + "status", + "conditions", + 0, + "type" + ] + }, + "root['test-cluster-1'][status][conditions][1][last_transition_time]": { + "prev": "NotPresent", + "curr": "2023-05-04T20:31:21+00:00", + "path": [ + "test-cluster-1", + "status", + "conditions", + 1, + "last_transition_time" + ] + }, + "root['test-cluster-1'][status][conditions][1][status]": { + "prev": "NotPresent", + "curr": "True", + "path": [ + "test-cluster-1", + "status", + "conditions", + 1, + "status" + ] + }, + "root['test-cluster-1'][status][conditions][1][type]": { + "prev": "NotPresent", + "curr": "Ready", + "path": [ + "test-cluster-1", + "status", + "conditions", + 1, + "type" + ] + }, + "root['test-cluster-1'][status][conditions][2][last_transition_time]": { + "prev": "NotPresent", + "curr": "2023-05-04T20:31:21+00:00", + "path": [ + "test-cluster-1", + "status", + "conditions", + 2, + "last_transition_time" + ] + }, + "root['test-cluster-1'][status][conditions][2][status]": { + "prev": "NotPresent", + "curr": "True", + "path": [ + "test-cluster-1", + "status", + "conditions", + 2, + "status" + ] + }, + "root['test-cluster-1'][status][conditions][2][type]": { + "prev": "NotPresent", + "curr": "ContainersReady", + "path": [ + "test-cluster-1", + "status", + "conditions", + 2, + "type" + ] + }, + "root['test-cluster-1'][status][conditions][3][last_transition_time]": { + "prev": "NotPresent", + "curr": "2023-05-04T20:31:01+00:00", + "path": [ + "test-cluster-1", + "status", + "conditions", + 3, + "last_transition_time" + ] + }, + "root['test-cluster-1'][status][conditions][3][status]": { + "prev": "NotPresent", + "curr": "True", + "path": [ + "test-cluster-1", + "status", + "conditions", + 3, + "status" + ] + }, + "root['test-cluster-1'][status][conditions][3][type]": { + "prev": "NotPresent", + "curr": "PodScheduled", + "path": [ + "test-cluster-1", + "status", + "conditions", + 3, + "type" + ] + }, + "root['test-cluster-1'][status][container_statuses][0][container_id]": { + "prev": "NotPresent", + "curr": "containerd://ca7b7418474ee28fca7677e704f5a109803bbdb7ce6872353e6e921433be08a8", + "path": [ + "test-cluster-1", + "status", + "container_statuses", + 0, + "container_id" + ] + }, + "root['test-cluster-1'][status][container_statuses][0][image]": { + "prev": "NotPresent", + "curr": "docker.io/cockroachdb/cockroach:v21.2.10", + "path": [ + "test-cluster-1", + "status", + "container_statuses", + 0, + "image" + ] + }, + "root['test-cluster-1'][status][container_statuses][0][image_id]": { + "prev": "NotPresent", + "curr": "docker.io/library/import-2023-05-04@sha256:070cca8c19ddf0ae6bc2bd88819e394fef6131b6cd44edb93847d703a068c29c", + "path": [ + "test-cluster-1", + "status", + "container_statuses", + 0, + "image_id" + ] + }, + "root['test-cluster-1'][status][container_statuses][0][name]": { + "prev": "NotPresent", + "curr": "db", + "path": [ + "test-cluster-1", + "status", + "container_statuses", + 0, + "name" + ] + }, + "root['test-cluster-1'][status][container_statuses][0][ready]": { + "prev": "NotPresent", + "curr": true, + "path": [ + "test-cluster-1", + "status", + "container_statuses", + 0, + "ready" + ] + }, + "root['test-cluster-1'][status][container_statuses][0][restart_count]": { + "prev": "NotPresent", + "curr": 0, + "path": [ + "test-cluster-1", + "status", + "container_statuses", + 0, + "restart_count" + ] + }, + "root['test-cluster-1'][status][container_statuses][0][started]": { + "prev": "NotPresent", + "curr": true, + "path": [ + "test-cluster-1", + "status", + "container_statuses", + 0, + "started" + ] + }, + "root['test-cluster-1'][status][container_statuses][0][state][running][started_at]": { + "prev": "NotPresent", + "curr": "2023-05-04T20:31:01+00:00", + "path": [ + "test-cluster-1", + "status", + "container_statuses", + 0, + "state", + "running", + "started_at" + ] + }, + "root['test-cluster-1'][status][host_ip]": { + "prev": "NotPresent", + "curr": "172.18.0.3", + "path": [ + "test-cluster-1", + "status", + "host_ip" + ] + }, + "root['test-cluster-1'][status][init_container_statuses][0][container_id]": { + "prev": "NotPresent", + "curr": "containerd://52c32f9d159a546b0ed1baa3b717c7cff2b21f35e28b5a587e41e92b29323f50", + "path": [ + "test-cluster-1", + "status", + "init_container_statuses", + 0, + "container_id" + ] + }, + "root['test-cluster-1'][status][init_container_statuses][0][image]": { + "prev": "NotPresent", + "curr": "docker.io/cockroachdb/cockroach:v21.2.10", + "path": [ + "test-cluster-1", + "status", + "init_container_statuses", + 0, + "image" + ] + }, + "root['test-cluster-1'][status][init_container_statuses][0][image_id]": { + "prev": "NotPresent", + "curr": "docker.io/library/import-2023-05-04@sha256:070cca8c19ddf0ae6bc2bd88819e394fef6131b6cd44edb93847d703a068c29c", + "path": [ + "test-cluster-1", + "status", + "init_container_statuses", + 0, + "image_id" + ] + }, + "root['test-cluster-1'][status][init_container_statuses][0][name]": { + "prev": "NotPresent", + "curr": "db-init", + "path": [ + "test-cluster-1", + "status", + "init_container_statuses", + 0, + "name" + ] + }, + "root['test-cluster-1'][status][init_container_statuses][0][ready]": { + "prev": "NotPresent", + "curr": true, + "path": [ + "test-cluster-1", + "status", + "init_container_statuses", + 0, + "ready" + ] + }, + "root['test-cluster-1'][status][init_container_statuses][0][restart_count]": { + "prev": "NotPresent", + "curr": 0, + "path": [ + "test-cluster-1", + "status", + "init_container_statuses", + 0, + "restart_count" + ] + }, + "root['test-cluster-1'][status][init_container_statuses][0][state][terminated][container_id]": { + "prev": "NotPresent", + "curr": "containerd://52c32f9d159a546b0ed1baa3b717c7cff2b21f35e28b5a587e41e92b29323f50", + "path": [ + "test-cluster-1", + "status", + "init_container_statuses", + 0, + "state", + "terminated", + "container_id" + ] + }, + "root['test-cluster-1'][status][init_container_statuses][0][state][terminated][exit_code]": { + "prev": "NotPresent", + "curr": 0, + "path": [ + "test-cluster-1", + "status", + "init_container_statuses", + 0, + "state", + "terminated", + "exit_code" + ] + }, + "root['test-cluster-1'][status][init_container_statuses][0][state][terminated][finished_at]": { + "prev": "NotPresent", + "curr": "2023-05-04T20:31:01+00:00", + "path": [ + "test-cluster-1", + "status", + "init_container_statuses", + 0, + "state", + "terminated", + "finished_at" + ] + }, + "root['test-cluster-1'][status][init_container_statuses][0][state][terminated][reason]": { + "prev": "NotPresent", + "curr": "Completed", + "path": [ + "test-cluster-1", + "status", + "init_container_statuses", + 0, + "state", + "terminated", + "reason" + ] + }, + "root['test-cluster-1'][status][init_container_statuses][0][state][terminated][started_at]": { + "prev": "NotPresent", + "curr": "2023-05-04T20:31:01+00:00", + "path": [ + "test-cluster-1", + "status", + "init_container_statuses", + 0, + "state", + "terminated", + "started_at" + ] + }, + "root['test-cluster-1'][status][phase]": { + "prev": "NotPresent", + "curr": "Running", + "path": [ + "test-cluster-1", + "status", + "phase" + ] + }, + "root['test-cluster-1'][status][pod_ip]": { + "prev": "NotPresent", + "curr": "10.244.1.4", + "path": [ + "test-cluster-1", + "status", + "pod_ip" + ] + }, + "root['test-cluster-1'][status][pod_i_ps][0][ip]": { + "prev": "NotPresent", + "curr": "10.244.1.4", + "path": [ + "test-cluster-1", + "status", + "pod_i_ps", + 0, + "ip" + ] + }, + "root['test-cluster-1'][status][qos_class]": { + "prev": "NotPresent", + "curr": "Burstable", + "path": [ + "test-cluster-1", + "status", + "qos_class" + ] + }, + "root['test-cluster-1'][status][start_time]": { + "prev": "NotPresent", + "curr": "2023-05-04T20:31:01+00:00", + "path": [ + "test-cluster-1", + "status", + "start_time" + ] + }, + "root['test-cluster-2'][metadata][creation_timestamp]": { + "prev": "NotPresent", + "curr": "2023-05-04T20:30:58+00:00", + "path": [ + "test-cluster-2", + "metadata", + "creation_timestamp" + ] + }, + "root['test-cluster-2'][metadata][generate_name]": { + "prev": "NotPresent", + "curr": "test-cluster-", + "path": [ + "test-cluster-2", + "metadata", + "generate_name" + ] + }, + "root['test-cluster-2'][metadata][labels][app.kubernetes.io/component]": { + "prev": "NotPresent", + "curr": "database", + "path": [ + "test-cluster-2", + "metadata", + "labels", + "app.kubernetes.io/component" + ] + }, + "root['test-cluster-2'][metadata][labels][app.kubernetes.io/instance]": { + "prev": "NotPresent", + "curr": "test-cluster", + "path": [ + "test-cluster-2", + "metadata", + "labels", + "app.kubernetes.io/instance" + ] + }, + "root['test-cluster-2'][metadata][labels][app.kubernetes.io/name]": { + "prev": "NotPresent", + "curr": "cockroachdb", + "path": [ + "test-cluster-2", + "metadata", + "labels", + "app.kubernetes.io/name" + ] + }, + "root['test-cluster-2'][metadata][labels][controller-revision-hash]": { + "prev": "NotPresent", + "curr": "test-cluster-76f9c78d88", + "path": [ + "test-cluster-2", + "metadata", + "labels", + "controller-revision-hash" + ] + }, + "root['test-cluster-2'][metadata][labels][crdb]": { + "prev": "NotPresent", + "curr": "is-cool", + "path": [ + "test-cluster-2", + "metadata", + "labels", + "crdb" + ] + }, + "root['test-cluster-2'][metadata][labels][statefulset.kubernetes.io/pod-name]": { + "prev": "NotPresent", + "curr": "test-cluster-2", + "path": [ + "test-cluster-2", + "metadata", + "labels", + "statefulset.kubernetes.io/pod-name" + ] + }, + "root['test-cluster-2'][metadata][managed_fields][0][api_version]": { + "prev": "NotPresent", + "curr": "v1", + "path": [ + "test-cluster-2", + "metadata", + "managed_fields", + 0, + "api_version" + ] + }, + "root['test-cluster-2'][metadata][managed_fields][0][fields_type]": { + "prev": "NotPresent", + "curr": "FieldsV1", + "path": [ + "test-cluster-2", + "metadata", + "managed_fields", + 0, + "fields_type" + ] + }, + "root['test-cluster-2'][metadata][managed_fields][0][manager]": { + "prev": "NotPresent", + "curr": "kube-controller-manager", + "path": [ + "test-cluster-2", + "metadata", + "managed_fields", + 0, + "manager" + ] + }, + "root['test-cluster-2'][metadata][managed_fields][0][operation]": { + "prev": "NotPresent", + "curr": "Update", + "path": [ + "test-cluster-2", + "metadata", + "managed_fields", + 0, + "operation" + ] + }, + "root['test-cluster-2'][metadata][managed_fields][0][time]": { + "prev": "NotPresent", + "curr": "2023-05-04T20:30:58+00:00", + "path": [ + "test-cluster-2", + "metadata", + "managed_fields", + 0, + "time" + ] + }, + "root['test-cluster-2'][metadata][managed_fields][1][api_version]": { + "prev": "NotPresent", + "curr": "v1", + "path": [ + "test-cluster-2", + "metadata", + "managed_fields", + 1, + "api_version" + ] + }, + "root['test-cluster-2'][metadata][managed_fields][1][fields_type]": { + "prev": "NotPresent", + "curr": "FieldsV1", + "path": [ + "test-cluster-2", + "metadata", + "managed_fields", + 1, + "fields_type" + ] + }, + "root['test-cluster-2'][metadata][managed_fields][1][manager]": { + "prev": "NotPresent", + "curr": "kubelet", + "path": [ + "test-cluster-2", + "metadata", + "managed_fields", + 1, + "manager" + ] + }, + "root['test-cluster-2'][metadata][managed_fields][1][operation]": { + "prev": "NotPresent", + "curr": "Update", + "path": [ + "test-cluster-2", + "metadata", + "managed_fields", + 1, + "operation" + ] + }, + "root['test-cluster-2'][metadata][managed_fields][1][subresource]": { + "prev": "NotPresent", + "curr": "status", + "path": [ + "test-cluster-2", + "metadata", + "managed_fields", + 1, + "subresource" + ] + }, + "root['test-cluster-2'][metadata][managed_fields][1][time]": { + "prev": "NotPresent", + "curr": "2023-05-04T20:31:13+00:00", + "path": [ + "test-cluster-2", + "metadata", + "managed_fields", + 1, + "time" + ] + }, + "root['test-cluster-2'][metadata][name]": { + "prev": "NotPresent", + "curr": "test-cluster-2", + "path": [ + "test-cluster-2", + "metadata", + "name" + ] + }, + "root['test-cluster-2'][metadata][namespace]": { + "prev": "NotPresent", + "curr": "cockroach-operator-system", + "path": [ + "test-cluster-2", + "metadata", + "namespace" + ] + }, + "root['test-cluster-2'][metadata][owner_references][0][api_version]": { + "prev": "NotPresent", + "curr": "apps/v1", + "path": [ + "test-cluster-2", + "metadata", + "owner_references", + 0, + "api_version" + ] + }, + "root['test-cluster-2'][metadata][owner_references][0][block_owner_deletion]": { + "prev": "NotPresent", + "curr": true, + "path": [ + "test-cluster-2", + "metadata", + "owner_references", + 0, + "block_owner_deletion" + ] + }, + "root['test-cluster-2'][metadata][owner_references][0][controller]": { + "prev": "NotPresent", + "curr": true, + "path": [ + "test-cluster-2", + "metadata", + "owner_references", + 0, + "controller" + ] + }, + "root['test-cluster-2'][metadata][owner_references][0][kind]": { + "prev": "NotPresent", + "curr": "StatefulSet", + "path": [ + "test-cluster-2", + "metadata", + "owner_references", + 0, + "kind" + ] + }, + "root['test-cluster-2'][metadata][owner_references][0][name]": { + "prev": "NotPresent", + "curr": "test-cluster", + "path": [ + "test-cluster-2", + "metadata", + "owner_references", + 0, + "name" + ] + }, + "root['test-cluster-2'][metadata][owner_references][0][uid]": { + "prev": "NotPresent", + "curr": "f53f5464-2142-4d42-8f5b-bdd30e5c1acf", + "path": [ + "test-cluster-2", + "metadata", + "owner_references", + 0, + "uid" + ] + }, + "root['test-cluster-2'][metadata][resource_version]": { + "prev": "NotPresent", + "curr": "1020", + "path": [ + "test-cluster-2", + "metadata", + "resource_version" + ] + }, + "root['test-cluster-2'][metadata][uid]": { + "prev": "NotPresent", + "curr": "30cdd852-14b8-4fc7-a7f6-b3dfe6ebaf1d", + "path": [ + "test-cluster-2", + "metadata", + "uid" + ] + }, + "root['test-cluster-2'][spec][automount_service_account_token]": { + "prev": "NotPresent", + "curr": false, + "path": [ + "test-cluster-2", + "spec", + "automount_service_account_token" + ] + }, + "root['test-cluster-2'][spec][containers][0][command][0]": { + "prev": "NotPresent", + "curr": "/bin/bash", + "path": [ + "test-cluster-2", + "spec", + "containers", + 0, + "command", + 0 + ] + }, + "root['test-cluster-2'][spec][containers][0][command][1]": { + "prev": "NotPresent", + "curr": "-ecx", + "path": [ + "test-cluster-2", + "spec", + "containers", + 0, + "command", + 1 + ] + }, + "root['test-cluster-2'][spec][containers][0][command][2]": { + "prev": "NotPresent", + "curr": "exec /cockroach/cockroach.sh start --advertise-host=$(POD_NAME).test-cluster.cockroach-operator-system --certs-dir=/cockroach/cockroach-certs/ --http-port=8080 --sql-addr=:26257 --listen-addr=:26258 --log=\"{sinks: {stderr: {channels: [OPS, HEALTH], redact: true}}}\" --cache $(expr $MEMORY_LIMIT_MIB / 4)MiB --max-sql-memory $(expr $MEMORY_LIMIT_MIB / 4)MiB --join=test-cluster-0.test-cluster.cockroach-operator-system:26258,test-cluster-1.test-cluster.cockroach-operator-system:26258,test-cluster-2.test-cluster.cockroach-operator-system:26258", + "path": [ + "test-cluster-2", + "spec", + "containers", + 0, + "command", + 2 + ] + }, + "root['test-cluster-2'][spec][containers][0][env][0][name]": { + "prev": "NotPresent", + "curr": "COCKROACH_CHANNEL", + "path": [ + "test-cluster-2", + "spec", + "containers", + 0, + "env", + 0, + "name" + ] + }, + "root['test-cluster-2'][spec][containers][0][env][0][value]": { + "prev": "NotPresent", + "curr": "kubernetes-operator-unknown", + "path": [ + "test-cluster-2", + "spec", + "containers", + 0, + "env", + 0, + "value" + ] + }, + "root['test-cluster-2'][spec][containers][0][env][1][name]": { + "prev": "NotPresent", + "curr": "POD_NAME", + "path": [ + "test-cluster-2", + "spec", + "containers", + 0, + "env", + 1, + "name" + ] + }, + "root['test-cluster-2'][spec][containers][0][env][1][value_from][field_ref][api_version]": { + "prev": "NotPresent", + "curr": "v1", + "path": [ + "test-cluster-2", + "spec", + "containers", + 0, + "env", + 1, + "value_from", + "field_ref", + "api_version" + ] + }, + "root['test-cluster-2'][spec][containers][0][env][1][value_from][field_ref][field_path]": { + "prev": "NotPresent", + "curr": "metadata.name", + "path": [ + "test-cluster-2", + "spec", + "containers", + 0, + "env", + 1, + "value_from", + "field_ref", + "field_path" + ] + }, + "root['test-cluster-2'][spec][containers][0][env][2][name]": { + "prev": "NotPresent", + "curr": "GOMAXPROCS", + "path": [ + "test-cluster-2", + "spec", + "containers", + 0, + "env", + 2, + "name" + ] + }, + "root['test-cluster-2'][spec][containers][0][env][2][value_from][resource_field_ref][divisor]": { + "prev": "NotPresent", + "curr": "1", + "path": [ + "test-cluster-2", + "spec", + "containers", + 0, + "env", + 2, + "value_from", + "resource_field_ref", + "divisor" + ] + }, + "root['test-cluster-2'][spec][containers][0][env][2][value_from][resource_field_ref][resource]": { + "prev": "NotPresent", + "curr": "limits.cpu", + "path": [ + "test-cluster-2", + "spec", + "containers", + 0, + "env", + 2, + "value_from", + "resource_field_ref", + "resource" + ] + }, + "root['test-cluster-2'][spec][containers][0][env][3][name]": { + "prev": "NotPresent", + "curr": "MEMORY_LIMIT_MIB", + "path": [ + "test-cluster-2", + "spec", + "containers", + 0, + "env", + 3, + "name" + ] + }, + "root['test-cluster-2'][spec][containers][0][env][3][value_from][resource_field_ref][divisor]": { + "prev": "NotPresent", + "curr": "1Mi", + "path": [ + "test-cluster-2", + "spec", + "containers", + 0, + "env", + 3, + "value_from", + "resource_field_ref", + "divisor" + ] + }, + "root['test-cluster-2'][spec][containers][0][env][3][value_from][resource_field_ref][resource]": { + "prev": "NotPresent", + "curr": "limits.memory", + "path": [ + "test-cluster-2", + "spec", + "containers", + 0, + "env", + 3, + "value_from", + "resource_field_ref", + "resource" + ] + }, + "root['test-cluster-2'][spec][containers][0][image]": { + "prev": "NotPresent", + "curr": "cockroachdb/cockroach:v21.2.10", + "path": [ + "test-cluster-2", + "spec", + "containers", + 0, + "image" + ] + }, + "root['test-cluster-2'][spec][containers][0][image_pull_policy]": { + "prev": "NotPresent", + "curr": "IfNotPresent", + "path": [ + "test-cluster-2", + "spec", + "containers", + 0, + "image_pull_policy" + ] + }, + "root['test-cluster-2'][spec][containers][0][lifecycle][pre_stop][_exec][command][0]": { + "prev": "NotPresent", + "curr": "sh", + "path": [ + "test-cluster-2", + "spec", + "containers", + 0, + "lifecycle", + "pre_stop", + "_exec", + "command", + 0 + ] + }, + "root['test-cluster-2'][spec][containers][0][lifecycle][pre_stop][_exec][command][1]": { + "prev": "NotPresent", + "curr": "-c", + "path": [ + "test-cluster-2", + "spec", + "containers", + 0, + "lifecycle", + "pre_stop", + "_exec", + "command", + 1 + ] + }, + "root['test-cluster-2'][spec][containers][0][lifecycle][pre_stop][_exec][command][2]": { + "prev": "NotPresent", + "curr": "/cockroach/cockroach node drain --certs-dir=/cockroach/cockroach-certs/ || exit 0", + "path": [ + "test-cluster-2", + "spec", + "containers", + 0, + "lifecycle", + "pre_stop", + "_exec", + "command", + 2 + ] + }, + "root['test-cluster-2'][spec][containers][0][name]": { + "prev": "NotPresent", + "curr": "db", + "path": [ + "test-cluster-2", + "spec", + "containers", + 0, + "name" + ] + }, + "root['test-cluster-2'][spec][containers][0][ports][0][container_port]": { + "prev": "NotPresent", + "curr": 26258, + "path": [ + "test-cluster-2", + "spec", + "containers", + 0, + "ports", + 0, + "container_port" + ] + }, + "root['test-cluster-2'][spec][containers][0][ports][0][name]": { + "prev": "NotPresent", + "curr": "grpc", + "path": [ + "test-cluster-2", + "spec", + "containers", + 0, + "ports", + 0, + "name" + ] + }, + "root['test-cluster-2'][spec][containers][0][ports][0][protocol]": { + "prev": "NotPresent", + "curr": "TCP", + "path": [ + "test-cluster-2", + "spec", + "containers", + 0, + "ports", + 0, + "protocol" + ] + }, + "root['test-cluster-2'][spec][containers][0][ports][1][container_port]": { + "prev": "NotPresent", + "curr": 8080, + "path": [ + "test-cluster-2", + "spec", + "containers", + 0, + "ports", + 1, + "container_port" + ] + }, + "root['test-cluster-2'][spec][containers][0][ports][1][name]": { + "prev": "NotPresent", + "curr": "http", + "path": [ + "test-cluster-2", + "spec", + "containers", + 0, + "ports", + 1, + "name" + ] + }, + "root['test-cluster-2'][spec][containers][0][ports][1][protocol]": { + "prev": "NotPresent", + "curr": "TCP", + "path": [ + "test-cluster-2", + "spec", + "containers", + 0, + "ports", + 1, + "protocol" + ] + }, + "root['test-cluster-2'][spec][containers][0][ports][2][container_port]": { + "prev": "NotPresent", + "curr": 26257, + "path": [ + "test-cluster-2", + "spec", + "containers", + 0, + "ports", + 2, + "container_port" + ] + }, + "root['test-cluster-2'][spec][containers][0][ports][2][name]": { + "prev": "NotPresent", + "curr": "sql", + "path": [ + "test-cluster-2", + "spec", + "containers", + 0, + "ports", + 2, + "name" + ] + }, + "root['test-cluster-2'][spec][containers][0][ports][2][protocol]": { + "prev": "NotPresent", + "curr": "TCP", + "path": [ + "test-cluster-2", + "spec", + "containers", + 0, + "ports", + 2, + "protocol" + ] + }, + "root['test-cluster-2'][spec][containers][0][readiness_probe][failure_threshold]": { + "prev": "NotPresent", + "curr": 2, + "path": [ + "test-cluster-2", + "spec", + "containers", + 0, + "readiness_probe", + "failure_threshold" + ] + }, + "root['test-cluster-2'][spec][containers][0][readiness_probe][http_get][path]": { + "prev": "NotPresent", + "curr": "/health?ready=1", + "path": [ + "test-cluster-2", + "spec", + "containers", + 0, + "readiness_probe", + "http_get", + "path" + ] + }, + "root['test-cluster-2'][spec][containers][0][readiness_probe][http_get][port]": { + "prev": "NotPresent", + "curr": "http", + "path": [ + "test-cluster-2", + "spec", + "containers", + 0, + "readiness_probe", + "http_get", + "port" + ] + }, + "root['test-cluster-2'][spec][containers][0][readiness_probe][http_get][scheme]": { + "prev": "NotPresent", + "curr": "HTTPS", + "path": [ + "test-cluster-2", + "spec", + "containers", + 0, + "readiness_probe", + "http_get", + "scheme" + ] + }, + "root['test-cluster-2'][spec][containers][0][readiness_probe][initial_delay_seconds]": { + "prev": "NotPresent", + "curr": 10, + "path": [ + "test-cluster-2", + "spec", + "containers", + 0, + "readiness_probe", + "initial_delay_seconds" + ] + }, + "root['test-cluster-2'][spec][containers][0][readiness_probe][period_seconds]": { + "prev": "NotPresent", + "curr": 5, + "path": [ + "test-cluster-2", + "spec", + "containers", + 0, + "readiness_probe", + "period_seconds" + ] + }, + "root['test-cluster-2'][spec][containers][0][readiness_probe][success_threshold]": { + "prev": "NotPresent", + "curr": 1, + "path": [ + "test-cluster-2", + "spec", + "containers", + 0, + "readiness_probe", + "success_threshold" + ] + }, + "root['test-cluster-2'][spec][containers][0][readiness_probe][timeout_seconds]": { + "prev": "NotPresent", + "curr": 1, + "path": [ + "test-cluster-2", + "spec", + "containers", + 0, + "readiness_probe", + "timeout_seconds" + ] + }, + "root['test-cluster-2'][spec][containers][0][resources][limits][cpu]": { + "prev": "NotPresent", + "curr": "2", + "path": [ + "test-cluster-2", + "spec", + "containers", + 0, + "resources", + "limits", + "cpu" + ] + }, + "root['test-cluster-2'][spec][containers][0][resources][limits][memory]": { + "prev": "NotPresent", + "curr": "2Gi", + "path": [ + "test-cluster-2", + "spec", + "containers", + 0, + "resources", + "limits", + "memory" + ] + }, + "root['test-cluster-2'][spec][containers][0][resources][requests][cpu]": { + "prev": "NotPresent", + "curr": "100m", + "path": [ + "test-cluster-2", + "spec", + "containers", + 0, + "resources", + "requests", + "cpu" + ] + }, + "root['test-cluster-2'][spec][containers][0][resources][requests][memory]": { + "prev": "NotPresent", + "curr": "1Gi", + "path": [ + "test-cluster-2", + "spec", + "containers", + 0, + "resources", + "requests", + "memory" + ] + }, + "root['test-cluster-2'][spec][containers][0][termination_message_path]": { + "prev": "NotPresent", + "curr": "/dev/termination-log", + "path": [ + "test-cluster-2", + "spec", + "containers", + 0, + "termination_message_path" + ] + }, + "root['test-cluster-2'][spec][containers][0][termination_message_policy]": { + "prev": "NotPresent", + "curr": "File", + "path": [ + "test-cluster-2", + "spec", + "containers", + 0, + "termination_message_policy" + ] + }, + "root['test-cluster-2'][spec][containers][0][volume_mounts][0][mount_path]": { + "prev": "NotPresent", + "curr": "/cockroach/cockroach-data/", + "path": [ + "test-cluster-2", + "spec", + "containers", + 0, + "volume_mounts", + 0, + "mount_path" + ] + }, + "root['test-cluster-2'][spec][containers][0][volume_mounts][0][name]": { + "prev": "NotPresent", + "curr": "datadir", + "path": [ + "test-cluster-2", + "spec", + "containers", + 0, + "volume_mounts", + 0, + "name" + ] + }, + "root['test-cluster-2'][spec][containers][0][volume_mounts][1][mount_path]": { + "prev": "NotPresent", + "curr": "/cockroach/cockroach-certs/", + "path": [ + "test-cluster-2", + "spec", + "containers", + 0, + "volume_mounts", + 1, + "mount_path" + ] + }, + "root['test-cluster-2'][spec][containers][0][volume_mounts][1][name]": { + "prev": "NotPresent", + "curr": "emptydir", + "path": [ + "test-cluster-2", + "spec", + "containers", + 0, + "volume_mounts", + 1, + "name" + ] + }, + "root['test-cluster-2'][spec][dns_policy]": { + "prev": "NotPresent", + "curr": "ClusterFirst", + "path": [ + "test-cluster-2", + "spec", + "dns_policy" + ] + }, + "root['test-cluster-2'][spec][enable_service_links]": { + "prev": "NotPresent", + "curr": true, + "path": [ + "test-cluster-2", + "spec", + "enable_service_links" + ] + }, + "root['test-cluster-2'][spec][hostname]": { + "prev": "NotPresent", + "curr": "test-cluster-2", + "path": [ + "test-cluster-2", + "spec", + "hostname" + ] + }, + "root['test-cluster-2'][spec][init_containers][0][command][0]": { + "prev": "NotPresent", + "curr": "/bin/sh", + "path": [ + "test-cluster-2", + "spec", + "init_containers", + 0, + "command", + 0 + ] + }, + "root['test-cluster-2'][spec][init_containers][0][command][1]": { + "prev": "NotPresent", + "curr": "-c", + "path": [ + "test-cluster-2", + "spec", + "init_containers", + 0, + "command", + 1 + ] + }, + "root['test-cluster-2'][spec][init_containers][0][command][2]": { + "prev": "NotPresent", + "curr": ">- cp -p /cockroach/cockroach-certs-prestage/..data/* /cockroach/cockroach-certs/ && chmod 700 /cockroach/cockroach-certs/*.key && chown 1000581000:1000581000 /cockroach/cockroach-certs/*.key", + "path": [ + "test-cluster-2", + "spec", + "init_containers", + 0, + "command", + 2 + ] + }, + "root['test-cluster-2'][spec][init_containers][0][image]": { + "prev": "NotPresent", + "curr": "cockroachdb/cockroach:v21.2.10", + "path": [ + "test-cluster-2", + "spec", + "init_containers", + 0, + "image" + ] + }, + "root['test-cluster-2'][spec][init_containers][0][image_pull_policy]": { + "prev": "NotPresent", + "curr": "IfNotPresent", + "path": [ + "test-cluster-2", + "spec", + "init_containers", + 0, + "image_pull_policy" + ] + }, + "root['test-cluster-2'][spec][init_containers][0][name]": { + "prev": "NotPresent", + "curr": "db-init", + "path": [ + "test-cluster-2", + "spec", + "init_containers", + 0, + "name" + ] + }, + "root['test-cluster-2'][spec][init_containers][0][security_context][allow_privilege_escalation]": { + "prev": "NotPresent", + "curr": false, + "path": [ + "test-cluster-2", + "spec", + "init_containers", + 0, + "security_context", + "allow_privilege_escalation" + ] + }, + "root['test-cluster-2'][spec][init_containers][0][security_context][run_as_user]": { + "prev": "NotPresent", + "curr": 0, + "path": [ + "test-cluster-2", + "spec", + "init_containers", + 0, + "security_context", + "run_as_user" + ] + }, + "root['test-cluster-2'][spec][init_containers][0][termination_message_path]": { + "prev": "NotPresent", + "curr": "/dev/termination-log", + "path": [ + "test-cluster-2", + "spec", + "init_containers", + 0, + "termination_message_path" + ] + }, + "root['test-cluster-2'][spec][init_containers][0][termination_message_policy]": { + "prev": "NotPresent", + "curr": "File", + "path": [ + "test-cluster-2", + "spec", + "init_containers", + 0, + "termination_message_policy" + ] + }, + "root['test-cluster-2'][spec][init_containers][0][volume_mounts][0][mount_path]": { + "prev": "NotPresent", + "curr": "/cockroach/cockroach-certs-prestage/", + "path": [ + "test-cluster-2", + "spec", + "init_containers", + 0, + "volume_mounts", + 0, + "mount_path" + ] + }, + "root['test-cluster-2'][spec][init_containers][0][volume_mounts][0][name]": { + "prev": "NotPresent", + "curr": "certs", + "path": [ + "test-cluster-2", + "spec", + "init_containers", + 0, + "volume_mounts", + 0, + "name" + ] + }, + "root['test-cluster-2'][spec][init_containers][0][volume_mounts][1][mount_path]": { + "prev": "NotPresent", + "curr": "/cockroach/cockroach-certs/", + "path": [ + "test-cluster-2", + "spec", + "init_containers", + 0, + "volume_mounts", + 1, + "mount_path" + ] + }, + "root['test-cluster-2'][spec][init_containers][0][volume_mounts][1][name]": { + "prev": "NotPresent", + "curr": "emptydir", + "path": [ + "test-cluster-2", + "spec", + "init_containers", + 0, + "volume_mounts", + 1, + "name" + ] + }, + "root['test-cluster-2'][spec][node_name]": { + "prev": "NotPresent", + "curr": "acto-cluster-0-worker2", + "path": [ + "test-cluster-2", + "spec", + "node_name" + ] + }, + "root['test-cluster-2'][spec][preemption_policy]": { + "prev": "NotPresent", + "curr": "PreemptLowerPriority", + "path": [ + "test-cluster-2", + "spec", + "preemption_policy" + ] + }, + "root['test-cluster-2'][spec][priority]": { + "prev": "NotPresent", + "curr": 0, + "path": [ + "test-cluster-2", + "spec", + "priority" + ] + }, + "root['test-cluster-2'][spec][restart_policy]": { + "prev": "NotPresent", + "curr": "Always", + "path": [ + "test-cluster-2", + "spec", + "restart_policy" + ] + }, + "root['test-cluster-2'][spec][scheduler_name]": { + "prev": "NotPresent", + "curr": "default-scheduler", + "path": [ + "test-cluster-2", + "spec", + "scheduler_name" + ] + }, + "root['test-cluster-2'][spec][security_context][fs_group]": { + "prev": "NotPresent", + "curr": 1000581000, + "path": [ + "test-cluster-2", + "spec", + "security_context", + "fs_group" + ] + }, + "root['test-cluster-2'][spec][security_context][run_as_user]": { + "prev": "NotPresent", + "curr": 1000581000, + "path": [ + "test-cluster-2", + "spec", + "security_context", + "run_as_user" + ] + }, + "root['test-cluster-2'][spec][service_account]": { + "prev": "NotPresent", + "curr": "test-cluster-sa", + "path": [ + "test-cluster-2", + "spec", + "service_account" + ] + }, + "root['test-cluster-2'][spec][service_account_name]": { + "prev": "NotPresent", + "curr": "test-cluster-sa", + "path": [ + "test-cluster-2", + "spec", + "service_account_name" + ] + }, + "root['test-cluster-2'][spec][subdomain]": { + "prev": "NotPresent", + "curr": "test-cluster", + "path": [ + "test-cluster-2", + "spec", + "subdomain" + ] + }, + "root['test-cluster-2'][spec][termination_grace_period_seconds]": { + "prev": "NotPresent", + "curr": 300, + "path": [ + "test-cluster-2", + "spec", + "termination_grace_period_seconds" + ] + }, + "root['test-cluster-2'][spec][tolerations][0][effect]": { + "prev": "NotPresent", + "curr": "NoExecute", + "path": [ + "test-cluster-2", + "spec", + "tolerations", + 0, + "effect" + ] + }, + "root['test-cluster-2'][spec][tolerations][0][key]": { + "prev": "NotPresent", + "curr": "node.kubernetes.io/not-ready", + "path": [ + "test-cluster-2", + "spec", + "tolerations", + 0, + "key" + ] + }, + "root['test-cluster-2'][spec][tolerations][0][operator]": { + "prev": "NotPresent", + "curr": "Exists", + "path": [ + "test-cluster-2", + "spec", + "tolerations", + 0, + "operator" + ] + }, + "root['test-cluster-2'][spec][tolerations][0][toleration_seconds]": { + "prev": "NotPresent", + "curr": 300, + "path": [ + "test-cluster-2", + "spec", + "tolerations", + 0, + "toleration_seconds" + ] + }, + "root['test-cluster-2'][spec][tolerations][1][effect]": { + "prev": "NotPresent", + "curr": "NoExecute", + "path": [ + "test-cluster-2", + "spec", + "tolerations", + 1, + "effect" + ] + }, + "root['test-cluster-2'][spec][tolerations][1][key]": { + "prev": "NotPresent", + "curr": "node.kubernetes.io/unreachable", + "path": [ + "test-cluster-2", + "spec", + "tolerations", + 1, + "key" + ] + }, + "root['test-cluster-2'][spec][tolerations][1][operator]": { + "prev": "NotPresent", + "curr": "Exists", + "path": [ + "test-cluster-2", + "spec", + "tolerations", + 1, + "operator" + ] + }, + "root['test-cluster-2'][spec][tolerations][1][toleration_seconds]": { + "prev": "NotPresent", + "curr": 300, + "path": [ + "test-cluster-2", + "spec", + "tolerations", + 1, + "toleration_seconds" + ] + }, + "root['test-cluster-2'][spec][volumes][0][name]": { + "prev": "NotPresent", + "curr": "datadir", + "path": [ + "test-cluster-2", + "spec", + "volumes", + 0, + "name" + ] + }, + "root['test-cluster-2'][spec][volumes][0][persistent_volume_claim][claim_name]": { + "prev": "NotPresent", + "curr": "datadir-test-cluster-2", + "path": [ + "test-cluster-2", + "spec", + "volumes", + 0, + "persistent_volume_claim", + "claim_name" + ] + }, + "root['test-cluster-2'][spec][volumes][1][name]": { + "prev": "NotPresent", + "curr": "emptydir", + "path": [ + "test-cluster-2", + "spec", + "volumes", + 1, + "name" + ] + }, + "root['test-cluster-2'][spec][volumes][2][name]": { + "prev": "NotPresent", + "curr": "certs", + "path": [ + "test-cluster-2", + "spec", + "volumes", + 2, + "name" + ] + }, + "root['test-cluster-2'][spec][volumes][2][projected][default_mode]": { + "prev": "NotPresent", + "curr": 400, + "path": [ + "test-cluster-2", + "spec", + "volumes", + 2, + "projected", + "default_mode" + ] + }, + "root['test-cluster-2'][spec][volumes][2][projected][sources][0][secret][items][0][key]": { + "prev": "NotPresent", + "curr": "ca.crt", + "path": [ + "test-cluster-2", + "spec", + "volumes", + 2, + "projected", + "sources", + 0, + "secret", + "items", + 0, + "key" + ] + }, + "root['test-cluster-2'][spec][volumes][2][projected][sources][0][secret][items][0][mode]": { + "prev": "NotPresent", + "curr": 504, + "path": [ + "test-cluster-2", + "spec", + "volumes", + 2, + "projected", + "sources", + 0, + "secret", + "items", + 0, + "mode" + ] + }, + "root['test-cluster-2'][spec][volumes][2][projected][sources][0][secret][items][0][path]": { + "prev": "NotPresent", + "curr": "ca.crt", + "path": [ + "test-cluster-2", + "spec", + "volumes", + 2, + "projected", + "sources", + 0, + "secret", + "items", + 0, + "path" + ] + }, + "root['test-cluster-2'][spec][volumes][2][projected][sources][0][secret][items][1][key]": { + "prev": "NotPresent", + "curr": "tls.crt", + "path": [ + "test-cluster-2", + "spec", + "volumes", + 2, + "projected", + "sources", + 0, + "secret", + "items", + 1, + "key" + ] + }, + "root['test-cluster-2'][spec][volumes][2][projected][sources][0][secret][items][1][mode]": { + "prev": "NotPresent", + "curr": 504, + "path": [ + "test-cluster-2", + "spec", + "volumes", + 2, + "projected", + "sources", + 0, + "secret", + "items", + 1, + "mode" + ] + }, + "root['test-cluster-2'][spec][volumes][2][projected][sources][0][secret][items][1][path]": { + "prev": "NotPresent", + "curr": "node.crt", + "path": [ + "test-cluster-2", + "spec", + "volumes", + 2, + "projected", + "sources", + 0, + "secret", + "items", + 1, + "path" + ] + }, + "root['test-cluster-2'][spec][volumes][2][projected][sources][0][secret][items][2][key]": { + "prev": "NotPresent", + "curr": "tls.key", + "path": [ + "test-cluster-2", + "spec", + "volumes", + 2, + "projected", + "sources", + 0, + "secret", + "items", + 2, + "key" + ] + }, + "root['test-cluster-2'][spec][volumes][2][projected][sources][0][secret][items][2][mode]": { + "prev": "NotPresent", + "curr": 400, + "path": [ + "test-cluster-2", + "spec", + "volumes", + 2, + "projected", + "sources", + 0, + "secret", + "items", + 2, + "mode" + ] + }, + "root['test-cluster-2'][spec][volumes][2][projected][sources][0][secret][items][2][path]": { + "prev": "NotPresent", + "curr": "node.key", + "path": [ + "test-cluster-2", + "spec", + "volumes", + 2, + "projected", + "sources", + 0, + "secret", + "items", + 2, + "path" + ] + }, + "root['test-cluster-2'][spec][volumes][2][projected][sources][0][secret][name]": { + "prev": "NotPresent", + "curr": "test-cluster-node", + "path": [ + "test-cluster-2", + "spec", + "volumes", + 2, + "projected", + "sources", + 0, + "secret", + "name" + ] + }, + "root['test-cluster-2'][spec][volumes][2][projected][sources][1][secret][items][0][key]": { + "prev": "NotPresent", + "curr": "tls.crt", + "path": [ + "test-cluster-2", + "spec", + "volumes", + 2, + "projected", + "sources", + 1, + "secret", + "items", + 0, + "key" + ] + }, + "root['test-cluster-2'][spec][volumes][2][projected][sources][1][secret][items][0][mode]": { + "prev": "NotPresent", + "curr": 504, + "path": [ + "test-cluster-2", + "spec", + "volumes", + 2, + "projected", + "sources", + 1, + "secret", + "items", + 0, + "mode" + ] + }, + "root['test-cluster-2'][spec][volumes][2][projected][sources][1][secret][items][0][path]": { + "prev": "NotPresent", + "curr": "client.root.crt", + "path": [ + "test-cluster-2", + "spec", + "volumes", + 2, + "projected", + "sources", + 1, + "secret", + "items", + 0, + "path" + ] + }, + "root['test-cluster-2'][spec][volumes][2][projected][sources][1][secret][items][1][key]": { + "prev": "NotPresent", + "curr": "tls.key", + "path": [ + "test-cluster-2", + "spec", + "volumes", + 2, + "projected", + "sources", + 1, + "secret", + "items", + 1, + "key" + ] + }, + "root['test-cluster-2'][spec][volumes][2][projected][sources][1][secret][items][1][mode]": { + "prev": "NotPresent", + "curr": 400, + "path": [ + "test-cluster-2", + "spec", + "volumes", + 2, + "projected", + "sources", + 1, + "secret", + "items", + 1, + "mode" + ] + }, + "root['test-cluster-2'][spec][volumes][2][projected][sources][1][secret][items][1][path]": { + "prev": "NotPresent", + "curr": "client.root.key", + "path": [ + "test-cluster-2", + "spec", + "volumes", + 2, + "projected", + "sources", + 1, + "secret", + "items", + 1, + "path" + ] + }, + "root['test-cluster-2'][spec][volumes][2][projected][sources][1][secret][name]": { + "prev": "NotPresent", + "curr": "test-cluster-root", + "path": [ + "test-cluster-2", + "spec", + "volumes", + 2, + "projected", + "sources", + 1, + "secret", + "name" + ] + }, + "root['test-cluster-2'][status][conditions][0][last_transition_time]": { + "prev": "NotPresent", + "curr": "2023-05-04T20:31:03+00:00", + "path": [ + "test-cluster-2", + "status", + "conditions", + 0, + "last_transition_time" + ] + }, + "root['test-cluster-2'][status][conditions][0][status]": { + "prev": "NotPresent", + "curr": "True", + "path": [ + "test-cluster-2", + "status", + "conditions", + 0, + "status" + ] + }, + "root['test-cluster-2'][status][conditions][0][type]": { + "prev": "NotPresent", + "curr": "Initialized", + "path": [ + "test-cluster-2", + "status", + "conditions", + 0, + "type" + ] + }, + "root['test-cluster-2'][status][conditions][1][last_transition_time]": { + "prev": "NotPresent", + "curr": "2023-05-04T20:31:13+00:00", + "path": [ + "test-cluster-2", + "status", + "conditions", + 1, + "last_transition_time" + ] + }, + "root['test-cluster-2'][status][conditions][1][status]": { + "prev": "NotPresent", + "curr": "True", + "path": [ + "test-cluster-2", + "status", + "conditions", + 1, + "status" + ] + }, + "root['test-cluster-2'][status][conditions][1][type]": { + "prev": "NotPresent", + "curr": "Ready", + "path": [ + "test-cluster-2", + "status", + "conditions", + 1, + "type" + ] + }, + "root['test-cluster-2'][status][conditions][2][last_transition_time]": { + "prev": "NotPresent", + "curr": "2023-05-04T20:31:13+00:00", + "path": [ + "test-cluster-2", + "status", + "conditions", + 2, + "last_transition_time" + ] + }, + "root['test-cluster-2'][status][conditions][2][status]": { + "prev": "NotPresent", + "curr": "True", + "path": [ + "test-cluster-2", + "status", + "conditions", + 2, + "status" + ] + }, + "root['test-cluster-2'][status][conditions][2][type]": { + "prev": "NotPresent", + "curr": "ContainersReady", + "path": [ + "test-cluster-2", + "status", + "conditions", + 2, + "type" + ] + }, + "root['test-cluster-2'][status][conditions][3][last_transition_time]": { + "prev": "NotPresent", + "curr": "2023-05-04T20:31:03+00:00", + "path": [ + "test-cluster-2", + "status", + "conditions", + 3, + "last_transition_time" + ] + }, + "root['test-cluster-2'][status][conditions][3][status]": { + "prev": "NotPresent", + "curr": "True", + "path": [ + "test-cluster-2", + "status", + "conditions", + 3, + "status" + ] + }, + "root['test-cluster-2'][status][conditions][3][type]": { + "prev": "NotPresent", + "curr": "PodScheduled", + "path": [ + "test-cluster-2", + "status", + "conditions", + 3, + "type" + ] + }, + "root['test-cluster-2'][status][container_statuses][0][container_id]": { + "prev": "NotPresent", + "curr": "containerd://2f544903b0b636dbca668a30339a5f6d31026753d3566370f99b6d54f5eaed73", + "path": [ + "test-cluster-2", + "status", + "container_statuses", + 0, + "container_id" + ] + }, + "root['test-cluster-2'][status][container_statuses][0][image]": { + "prev": "NotPresent", + "curr": "docker.io/cockroachdb/cockroach:v21.2.10", + "path": [ + "test-cluster-2", + "status", + "container_statuses", + 0, + "image" + ] + }, + "root['test-cluster-2'][status][container_statuses][0][image_id]": { + "prev": "NotPresent", + "curr": "docker.io/library/import-2023-05-04@sha256:070cca8c19ddf0ae6bc2bd88819e394fef6131b6cd44edb93847d703a068c29c", + "path": [ + "test-cluster-2", + "status", + "container_statuses", + 0, + "image_id" + ] + }, + "root['test-cluster-2'][status][container_statuses][0][name]": { + "prev": "NotPresent", + "curr": "db", + "path": [ + "test-cluster-2", + "status", + "container_statuses", + 0, + "name" + ] + }, + "root['test-cluster-2'][status][container_statuses][0][ready]": { + "prev": "NotPresent", + "curr": true, + "path": [ + "test-cluster-2", + "status", + "container_statuses", + 0, + "ready" + ] + }, + "root['test-cluster-2'][status][container_statuses][0][restart_count]": { + "prev": "NotPresent", + "curr": 0, + "path": [ + "test-cluster-2", + "status", + "container_statuses", + 0, + "restart_count" + ] + }, + "root['test-cluster-2'][status][container_statuses][0][started]": { + "prev": "NotPresent", + "curr": true, + "path": [ + "test-cluster-2", + "status", + "container_statuses", + 0, + "started" + ] + }, + "root['test-cluster-2'][status][container_statuses][0][state][running][started_at]": { + "prev": "NotPresent", + "curr": "2023-05-04T20:31:03+00:00", + "path": [ + "test-cluster-2", + "status", + "container_statuses", + 0, + "state", + "running", + "started_at" + ] + }, + "root['test-cluster-2'][status][host_ip]": { + "prev": "NotPresent", + "curr": "172.18.0.6", + "path": [ + "test-cluster-2", + "status", + "host_ip" + ] + }, + "root['test-cluster-2'][status][init_container_statuses][0][container_id]": { + "prev": "NotPresent", + "curr": "containerd://f9489fd69bbc0e8097b9546402583a04b9d5ae009a5940ffec5272ca8d642b31", + "path": [ + "test-cluster-2", + "status", + "init_container_statuses", + 0, + "container_id" + ] + }, + "root['test-cluster-2'][status][init_container_statuses][0][image]": { + "prev": "NotPresent", + "curr": "docker.io/cockroachdb/cockroach:v21.2.10", + "path": [ + "test-cluster-2", + "status", + "init_container_statuses", + 0, + "image" + ] + }, + "root['test-cluster-2'][status][init_container_statuses][0][image_id]": { + "prev": "NotPresent", + "curr": "docker.io/library/import-2023-05-04@sha256:070cca8c19ddf0ae6bc2bd88819e394fef6131b6cd44edb93847d703a068c29c", + "path": [ + "test-cluster-2", + "status", + "init_container_statuses", + 0, + "image_id" + ] + }, + "root['test-cluster-2'][status][init_container_statuses][0][name]": { + "prev": "NotPresent", + "curr": "db-init", + "path": [ + "test-cluster-2", + "status", + "init_container_statuses", + 0, + "name" + ] + }, + "root['test-cluster-2'][status][init_container_statuses][0][ready]": { + "prev": "NotPresent", + "curr": true, + "path": [ + "test-cluster-2", + "status", + "init_container_statuses", + 0, + "ready" + ] + }, + "root['test-cluster-2'][status][init_container_statuses][0][restart_count]": { + "prev": "NotPresent", + "curr": 0, + "path": [ + "test-cluster-2", + "status", + "init_container_statuses", + 0, + "restart_count" + ] + }, + "root['test-cluster-2'][status][init_container_statuses][0][state][terminated][container_id]": { + "prev": "NotPresent", + "curr": "containerd://f9489fd69bbc0e8097b9546402583a04b9d5ae009a5940ffec5272ca8d642b31", + "path": [ + "test-cluster-2", + "status", + "init_container_statuses", + 0, + "state", + "terminated", + "container_id" + ] + }, + "root['test-cluster-2'][status][init_container_statuses][0][state][terminated][exit_code]": { + "prev": "NotPresent", + "curr": 0, + "path": [ + "test-cluster-2", + "status", + "init_container_statuses", + 0, + "state", + "terminated", + "exit_code" + ] + }, + "root['test-cluster-2'][status][init_container_statuses][0][state][terminated][finished_at]": { + "prev": "NotPresent", + "curr": "2023-05-04T20:31:03+00:00", + "path": [ + "test-cluster-2", + "status", + "init_container_statuses", + 0, + "state", + "terminated", + "finished_at" + ] + }, + "root['test-cluster-2'][status][init_container_statuses][0][state][terminated][reason]": { + "prev": "NotPresent", + "curr": "Completed", + "path": [ + "test-cluster-2", + "status", + "init_container_statuses", + 0, + "state", + "terminated", + "reason" + ] + }, + "root['test-cluster-2'][status][init_container_statuses][0][state][terminated][started_at]": { + "prev": "NotPresent", + "curr": "2023-05-04T20:31:03+00:00", + "path": [ + "test-cluster-2", + "status", + "init_container_statuses", + 0, + "state", + "terminated", + "started_at" + ] + }, + "root['test-cluster-2'][status][phase]": { + "prev": "NotPresent", + "curr": "Running", + "path": [ + "test-cluster-2", + "status", + "phase" + ] + }, + "root['test-cluster-2'][status][pod_ip]": { + "prev": "NotPresent", + "curr": "10.244.2.4", + "path": [ + "test-cluster-2", + "status", + "pod_ip" + ] + }, + "root['test-cluster-2'][status][pod_i_ps][0][ip]": { + "prev": "NotPresent", + "curr": "10.244.2.4", + "path": [ + "test-cluster-2", + "status", + "pod_i_ps", + 0, + "ip" + ] + }, + "root['test-cluster-2'][status][qos_class]": { + "prev": "NotPresent", + "curr": "Burstable", + "path": [ + "test-cluster-2", + "status", + "qos_class" + ] + }, + "root['test-cluster-2'][status][start_time]": { + "prev": "NotPresent", + "curr": "2023-05-04T20:31:03+00:00", + "path": [ + "test-cluster-2", + "status", + "start_time" + ] + } + } + }, + "deployment_pods": { + "dictionary_item_added": { + "root['cockroach-operator-manager'][0][metadata][creation_timestamp]": { + "prev": "NotPresent", + "curr": "2023-05-04T20:30:52+00:00", + "path": [ + "cockroach-operator-manager", + 0, + "metadata", + "creation_timestamp" + ] + }, + "root['cockroach-operator-manager'][0][metadata][generate_name]": { + "prev": "NotPresent", + "curr": "cockroach-operator-manager-64c489884-", + "path": [ + "cockroach-operator-manager", + 0, + "metadata", + "generate_name" + ] + }, + "root['cockroach-operator-manager'][0][metadata][labels][acto/tag]": { + "prev": "NotPresent", + "curr": "operator-pod", + "path": [ + "cockroach-operator-manager", + 0, + "metadata", + "labels", + "acto/tag" + ] + }, + "root['cockroach-operator-manager'][0][metadata][labels][app]": { + "prev": "NotPresent", + "curr": "cockroach-operator", + "path": [ + "cockroach-operator-manager", + 0, + "metadata", + "labels", + "app" + ] + }, + "root['cockroach-operator-manager'][0][metadata][labels][pod-template-hash]": { + "prev": "NotPresent", + "curr": "64c489884", + "path": [ + "cockroach-operator-manager", + 0, + "metadata", + "labels", + "pod-template-hash" + ] + }, + "root['cockroach-operator-manager'][0][metadata][managed_fields][0][api_version]": { + "prev": "NotPresent", + "curr": "v1", + "path": [ + "cockroach-operator-manager", + 0, + "metadata", + "managed_fields", + 0, + "api_version" + ] + }, + "root['cockroach-operator-manager'][0][metadata][managed_fields][0][fields_type]": { + "prev": "NotPresent", + "curr": "FieldsV1", + "path": [ + "cockroach-operator-manager", + 0, + "metadata", + "managed_fields", + 0, + "fields_type" + ] + }, + "root['cockroach-operator-manager'][0][metadata][managed_fields][0][manager]": { + "prev": "NotPresent", + "curr": "kube-controller-manager", + "path": [ + "cockroach-operator-manager", + 0, + "metadata", + "managed_fields", + 0, + "manager" + ] + }, + "root['cockroach-operator-manager'][0][metadata][managed_fields][0][operation]": { + "prev": "NotPresent", + "curr": "Update", + "path": [ + "cockroach-operator-manager", + 0, + "metadata", + "managed_fields", + 0, + "operation" + ] + }, + "root['cockroach-operator-manager'][0][metadata][managed_fields][0][time]": { + "prev": "NotPresent", + "curr": "2023-05-04T20:30:52+00:00", + "path": [ + "cockroach-operator-manager", + 0, + "metadata", + "managed_fields", + 0, + "time" + ] + }, + "root['cockroach-operator-manager'][0][metadata][managed_fields][1][api_version]": { + "prev": "NotPresent", + "curr": "v1", + "path": [ + "cockroach-operator-manager", + 0, + "metadata", + "managed_fields", + 1, + "api_version" + ] + }, + "root['cockroach-operator-manager'][0][metadata][managed_fields][1][fields_type]": { + "prev": "NotPresent", + "curr": "FieldsV1", + "path": [ + "cockroach-operator-manager", + 0, + "metadata", + "managed_fields", + 1, + "fields_type" + ] + }, + "root['cockroach-operator-manager'][0][metadata][managed_fields][1][manager]": { + "prev": "NotPresent", + "curr": "kubelet", + "path": [ + "cockroach-operator-manager", + 0, + "metadata", + "managed_fields", + 1, + "manager" + ] + }, + "root['cockroach-operator-manager'][0][metadata][managed_fields][1][operation]": { + "prev": "NotPresent", + "curr": "Update", + "path": [ + "cockroach-operator-manager", + 0, + "metadata", + "managed_fields", + 1, + "operation" + ] + }, + "root['cockroach-operator-manager'][0][metadata][managed_fields][1][subresource]": { + "prev": "NotPresent", + "curr": "status", + "path": [ + "cockroach-operator-manager", + 0, + "metadata", + "managed_fields", + 1, + "subresource" + ] + }, + "root['cockroach-operator-manager'][0][metadata][managed_fields][1][time]": { + "prev": "NotPresent", + "curr": "2023-05-04T20:30:52+00:00", + "path": [ + "cockroach-operator-manager", + 0, + "metadata", + "managed_fields", + 1, + "time" + ] + }, + "root['cockroach-operator-manager'][0][metadata][name]": { + "prev": "NotPresent", + "curr": "cockroach-operator-manager-64c489884-t4l82", + "path": [ + "cockroach-operator-manager", + 0, + "metadata", + "name" + ] + }, + "root['cockroach-operator-manager'][0][metadata][namespace]": { + "prev": "NotPresent", + "curr": "cockroach-operator-system", + "path": [ + "cockroach-operator-manager", + 0, + "metadata", + "namespace" + ] + }, + "root['cockroach-operator-manager'][0][metadata][owner_references][0][api_version]": { + "prev": "NotPresent", + "curr": "apps/v1", + "path": [ + "cockroach-operator-manager", + 0, + "metadata", + "owner_references", + 0, + "api_version" + ] + }, + "root['cockroach-operator-manager'][0][metadata][owner_references][0][block_owner_deletion]": { + "prev": "NotPresent", + "curr": true, + "path": [ + "cockroach-operator-manager", + 0, + "metadata", + "owner_references", + 0, + "block_owner_deletion" + ] + }, + "root['cockroach-operator-manager'][0][metadata][owner_references][0][controller]": { + "prev": "NotPresent", + "curr": true, + "path": [ + "cockroach-operator-manager", + 0, + "metadata", + "owner_references", + 0, + "controller" + ] + }, + "root['cockroach-operator-manager'][0][metadata][owner_references][0][kind]": { + "prev": "NotPresent", + "curr": "ReplicaSet", + "path": [ + "cockroach-operator-manager", + 0, + "metadata", + "owner_references", + 0, + "kind" + ] + }, + "root['cockroach-operator-manager'][0][metadata][owner_references][0][name]": { + "prev": "NotPresent", + "curr": "cockroach-operator-manager-64c489884", + "path": [ + "cockroach-operator-manager", + 0, + "metadata", + "owner_references", + 0, + "name" + ] + }, + "root['cockroach-operator-manager'][0][metadata][owner_references][0][uid]": { + "prev": "NotPresent", + "curr": "be708d8a-e777-47d2-951f-3826c77ce527", + "path": [ + "cockroach-operator-manager", + 0, + "metadata", + "owner_references", + 0, + "uid" + ] + }, + "root['cockroach-operator-manager'][0][metadata][resource_version]": { + "prev": "NotPresent", + "curr": "800", + "path": [ + "cockroach-operator-manager", + 0, + "metadata", + "resource_version" + ] + }, + "root['cockroach-operator-manager'][0][metadata][uid]": { + "prev": "NotPresent", + "curr": "2fa41549-7083-45b2-8a85-b2450b8b08b7", + "path": [ + "cockroach-operator-manager", + 0, + "metadata", + "uid" + ] + }, + "root['cockroach-operator-manager'][0][spec][containers][0][args][0]": { + "prev": "NotPresent", + "curr": "-zap-log-level", + "path": [ + "cockroach-operator-manager", + 0, + "spec", + "containers", + 0, + "args", + 0 + ] + }, + "root['cockroach-operator-manager'][0][spec][containers][0][args][1]": { + "prev": "NotPresent", + "curr": "info", + "path": [ + "cockroach-operator-manager", + 0, + "spec", + "containers", + 0, + "args", + 1 + ] + }, + "root['cockroach-operator-manager'][0][spec][containers][0][args][2]": { + "prev": "NotPresent", + "curr": "-feature-gates", + "path": [ + "cockroach-operator-manager", + 0, + "spec", + "containers", + 0, + "args", + 2 + ] + }, + "root['cockroach-operator-manager'][0][spec][containers][0][args][3]": { + "prev": "NotPresent", + "curr": "TopologySpreadRules=true,AffinityRules=true,TolerationRules=true", + "path": [ + "cockroach-operator-manager", + 0, + "spec", + "containers", + 0, + "args", + 3 + ] + }, + "root['cockroach-operator-manager'][0][spec][containers][0][env][0][name]": { + "prev": "NotPresent", + "curr": "RELATED_IMAGE_COCKROACH_v20_1_4", + "path": [ + "cockroach-operator-manager", + 0, + "spec", + "containers", + 0, + "env", + 0, + "name" + ] + }, + "root['cockroach-operator-manager'][0][spec][containers][0][env][0][value]": { + "prev": "NotPresent", + "curr": "cockroachdb/cockroach:v20.1.4", + "path": [ + "cockroach-operator-manager", + 0, + "spec", + "containers", + 0, + "env", + 0, + "value" + ] + }, + "root['cockroach-operator-manager'][0][spec][containers][0][env][1][name]": { + "prev": "NotPresent", + "curr": "RELATED_IMAGE_COCKROACH_v20_1_5", + "path": [ + "cockroach-operator-manager", + 0, + "spec", + "containers", + 0, + "env", + 1, + "name" + ] + }, + "root['cockroach-operator-manager'][0][spec][containers][0][env][1][value]": { + "prev": "NotPresent", + "curr": "cockroachdb/cockroach:v20.1.5", + "path": [ + "cockroach-operator-manager", + 0, + "spec", + "containers", + 0, + "env", + 1, + "value" + ] + }, + "root['cockroach-operator-manager'][0][spec][containers][0][env][2][name]": { + "prev": "NotPresent", + "curr": "RELATED_IMAGE_COCKROACH_v20_1_8", + "path": [ + "cockroach-operator-manager", + 0, + "spec", + "containers", + 0, + "env", + 2, + "name" + ] + }, + "root['cockroach-operator-manager'][0][spec][containers][0][env][2][value]": { + "prev": "NotPresent", + "curr": "cockroachdb/cockroach:v20.1.8", + "path": [ + "cockroach-operator-manager", + 0, + "spec", + "containers", + 0, + "env", + 2, + "value" + ] + }, + "root['cockroach-operator-manager'][0][spec][containers][0][env][3][name]": { + "prev": "NotPresent", + "curr": "RELATED_IMAGE_COCKROACH_v20_1_11", + "path": [ + "cockroach-operator-manager", + 0, + "spec", + "containers", + 0, + "env", + 3, + "name" + ] + }, + "root['cockroach-operator-manager'][0][spec][containers][0][env][3][value]": { + "prev": "NotPresent", + "curr": "cockroachdb/cockroach:v20.1.11", + "path": [ + "cockroach-operator-manager", + 0, + "spec", + "containers", + 0, + "env", + 3, + "value" + ] + }, + "root['cockroach-operator-manager'][0][spec][containers][0][env][4][name]": { + "prev": "NotPresent", + "curr": "RELATED_IMAGE_COCKROACH_v20_1_12", + "path": [ + "cockroach-operator-manager", + 0, + "spec", + "containers", + 0, + "env", + 4, + "name" + ] + }, + "root['cockroach-operator-manager'][0][spec][containers][0][env][4][value]": { + "prev": "NotPresent", + "curr": "cockroachdb/cockroach:v20.1.12", + "path": [ + "cockroach-operator-manager", + 0, + "spec", + "containers", + 0, + "env", + 4, + "value" + ] + }, + "root['cockroach-operator-manager'][0][spec][containers][0][env][5][name]": { + "prev": "NotPresent", + "curr": "RELATED_IMAGE_COCKROACH_v20_1_13", + "path": [ + "cockroach-operator-manager", + 0, + "spec", + "containers", + 0, + "env", + 5, + "name" + ] + }, + "root['cockroach-operator-manager'][0][spec][containers][0][env][5][value]": { + "prev": "NotPresent", + "curr": "cockroachdb/cockroach:v20.1.13", + "path": [ + "cockroach-operator-manager", + 0, + "spec", + "containers", + 0, + "env", + 5, + "value" + ] + }, + "root['cockroach-operator-manager'][0][spec][containers][0][env][6][name]": { + "prev": "NotPresent", + "curr": "RELATED_IMAGE_COCKROACH_v20_1_15", + "path": [ + "cockroach-operator-manager", + 0, + "spec", + "containers", + 0, + "env", + 6, + "name" + ] + }, + "root['cockroach-operator-manager'][0][spec][containers][0][env][6][value]": { + "prev": "NotPresent", + "curr": "cockroachdb/cockroach:v20.1.15", + "path": [ + "cockroach-operator-manager", + 0, + "spec", + "containers", + 0, + "env", + 6, + "value" + ] + }, + "root['cockroach-operator-manager'][0][spec][containers][0][env][7][name]": { + "prev": "NotPresent", + "curr": "RELATED_IMAGE_COCKROACH_v20_1_16", + "path": [ + "cockroach-operator-manager", + 0, + "spec", + "containers", + 0, + "env", + 7, + "name" + ] + }, + "root['cockroach-operator-manager'][0][spec][containers][0][env][7][value]": { + "prev": "NotPresent", + "curr": "cockroachdb/cockroach:v20.1.16", + "path": [ + "cockroach-operator-manager", + 0, + "spec", + "containers", + 0, + "env", + 7, + "value" + ] + }, + "root['cockroach-operator-manager'][0][spec][containers][0][env][8][name]": { + "prev": "NotPresent", + "curr": "RELATED_IMAGE_COCKROACH_v20_1_17", + "path": [ + "cockroach-operator-manager", + 0, + "spec", + "containers", + 0, + "env", + 8, + "name" + ] + }, + "root['cockroach-operator-manager'][0][spec][containers][0][env][8][value]": { + "prev": "NotPresent", + "curr": "cockroachdb/cockroach:v20.1.17", + "path": [ + "cockroach-operator-manager", + 0, + "spec", + "containers", + 0, + "env", + 8, + "value" + ] + }, + "root['cockroach-operator-manager'][0][spec][containers][0][env][9][name]": { + "prev": "NotPresent", + "curr": "RELATED_IMAGE_COCKROACH_v20_2_0", + "path": [ + "cockroach-operator-manager", + 0, + "spec", + "containers", + 0, + "env", + 9, + "name" + ] + }, + "root['cockroach-operator-manager'][0][spec][containers][0][env][9][value]": { + "prev": "NotPresent", + "curr": "cockroachdb/cockroach:v20.2.0", + "path": [ + "cockroach-operator-manager", + 0, + "spec", + "containers", + 0, + "env", + 9, + "value" + ] + }, + "root['cockroach-operator-manager'][0][spec][containers][0][env][10][name]": { + "prev": "NotPresent", + "curr": "RELATED_IMAGE_COCKROACH_v20_2_1", + "path": [ + "cockroach-operator-manager", + 0, + "spec", + "containers", + 0, + "env", + 10, + "name" + ] + }, + "root['cockroach-operator-manager'][0][spec][containers][0][env][10][value]": { + "prev": "NotPresent", + "curr": "cockroachdb/cockroach:v20.2.1", + "path": [ + "cockroach-operator-manager", + 0, + "spec", + "containers", + 0, + "env", + 10, + "value" + ] + }, + "root['cockroach-operator-manager'][0][spec][containers][0][env][11][name]": { + "prev": "NotPresent", + "curr": "RELATED_IMAGE_COCKROACH_v20_2_2", + "path": [ + "cockroach-operator-manager", + 0, + "spec", + "containers", + 0, + "env", + 11, + "name" + ] + }, + "root['cockroach-operator-manager'][0][spec][containers][0][env][11][value]": { + "prev": "NotPresent", + "curr": "cockroachdb/cockroach:v20.2.2", + "path": [ + "cockroach-operator-manager", + 0, + "spec", + "containers", + 0, + "env", + 11, + "value" + ] + }, + "root['cockroach-operator-manager'][0][spec][containers][0][env][12][name]": { + "prev": "NotPresent", + "curr": "RELATED_IMAGE_COCKROACH_v20_2_3", + "path": [ + "cockroach-operator-manager", + 0, + "spec", + "containers", + 0, + "env", + 12, + "name" + ] + }, + "root['cockroach-operator-manager'][0][spec][containers][0][env][12][value]": { + "prev": "NotPresent", + "curr": "cockroachdb/cockroach:v20.2.3", + "path": [ + "cockroach-operator-manager", + 0, + "spec", + "containers", + 0, + "env", + 12, + "value" + ] + }, + "root['cockroach-operator-manager'][0][spec][containers][0][env][13][name]": { + "prev": "NotPresent", + "curr": "RELATED_IMAGE_COCKROACH_v20_2_4", + "path": [ + "cockroach-operator-manager", + 0, + "spec", + "containers", + 0, + "env", + 13, + "name" + ] + }, + "root['cockroach-operator-manager'][0][spec][containers][0][env][13][value]": { + "prev": "NotPresent", + "curr": "cockroachdb/cockroach:v20.2.4", + "path": [ + "cockroach-operator-manager", + 0, + "spec", + "containers", + 0, + "env", + 13, + "value" + ] + }, + "root['cockroach-operator-manager'][0][spec][containers][0][env][14][name]": { + "prev": "NotPresent", + "curr": "RELATED_IMAGE_COCKROACH_v20_2_5", + "path": [ + "cockroach-operator-manager", + 0, + "spec", + "containers", + 0, + "env", + 14, + "name" + ] + }, + "root['cockroach-operator-manager'][0][spec][containers][0][env][14][value]": { + "prev": "NotPresent", + "curr": "cockroachdb/cockroach:v20.2.5", + "path": [ + "cockroach-operator-manager", + 0, + "spec", + "containers", + 0, + "env", + 14, + "value" + ] + }, + "root['cockroach-operator-manager'][0][spec][containers][0][env][15][name]": { + "prev": "NotPresent", + "curr": "RELATED_IMAGE_COCKROACH_v20_2_6", + "path": [ + "cockroach-operator-manager", + 0, + "spec", + "containers", + 0, + "env", + 15, + "name" + ] + }, + "root['cockroach-operator-manager'][0][spec][containers][0][env][15][value]": { + "prev": "NotPresent", + "curr": "cockroachdb/cockroach:v20.2.6", + "path": [ + "cockroach-operator-manager", + 0, + "spec", + "containers", + 0, + "env", + 15, + "value" + ] + }, + "root['cockroach-operator-manager'][0][spec][containers][0][env][16][name]": { + "prev": "NotPresent", + "curr": "RELATED_IMAGE_COCKROACH_v20_2_8", + "path": [ + "cockroach-operator-manager", + 0, + "spec", + "containers", + 0, + "env", + 16, + "name" + ] + }, + "root['cockroach-operator-manager'][0][spec][containers][0][env][16][value]": { + "prev": "NotPresent", + "curr": "cockroachdb/cockroach:v20.2.8", + "path": [ + "cockroach-operator-manager", + 0, + "spec", + "containers", + 0, + "env", + 16, + "value" + ] + }, + "root['cockroach-operator-manager'][0][spec][containers][0][env][17][name]": { + "prev": "NotPresent", + "curr": "RELATED_IMAGE_COCKROACH_v20_2_9", + "path": [ + "cockroach-operator-manager", + 0, + "spec", + "containers", + 0, + "env", + 17, + "name" + ] + }, + "root['cockroach-operator-manager'][0][spec][containers][0][env][17][value]": { + "prev": "NotPresent", + "curr": "cockroachdb/cockroach:v20.2.9", + "path": [ + "cockroach-operator-manager", + 0, + "spec", + "containers", + 0, + "env", + 17, + "value" + ] + }, + "root['cockroach-operator-manager'][0][spec][containers][0][env][18][name]": { + "prev": "NotPresent", + "curr": "RELATED_IMAGE_COCKROACH_v20_2_10", + "path": [ + "cockroach-operator-manager", + 0, + "spec", + "containers", + 0, + "env", + 18, + "name" + ] + }, + "root['cockroach-operator-manager'][0][spec][containers][0][env][18][value]": { + "prev": "NotPresent", + "curr": "cockroachdb/cockroach:v20.2.10", + "path": [ + "cockroach-operator-manager", + 0, + "spec", + "containers", + 0, + "env", + 18, + "value" + ] + }, + "root['cockroach-operator-manager'][0][spec][containers][0][env][19][name]": { + "prev": "NotPresent", + "curr": "RELATED_IMAGE_COCKROACH_v20_2_11", + "path": [ + "cockroach-operator-manager", + 0, + "spec", + "containers", + 0, + "env", + 19, + "name" + ] + }, + "root['cockroach-operator-manager'][0][spec][containers][0][env][19][value]": { + "prev": "NotPresent", + "curr": "cockroachdb/cockroach:v20.2.11", + "path": [ + "cockroach-operator-manager", + 0, + "spec", + "containers", + 0, + "env", + 19, + "value" + ] + }, + "root['cockroach-operator-manager'][0][spec][containers][0][env][20][name]": { + "prev": "NotPresent", + "curr": "RELATED_IMAGE_COCKROACH_v20_2_12", + "path": [ + "cockroach-operator-manager", + 0, + "spec", + "containers", + 0, + "env", + 20, + "name" + ] + }, + "root['cockroach-operator-manager'][0][spec][containers][0][env][20][value]": { + "prev": "NotPresent", + "curr": "cockroachdb/cockroach:v20.2.12", + "path": [ + "cockroach-operator-manager", + 0, + "spec", + "containers", + 0, + "env", + 20, + "value" + ] + }, + "root['cockroach-operator-manager'][0][spec][containers][0][env][21][name]": { + "prev": "NotPresent", + "curr": "RELATED_IMAGE_COCKROACH_v20_2_13", + "path": [ + "cockroach-operator-manager", + 0, + "spec", + "containers", + 0, + "env", + 21, + "name" + ] + }, + "root['cockroach-operator-manager'][0][spec][containers][0][env][21][value]": { + "prev": "NotPresent", + "curr": "cockroachdb/cockroach:v20.2.13", + "path": [ + "cockroach-operator-manager", + 0, + "spec", + "containers", + 0, + "env", + 21, + "value" + ] + }, + "root['cockroach-operator-manager'][0][spec][containers][0][env][22][name]": { + "prev": "NotPresent", + "curr": "RELATED_IMAGE_COCKROACH_v20_2_14", + "path": [ + "cockroach-operator-manager", + 0, + "spec", + "containers", + 0, + "env", + 22, + "name" + ] + }, + "root['cockroach-operator-manager'][0][spec][containers][0][env][22][value]": { + "prev": "NotPresent", + "curr": "cockroachdb/cockroach:v20.2.14", + "path": [ + "cockroach-operator-manager", + 0, + "spec", + "containers", + 0, + "env", + 22, + "value" + ] + }, + "root['cockroach-operator-manager'][0][spec][containers][0][env][23][name]": { + "prev": "NotPresent", + "curr": "RELATED_IMAGE_COCKROACH_v20_2_15", + "path": [ + "cockroach-operator-manager", + 0, + "spec", + "containers", + 0, + "env", + 23, + "name" + ] + }, + "root['cockroach-operator-manager'][0][spec][containers][0][env][23][value]": { + "prev": "NotPresent", + "curr": "cockroachdb/cockroach:v20.2.15", + "path": [ + "cockroach-operator-manager", + 0, + "spec", + "containers", + 0, + "env", + 23, + "value" + ] + }, + "root['cockroach-operator-manager'][0][spec][containers][0][env][24][name]": { + "prev": "NotPresent", + "curr": "RELATED_IMAGE_COCKROACH_v20_2_16", + "path": [ + "cockroach-operator-manager", + 0, + "spec", + "containers", + 0, + "env", + 24, + "name" + ] + }, + "root['cockroach-operator-manager'][0][spec][containers][0][env][24][value]": { + "prev": "NotPresent", + "curr": "cockroachdb/cockroach:v20.2.16", + "path": [ + "cockroach-operator-manager", + 0, + "spec", + "containers", + 0, + "env", + 24, + "value" + ] + }, + "root['cockroach-operator-manager'][0][spec][containers][0][env][25][name]": { + "prev": "NotPresent", + "curr": "RELATED_IMAGE_COCKROACH_v20_2_17", + "path": [ + "cockroach-operator-manager", + 0, + "spec", + "containers", + 0, + "env", + 25, + "name" + ] + }, + "root['cockroach-operator-manager'][0][spec][containers][0][env][25][value]": { + "prev": "NotPresent", + "curr": "cockroachdb/cockroach:v20.2.17", + "path": [ + "cockroach-operator-manager", + 0, + "spec", + "containers", + 0, + "env", + 25, + "value" + ] + }, + "root['cockroach-operator-manager'][0][spec][containers][0][env][26][name]": { + "prev": "NotPresent", + "curr": "RELATED_IMAGE_COCKROACH_v20_2_18", + "path": [ + "cockroach-operator-manager", + 0, + "spec", + "containers", + 0, + "env", + 26, + "name" + ] + }, + "root['cockroach-operator-manager'][0][spec][containers][0][env][26][value]": { + "prev": "NotPresent", + "curr": "cockroachdb/cockroach:v20.2.18", + "path": [ + "cockroach-operator-manager", + 0, + "spec", + "containers", + 0, + "env", + 26, + "value" + ] + }, + "root['cockroach-operator-manager'][0][spec][containers][0][env][27][name]": { + "prev": "NotPresent", + "curr": "RELATED_IMAGE_COCKROACH_v20_2_19", + "path": [ + "cockroach-operator-manager", + 0, + "spec", + "containers", + 0, + "env", + 27, + "name" + ] + }, + "root['cockroach-operator-manager'][0][spec][containers][0][env][27][value]": { + "prev": "NotPresent", + "curr": "cockroachdb/cockroach:v20.2.19", + "path": [ + "cockroach-operator-manager", + 0, + "spec", + "containers", + 0, + "env", + 27, + "value" + ] + }, + "root['cockroach-operator-manager'][0][spec][containers][0][env][28][name]": { + "prev": "NotPresent", + "curr": "RELATED_IMAGE_COCKROACH_v21_1_0", + "path": [ + "cockroach-operator-manager", + 0, + "spec", + "containers", + 0, + "env", + 28, + "name" + ] + }, + "root['cockroach-operator-manager'][0][spec][containers][0][env][28][value]": { + "prev": "NotPresent", + "curr": "cockroachdb/cockroach:v21.1.0", + "path": [ + "cockroach-operator-manager", + 0, + "spec", + "containers", + 0, + "env", + 28, + "value" + ] + }, + "root['cockroach-operator-manager'][0][spec][containers][0][env][29][name]": { + "prev": "NotPresent", + "curr": "RELATED_IMAGE_COCKROACH_v21_1_1", + "path": [ + "cockroach-operator-manager", + 0, + "spec", + "containers", + 0, + "env", + 29, + "name" + ] + }, + "root['cockroach-operator-manager'][0][spec][containers][0][env][29][value]": { + "prev": "NotPresent", + "curr": "cockroachdb/cockroach:v21.1.1", + "path": [ + "cockroach-operator-manager", + 0, + "spec", + "containers", + 0, + "env", + 29, + "value" + ] + }, + "root['cockroach-operator-manager'][0][spec][containers][0][env][30][name]": { + "prev": "NotPresent", + "curr": "RELATED_IMAGE_COCKROACH_v21_1_2", + "path": [ + "cockroach-operator-manager", + 0, + "spec", + "containers", + 0, + "env", + 30, + "name" + ] + }, + "root['cockroach-operator-manager'][0][spec][containers][0][env][30][value]": { + "prev": "NotPresent", + "curr": "cockroachdb/cockroach:v21.1.2", + "path": [ + "cockroach-operator-manager", + 0, + "spec", + "containers", + 0, + "env", + 30, + "value" + ] + }, + "root['cockroach-operator-manager'][0][spec][containers][0][env][31][name]": { + "prev": "NotPresent", + "curr": "RELATED_IMAGE_COCKROACH_v21_1_3", + "path": [ + "cockroach-operator-manager", + 0, + "spec", + "containers", + 0, + "env", + 31, + "name" + ] + }, + "root['cockroach-operator-manager'][0][spec][containers][0][env][31][value]": { + "prev": "NotPresent", + "curr": "cockroachdb/cockroach:v21.1.3", + "path": [ + "cockroach-operator-manager", + 0, + "spec", + "containers", + 0, + "env", + 31, + "value" + ] + }, + "root['cockroach-operator-manager'][0][spec][containers][0][env][32][name]": { + "prev": "NotPresent", + "curr": "RELATED_IMAGE_COCKROACH_v21_1_4", + "path": [ + "cockroach-operator-manager", + 0, + "spec", + "containers", + 0, + "env", + 32, + "name" + ] + }, + "root['cockroach-operator-manager'][0][spec][containers][0][env][32][value]": { + "prev": "NotPresent", + "curr": "cockroachdb/cockroach:v21.1.4", + "path": [ + "cockroach-operator-manager", + 0, + "spec", + "containers", + 0, + "env", + 32, + "value" + ] + }, + "root['cockroach-operator-manager'][0][spec][containers][0][env][33][name]": { + "prev": "NotPresent", + "curr": "RELATED_IMAGE_COCKROACH_v21_1_5", + "path": [ + "cockroach-operator-manager", + 0, + "spec", + "containers", + 0, + "env", + 33, + "name" + ] + }, + "root['cockroach-operator-manager'][0][spec][containers][0][env][33][value]": { + "prev": "NotPresent", + "curr": "cockroachdb/cockroach:v21.1.5", + "path": [ + "cockroach-operator-manager", + 0, + "spec", + "containers", + 0, + "env", + 33, + "value" + ] + }, + "root['cockroach-operator-manager'][0][spec][containers][0][env][34][name]": { + "prev": "NotPresent", + "curr": "RELATED_IMAGE_COCKROACH_v21_1_6", + "path": [ + "cockroach-operator-manager", + 0, + "spec", + "containers", + 0, + "env", + 34, + "name" + ] + }, + "root['cockroach-operator-manager'][0][spec][containers][0][env][34][value]": { + "prev": "NotPresent", + "curr": "cockroachdb/cockroach:v21.1.6", + "path": [ + "cockroach-operator-manager", + 0, + "spec", + "containers", + 0, + "env", + 34, + "value" + ] + }, + "root['cockroach-operator-manager'][0][spec][containers][0][env][35][name]": { + "prev": "NotPresent", + "curr": "RELATED_IMAGE_COCKROACH_v21_1_7", + "path": [ + "cockroach-operator-manager", + 0, + "spec", + "containers", + 0, + "env", + 35, + "name" + ] + }, + "root['cockroach-operator-manager'][0][spec][containers][0][env][35][value]": { + "prev": "NotPresent", + "curr": "cockroachdb/cockroach:v21.1.7", + "path": [ + "cockroach-operator-manager", + 0, + "spec", + "containers", + 0, + "env", + 35, + "value" + ] + }, + "root['cockroach-operator-manager'][0][spec][containers][0][env][36][name]": { + "prev": "NotPresent", + "curr": "RELATED_IMAGE_COCKROACH_v21_1_9", + "path": [ + "cockroach-operator-manager", + 0, + "spec", + "containers", + 0, + "env", + 36, + "name" + ] + }, + "root['cockroach-operator-manager'][0][spec][containers][0][env][36][value]": { + "prev": "NotPresent", + "curr": "cockroachdb/cockroach:v21.1.9", + "path": [ + "cockroach-operator-manager", + 0, + "spec", + "containers", + 0, + "env", + 36, + "value" + ] + }, + "root['cockroach-operator-manager'][0][spec][containers][0][env][37][name]": { + "prev": "NotPresent", + "curr": "RELATED_IMAGE_COCKROACH_v21_1_10", + "path": [ + "cockroach-operator-manager", + 0, + "spec", + "containers", + 0, + "env", + 37, + "name" + ] + }, + "root['cockroach-operator-manager'][0][spec][containers][0][env][37][value]": { + "prev": "NotPresent", + "curr": "cockroachdb/cockroach:v21.1.10", + "path": [ + "cockroach-operator-manager", + 0, + "spec", + "containers", + 0, + "env", + 37, + "value" + ] + }, + "root['cockroach-operator-manager'][0][spec][containers][0][env][38][name]": { + "prev": "NotPresent", + "curr": "RELATED_IMAGE_COCKROACH_v21_1_11", + "path": [ + "cockroach-operator-manager", + 0, + "spec", + "containers", + 0, + "env", + 38, + "name" + ] + }, + "root['cockroach-operator-manager'][0][spec][containers][0][env][38][value]": { + "prev": "NotPresent", + "curr": "cockroachdb/cockroach:v21.1.11", + "path": [ + "cockroach-operator-manager", + 0, + "spec", + "containers", + 0, + "env", + 38, + "value" + ] + }, + "root['cockroach-operator-manager'][0][spec][containers][0][env][39][name]": { + "prev": "NotPresent", + "curr": "RELATED_IMAGE_COCKROACH_v21_1_12", + "path": [ + "cockroach-operator-manager", + 0, + "spec", + "containers", + 0, + "env", + 39, + "name" + ] + }, + "root['cockroach-operator-manager'][0][spec][containers][0][env][39][value]": { + "prev": "NotPresent", + "curr": "cockroachdb/cockroach:v21.1.12", + "path": [ + "cockroach-operator-manager", + 0, + "spec", + "containers", + 0, + "env", + 39, + "value" + ] + }, + "root['cockroach-operator-manager'][0][spec][containers][0][env][40][name]": { + "prev": "NotPresent", + "curr": "RELATED_IMAGE_COCKROACH_v21_1_13", + "path": [ + "cockroach-operator-manager", + 0, + "spec", + "containers", + 0, + "env", + 40, + "name" + ] + }, + "root['cockroach-operator-manager'][0][spec][containers][0][env][40][value]": { + "prev": "NotPresent", + "curr": "cockroachdb/cockroach:v21.1.13", + "path": [ + "cockroach-operator-manager", + 0, + "spec", + "containers", + 0, + "env", + 40, + "value" + ] + }, + "root['cockroach-operator-manager'][0][spec][containers][0][env][41][name]": { + "prev": "NotPresent", + "curr": "RELATED_IMAGE_COCKROACH_v21_1_14", + "path": [ + "cockroach-operator-manager", + 0, + "spec", + "containers", + 0, + "env", + 41, + "name" + ] + }, + "root['cockroach-operator-manager'][0][spec][containers][0][env][41][value]": { + "prev": "NotPresent", + "curr": "cockroachdb/cockroach:v21.1.14", + "path": [ + "cockroach-operator-manager", + 0, + "spec", + "containers", + 0, + "env", + 41, + "value" + ] + }, + "root['cockroach-operator-manager'][0][spec][containers][0][env][42][name]": { + "prev": "NotPresent", + "curr": "RELATED_IMAGE_COCKROACH_v21_1_15", + "path": [ + "cockroach-operator-manager", + 0, + "spec", + "containers", + 0, + "env", + 42, + "name" + ] + }, + "root['cockroach-operator-manager'][0][spec][containers][0][env][42][value]": { + "prev": "NotPresent", + "curr": "cockroachdb/cockroach:v21.1.15", + "path": [ + "cockroach-operator-manager", + 0, + "spec", + "containers", + 0, + "env", + 42, + "value" + ] + }, + "root['cockroach-operator-manager'][0][spec][containers][0][env][43][name]": { + "prev": "NotPresent", + "curr": "RELATED_IMAGE_COCKROACH_v21_1_16", + "path": [ + "cockroach-operator-manager", + 0, + "spec", + "containers", + 0, + "env", + 43, + "name" + ] + }, + "root['cockroach-operator-manager'][0][spec][containers][0][env][43][value]": { + "prev": "NotPresent", + "curr": "cockroachdb/cockroach:v21.1.16", + "path": [ + "cockroach-operator-manager", + 0, + "spec", + "containers", + 0, + "env", + 43, + "value" + ] + }, + "root['cockroach-operator-manager'][0][spec][containers][0][env][44][name]": { + "prev": "NotPresent", + "curr": "RELATED_IMAGE_COCKROACH_v21_1_17", + "path": [ + "cockroach-operator-manager", + 0, + "spec", + "containers", + 0, + "env", + 44, + "name" + ] + }, + "root['cockroach-operator-manager'][0][spec][containers][0][env][44][value]": { + "prev": "NotPresent", + "curr": "cockroachdb/cockroach:v21.1.17", + "path": [ + "cockroach-operator-manager", + 0, + "spec", + "containers", + 0, + "env", + 44, + "value" + ] + }, + "root['cockroach-operator-manager'][0][spec][containers][0][env][45][name]": { + "prev": "NotPresent", + "curr": "RELATED_IMAGE_COCKROACH_v21_1_18", + "path": [ + "cockroach-operator-manager", + 0, + "spec", + "containers", + 0, + "env", + 45, + "name" + ] + }, + "root['cockroach-operator-manager'][0][spec][containers][0][env][45][value]": { + "prev": "NotPresent", + "curr": "cockroachdb/cockroach:v21.1.18", + "path": [ + "cockroach-operator-manager", + 0, + "spec", + "containers", + 0, + "env", + 45, + "value" + ] + }, + "root['cockroach-operator-manager'][0][spec][containers][0][env][46][name]": { + "prev": "NotPresent", + "curr": "RELATED_IMAGE_COCKROACH_v21_1_19", + "path": [ + "cockroach-operator-manager", + 0, + "spec", + "containers", + 0, + "env", + 46, + "name" + ] + }, + "root['cockroach-operator-manager'][0][spec][containers][0][env][46][value]": { + "prev": "NotPresent", + "curr": "cockroachdb/cockroach:v21.1.19", + "path": [ + "cockroach-operator-manager", + 0, + "spec", + "containers", + 0, + "env", + 46, + "value" + ] + }, + "root['cockroach-operator-manager'][0][spec][containers][0][env][47][name]": { + "prev": "NotPresent", + "curr": "RELATED_IMAGE_COCKROACH_v21_2_0", + "path": [ + "cockroach-operator-manager", + 0, + "spec", + "containers", + 0, + "env", + 47, + "name" + ] + }, + "root['cockroach-operator-manager'][0][spec][containers][0][env][47][value]": { + "prev": "NotPresent", + "curr": "cockroachdb/cockroach:v21.2.0", + "path": [ + "cockroach-operator-manager", + 0, + "spec", + "containers", + 0, + "env", + 47, + "value" + ] + }, + "root['cockroach-operator-manager'][0][spec][containers][0][env][48][name]": { + "prev": "NotPresent", + "curr": "RELATED_IMAGE_COCKROACH_v21_2_1", + "path": [ + "cockroach-operator-manager", + 0, + "spec", + "containers", + 0, + "env", + 48, + "name" + ] + }, + "root['cockroach-operator-manager'][0][spec][containers][0][env][48][value]": { + "prev": "NotPresent", + "curr": "cockroachdb/cockroach:v21.2.1", + "path": [ + "cockroach-operator-manager", + 0, + "spec", + "containers", + 0, + "env", + 48, + "value" + ] + }, + "root['cockroach-operator-manager'][0][spec][containers][0][env][49][name]": { + "prev": "NotPresent", + "curr": "RELATED_IMAGE_COCKROACH_v21_2_2", + "path": [ + "cockroach-operator-manager", + 0, + "spec", + "containers", + 0, + "env", + 49, + "name" + ] + }, + "root['cockroach-operator-manager'][0][spec][containers][0][env][49][value]": { + "prev": "NotPresent", + "curr": "cockroachdb/cockroach:v21.2.2", + "path": [ + "cockroach-operator-manager", + 0, + "spec", + "containers", + 0, + "env", + 49, + "value" + ] + }, + "root['cockroach-operator-manager'][0][spec][containers][0][env][50][name]": { + "prev": "NotPresent", + "curr": "RELATED_IMAGE_COCKROACH_v21_2_3", + "path": [ + "cockroach-operator-manager", + 0, + "spec", + "containers", + 0, + "env", + 50, + "name" + ] + }, + "root['cockroach-operator-manager'][0][spec][containers][0][env][50][value]": { + "prev": "NotPresent", + "curr": "cockroachdb/cockroach:v21.2.3", + "path": [ + "cockroach-operator-manager", + 0, + "spec", + "containers", + 0, + "env", + 50, + "value" + ] + }, + "root['cockroach-operator-manager'][0][spec][containers][0][env][51][name]": { + "prev": "NotPresent", + "curr": "RELATED_IMAGE_COCKROACH_v21_2_4", + "path": [ + "cockroach-operator-manager", + 0, + "spec", + "containers", + 0, + "env", + 51, + "name" + ] + }, + "root['cockroach-operator-manager'][0][spec][containers][0][env][51][value]": { + "prev": "NotPresent", + "curr": "cockroachdb/cockroach:v21.2.4", + "path": [ + "cockroach-operator-manager", + 0, + "spec", + "containers", + 0, + "env", + 51, + "value" + ] + }, + "root['cockroach-operator-manager'][0][spec][containers][0][env][52][name]": { + "prev": "NotPresent", + "curr": "RELATED_IMAGE_COCKROACH_v21_2_5", + "path": [ + "cockroach-operator-manager", + 0, + "spec", + "containers", + 0, + "env", + 52, + "name" + ] + }, + "root['cockroach-operator-manager'][0][spec][containers][0][env][52][value]": { + "prev": "NotPresent", + "curr": "cockroachdb/cockroach:v21.2.5", + "path": [ + "cockroach-operator-manager", + 0, + "spec", + "containers", + 0, + "env", + 52, + "value" + ] + }, + "root['cockroach-operator-manager'][0][spec][containers][0][env][53][name]": { + "prev": "NotPresent", + "curr": "RELATED_IMAGE_COCKROACH_v21_2_7", + "path": [ + "cockroach-operator-manager", + 0, + "spec", + "containers", + 0, + "env", + 53, + "name" + ] + }, + "root['cockroach-operator-manager'][0][spec][containers][0][env][53][value]": { + "prev": "NotPresent", + "curr": "cockroachdb/cockroach:v21.2.7", + "path": [ + "cockroach-operator-manager", + 0, + "spec", + "containers", + 0, + "env", + 53, + "value" + ] + }, + "root['cockroach-operator-manager'][0][spec][containers][0][env][54][name]": { + "prev": "NotPresent", + "curr": "RELATED_IMAGE_COCKROACH_v21_2_8", + "path": [ + "cockroach-operator-manager", + 0, + "spec", + "containers", + 0, + "env", + 54, + "name" + ] + }, + "root['cockroach-operator-manager'][0][spec][containers][0][env][54][value]": { + "prev": "NotPresent", + "curr": "cockroachdb/cockroach:v21.2.8", + "path": [ + "cockroach-operator-manager", + 0, + "spec", + "containers", + 0, + "env", + 54, + "value" + ] + }, + "root['cockroach-operator-manager'][0][spec][containers][0][env][55][name]": { + "prev": "NotPresent", + "curr": "RELATED_IMAGE_COCKROACH_v21_2_9", + "path": [ + "cockroach-operator-manager", + 0, + "spec", + "containers", + 0, + "env", + 55, + "name" + ] + }, + "root['cockroach-operator-manager'][0][spec][containers][0][env][55][value]": { + "prev": "NotPresent", + "curr": "cockroachdb/cockroach:v21.2.9", + "path": [ + "cockroach-operator-manager", + 0, + "spec", + "containers", + 0, + "env", + 55, + "value" + ] + }, + "root['cockroach-operator-manager'][0][spec][containers][0][env][56][name]": { + "prev": "NotPresent", + "curr": "RELATED_IMAGE_COCKROACH_v21_2_10", + "path": [ + "cockroach-operator-manager", + 0, + "spec", + "containers", + 0, + "env", + 56, + "name" + ] + }, + "root['cockroach-operator-manager'][0][spec][containers][0][env][56][value]": { + "prev": "NotPresent", + "curr": "cockroachdb/cockroach:v21.2.10", + "path": [ + "cockroach-operator-manager", + 0, + "spec", + "containers", + 0, + "env", + 56, + "value" + ] + }, + "root['cockroach-operator-manager'][0][spec][containers][0][env][57][name]": { + "prev": "NotPresent", + "curr": "OPERATOR_NAME", + "path": [ + "cockroach-operator-manager", + 0, + "spec", + "containers", + 0, + "env", + 57, + "name" + ] + }, + "root['cockroach-operator-manager'][0][spec][containers][0][env][57][value]": { + "prev": "NotPresent", + "curr": "cockroachdb", + "path": [ + "cockroach-operator-manager", + 0, + "spec", + "containers", + 0, + "env", + 57, + "value" + ] + }, + "root['cockroach-operator-manager'][0][spec][containers][0][env][58][name]": { + "prev": "NotPresent", + "curr": "POD_NAME", + "path": [ + "cockroach-operator-manager", + 0, + "spec", + "containers", + 0, + "env", + 58, + "name" + ] + }, + "root['cockroach-operator-manager'][0][spec][containers][0][env][58][value_from][field_ref][api_version]": { + "prev": "NotPresent", + "curr": "v1", + "path": [ + "cockroach-operator-manager", + 0, + "spec", + "containers", + 0, + "env", + 58, + "value_from", + "field_ref", + "api_version" + ] + }, + "root['cockroach-operator-manager'][0][spec][containers][0][env][58][value_from][field_ref][field_path]": { + "prev": "NotPresent", + "curr": "metadata.name", + "path": [ + "cockroach-operator-manager", + 0, + "spec", + "containers", + 0, + "env", + 58, + "value_from", + "field_ref", + "field_path" + ] + }, + "root['cockroach-operator-manager'][0][spec][containers][0][env][59][name]": { + "prev": "NotPresent", + "curr": "NAMESPACE", + "path": [ + "cockroach-operator-manager", + 0, + "spec", + "containers", + 0, + "env", + 59, + "name" + ] + }, + "root['cockroach-operator-manager'][0][spec][containers][0][env][59][value_from][field_ref][api_version]": { + "prev": "NotPresent", + "curr": "v1", + "path": [ + "cockroach-operator-manager", + 0, + "spec", + "containers", + 0, + "env", + 59, + "value_from", + "field_ref", + "api_version" + ] + }, + "root['cockroach-operator-manager'][0][spec][containers][0][env][59][value_from][field_ref][field_path]": { + "prev": "NotPresent", + "curr": "metadata.namespace", + "path": [ + "cockroach-operator-manager", + 0, + "spec", + "containers", + 0, + "env", + 59, + "value_from", + "field_ref", + "field_path" + ] + }, + "root['cockroach-operator-manager'][0][spec][containers][0][image]": { + "prev": "NotPresent", + "curr": "cockroachdb/cockroach-operator:v2.7.0", + "path": [ + "cockroach-operator-manager", + 0, + "spec", + "containers", + 0, + "image" + ] + }, + "root['cockroach-operator-manager'][0][spec][containers][0][image_pull_policy]": { + "prev": "NotPresent", + "curr": "IfNotPresent", + "path": [ + "cockroach-operator-manager", + 0, + "spec", + "containers", + 0, + "image_pull_policy" + ] + }, + "root['cockroach-operator-manager'][0][spec][containers][0][name]": { + "prev": "NotPresent", + "curr": "cockroach-operator", + "path": [ + "cockroach-operator-manager", + 0, + "spec", + "containers", + 0, + "name" + ] + }, + "root['cockroach-operator-manager'][0][spec][containers][0][resources][requests][cpu]": { + "prev": "NotPresent", + "curr": "10m", + "path": [ + "cockroach-operator-manager", + 0, + "spec", + "containers", + 0, + "resources", + "requests", + "cpu" + ] + }, + "root['cockroach-operator-manager'][0][spec][containers][0][resources][requests][memory]": { + "prev": "NotPresent", + "curr": "32Mi", + "path": [ + "cockroach-operator-manager", + 0, + "spec", + "containers", + 0, + "resources", + "requests", + "memory" + ] + }, + "root['cockroach-operator-manager'][0][spec][containers][0][termination_message_path]": { + "prev": "NotPresent", + "curr": "/dev/termination-log", + "path": [ + "cockroach-operator-manager", + 0, + "spec", + "containers", + 0, + "termination_message_path" + ] + }, + "root['cockroach-operator-manager'][0][spec][containers][0][termination_message_policy]": { + "prev": "NotPresent", + "curr": "File", + "path": [ + "cockroach-operator-manager", + 0, + "spec", + "containers", + 0, + "termination_message_policy" + ] + }, + "root['cockroach-operator-manager'][0][spec][containers][0][volume_mounts][0][mount_path]": { + "prev": "NotPresent", + "curr": "/var/run/secrets/kubernetes.io/serviceaccount", + "path": [ + "cockroach-operator-manager", + 0, + "spec", + "containers", + 0, + "volume_mounts", + 0, + "mount_path" + ] + }, + "root['cockroach-operator-manager'][0][spec][containers][0][volume_mounts][0][name]": { + "prev": "NotPresent", + "curr": "kube-api-access-shxth", + "path": [ + "cockroach-operator-manager", + 0, + "spec", + "containers", + 0, + "volume_mounts", + 0, + "name" + ] + }, + "root['cockroach-operator-manager'][0][spec][containers][0][volume_mounts][0][read_only]": { + "prev": "NotPresent", + "curr": true, + "path": [ + "cockroach-operator-manager", + 0, + "spec", + "containers", + 0, + "volume_mounts", + 0, + "read_only" + ] + }, + "root['cockroach-operator-manager'][0][spec][dns_policy]": { + "prev": "NotPresent", + "curr": "ClusterFirst", + "path": [ + "cockroach-operator-manager", + 0, + "spec", + "dns_policy" + ] + }, + "root['cockroach-operator-manager'][0][spec][enable_service_links]": { + "prev": "NotPresent", + "curr": true, + "path": [ + "cockroach-operator-manager", + 0, + "spec", + "enable_service_links" + ] + }, + "root['cockroach-operator-manager'][0][spec][node_name]": { + "prev": "NotPresent", + "curr": "acto-cluster-0-worker3", + "path": [ + "cockroach-operator-manager", + 0, + "spec", + "node_name" + ] + }, + "root['cockroach-operator-manager'][0][spec][preemption_policy]": { + "prev": "NotPresent", + "curr": "PreemptLowerPriority", + "path": [ + "cockroach-operator-manager", + 0, + "spec", + "preemption_policy" + ] + }, + "root['cockroach-operator-manager'][0][spec][priority]": { + "prev": "NotPresent", + "curr": 0, + "path": [ + "cockroach-operator-manager", + 0, + "spec", + "priority" + ] + }, + "root['cockroach-operator-manager'][0][spec][restart_policy]": { + "prev": "NotPresent", + "curr": "Always", + "path": [ + "cockroach-operator-manager", + 0, + "spec", + "restart_policy" + ] + }, + "root['cockroach-operator-manager'][0][spec][scheduler_name]": { + "prev": "NotPresent", + "curr": "default-scheduler", + "path": [ + "cockroach-operator-manager", + 0, + "spec", + "scheduler_name" + ] + }, + "root['cockroach-operator-manager'][0][spec][service_account]": { + "prev": "NotPresent", + "curr": "cockroach-operator-sa", + "path": [ + "cockroach-operator-manager", + 0, + "spec", + "service_account" + ] + }, + "root['cockroach-operator-manager'][0][spec][service_account_name]": { + "prev": "NotPresent", + "curr": "cockroach-operator-sa", + "path": [ + "cockroach-operator-manager", + 0, + "spec", + "service_account_name" + ] + }, + "root['cockroach-operator-manager'][0][spec][termination_grace_period_seconds]": { + "prev": "NotPresent", + "curr": 30, + "path": [ + "cockroach-operator-manager", + 0, + "spec", + "termination_grace_period_seconds" + ] + }, + "root['cockroach-operator-manager'][0][spec][tolerations][0][effect]": { + "prev": "NotPresent", + "curr": "NoExecute", + "path": [ + "cockroach-operator-manager", + 0, + "spec", + "tolerations", + 0, + "effect" + ] + }, + "root['cockroach-operator-manager'][0][spec][tolerations][0][key]": { + "prev": "NotPresent", + "curr": "node.kubernetes.io/not-ready", + "path": [ + "cockroach-operator-manager", + 0, + "spec", + "tolerations", + 0, + "key" + ] + }, + "root['cockroach-operator-manager'][0][spec][tolerations][0][operator]": { + "prev": "NotPresent", + "curr": "Exists", + "path": [ + "cockroach-operator-manager", + 0, + "spec", + "tolerations", + 0, + "operator" + ] + }, + "root['cockroach-operator-manager'][0][spec][tolerations][0][toleration_seconds]": { + "prev": "NotPresent", + "curr": 300, + "path": [ + "cockroach-operator-manager", + 0, + "spec", + "tolerations", + 0, + "toleration_seconds" + ] + }, + "root['cockroach-operator-manager'][0][spec][tolerations][1][effect]": { + "prev": "NotPresent", + "curr": "NoExecute", + "path": [ + "cockroach-operator-manager", + 0, + "spec", + "tolerations", + 1, + "effect" + ] + }, + "root['cockroach-operator-manager'][0][spec][tolerations][1][key]": { + "prev": "NotPresent", + "curr": "node.kubernetes.io/unreachable", + "path": [ + "cockroach-operator-manager", + 0, + "spec", + "tolerations", + 1, + "key" + ] + }, + "root['cockroach-operator-manager'][0][spec][tolerations][1][operator]": { + "prev": "NotPresent", + "curr": "Exists", + "path": [ + "cockroach-operator-manager", + 0, + "spec", + "tolerations", + 1, + "operator" + ] + }, + "root['cockroach-operator-manager'][0][spec][tolerations][1][toleration_seconds]": { + "prev": "NotPresent", + "curr": 300, + "path": [ + "cockroach-operator-manager", + 0, + "spec", + "tolerations", + 1, + "toleration_seconds" + ] + }, + "root['cockroach-operator-manager'][0][spec][volumes][0][name]": { + "prev": "NotPresent", + "curr": "kube-api-access-shxth", + "path": [ + "cockroach-operator-manager", + 0, + "spec", + "volumes", + 0, + "name" + ] + }, + "root['cockroach-operator-manager'][0][spec][volumes][0][projected][default_mode]": { + "prev": "NotPresent", + "curr": 420, + "path": [ + "cockroach-operator-manager", + 0, + "spec", + "volumes", + 0, + "projected", + "default_mode" + ] + }, + "root['cockroach-operator-manager'][0][spec][volumes][0][projected][sources][0][service_account_token][expiration_seconds]": { + "prev": "NotPresent", + "curr": 3607, + "path": [ + "cockroach-operator-manager", + 0, + "spec", + "volumes", + 0, + "projected", + "sources", + 0, + "service_account_token", + "expiration_seconds" + ] + }, + "root['cockroach-operator-manager'][0][spec][volumes][0][projected][sources][0][service_account_token][path]": { + "prev": "NotPresent", + "curr": "token", + "path": [ + "cockroach-operator-manager", + 0, + "spec", + "volumes", + 0, + "projected", + "sources", + 0, + "service_account_token", + "path" + ] + }, + "root['cockroach-operator-manager'][0][spec][volumes][0][projected][sources][1][config_map][items][0][key]": { + "prev": "NotPresent", + "curr": "ca.crt", + "path": [ + "cockroach-operator-manager", + 0, + "spec", + "volumes", + 0, + "projected", + "sources", + 1, + "config_map", + "items", + 0, + "key" + ] + }, + "root['cockroach-operator-manager'][0][spec][volumes][0][projected][sources][1][config_map][items][0][path]": { + "prev": "NotPresent", + "curr": "ca.crt", + "path": [ + "cockroach-operator-manager", + 0, + "spec", + "volumes", + 0, + "projected", + "sources", + 1, + "config_map", + "items", + 0, + "path" + ] + }, + "root['cockroach-operator-manager'][0][spec][volumes][0][projected][sources][1][config_map][name]": { + "prev": "NotPresent", + "curr": "kube-root-ca.crt", + "path": [ + "cockroach-operator-manager", + 0, + "spec", + "volumes", + 0, + "projected", + "sources", + 1, + "config_map", + "name" + ] + }, + "root['cockroach-operator-manager'][0][spec][volumes][0][projected][sources][2][downward_api][items][0][field_ref][api_version]": { + "prev": "NotPresent", + "curr": "v1", + "path": [ + "cockroach-operator-manager", + 0, + "spec", + "volumes", + 0, + "projected", + "sources", + 2, + "downward_api", + "items", + 0, + "field_ref", + "api_version" + ] + }, + "root['cockroach-operator-manager'][0][spec][volumes][0][projected][sources][2][downward_api][items][0][field_ref][field_path]": { + "prev": "NotPresent", + "curr": "metadata.namespace", + "path": [ + "cockroach-operator-manager", + 0, + "spec", + "volumes", + 0, + "projected", + "sources", + 2, + "downward_api", + "items", + 0, + "field_ref", + "field_path" + ] + }, + "root['cockroach-operator-manager'][0][spec][volumes][0][projected][sources][2][downward_api][items][0][path]": { + "prev": "NotPresent", + "curr": "namespace", + "path": [ + "cockroach-operator-manager", + 0, + "spec", + "volumes", + 0, + "projected", + "sources", + 2, + "downward_api", + "items", + 0, + "path" + ] + }, + "root['cockroach-operator-manager'][0][status][conditions][0][last_transition_time]": { + "prev": "NotPresent", + "curr": "2023-05-04T20:30:52+00:00", + "path": [ + "cockroach-operator-manager", + 0, + "status", + "conditions", + 0, + "last_transition_time" + ] + }, + "root['cockroach-operator-manager'][0][status][conditions][0][status]": { + "prev": "NotPresent", + "curr": "True", + "path": [ + "cockroach-operator-manager", + 0, + "status", + "conditions", + 0, + "status" + ] + }, + "root['cockroach-operator-manager'][0][status][conditions][0][type]": { + "prev": "NotPresent", + "curr": "Initialized", + "path": [ + "cockroach-operator-manager", + 0, + "status", + "conditions", + 0, + "type" + ] + }, + "root['cockroach-operator-manager'][0][status][conditions][1][last_transition_time]": { + "prev": "NotPresent", + "curr": "2023-05-04T20:30:52+00:00", + "path": [ + "cockroach-operator-manager", + 0, + "status", + "conditions", + 1, + "last_transition_time" + ] + }, + "root['cockroach-operator-manager'][0][status][conditions][1][status]": { + "prev": "NotPresent", + "curr": "True", + "path": [ + "cockroach-operator-manager", + 0, + "status", + "conditions", + 1, + "status" + ] + }, + "root['cockroach-operator-manager'][0][status][conditions][1][type]": { + "prev": "NotPresent", + "curr": "Ready", + "path": [ + "cockroach-operator-manager", + 0, + "status", + "conditions", + 1, + "type" + ] + }, + "root['cockroach-operator-manager'][0][status][conditions][2][last_transition_time]": { + "prev": "NotPresent", + "curr": "2023-05-04T20:30:52+00:00", + "path": [ + "cockroach-operator-manager", + 0, + "status", + "conditions", + 2, + "last_transition_time" + ] + }, + "root['cockroach-operator-manager'][0][status][conditions][2][status]": { + "prev": "NotPresent", + "curr": "True", + "path": [ + "cockroach-operator-manager", + 0, + "status", + "conditions", + 2, + "status" + ] + }, + "root['cockroach-operator-manager'][0][status][conditions][2][type]": { + "prev": "NotPresent", + "curr": "ContainersReady", + "path": [ + "cockroach-operator-manager", + 0, + "status", + "conditions", + 2, + "type" + ] + }, + "root['cockroach-operator-manager'][0][status][conditions][3][last_transition_time]": { + "prev": "NotPresent", + "curr": "2023-05-04T20:30:52+00:00", + "path": [ + "cockroach-operator-manager", + 0, + "status", + "conditions", + 3, + "last_transition_time" + ] + }, + "root['cockroach-operator-manager'][0][status][conditions][3][status]": { + "prev": "NotPresent", + "curr": "True", + "path": [ + "cockroach-operator-manager", + 0, + "status", + "conditions", + 3, + "status" + ] + }, + "root['cockroach-operator-manager'][0][status][conditions][3][type]": { + "prev": "NotPresent", + "curr": "PodScheduled", + "path": [ + "cockroach-operator-manager", + 0, + "status", + "conditions", + 3, + "type" + ] + }, + "root['cockroach-operator-manager'][0][status][container_statuses][0][container_id]": { + "prev": "NotPresent", + "curr": "containerd://047bd91d0f97b407027597509ee9fb3aab2ba0d22f7b2f3f5ce4f752805d99c7", + "path": [ + "cockroach-operator-manager", + 0, + "status", + "container_statuses", + 0, + "container_id" + ] + }, + "root['cockroach-operator-manager'][0][status][container_statuses][0][image]": { + "prev": "NotPresent", + "curr": "docker.io/cockroachdb/cockroach-operator:v2.7.0", + "path": [ + "cockroach-operator-manager", + 0, + "status", + "container_statuses", + 0, + "image" + ] + }, + "root['cockroach-operator-manager'][0][status][container_statuses][0][image_id]": { + "prev": "NotPresent", + "curr": "docker.io/library/import-2023-05-04@sha256:5c5b320a3785185e893eefcb40debe5f237dfe8493f73ab573c12da6a5083449", + "path": [ + "cockroach-operator-manager", + 0, + "status", + "container_statuses", + 0, + "image_id" + ] + }, + "root['cockroach-operator-manager'][0][status][container_statuses][0][name]": { + "prev": "NotPresent", + "curr": "cockroach-operator", + "path": [ + "cockroach-operator-manager", + 0, + "status", + "container_statuses", + 0, + "name" + ] + }, + "root['cockroach-operator-manager'][0][status][container_statuses][0][ready]": { + "prev": "NotPresent", + "curr": true, + "path": [ + "cockroach-operator-manager", + 0, + "status", + "container_statuses", + 0, + "ready" + ] + }, + "root['cockroach-operator-manager'][0][status][container_statuses][0][restart_count]": { + "prev": "NotPresent", + "curr": 0, + "path": [ + "cockroach-operator-manager", + 0, + "status", + "container_statuses", + 0, + "restart_count" + ] + }, + "root['cockroach-operator-manager'][0][status][container_statuses][0][started]": { + "prev": "NotPresent", + "curr": true, + "path": [ + "cockroach-operator-manager", + 0, + "status", + "container_statuses", + 0, + "started" + ] + }, + "root['cockroach-operator-manager'][0][status][container_statuses][0][state][running][started_at]": { + "prev": "NotPresent", + "curr": "2023-05-04T20:30:52+00:00", + "path": [ + "cockroach-operator-manager", + 0, + "status", + "container_statuses", + 0, + "state", + "running", + "started_at" + ] + }, + "root['cockroach-operator-manager'][0][status][host_ip]": { + "prev": "NotPresent", + "curr": "172.18.0.3", + "path": [ + "cockroach-operator-manager", + 0, + "status", + "host_ip" + ] + }, + "root['cockroach-operator-manager'][0][status][phase]": { + "prev": "NotPresent", + "curr": "Running", + "path": [ + "cockroach-operator-manager", + 0, + "status", + "phase" + ] + }, + "root['cockroach-operator-manager'][0][status][pod_ip]": { + "prev": "NotPresent", + "curr": "10.244.1.2", + "path": [ + "cockroach-operator-manager", + 0, + "status", + "pod_ip" + ] + }, + "root['cockroach-operator-manager'][0][status][pod_i_ps][0][ip]": { + "prev": "NotPresent", + "curr": "10.244.1.2", + "path": [ + "cockroach-operator-manager", + 0, + "status", + "pod_i_ps", + 0, + "ip" + ] + }, + "root['cockroach-operator-manager'][0][status][qos_class]": { + "prev": "NotPresent", + "curr": "Burstable", + "path": [ + "cockroach-operator-manager", + 0, + "status", + "qos_class" + ] + }, + "root['cockroach-operator-manager'][0][status][start_time]": { + "prev": "NotPresent", + "curr": "2023-05-04T20:30:52+00:00", + "path": [ + "cockroach-operator-manager", + 0, + "status", + "start_time" + ] + } + } + }, + "stateful_set": { + "dictionary_item_added": { + "root['test-cluster'][metadata][annotations][crdb.io/containerimage]": { + "prev": "NotPresent", + "curr": "cockroachdb/cockroach:v21.2.10", + "path": [ + "test-cluster", + "metadata", + "annotations", + "crdb.io/containerimage" + ] + }, + "root['test-cluster'][metadata][annotations][crdb.io/last-applied]": { + "prev": "NotPresent", + "curr": "eyJtZXRhZGF0YSI6eyJsYWJlbHMiOnsiYXBwLmt1YmVybmV0ZXM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ldGFkYXRhIjp7Im5hbWUiOiJkYXRhZGlyIiwibGFiZWxzIjp7ImFwcC5rdWJlcm5ldGVzLmlvL2luc3RhbmNlIjoidGVzdC1jbHVzdGVyIiwiYXBwLmt1YmVybmV0ZXMuaW8vY29tcG9uZW50IjoiZGF0YWJhc2UiLCJjcmRiIjoiaXMtY29vbCIsImFwcC5rdWJlcm5ldGVzLmlvL25hbWUiOiJjb2Nrcm9hY2hkYiJ9fSwic3BlYyI6eyJyZXNvdXJjZXMiOnsicmVxdWVzdHMiOnsic3RvcmFnZSI6IjFHaSJ9fSwidm9sdW1lTW9kZSI6IkZpbGVzeXN0ZW0iLCJhY2Nlc3NNb2RlcyI6WyJSZWFkV3JpdGVPbmNlIl19LCJzdGF0dXMiOnt9fV0sInNlcnZpY2VOYW1lIjoidGVzdC1jbHVzdGVyIn0sInN0YXR1cyI6eyJyZXBsaWNhcyI6MH19", + "path": [ + "test-cluster", + "metadata", + "annotations", + "crdb.io/last-applied" + ] + }, + "root['test-cluster'][metadata][annotations][crdb.io/version]": { + "prev": "NotPresent", + "curr": "v21.2.10", + "path": [ + "test-cluster", + "metadata", + "annotations", + "crdb.io/version" + ] + }, + "root['test-cluster'][metadata][creation_timestamp]": { + "prev": "NotPresent", + "curr": "2023-05-04T20:30:58+00:00", + "path": [ + "test-cluster", + "metadata", + "creation_timestamp" + ] + }, + "root['test-cluster'][metadata][generation]": { + "prev": "NotPresent", + "curr": 1, + "path": [ + "test-cluster", + "metadata", + "generation" + ] + }, + "root['test-cluster'][metadata][labels][app.kubernetes.io/component]": { + "prev": "NotPresent", + "curr": "database", + "path": [ + "test-cluster", + "metadata", + "labels", + "app.kubernetes.io/component" + ] + }, + "root['test-cluster'][metadata][labels][app.kubernetes.io/instance]": { + "prev": "NotPresent", + "curr": "test-cluster", + "path": [ + "test-cluster", + "metadata", + "labels", + "app.kubernetes.io/instance" + ] + }, + "root['test-cluster'][metadata][labels][app.kubernetes.io/managed-by]": { + "prev": "NotPresent", + "curr": "cockroach-operator", + "path": [ + "test-cluster", + "metadata", + "labels", + "app.kubernetes.io/managed-by" + ] + }, + "root['test-cluster'][metadata][labels][app.kubernetes.io/name]": { + "prev": "NotPresent", + "curr": "cockroachdb", + "path": [ + "test-cluster", + "metadata", + "labels", + "app.kubernetes.io/name" + ] + }, + "root['test-cluster'][metadata][labels][app.kubernetes.io/part-of]": { + "prev": "NotPresent", + "curr": "cockroachdb", + "path": [ + "test-cluster", + "metadata", + "labels", + "app.kubernetes.io/part-of" + ] + }, + "root['test-cluster'][metadata][labels][app.kubernetes.io/version]": { + "prev": "NotPresent", + "curr": "v21.2.10", + "path": [ + "test-cluster", + "metadata", + "labels", + "app.kubernetes.io/version" + ] + }, + "root['test-cluster'][metadata][labels][crdb]": { + "prev": "NotPresent", + "curr": "is-cool", + "path": [ + "test-cluster", + "metadata", + "labels", + "crdb" + ] + }, + "root['test-cluster'][metadata][managed_fields][0][api_version]": { + "prev": "NotPresent", + "curr": "apps/v1", + "path": [ + "test-cluster", + "metadata", + "managed_fields", + 0, + "api_version" + ] + }, + "root['test-cluster'][metadata][managed_fields][0][fields_type]": { + "prev": "NotPresent", + "curr": "FieldsV1", + "path": [ + "test-cluster", + "metadata", + "managed_fields", + 0, + "fields_type" + ] + }, + "root['test-cluster'][metadata][managed_fields][0][manager]": { + "prev": "NotPresent", + "curr": "cockroach-operator", + "path": [ + "test-cluster", + "metadata", + "managed_fields", + 0, + "manager" + ] + }, + "root['test-cluster'][metadata][managed_fields][0][operation]": { + "prev": "NotPresent", + "curr": "Update", + "path": [ + "test-cluster", + "metadata", + "managed_fields", + 0, + "operation" + ] + }, + "root['test-cluster'][metadata][managed_fields][0][time]": { + "prev": "NotPresent", + "curr": "2023-05-04T20:30:58+00:00", + "path": [ + "test-cluster", + "metadata", + "managed_fields", + 0, + "time" + ] + }, + "root['test-cluster'][metadata][managed_fields][1][api_version]": { + "prev": "NotPresent", + "curr": "apps/v1", + "path": [ + "test-cluster", + "metadata", + "managed_fields", + 1, + "api_version" + ] + }, + "root['test-cluster'][metadata][managed_fields][1][fields_type]": { + "prev": "NotPresent", + "curr": "FieldsV1", + "path": [ + "test-cluster", + "metadata", + "managed_fields", + 1, + "fields_type" + ] + }, + "root['test-cluster'][metadata][managed_fields][1][manager]": { + "prev": "NotPresent", + "curr": "kube-controller-manager", + "path": [ + "test-cluster", + "metadata", + "managed_fields", + 1, + "manager" + ] + }, + "root['test-cluster'][metadata][managed_fields][1][operation]": { + "prev": "NotPresent", + "curr": "Update", + "path": [ + "test-cluster", + "metadata", + "managed_fields", + 1, + "operation" + ] + }, + "root['test-cluster'][metadata][managed_fields][1][subresource]": { + "prev": "NotPresent", + "curr": "status", + "path": [ + "test-cluster", + "metadata", + "managed_fields", + 1, + "subresource" + ] + }, + "root['test-cluster'][metadata][managed_fields][1][time]": { + "prev": "NotPresent", + "curr": "2023-05-04T20:31:13+00:00", + "path": [ + "test-cluster", + "metadata", + "managed_fields", + 1, + "time" + ] + }, + "root['test-cluster'][metadata][name]": { + "prev": "NotPresent", + "curr": "test-cluster", + "path": [ + "test-cluster", + "metadata", + "name" + ] + }, + "root['test-cluster'][metadata][namespace]": { + "prev": "NotPresent", + "curr": "cockroach-operator-system", + "path": [ + "test-cluster", + "metadata", + "namespace" + ] + }, + "root['test-cluster'][metadata][owner_references][0][api_version]": { + "prev": "NotPresent", + "curr": "crdb.cockroachlabs.com/v1alpha1", + "path": [ + "test-cluster", + "metadata", + "owner_references", + 0, + "api_version" + ] + }, + "root['test-cluster'][metadata][owner_references][0][block_owner_deletion]": { + "prev": "NotPresent", + "curr": true, + "path": [ + "test-cluster", + "metadata", + "owner_references", + 0, + "block_owner_deletion" + ] + }, + "root['test-cluster'][metadata][owner_references][0][controller]": { + "prev": "NotPresent", + "curr": true, + "path": [ + "test-cluster", + "metadata", + "owner_references", + 0, + "controller" + ] + }, + "root['test-cluster'][metadata][owner_references][0][kind]": { + "prev": "NotPresent", + "curr": "CrdbCluster", + "path": [ + "test-cluster", + "metadata", + "owner_references", + 0, + "kind" + ] + }, + "root['test-cluster'][metadata][owner_references][0][name]": { + "prev": "NotPresent", + "curr": "test-cluster", + "path": [ + "test-cluster", + "metadata", + "owner_references", + 0, + "name" + ] + }, + "root['test-cluster'][metadata][owner_references][0][uid]": { + "prev": "NotPresent", + "curr": "90ad5ef5-9c95-4092-a5e8-1582b92649ff", + "path": [ + "test-cluster", + "metadata", + "owner_references", + 0, + "uid" + ] + }, + "root['test-cluster'][metadata][resource_version]": { + "prev": "NotPresent", + "curr": "1053", + "path": [ + "test-cluster", + "metadata", + "resource_version" + ] + }, + "root['test-cluster'][metadata][uid]": { + "prev": "NotPresent", + "curr": "f53f5464-2142-4d42-8f5b-bdd30e5c1acf", + "path": [ + "test-cluster", + "metadata", + "uid" + ] + }, + "root['test-cluster'][spec][pod_management_policy]": { + "prev": "NotPresent", + "curr": "Parallel", + "path": [ + "test-cluster", + "spec", + "pod_management_policy" + ] + }, + "root['test-cluster'][spec][replicas]": { + "prev": "NotPresent", + "curr": 3, + "path": [ + "test-cluster", + "spec", + "replicas" + ] + }, + "root['test-cluster'][spec][revision_history_limit]": { + "prev": "NotPresent", + "curr": 10, + "path": [ + "test-cluster", + "spec", + "revision_history_limit" + ] + }, + "root['test-cluster'][spec][selector][match_labels][app.kubernetes.io/component]": { + "prev": "NotPresent", + "curr": "database", + "path": [ + "test-cluster", + "spec", + "selector", + "match_labels", + "app.kubernetes.io/component" + ] + }, + "root['test-cluster'][spec][selector][match_labels][app.kubernetes.io/instance]": { + "prev": "NotPresent", + "curr": "test-cluster", + "path": [ + "test-cluster", + "spec", + "selector", + "match_labels", + "app.kubernetes.io/instance" + ] + }, + "root['test-cluster'][spec][selector][match_labels][app.kubernetes.io/name]": { + "prev": "NotPresent", + "curr": "cockroachdb", + "path": [ + "test-cluster", + "spec", + "selector", + "match_labels", + "app.kubernetes.io/name" + ] + }, + "root['test-cluster'][spec][selector][match_labels][crdb]": { + "prev": "NotPresent", + "curr": "is-cool", + "path": [ + "test-cluster", + "spec", + "selector", + "match_labels", + "crdb" + ] + }, + "root['test-cluster'][spec][service_name]": { + "prev": "NotPresent", + "curr": "test-cluster", + "path": [ + "test-cluster", + "spec", + "service_name" + ] + }, + "root['test-cluster'][spec][template][metadata][labels][app.kubernetes.io/component]": { + "prev": "NotPresent", + "curr": "database", + "path": [ + "test-cluster", + "spec", + "template", + "metadata", + "labels", + "app.kubernetes.io/component" + ] + }, + "root['test-cluster'][spec][template][metadata][labels][app.kubernetes.io/instance]": { + "prev": "NotPresent", + "curr": "test-cluster", + "path": [ + "test-cluster", + "spec", + "template", + "metadata", + "labels", + "app.kubernetes.io/instance" + ] + }, + "root['test-cluster'][spec][template][metadata][labels][app.kubernetes.io/name]": { + "prev": "NotPresent", + "curr": "cockroachdb", + "path": [ + "test-cluster", + "spec", + "template", + "metadata", + "labels", + "app.kubernetes.io/name" + ] + }, + "root['test-cluster'][spec][template][metadata][labels][crdb]": { + "prev": "NotPresent", + "curr": "is-cool", + "path": [ + "test-cluster", + "spec", + "template", + "metadata", + "labels", + "crdb" + ] + }, + "root['test-cluster'][spec][template][spec][automount_service_account_token]": { + "prev": "NotPresent", + "curr": false, + "path": [ + "test-cluster", + "spec", + "template", + "spec", + "automount_service_account_token" + ] + }, + "root['test-cluster'][spec][template][spec][containers][0][command][0]": { + "prev": "NotPresent", + "curr": "/bin/bash", + "path": [ + "test-cluster", + "spec", + "template", + "spec", + "containers", + 0, + "command", + 0 + ] + }, + "root['test-cluster'][spec][template][spec][containers][0][command][1]": { + "prev": "NotPresent", + "curr": "-ecx", + "path": [ + "test-cluster", + "spec", + "template", + "spec", + "containers", + 0, + "command", + 1 + ] + }, + "root['test-cluster'][spec][template][spec][containers][0][command][2]": { + "prev": "NotPresent", + "curr": "exec /cockroach/cockroach.sh start --advertise-host=$(POD_NAME).test-cluster.cockroach-operator-system --certs-dir=/cockroach/cockroach-certs/ --http-port=8080 --sql-addr=:26257 --listen-addr=:26258 --log=\"{sinks: {stderr: {channels: [OPS, HEALTH], redact: true}}}\" --cache $(expr $MEMORY_LIMIT_MIB / 4)MiB --max-sql-memory $(expr $MEMORY_LIMIT_MIB / 4)MiB --join=test-cluster-0.test-cluster.cockroach-operator-system:26258,test-cluster-1.test-cluster.cockroach-operator-system:26258,test-cluster-2.test-cluster.cockroach-operator-system:26258", + "path": [ + "test-cluster", + "spec", + "template", + "spec", + "containers", + 0, + "command", + 2 + ] + }, + "root['test-cluster'][spec][template][spec][containers][0][env][0][name]": { + "prev": "NotPresent", + "curr": "COCKROACH_CHANNEL", + "path": [ + "test-cluster", + "spec", + "template", + "spec", + "containers", + 0, + "env", + 0, + "name" + ] + }, + "root['test-cluster'][spec][template][spec][containers][0][env][0][value]": { + "prev": "NotPresent", + "curr": "kubernetes-operator-unknown", + "path": [ + "test-cluster", + "spec", + "template", + "spec", + "containers", + 0, + "env", + 0, + "value" + ] + }, + "root['test-cluster'][spec][template][spec][containers][0][env][1][name]": { + "prev": "NotPresent", + "curr": "POD_NAME", + "path": [ + "test-cluster", + "spec", + "template", + "spec", + "containers", + 0, + "env", + 1, + "name" + ] + }, + "root['test-cluster'][spec][template][spec][containers][0][env][1][value_from][field_ref][api_version]": { + "prev": "NotPresent", + "curr": "v1", + "path": [ + "test-cluster", + "spec", + "template", + "spec", + "containers", + 0, + "env", + 1, + "value_from", + "field_ref", + "api_version" + ] + }, + "root['test-cluster'][spec][template][spec][containers][0][env][1][value_from][field_ref][field_path]": { + "prev": "NotPresent", + "curr": "metadata.name", + "path": [ + "test-cluster", + "spec", + "template", + "spec", + "containers", + 0, + "env", + 1, + "value_from", + "field_ref", + "field_path" + ] + }, + "root['test-cluster'][spec][template][spec][containers][0][env][2][name]": { + "prev": "NotPresent", + "curr": "GOMAXPROCS", + "path": [ + "test-cluster", + "spec", + "template", + "spec", + "containers", + 0, + "env", + 2, + "name" + ] + }, + "root['test-cluster'][spec][template][spec][containers][0][env][2][value_from][resource_field_ref][divisor]": { + "prev": "NotPresent", + "curr": "1", + "path": [ + "test-cluster", + "spec", + "template", + "spec", + "containers", + 0, + "env", + 2, + "value_from", + "resource_field_ref", + "divisor" + ] + }, + "root['test-cluster'][spec][template][spec][containers][0][env][2][value_from][resource_field_ref][resource]": { + "prev": "NotPresent", + "curr": "limits.cpu", + "path": [ + "test-cluster", + "spec", + "template", + "spec", + "containers", + 0, + "env", + 2, + "value_from", + "resource_field_ref", + "resource" + ] + }, + "root['test-cluster'][spec][template][spec][containers][0][env][3][name]": { + "prev": "NotPresent", + "curr": "MEMORY_LIMIT_MIB", + "path": [ + "test-cluster", + "spec", + "template", + "spec", + "containers", + 0, + "env", + 3, + "name" + ] + }, + "root['test-cluster'][spec][template][spec][containers][0][env][3][value_from][resource_field_ref][divisor]": { + "prev": "NotPresent", + "curr": "1Mi", + "path": [ + "test-cluster", + "spec", + "template", + "spec", + "containers", + 0, + "env", + 3, + "value_from", + "resource_field_ref", + "divisor" + ] + }, + "root['test-cluster'][spec][template][spec][containers][0][env][3][value_from][resource_field_ref][resource]": { + "prev": "NotPresent", + "curr": "limits.memory", + "path": [ + "test-cluster", + "spec", + "template", + "spec", + "containers", + 0, + "env", + 3, + "value_from", + "resource_field_ref", + "resource" + ] + }, + "root['test-cluster'][spec][template][spec][containers][0][image]": { + "prev": "NotPresent", + "curr": "cockroachdb/cockroach:v21.2.10", + "path": [ + "test-cluster", + "spec", + "template", + "spec", + "containers", + 0, + "image" + ] + }, + "root['test-cluster'][spec][template][spec][containers][0][image_pull_policy]": { + "prev": "NotPresent", + "curr": "IfNotPresent", + "path": [ + "test-cluster", + "spec", + "template", + "spec", + "containers", + 0, + "image_pull_policy" + ] + }, + "root['test-cluster'][spec][template][spec][containers][0][lifecycle][pre_stop][_exec][command][0]": { + "prev": "NotPresent", + "curr": "sh", + "path": [ + "test-cluster", + "spec", + "template", + "spec", + "containers", + 0, + "lifecycle", + "pre_stop", + "_exec", + "command", + 0 + ] + }, + "root['test-cluster'][spec][template][spec][containers][0][lifecycle][pre_stop][_exec][command][1]": { + "prev": "NotPresent", + "curr": "-c", + "path": [ + "test-cluster", + "spec", + "template", + "spec", + "containers", + 0, + "lifecycle", + "pre_stop", + "_exec", + "command", + 1 + ] + }, + "root['test-cluster'][spec][template][spec][containers][0][lifecycle][pre_stop][_exec][command][2]": { + "prev": "NotPresent", + "curr": "/cockroach/cockroach node drain --certs-dir=/cockroach/cockroach-certs/ || exit 0", + "path": [ + "test-cluster", + "spec", + "template", + "spec", + "containers", + 0, + "lifecycle", + "pre_stop", + "_exec", + "command", + 2 + ] + }, + "root['test-cluster'][spec][template][spec][containers][0][name]": { + "prev": "NotPresent", + "curr": "db", + "path": [ + "test-cluster", + "spec", + "template", + "spec", + "containers", + 0, + "name" + ] + }, + "root['test-cluster'][spec][template][spec][containers][0][ports][0][container_port]": { + "prev": "NotPresent", + "curr": 26258, + "path": [ + "test-cluster", + "spec", + "template", + "spec", + "containers", + 0, + "ports", + 0, + "container_port" + ] + }, + "root['test-cluster'][spec][template][spec][containers][0][ports][0][name]": { + "prev": "NotPresent", + "curr": "grpc", + "path": [ + "test-cluster", + "spec", + "template", + "spec", + "containers", + 0, + "ports", + 0, + "name" + ] + }, + "root['test-cluster'][spec][template][spec][containers][0][ports][0][protocol]": { + "prev": "NotPresent", + "curr": "TCP", + "path": [ + "test-cluster", + "spec", + "template", + "spec", + "containers", + 0, + "ports", + 0, + "protocol" + ] + }, + "root['test-cluster'][spec][template][spec][containers][0][ports][1][container_port]": { + "prev": "NotPresent", + "curr": 8080, + "path": [ + "test-cluster", + "spec", + "template", + "spec", + "containers", + 0, + "ports", + 1, + "container_port" + ] + }, + "root['test-cluster'][spec][template][spec][containers][0][ports][1][name]": { + "prev": "NotPresent", + "curr": "http", + "path": [ + "test-cluster", + "spec", + "template", + "spec", + "containers", + 0, + "ports", + 1, + "name" + ] + }, + "root['test-cluster'][spec][template][spec][containers][0][ports][1][protocol]": { + "prev": "NotPresent", + "curr": "TCP", + "path": [ + "test-cluster", + "spec", + "template", + "spec", + "containers", + 0, + "ports", + 1, + "protocol" + ] + }, + "root['test-cluster'][spec][template][spec][containers][0][ports][2][container_port]": { + "prev": "NotPresent", + "curr": 26257, + "path": [ + "test-cluster", + "spec", + "template", + "spec", + "containers", + 0, + "ports", + 2, + "container_port" + ] + }, + "root['test-cluster'][spec][template][spec][containers][0][ports][2][name]": { + "prev": "NotPresent", + "curr": "sql", + "path": [ + "test-cluster", + "spec", + "template", + "spec", + "containers", + 0, + "ports", + 2, + "name" + ] + }, + "root['test-cluster'][spec][template][spec][containers][0][ports][2][protocol]": { + "prev": "NotPresent", + "curr": "TCP", + "path": [ + "test-cluster", + "spec", + "template", + "spec", + "containers", + 0, + "ports", + 2, + "protocol" + ] + }, + "root['test-cluster'][spec][template][spec][containers][0][readiness_probe][failure_threshold]": { + "prev": "NotPresent", + "curr": 2, + "path": [ + "test-cluster", + "spec", + "template", + "spec", + "containers", + 0, + "readiness_probe", + "failure_threshold" + ] + }, + "root['test-cluster'][spec][template][spec][containers][0][readiness_probe][http_get][path]": { + "prev": "NotPresent", + "curr": "/health?ready=1", + "path": [ + "test-cluster", + "spec", + "template", + "spec", + "containers", + 0, + "readiness_probe", + "http_get", + "path" + ] + }, + "root['test-cluster'][spec][template][spec][containers][0][readiness_probe][http_get][port]": { + "prev": "NotPresent", + "curr": "http", + "path": [ + "test-cluster", + "spec", + "template", + "spec", + "containers", + 0, + "readiness_probe", + "http_get", + "port" + ] + }, + "root['test-cluster'][spec][template][spec][containers][0][readiness_probe][http_get][scheme]": { + "prev": "NotPresent", + "curr": "HTTPS", + "path": [ + "test-cluster", + "spec", + "template", + "spec", + "containers", + 0, + "readiness_probe", + "http_get", + "scheme" + ] + }, + "root['test-cluster'][spec][template][spec][containers][0][readiness_probe][initial_delay_seconds]": { + "prev": "NotPresent", + "curr": 10, + "path": [ + "test-cluster", + "spec", + "template", + "spec", + "containers", + 0, + "readiness_probe", + "initial_delay_seconds" + ] + }, + "root['test-cluster'][spec][template][spec][containers][0][readiness_probe][period_seconds]": { + "prev": "NotPresent", + "curr": 5, + "path": [ + "test-cluster", + "spec", + "template", + "spec", + "containers", + 0, + "readiness_probe", + "period_seconds" + ] + }, + "root['test-cluster'][spec][template][spec][containers][0][readiness_probe][success_threshold]": { + "prev": "NotPresent", + "curr": 1, + "path": [ + "test-cluster", + "spec", + "template", + "spec", + "containers", + 0, + "readiness_probe", + "success_threshold" + ] + }, + "root['test-cluster'][spec][template][spec][containers][0][readiness_probe][timeout_seconds]": { + "prev": "NotPresent", + "curr": 1, + "path": [ + "test-cluster", + "spec", + "template", + "spec", + "containers", + 0, + "readiness_probe", + "timeout_seconds" + ] + }, + "root['test-cluster'][spec][template][spec][containers][0][resources][limits][cpu]": { + "prev": "NotPresent", + "curr": "2", + "path": [ + "test-cluster", + "spec", + "template", + "spec", + "containers", + 0, + "resources", + "limits", + "cpu" + ] + }, + "root['test-cluster'][spec][template][spec][containers][0][resources][limits][memory]": { + "prev": "NotPresent", + "curr": "2Gi", + "path": [ + "test-cluster", + "spec", + "template", + "spec", + "containers", + 0, + "resources", + "limits", + "memory" + ] + }, + "root['test-cluster'][spec][template][spec][containers][0][resources][requests][cpu]": { + "prev": "NotPresent", + "curr": "100m", + "path": [ + "test-cluster", + "spec", + "template", + "spec", + "containers", + 0, + "resources", + "requests", + "cpu" + ] + }, + "root['test-cluster'][spec][template][spec][containers][0][resources][requests][memory]": { + "prev": "NotPresent", + "curr": "1Gi", + "path": [ + "test-cluster", + "spec", + "template", + "spec", + "containers", + 0, + "resources", + "requests", + "memory" + ] + }, + "root['test-cluster'][spec][template][spec][containers][0][termination_message_path]": { + "prev": "NotPresent", + "curr": "/dev/termination-log", + "path": [ + "test-cluster", + "spec", + "template", + "spec", + "containers", + 0, + "termination_message_path" + ] + }, + "root['test-cluster'][spec][template][spec][containers][0][termination_message_policy]": { + "prev": "NotPresent", + "curr": "File", + "path": [ + "test-cluster", + "spec", + "template", + "spec", + "containers", + 0, + "termination_message_policy" + ] + }, + "root['test-cluster'][spec][template][spec][containers][0][volume_mounts][0][mount_path]": { + "prev": "NotPresent", + "curr": "/cockroach/cockroach-data/", + "path": [ + "test-cluster", + "spec", + "template", + "spec", + "containers", + 0, + "volume_mounts", + 0, + "mount_path" + ] + }, + "root['test-cluster'][spec][template][spec][containers][0][volume_mounts][0][name]": { + "prev": "NotPresent", + "curr": "datadir", + "path": [ + "test-cluster", + "spec", + "template", + "spec", + "containers", + 0, + "volume_mounts", + 0, + "name" + ] + }, + "root['test-cluster'][spec][template][spec][containers][0][volume_mounts][1][mount_path]": { + "prev": "NotPresent", + "curr": "/cockroach/cockroach-certs/", + "path": [ + "test-cluster", + "spec", + "template", + "spec", + "containers", + 0, + "volume_mounts", + 1, + "mount_path" + ] + }, + "root['test-cluster'][spec][template][spec][containers][0][volume_mounts][1][name]": { + "prev": "NotPresent", + "curr": "emptydir", + "path": [ + "test-cluster", + "spec", + "template", + "spec", + "containers", + 0, + "volume_mounts", + 1, + "name" + ] + }, + "root['test-cluster'][spec][template][spec][dns_policy]": { + "prev": "NotPresent", + "curr": "ClusterFirst", + "path": [ + "test-cluster", + "spec", + "template", + "spec", + "dns_policy" + ] + }, + "root['test-cluster'][spec][template][spec][init_containers][0][command][0]": { + "prev": "NotPresent", + "curr": "/bin/sh", + "path": [ + "test-cluster", + "spec", + "template", + "spec", + "init_containers", + 0, + "command", + 0 + ] + }, + "root['test-cluster'][spec][template][spec][init_containers][0][command][1]": { + "prev": "NotPresent", + "curr": "-c", + "path": [ + "test-cluster", + "spec", + "template", + "spec", + "init_containers", + 0, + "command", + 1 + ] + }, + "root['test-cluster'][spec][template][spec][init_containers][0][command][2]": { + "prev": "NotPresent", + "curr": ">- cp -p /cockroach/cockroach-certs-prestage/..data/* /cockroach/cockroach-certs/ && chmod 700 /cockroach/cockroach-certs/*.key && chown 1000581000:1000581000 /cockroach/cockroach-certs/*.key", + "path": [ + "test-cluster", + "spec", + "template", + "spec", + "init_containers", + 0, + "command", + 2 + ] + }, + "root['test-cluster'][spec][template][spec][init_containers][0][image]": { + "prev": "NotPresent", + "curr": "cockroachdb/cockroach:v21.2.10", + "path": [ + "test-cluster", + "spec", + "template", + "spec", + "init_containers", + 0, + "image" + ] + }, + "root['test-cluster'][spec][template][spec][init_containers][0][image_pull_policy]": { + "prev": "NotPresent", + "curr": "IfNotPresent", + "path": [ + "test-cluster", + "spec", + "template", + "spec", + "init_containers", + 0, + "image_pull_policy" + ] + }, + "root['test-cluster'][spec][template][spec][init_containers][0][name]": { + "prev": "NotPresent", + "curr": "db-init", + "path": [ + "test-cluster", + "spec", + "template", + "spec", + "init_containers", + 0, + "name" + ] + }, + "root['test-cluster'][spec][template][spec][init_containers][0][security_context][allow_privilege_escalation]": { + "prev": "NotPresent", + "curr": false, + "path": [ + "test-cluster", + "spec", + "template", + "spec", + "init_containers", + 0, + "security_context", + "allow_privilege_escalation" + ] + }, + "root['test-cluster'][spec][template][spec][init_containers][0][security_context][run_as_user]": { + "prev": "NotPresent", + "curr": 0, + "path": [ + "test-cluster", + "spec", + "template", + "spec", + "init_containers", + 0, + "security_context", + "run_as_user" + ] + }, + "root['test-cluster'][spec][template][spec][init_containers][0][termination_message_path]": { + "prev": "NotPresent", + "curr": "/dev/termination-log", + "path": [ + "test-cluster", + "spec", + "template", + "spec", + "init_containers", + 0, + "termination_message_path" + ] + }, + "root['test-cluster'][spec][template][spec][init_containers][0][termination_message_policy]": { + "prev": "NotPresent", + "curr": "File", + "path": [ + "test-cluster", + "spec", + "template", + "spec", + "init_containers", + 0, + "termination_message_policy" + ] + }, + "root['test-cluster'][spec][template][spec][init_containers][0][volume_mounts][0][mount_path]": { + "prev": "NotPresent", + "curr": "/cockroach/cockroach-certs-prestage/", + "path": [ + "test-cluster", + "spec", + "template", + "spec", + "init_containers", + 0, + "volume_mounts", + 0, + "mount_path" + ] + }, + "root['test-cluster'][spec][template][spec][init_containers][0][volume_mounts][0][name]": { + "prev": "NotPresent", + "curr": "certs", + "path": [ + "test-cluster", + "spec", + "template", + "spec", + "init_containers", + 0, + "volume_mounts", + 0, + "name" + ] + }, + "root['test-cluster'][spec][template][spec][init_containers][0][volume_mounts][1][mount_path]": { + "prev": "NotPresent", + "curr": "/cockroach/cockroach-certs/", + "path": [ + "test-cluster", + "spec", + "template", + "spec", + "init_containers", + 0, + "volume_mounts", + 1, + "mount_path" + ] + }, + "root['test-cluster'][spec][template][spec][init_containers][0][volume_mounts][1][name]": { + "prev": "NotPresent", + "curr": "emptydir", + "path": [ + "test-cluster", + "spec", + "template", + "spec", + "init_containers", + 0, + "volume_mounts", + 1, + "name" + ] + }, + "root['test-cluster'][spec][template][spec][restart_policy]": { + "prev": "NotPresent", + "curr": "Always", + "path": [ + "test-cluster", + "spec", + "template", + "spec", + "restart_policy" + ] + }, + "root['test-cluster'][spec][template][spec][scheduler_name]": { + "prev": "NotPresent", + "curr": "default-scheduler", + "path": [ + "test-cluster", + "spec", + "template", + "spec", + "scheduler_name" + ] + }, + "root['test-cluster'][spec][template][spec][security_context][fs_group]": { + "prev": "NotPresent", + "curr": 1000581000, + "path": [ + "test-cluster", + "spec", + "template", + "spec", + "security_context", + "fs_group" + ] + }, + "root['test-cluster'][spec][template][spec][security_context][run_as_user]": { + "prev": "NotPresent", + "curr": 1000581000, + "path": [ + "test-cluster", + "spec", + "template", + "spec", + "security_context", + "run_as_user" + ] + }, + "root['test-cluster'][spec][template][spec][service_account]": { + "prev": "NotPresent", + "curr": "test-cluster-sa", + "path": [ + "test-cluster", + "spec", + "template", + "spec", + "service_account" + ] + }, + "root['test-cluster'][spec][template][spec][service_account_name]": { + "prev": "NotPresent", + "curr": "test-cluster-sa", + "path": [ + "test-cluster", + "spec", + "template", + "spec", + "service_account_name" + ] + }, + "root['test-cluster'][spec][template][spec][termination_grace_period_seconds]": { + "prev": "NotPresent", + "curr": 300, + "path": [ + "test-cluster", + "spec", + "template", + "spec", + "termination_grace_period_seconds" + ] + }, + "root['test-cluster'][spec][template][spec][volumes][0][name]": { + "prev": "NotPresent", + "curr": "datadir", + "path": [ + "test-cluster", + "spec", + "template", + "spec", + "volumes", + 0, + "name" + ] + }, + "root['test-cluster'][spec][template][spec][volumes][0][persistent_volume_claim][claim_name]": { + "prev": "NotPresent", + "curr": "", + "path": [ + "test-cluster", + "spec", + "template", + "spec", + "volumes", + 0, + "persistent_volume_claim", + "claim_name" + ] + }, + "root['test-cluster'][spec][template][spec][volumes][1][name]": { + "prev": "NotPresent", + "curr": "emptydir", + "path": [ + "test-cluster", + "spec", + "template", + "spec", + "volumes", + 1, + "name" + ] + }, + "root['test-cluster'][spec][template][spec][volumes][2][name]": { + "prev": "NotPresent", + "curr": "certs", + "path": [ + "test-cluster", + "spec", + "template", + "spec", + "volumes", + 2, + "name" + ] + }, + "root['test-cluster'][spec][template][spec][volumes][2][projected][default_mode]": { + "prev": "NotPresent", + "curr": 400, + "path": [ + "test-cluster", + "spec", + "template", + "spec", + "volumes", + 2, + "projected", + "default_mode" + ] + }, + "root['test-cluster'][spec][template][spec][volumes][2][projected][sources][0][secret][items][0][key]": { + "prev": "NotPresent", + "curr": "ca.crt", + "path": [ + "test-cluster", + "spec", + "template", + "spec", + "volumes", + 2, + "projected", + "sources", + 0, + "secret", + "items", + 0, + "key" + ] + }, + "root['test-cluster'][spec][template][spec][volumes][2][projected][sources][0][secret][items][0][mode]": { + "prev": "NotPresent", + "curr": 504, + "path": [ + "test-cluster", + "spec", + "template", + "spec", + "volumes", + 2, + "projected", + "sources", + 0, + "secret", + "items", + 0, + "mode" + ] + }, + "root['test-cluster'][spec][template][spec][volumes][2][projected][sources][0][secret][items][0][path]": { + "prev": "NotPresent", + "curr": "ca.crt", + "path": [ + "test-cluster", + "spec", + "template", + "spec", + "volumes", + 2, + "projected", + "sources", + 0, + "secret", + "items", + 0, + "path" + ] + }, + "root['test-cluster'][spec][template][spec][volumes][2][projected][sources][0][secret][items][1][key]": { + "prev": "NotPresent", + "curr": "tls.crt", + "path": [ + "test-cluster", + "spec", + "template", + "spec", + "volumes", + 2, + "projected", + "sources", + 0, + "secret", + "items", + 1, + "key" + ] + }, + "root['test-cluster'][spec][template][spec][volumes][2][projected][sources][0][secret][items][1][mode]": { + "prev": "NotPresent", + "curr": 504, + "path": [ + "test-cluster", + "spec", + "template", + "spec", + "volumes", + 2, + "projected", + "sources", + 0, + "secret", + "items", + 1, + "mode" + ] + }, + "root['test-cluster'][spec][template][spec][volumes][2][projected][sources][0][secret][items][1][path]": { + "prev": "NotPresent", + "curr": "node.crt", + "path": [ + "test-cluster", + "spec", + "template", + "spec", + "volumes", + 2, + "projected", + "sources", + 0, + "secret", + "items", + 1, + "path" + ] + }, + "root['test-cluster'][spec][template][spec][volumes][2][projected][sources][0][secret][items][2][key]": { + "prev": "NotPresent", + "curr": "tls.key", + "path": [ + "test-cluster", + "spec", + "template", + "spec", + "volumes", + 2, + "projected", + "sources", + 0, + "secret", + "items", + 2, + "key" + ] + }, + "root['test-cluster'][spec][template][spec][volumes][2][projected][sources][0][secret][items][2][mode]": { + "prev": "NotPresent", + "curr": 400, + "path": [ + "test-cluster", + "spec", + "template", + "spec", + "volumes", + 2, + "projected", + "sources", + 0, + "secret", + "items", + 2, + "mode" + ] + }, + "root['test-cluster'][spec][template][spec][volumes][2][projected][sources][0][secret][items][2][path]": { + "prev": "NotPresent", + "curr": "node.key", + "path": [ + "test-cluster", + "spec", + "template", + "spec", + "volumes", + 2, + "projected", + "sources", + 0, + "secret", + "items", + 2, + "path" + ] + }, + "root['test-cluster'][spec][template][spec][volumes][2][projected][sources][0][secret][name]": { + "prev": "NotPresent", + "curr": "test-cluster-node", + "path": [ + "test-cluster", + "spec", + "template", + "spec", + "volumes", + 2, + "projected", + "sources", + 0, + "secret", + "name" + ] + }, + "root['test-cluster'][spec][template][spec][volumes][2][projected][sources][1][secret][items][0][key]": { + "prev": "NotPresent", + "curr": "tls.crt", + "path": [ + "test-cluster", + "spec", + "template", + "spec", + "volumes", + 2, + "projected", + "sources", + 1, + "secret", + "items", + 0, + "key" + ] + }, + "root['test-cluster'][spec][template][spec][volumes][2][projected][sources][1][secret][items][0][mode]": { + "prev": "NotPresent", + "curr": 504, + "path": [ + "test-cluster", + "spec", + "template", + "spec", + "volumes", + 2, + "projected", + "sources", + 1, + "secret", + "items", + 0, + "mode" + ] + }, + "root['test-cluster'][spec][template][spec][volumes][2][projected][sources][1][secret][items][0][path]": { + "prev": "NotPresent", + "curr": "client.root.crt", + "path": [ + "test-cluster", + "spec", + "template", + "spec", + "volumes", + 2, + "projected", + "sources", + 1, + "secret", + "items", + 0, + "path" + ] + }, + "root['test-cluster'][spec][template][spec][volumes][2][projected][sources][1][secret][items][1][key]": { + "prev": "NotPresent", + "curr": "tls.key", + "path": [ + "test-cluster", + "spec", + "template", + "spec", + "volumes", + 2, + "projected", + "sources", + 1, + "secret", + "items", + 1, + "key" + ] + }, + "root['test-cluster'][spec][template][spec][volumes][2][projected][sources][1][secret][items][1][mode]": { + "prev": "NotPresent", + "curr": 400, + "path": [ + "test-cluster", + "spec", + "template", + "spec", + "volumes", + 2, + "projected", + "sources", + 1, + "secret", + "items", + 1, + "mode" + ] + }, + "root['test-cluster'][spec][template][spec][volumes][2][projected][sources][1][secret][items][1][path]": { + "prev": "NotPresent", + "curr": "client.root.key", + "path": [ + "test-cluster", + "spec", + "template", + "spec", + "volumes", + 2, + "projected", + "sources", + 1, + "secret", + "items", + 1, + "path" + ] + }, + "root['test-cluster'][spec][template][spec][volumes][2][projected][sources][1][secret][name]": { + "prev": "NotPresent", + "curr": "test-cluster-root", + "path": [ + "test-cluster", + "spec", + "template", + "spec", + "volumes", + 2, + "projected", + "sources", + 1, + "secret", + "name" + ] + }, + "root['test-cluster'][spec][update_strategy][rolling_update][partition]": { + "prev": "NotPresent", + "curr": 0, + "path": [ + "test-cluster", + "spec", + "update_strategy", + "rolling_update", + "partition" + ] + }, + "root['test-cluster'][spec][update_strategy][type]": { + "prev": "NotPresent", + "curr": "RollingUpdate", + "path": [ + "test-cluster", + "spec", + "update_strategy", + "type" + ] + }, + "root['test-cluster'][spec][volume_claim_templates][0][api_version]": { + "prev": "NotPresent", + "curr": "v1", + "path": [ + "test-cluster", + "spec", + "volume_claim_templates", + 0, + "api_version" + ] + }, + "root['test-cluster'][spec][volume_claim_templates][0][kind]": { + "prev": "NotPresent", + "curr": "PersistentVolumeClaim", + "path": [ + "test-cluster", + "spec", + "volume_claim_templates", + 0, + "kind" + ] + }, + "root['test-cluster'][spec][volume_claim_templates][0][metadata][labels][app.kubernetes.io/component]": { + "prev": "NotPresent", + "curr": "database", + "path": [ + "test-cluster", + "spec", + "volume_claim_templates", + 0, + "metadata", + "labels", + "app.kubernetes.io/component" + ] + }, + "root['test-cluster'][spec][volume_claim_templates][0][metadata][labels][app.kubernetes.io/instance]": { + "prev": "NotPresent", + "curr": "test-cluster", + "path": [ + "test-cluster", + "spec", + "volume_claim_templates", + 0, + "metadata", + "labels", + "app.kubernetes.io/instance" + ] + }, + "root['test-cluster'][spec][volume_claim_templates][0][metadata][labels][app.kubernetes.io/name]": { + "prev": "NotPresent", + "curr": "cockroachdb", + "path": [ + "test-cluster", + "spec", + "volume_claim_templates", + 0, + "metadata", + "labels", + "app.kubernetes.io/name" + ] + }, + "root['test-cluster'][spec][volume_claim_templates][0][metadata][labels][crdb]": { + "prev": "NotPresent", + "curr": "is-cool", + "path": [ + "test-cluster", + "spec", + "volume_claim_templates", + 0, + "metadata", + "labels", + "crdb" + ] + }, + "root['test-cluster'][spec][volume_claim_templates][0][metadata][name]": { + "prev": "NotPresent", + "curr": "datadir", + "path": [ + "test-cluster", + "spec", + "volume_claim_templates", + 0, + "metadata", + "name" + ] + }, + "root['test-cluster'][spec][volume_claim_templates][0][spec][access_modes][0]": { + "prev": "NotPresent", + "curr": "ReadWriteOnce", + "path": [ + "test-cluster", + "spec", + "volume_claim_templates", + 0, + "spec", + "access_modes", + 0 + ] + }, + "root['test-cluster'][spec][volume_claim_templates][0][spec][resources][requests][storage]": { + "prev": "NotPresent", + "curr": "1Gi", + "path": [ + "test-cluster", + "spec", + "volume_claim_templates", + 0, + "spec", + "resources", + "requests", + "storage" + ] + }, + "root['test-cluster'][spec][volume_claim_templates][0][spec][volume_mode]": { + "prev": "NotPresent", + "curr": "Filesystem", + "path": [ + "test-cluster", + "spec", + "volume_claim_templates", + 0, + "spec", + "volume_mode" + ] + }, + "root['test-cluster'][spec][volume_claim_templates][0][status][phase]": { + "prev": "NotPresent", + "curr": "Pending", + "path": [ + "test-cluster", + "spec", + "volume_claim_templates", + 0, + "status", + "phase" + ] + }, + "root['test-cluster'][status][available_replicas]": { + "prev": "NotPresent", + "curr": 3, + "path": [ + "test-cluster", + "status", + "available_replicas" + ] + }, + "root['test-cluster'][status][collision_count]": { + "prev": "NotPresent", + "curr": 0, + "path": [ + "test-cluster", + "status", + "collision_count" + ] + }, + "root['test-cluster'][status][current_replicas]": { + "prev": "NotPresent", + "curr": 3, + "path": [ + "test-cluster", + "status", + "current_replicas" + ] + }, + "root['test-cluster'][status][current_revision]": { + "prev": "NotPresent", + "curr": "test-cluster-76f9c78d88", + "path": [ + "test-cluster", + "status", + "current_revision" + ] + }, + "root['test-cluster'][status][observed_generation]": { + "prev": "NotPresent", + "curr": 1, + "path": [ + "test-cluster", + "status", + "observed_generation" + ] + }, + "root['test-cluster'][status][ready_replicas]": { + "prev": "NotPresent", + "curr": 3, + "path": [ + "test-cluster", + "status", + "ready_replicas" + ] + }, + "root['test-cluster'][status][replicas]": { + "prev": "NotPresent", + "curr": 3, + "path": [ + "test-cluster", + "status", + "replicas" + ] + }, + "root['test-cluster'][status][update_revision]": { + "prev": "NotPresent", + "curr": "test-cluster-76f9c78d88", + "path": [ + "test-cluster", + "status", + "update_revision" + ] + }, + "root['test-cluster'][status][updated_replicas]": { + "prev": "NotPresent", + "curr": 3, + "path": [ + "test-cluster", + "status", + "updated_replicas" + ] + } + } + }, + "deployment": { + "dictionary_item_added": { + "root['cockroach-operator-manager'][metadata][annotations][deployment.kubernetes.io/revision]": { + "prev": "NotPresent", + "curr": "2", + "path": [ + "cockroach-operator-manager", + "metadata", + "annotations", + "deployment.kubernetes.io/revision" + ] + }, + "root['cockroach-operator-manager'][metadata][creation_timestamp]": { + "prev": "NotPresent", + "curr": "2023-05-04T20:30:22+00:00", + "path": [ + "cockroach-operator-manager", + "metadata", + "creation_timestamp" + ] + }, + "root['cockroach-operator-manager'][metadata][generation]": { + "prev": "NotPresent", + "curr": 2, + "path": [ + "cockroach-operator-manager", + "metadata", + "generation" + ] + }, + "root['cockroach-operator-manager'][metadata][labels][acto/tag]": { + "prev": "NotPresent", + "curr": "operator-deployment", + "path": [ + "cockroach-operator-manager", + "metadata", + "labels", + "acto/tag" + ] + }, + "root['cockroach-operator-manager'][metadata][labels][app]": { + "prev": "NotPresent", + "curr": "cockroach-operator", + "path": [ + "cockroach-operator-manager", + "metadata", + "labels", + "app" + ] + }, + "root['cockroach-operator-manager'][metadata][managed_fields][0][api_version]": { + "prev": "NotPresent", + "curr": "apps/v1", + "path": [ + "cockroach-operator-manager", + "metadata", + "managed_fields", + 0, + "api_version" + ] + }, + "root['cockroach-operator-manager'][metadata][managed_fields][0][fields_type]": { + "prev": "NotPresent", + "curr": "FieldsV1", + "path": [ + "cockroach-operator-manager", + "metadata", + "managed_fields", + 0, + "fields_type" + ] + }, + "root['cockroach-operator-manager'][metadata][managed_fields][0][manager]": { + "prev": "NotPresent", + "curr": "kubectl", + "path": [ + "cockroach-operator-manager", + "metadata", + "managed_fields", + 0, + "manager" + ] + }, + "root['cockroach-operator-manager'][metadata][managed_fields][0][operation]": { + "prev": "NotPresent", + "curr": "Apply", + "path": [ + "cockroach-operator-manager", + "metadata", + "managed_fields", + 0, + "operation" + ] + }, + "root['cockroach-operator-manager'][metadata][managed_fields][0][time]": { + "prev": "NotPresent", + "curr": "2023-05-04T20:30:22+00:00", + "path": [ + "cockroach-operator-manager", + "metadata", + "managed_fields", + 0, + "time" + ] + }, + "root['cockroach-operator-manager'][metadata][managed_fields][1][api_version]": { + "prev": "NotPresent", + "curr": "apps/v1", + "path": [ + "cockroach-operator-manager", + "metadata", + "managed_fields", + 1, + "api_version" + ] + }, + "root['cockroach-operator-manager'][metadata][managed_fields][1][fields_type]": { + "prev": "NotPresent", + "curr": "FieldsV1", + "path": [ + "cockroach-operator-manager", + "metadata", + "managed_fields", + 1, + "fields_type" + ] + }, + "root['cockroach-operator-manager'][metadata][managed_fields][1][manager]": { + "prev": "NotPresent", + "curr": "OpenAPI-Generator", + "path": [ + "cockroach-operator-manager", + "metadata", + "managed_fields", + 1, + "manager" + ] + }, + "root['cockroach-operator-manager'][metadata][managed_fields][1][operation]": { + "prev": "NotPresent", + "curr": "Update", + "path": [ + "cockroach-operator-manager", + "metadata", + "managed_fields", + 1, + "operation" + ] + }, + "root['cockroach-operator-manager'][metadata][managed_fields][1][time]": { + "prev": "NotPresent", + "curr": "2023-05-04T20:30:52+00:00", + "path": [ + "cockroach-operator-manager", + "metadata", + "managed_fields", + 1, + "time" + ] + }, + "root['cockroach-operator-manager'][metadata][managed_fields][2][api_version]": { + "prev": "NotPresent", + "curr": "apps/v1", + "path": [ + "cockroach-operator-manager", + "metadata", + "managed_fields", + 2, + "api_version" + ] + }, + "root['cockroach-operator-manager'][metadata][managed_fields][2][fields_type]": { + "prev": "NotPresent", + "curr": "FieldsV1", + "path": [ + "cockroach-operator-manager", + "metadata", + "managed_fields", + 2, + "fields_type" + ] + }, + "root['cockroach-operator-manager'][metadata][managed_fields][2][manager]": { + "prev": "NotPresent", + "curr": "kube-controller-manager", + "path": [ + "cockroach-operator-manager", + "metadata", + "managed_fields", + 2, + "manager" + ] + }, + "root['cockroach-operator-manager'][metadata][managed_fields][2][operation]": { + "prev": "NotPresent", + "curr": "Update", + "path": [ + "cockroach-operator-manager", + "metadata", + "managed_fields", + 2, + "operation" + ] + }, + "root['cockroach-operator-manager'][metadata][managed_fields][2][subresource]": { + "prev": "NotPresent", + "curr": "status", + "path": [ + "cockroach-operator-manager", + "metadata", + "managed_fields", + 2, + "subresource" + ] + }, + "root['cockroach-operator-manager'][metadata][managed_fields][2][time]": { + "prev": "NotPresent", + "curr": "2023-05-04T20:30:52+00:00", + "path": [ + "cockroach-operator-manager", + "metadata", + "managed_fields", + 2, + "time" + ] + }, + "root['cockroach-operator-manager'][metadata][name]": { + "prev": "NotPresent", + "curr": "cockroach-operator-manager", + "path": [ + "cockroach-operator-manager", + "metadata", + "name" + ] + }, + "root['cockroach-operator-manager'][metadata][namespace]": { + "prev": "NotPresent", + "curr": "cockroach-operator-system", + "path": [ + "cockroach-operator-manager", + "metadata", + "namespace" + ] + }, + "root['cockroach-operator-manager'][metadata][resource_version]": { + "prev": "NotPresent", + "curr": "815", + "path": [ + "cockroach-operator-manager", + "metadata", + "resource_version" + ] + }, + "root['cockroach-operator-manager'][metadata][uid]": { + "prev": "NotPresent", + "curr": "547fbf16-3bfd-4004-8625-ec4f04413331", + "path": [ + "cockroach-operator-manager", + "metadata", + "uid" + ] + }, + "root['cockroach-operator-manager'][spec][progress_deadline_seconds]": { + "prev": "NotPresent", + "curr": 600, + "path": [ + "cockroach-operator-manager", + "spec", + "progress_deadline_seconds" + ] + }, + "root['cockroach-operator-manager'][spec][replicas]": { + "prev": "NotPresent", + "curr": 1, + "path": [ + "cockroach-operator-manager", + "spec", + "replicas" + ] + }, + "root['cockroach-operator-manager'][spec][revision_history_limit]": { + "prev": "NotPresent", + "curr": 10, + "path": [ + "cockroach-operator-manager", + "spec", + "revision_history_limit" + ] + }, + "root['cockroach-operator-manager'][spec][selector][match_labels][app]": { + "prev": "NotPresent", + "curr": "cockroach-operator", + "path": [ + "cockroach-operator-manager", + "spec", + "selector", + "match_labels", + "app" + ] + }, + "root['cockroach-operator-manager'][spec][strategy][rolling_update][max_surge]": { + "prev": "NotPresent", + "curr": "25%", + "path": [ + "cockroach-operator-manager", + "spec", + "strategy", + "rolling_update", + "max_surge" + ] + }, + "root['cockroach-operator-manager'][spec][strategy][rolling_update][max_unavailable]": { + "prev": "NotPresent", + "curr": "25%", + "path": [ + "cockroach-operator-manager", + "spec", + "strategy", + "rolling_update", + "max_unavailable" + ] + }, + "root['cockroach-operator-manager'][spec][strategy][type]": { + "prev": "NotPresent", + "curr": "RollingUpdate", + "path": [ + "cockroach-operator-manager", + "spec", + "strategy", + "type" + ] + }, + "root['cockroach-operator-manager'][spec][template][metadata][labels][acto/tag]": { + "prev": "NotPresent", + "curr": "operator-pod", + "path": [ + "cockroach-operator-manager", + "spec", + "template", + "metadata", + "labels", + "acto/tag" + ] + }, + "root['cockroach-operator-manager'][spec][template][metadata][labels][app]": { + "prev": "NotPresent", + "curr": "cockroach-operator", + "path": [ + "cockroach-operator-manager", + "spec", + "template", + "metadata", + "labels", + "app" + ] + }, + "root['cockroach-operator-manager'][spec][template][spec][containers][0][args][0]": { + "prev": "NotPresent", + "curr": "-zap-log-level", + "path": [ + "cockroach-operator-manager", + "spec", + "template", + "spec", + "containers", + 0, + "args", + 0 + ] + }, + "root['cockroach-operator-manager'][spec][template][spec][containers][0][args][1]": { + "prev": "NotPresent", + "curr": "info", + "path": [ + "cockroach-operator-manager", + "spec", + "template", + "spec", + "containers", + 0, + "args", + 1 + ] + }, + "root['cockroach-operator-manager'][spec][template][spec][containers][0][args][2]": { + "prev": "NotPresent", + "curr": "-feature-gates", + "path": [ + "cockroach-operator-manager", + "spec", + "template", + "spec", + "containers", + 0, + "args", + 2 + ] + }, + "root['cockroach-operator-manager'][spec][template][spec][containers][0][args][3]": { + "prev": "NotPresent", + "curr": "TopologySpreadRules=true,AffinityRules=true,TolerationRules=true", + "path": [ + "cockroach-operator-manager", + "spec", + "template", + "spec", + "containers", + 0, + "args", + 3 + ] + }, + "root['cockroach-operator-manager'][spec][template][spec][containers][0][env][0][name]": { + "prev": "NotPresent", + "curr": "RELATED_IMAGE_COCKROACH_v20_1_4", + "path": [ + "cockroach-operator-manager", + "spec", + "template", + "spec", + "containers", + 0, + "env", + 0, + "name" + ] + }, + "root['cockroach-operator-manager'][spec][template][spec][containers][0][env][0][value]": { + "prev": "NotPresent", + "curr": "cockroachdb/cockroach:v20.1.4", + "path": [ + "cockroach-operator-manager", + "spec", + "template", + "spec", + "containers", + 0, + "env", + 0, + "value" + ] + }, + "root['cockroach-operator-manager'][spec][template][spec][containers][0][env][1][name]": { + "prev": "NotPresent", + "curr": "RELATED_IMAGE_COCKROACH_v20_1_5", + "path": [ + "cockroach-operator-manager", + "spec", + "template", + "spec", + "containers", + 0, + "env", + 1, + "name" + ] + }, + "root['cockroach-operator-manager'][spec][template][spec][containers][0][env][1][value]": { + "prev": "NotPresent", + "curr": "cockroachdb/cockroach:v20.1.5", + "path": [ + "cockroach-operator-manager", + "spec", + "template", + "spec", + "containers", + 0, + "env", + 1, + "value" + ] + }, + "root['cockroach-operator-manager'][spec][template][spec][containers][0][env][2][name]": { + "prev": "NotPresent", + "curr": "RELATED_IMAGE_COCKROACH_v20_1_8", + "path": [ + "cockroach-operator-manager", + "spec", + "template", + "spec", + "containers", + 0, + "env", + 2, + "name" + ] + }, + "root['cockroach-operator-manager'][spec][template][spec][containers][0][env][2][value]": { + "prev": "NotPresent", + "curr": "cockroachdb/cockroach:v20.1.8", + "path": [ + "cockroach-operator-manager", + "spec", + "template", + "spec", + "containers", + 0, + "env", + 2, + "value" + ] + }, + "root['cockroach-operator-manager'][spec][template][spec][containers][0][env][3][name]": { + "prev": "NotPresent", + "curr": "RELATED_IMAGE_COCKROACH_v20_1_11", + "path": [ + "cockroach-operator-manager", + "spec", + "template", + "spec", + "containers", + 0, + "env", + 3, + "name" + ] + }, + "root['cockroach-operator-manager'][spec][template][spec][containers][0][env][3][value]": { + "prev": "NotPresent", + "curr": "cockroachdb/cockroach:v20.1.11", + "path": [ + "cockroach-operator-manager", + "spec", + "template", + "spec", + "containers", + 0, + "env", + 3, + "value" + ] + }, + "root['cockroach-operator-manager'][spec][template][spec][containers][0][env][4][name]": { + "prev": "NotPresent", + "curr": "RELATED_IMAGE_COCKROACH_v20_1_12", + "path": [ + "cockroach-operator-manager", + "spec", + "template", + "spec", + "containers", + 0, + "env", + 4, + "name" + ] + }, + "root['cockroach-operator-manager'][spec][template][spec][containers][0][env][4][value]": { + "prev": "NotPresent", + "curr": "cockroachdb/cockroach:v20.1.12", + "path": [ + "cockroach-operator-manager", + "spec", + "template", + "spec", + "containers", + 0, + "env", + 4, + "value" + ] + }, + "root['cockroach-operator-manager'][spec][template][spec][containers][0][env][5][name]": { + "prev": "NotPresent", + "curr": "RELATED_IMAGE_COCKROACH_v20_1_13", + "path": [ + "cockroach-operator-manager", + "spec", + "template", + "spec", + "containers", + 0, + "env", + 5, + "name" + ] + }, + "root['cockroach-operator-manager'][spec][template][spec][containers][0][env][5][value]": { + "prev": "NotPresent", + "curr": "cockroachdb/cockroach:v20.1.13", + "path": [ + "cockroach-operator-manager", + "spec", + "template", + "spec", + "containers", + 0, + "env", + 5, + "value" + ] + }, + "root['cockroach-operator-manager'][spec][template][spec][containers][0][env][6][name]": { + "prev": "NotPresent", + "curr": "RELATED_IMAGE_COCKROACH_v20_1_15", + "path": [ + "cockroach-operator-manager", + "spec", + "template", + "spec", + "containers", + 0, + "env", + 6, + "name" + ] + }, + "root['cockroach-operator-manager'][spec][template][spec][containers][0][env][6][value]": { + "prev": "NotPresent", + "curr": "cockroachdb/cockroach:v20.1.15", + "path": [ + "cockroach-operator-manager", + "spec", + "template", + "spec", + "containers", + 0, + "env", + 6, + "value" + ] + }, + "root['cockroach-operator-manager'][spec][template][spec][containers][0][env][7][name]": { + "prev": "NotPresent", + "curr": "RELATED_IMAGE_COCKROACH_v20_1_16", + "path": [ + "cockroach-operator-manager", + "spec", + "template", + "spec", + "containers", + 0, + "env", + 7, + "name" + ] + }, + "root['cockroach-operator-manager'][spec][template][spec][containers][0][env][7][value]": { + "prev": "NotPresent", + "curr": "cockroachdb/cockroach:v20.1.16", + "path": [ + "cockroach-operator-manager", + "spec", + "template", + "spec", + "containers", + 0, + "env", + 7, + "value" + ] + }, + "root['cockroach-operator-manager'][spec][template][spec][containers][0][env][8][name]": { + "prev": "NotPresent", + "curr": "RELATED_IMAGE_COCKROACH_v20_1_17", + "path": [ + "cockroach-operator-manager", + "spec", + "template", + "spec", + "containers", + 0, + "env", + 8, + "name" + ] + }, + "root['cockroach-operator-manager'][spec][template][spec][containers][0][env][8][value]": { + "prev": "NotPresent", + "curr": "cockroachdb/cockroach:v20.1.17", + "path": [ + "cockroach-operator-manager", + "spec", + "template", + "spec", + "containers", + 0, + "env", + 8, + "value" + ] + }, + "root['cockroach-operator-manager'][spec][template][spec][containers][0][env][9][name]": { + "prev": "NotPresent", + "curr": "RELATED_IMAGE_COCKROACH_v20_2_0", + "path": [ + "cockroach-operator-manager", + "spec", + "template", + "spec", + "containers", + 0, + "env", + 9, + "name" + ] + }, + "root['cockroach-operator-manager'][spec][template][spec][containers][0][env][9][value]": { + "prev": "NotPresent", + "curr": "cockroachdb/cockroach:v20.2.0", + "path": [ + "cockroach-operator-manager", + "spec", + "template", + "spec", + "containers", + 0, + "env", + 9, + "value" + ] + }, + "root['cockroach-operator-manager'][spec][template][spec][containers][0][env][10][name]": { + "prev": "NotPresent", + "curr": "RELATED_IMAGE_COCKROACH_v20_2_1", + "path": [ + "cockroach-operator-manager", + "spec", + "template", + "spec", + "containers", + 0, + "env", + 10, + "name" + ] + }, + "root['cockroach-operator-manager'][spec][template][spec][containers][0][env][10][value]": { + "prev": "NotPresent", + "curr": "cockroachdb/cockroach:v20.2.1", + "path": [ + "cockroach-operator-manager", + "spec", + "template", + "spec", + "containers", + 0, + "env", + 10, + "value" + ] + }, + "root['cockroach-operator-manager'][spec][template][spec][containers][0][env][11][name]": { + "prev": "NotPresent", + "curr": "RELATED_IMAGE_COCKROACH_v20_2_2", + "path": [ + "cockroach-operator-manager", + "spec", + "template", + "spec", + "containers", + 0, + "env", + 11, + "name" + ] + }, + "root['cockroach-operator-manager'][spec][template][spec][containers][0][env][11][value]": { + "prev": "NotPresent", + "curr": "cockroachdb/cockroach:v20.2.2", + "path": [ + "cockroach-operator-manager", + "spec", + "template", + "spec", + "containers", + 0, + "env", + 11, + "value" + ] + }, + "root['cockroach-operator-manager'][spec][template][spec][containers][0][env][12][name]": { + "prev": "NotPresent", + "curr": "RELATED_IMAGE_COCKROACH_v20_2_3", + "path": [ + "cockroach-operator-manager", + "spec", + "template", + "spec", + "containers", + 0, + "env", + 12, + "name" + ] + }, + "root['cockroach-operator-manager'][spec][template][spec][containers][0][env][12][value]": { + "prev": "NotPresent", + "curr": "cockroachdb/cockroach:v20.2.3", + "path": [ + "cockroach-operator-manager", + "spec", + "template", + "spec", + "containers", + 0, + "env", + 12, + "value" + ] + }, + "root['cockroach-operator-manager'][spec][template][spec][containers][0][env][13][name]": { + "prev": "NotPresent", + "curr": "RELATED_IMAGE_COCKROACH_v20_2_4", + "path": [ + "cockroach-operator-manager", + "spec", + "template", + "spec", + "containers", + 0, + "env", + 13, + "name" + ] + }, + "root['cockroach-operator-manager'][spec][template][spec][containers][0][env][13][value]": { + "prev": "NotPresent", + "curr": "cockroachdb/cockroach:v20.2.4", + "path": [ + "cockroach-operator-manager", + "spec", + "template", + "spec", + "containers", + 0, + "env", + 13, + "value" + ] + }, + "root['cockroach-operator-manager'][spec][template][spec][containers][0][env][14][name]": { + "prev": "NotPresent", + "curr": "RELATED_IMAGE_COCKROACH_v20_2_5", + "path": [ + "cockroach-operator-manager", + "spec", + "template", + "spec", + "containers", + 0, + "env", + 14, + "name" + ] + }, + "root['cockroach-operator-manager'][spec][template][spec][containers][0][env][14][value]": { + "prev": "NotPresent", + "curr": "cockroachdb/cockroach:v20.2.5", + "path": [ + "cockroach-operator-manager", + "spec", + "template", + "spec", + "containers", + 0, + "env", + 14, + "value" + ] + }, + "root['cockroach-operator-manager'][spec][template][spec][containers][0][env][15][name]": { + "prev": "NotPresent", + "curr": "RELATED_IMAGE_COCKROACH_v20_2_6", + "path": [ + "cockroach-operator-manager", + "spec", + "template", + "spec", + "containers", + 0, + "env", + 15, + "name" + ] + }, + "root['cockroach-operator-manager'][spec][template][spec][containers][0][env][15][value]": { + "prev": "NotPresent", + "curr": "cockroachdb/cockroach:v20.2.6", + "path": [ + "cockroach-operator-manager", + "spec", + "template", + "spec", + "containers", + 0, + "env", + 15, + "value" + ] + }, + "root['cockroach-operator-manager'][spec][template][spec][containers][0][env][16][name]": { + "prev": "NotPresent", + "curr": "RELATED_IMAGE_COCKROACH_v20_2_8", + "path": [ + "cockroach-operator-manager", + "spec", + "template", + "spec", + "containers", + 0, + "env", + 16, + "name" + ] + }, + "root['cockroach-operator-manager'][spec][template][spec][containers][0][env][16][value]": { + "prev": "NotPresent", + "curr": "cockroachdb/cockroach:v20.2.8", + "path": [ + "cockroach-operator-manager", + "spec", + "template", + "spec", + "containers", + 0, + "env", + 16, + "value" + ] + }, + "root['cockroach-operator-manager'][spec][template][spec][containers][0][env][17][name]": { + "prev": "NotPresent", + "curr": "RELATED_IMAGE_COCKROACH_v20_2_9", + "path": [ + "cockroach-operator-manager", + "spec", + "template", + "spec", + "containers", + 0, + "env", + 17, + "name" + ] + }, + "root['cockroach-operator-manager'][spec][template][spec][containers][0][env][17][value]": { + "prev": "NotPresent", + "curr": "cockroachdb/cockroach:v20.2.9", + "path": [ + "cockroach-operator-manager", + "spec", + "template", + "spec", + "containers", + 0, + "env", + 17, + "value" + ] + }, + "root['cockroach-operator-manager'][spec][template][spec][containers][0][env][18][name]": { + "prev": "NotPresent", + "curr": "RELATED_IMAGE_COCKROACH_v20_2_10", + "path": [ + "cockroach-operator-manager", + "spec", + "template", + "spec", + "containers", + 0, + "env", + 18, + "name" + ] + }, + "root['cockroach-operator-manager'][spec][template][spec][containers][0][env][18][value]": { + "prev": "NotPresent", + "curr": "cockroachdb/cockroach:v20.2.10", + "path": [ + "cockroach-operator-manager", + "spec", + "template", + "spec", + "containers", + 0, + "env", + 18, + "value" + ] + }, + "root['cockroach-operator-manager'][spec][template][spec][containers][0][env][19][name]": { + "prev": "NotPresent", + "curr": "RELATED_IMAGE_COCKROACH_v20_2_11", + "path": [ + "cockroach-operator-manager", + "spec", + "template", + "spec", + "containers", + 0, + "env", + 19, + "name" + ] + }, + "root['cockroach-operator-manager'][spec][template][spec][containers][0][env][19][value]": { + "prev": "NotPresent", + "curr": "cockroachdb/cockroach:v20.2.11", + "path": [ + "cockroach-operator-manager", + "spec", + "template", + "spec", + "containers", + 0, + "env", + 19, + "value" + ] + }, + "root['cockroach-operator-manager'][spec][template][spec][containers][0][env][20][name]": { + "prev": "NotPresent", + "curr": "RELATED_IMAGE_COCKROACH_v20_2_12", + "path": [ + "cockroach-operator-manager", + "spec", + "template", + "spec", + "containers", + 0, + "env", + 20, + "name" + ] + }, + "root['cockroach-operator-manager'][spec][template][spec][containers][0][env][20][value]": { + "prev": "NotPresent", + "curr": "cockroachdb/cockroach:v20.2.12", + "path": [ + "cockroach-operator-manager", + "spec", + "template", + "spec", + "containers", + 0, + "env", + 20, + "value" + ] + }, + "root['cockroach-operator-manager'][spec][template][spec][containers][0][env][21][name]": { + "prev": "NotPresent", + "curr": "RELATED_IMAGE_COCKROACH_v20_2_13", + "path": [ + "cockroach-operator-manager", + "spec", + "template", + "spec", + "containers", + 0, + "env", + 21, + "name" + ] + }, + "root['cockroach-operator-manager'][spec][template][spec][containers][0][env][21][value]": { + "prev": "NotPresent", + "curr": "cockroachdb/cockroach:v20.2.13", + "path": [ + "cockroach-operator-manager", + "spec", + "template", + "spec", + "containers", + 0, + "env", + 21, + "value" + ] + }, + "root['cockroach-operator-manager'][spec][template][spec][containers][0][env][22][name]": { + "prev": "NotPresent", + "curr": "RELATED_IMAGE_COCKROACH_v20_2_14", + "path": [ + "cockroach-operator-manager", + "spec", + "template", + "spec", + "containers", + 0, + "env", + 22, + "name" + ] + }, + "root['cockroach-operator-manager'][spec][template][spec][containers][0][env][22][value]": { + "prev": "NotPresent", + "curr": "cockroachdb/cockroach:v20.2.14", + "path": [ + "cockroach-operator-manager", + "spec", + "template", + "spec", + "containers", + 0, + "env", + 22, + "value" + ] + }, + "root['cockroach-operator-manager'][spec][template][spec][containers][0][env][23][name]": { + "prev": "NotPresent", + "curr": "RELATED_IMAGE_COCKROACH_v20_2_15", + "path": [ + "cockroach-operator-manager", + "spec", + "template", + "spec", + "containers", + 0, + "env", + 23, + "name" + ] + }, + "root['cockroach-operator-manager'][spec][template][spec][containers][0][env][23][value]": { + "prev": "NotPresent", + "curr": "cockroachdb/cockroach:v20.2.15", + "path": [ + "cockroach-operator-manager", + "spec", + "template", + "spec", + "containers", + 0, + "env", + 23, + "value" + ] + }, + "root['cockroach-operator-manager'][spec][template][spec][containers][0][env][24][name]": { + "prev": "NotPresent", + "curr": "RELATED_IMAGE_COCKROACH_v20_2_16", + "path": [ + "cockroach-operator-manager", + "spec", + "template", + "spec", + "containers", + 0, + "env", + 24, + "name" + ] + }, + "root['cockroach-operator-manager'][spec][template][spec][containers][0][env][24][value]": { + "prev": "NotPresent", + "curr": "cockroachdb/cockroach:v20.2.16", + "path": [ + "cockroach-operator-manager", + "spec", + "template", + "spec", + "containers", + 0, + "env", + 24, + "value" + ] + }, + "root['cockroach-operator-manager'][spec][template][spec][containers][0][env][25][name]": { + "prev": "NotPresent", + "curr": "RELATED_IMAGE_COCKROACH_v20_2_17", + "path": [ + "cockroach-operator-manager", + "spec", + "template", + "spec", + "containers", + 0, + "env", + 25, + "name" + ] + }, + "root['cockroach-operator-manager'][spec][template][spec][containers][0][env][25][value]": { + "prev": "NotPresent", + "curr": "cockroachdb/cockroach:v20.2.17", + "path": [ + "cockroach-operator-manager", + "spec", + "template", + "spec", + "containers", + 0, + "env", + 25, + "value" + ] + }, + "root['cockroach-operator-manager'][spec][template][spec][containers][0][env][26][name]": { + "prev": "NotPresent", + "curr": "RELATED_IMAGE_COCKROACH_v20_2_18", + "path": [ + "cockroach-operator-manager", + "spec", + "template", + "spec", + "containers", + 0, + "env", + 26, + "name" + ] + }, + "root['cockroach-operator-manager'][spec][template][spec][containers][0][env][26][value]": { + "prev": "NotPresent", + "curr": "cockroachdb/cockroach:v20.2.18", + "path": [ + "cockroach-operator-manager", + "spec", + "template", + "spec", + "containers", + 0, + "env", + 26, + "value" + ] + }, + "root['cockroach-operator-manager'][spec][template][spec][containers][0][env][27][name]": { + "prev": "NotPresent", + "curr": "RELATED_IMAGE_COCKROACH_v20_2_19", + "path": [ + "cockroach-operator-manager", + "spec", + "template", + "spec", + "containers", + 0, + "env", + 27, + "name" + ] + }, + "root['cockroach-operator-manager'][spec][template][spec][containers][0][env][27][value]": { + "prev": "NotPresent", + "curr": "cockroachdb/cockroach:v20.2.19", + "path": [ + "cockroach-operator-manager", + "spec", + "template", + "spec", + "containers", + 0, + "env", + 27, + "value" + ] + }, + "root['cockroach-operator-manager'][spec][template][spec][containers][0][env][28][name]": { + "prev": "NotPresent", + "curr": "RELATED_IMAGE_COCKROACH_v21_1_0", + "path": [ + "cockroach-operator-manager", + "spec", + "template", + "spec", + "containers", + 0, + "env", + 28, + "name" + ] + }, + "root['cockroach-operator-manager'][spec][template][spec][containers][0][env][28][value]": { + "prev": "NotPresent", + "curr": "cockroachdb/cockroach:v21.1.0", + "path": [ + "cockroach-operator-manager", + "spec", + "template", + "spec", + "containers", + 0, + "env", + 28, + "value" + ] + }, + "root['cockroach-operator-manager'][spec][template][spec][containers][0][env][29][name]": { + "prev": "NotPresent", + "curr": "RELATED_IMAGE_COCKROACH_v21_1_1", + "path": [ + "cockroach-operator-manager", + "spec", + "template", + "spec", + "containers", + 0, + "env", + 29, + "name" + ] + }, + "root['cockroach-operator-manager'][spec][template][spec][containers][0][env][29][value]": { + "prev": "NotPresent", + "curr": "cockroachdb/cockroach:v21.1.1", + "path": [ + "cockroach-operator-manager", + "spec", + "template", + "spec", + "containers", + 0, + "env", + 29, + "value" + ] + }, + "root['cockroach-operator-manager'][spec][template][spec][containers][0][env][30][name]": { + "prev": "NotPresent", + "curr": "RELATED_IMAGE_COCKROACH_v21_1_2", + "path": [ + "cockroach-operator-manager", + "spec", + "template", + "spec", + "containers", + 0, + "env", + 30, + "name" + ] + }, + "root['cockroach-operator-manager'][spec][template][spec][containers][0][env][30][value]": { + "prev": "NotPresent", + "curr": "cockroachdb/cockroach:v21.1.2", + "path": [ + "cockroach-operator-manager", + "spec", + "template", + "spec", + "containers", + 0, + "env", + 30, + "value" + ] + }, + "root['cockroach-operator-manager'][spec][template][spec][containers][0][env][31][name]": { + "prev": "NotPresent", + "curr": "RELATED_IMAGE_COCKROACH_v21_1_3", + "path": [ + "cockroach-operator-manager", + "spec", + "template", + "spec", + "containers", + 0, + "env", + 31, + "name" + ] + }, + "root['cockroach-operator-manager'][spec][template][spec][containers][0][env][31][value]": { + "prev": "NotPresent", + "curr": "cockroachdb/cockroach:v21.1.3", + "path": [ + "cockroach-operator-manager", + "spec", + "template", + "spec", + "containers", + 0, + "env", + 31, + "value" + ] + }, + "root['cockroach-operator-manager'][spec][template][spec][containers][0][env][32][name]": { + "prev": "NotPresent", + "curr": "RELATED_IMAGE_COCKROACH_v21_1_4", + "path": [ + "cockroach-operator-manager", + "spec", + "template", + "spec", + "containers", + 0, + "env", + 32, + "name" + ] + }, + "root['cockroach-operator-manager'][spec][template][spec][containers][0][env][32][value]": { + "prev": "NotPresent", + "curr": "cockroachdb/cockroach:v21.1.4", + "path": [ + "cockroach-operator-manager", + "spec", + "template", + "spec", + "containers", + 0, + "env", + 32, + "value" + ] + }, + "root['cockroach-operator-manager'][spec][template][spec][containers][0][env][33][name]": { + "prev": "NotPresent", + "curr": "RELATED_IMAGE_COCKROACH_v21_1_5", + "path": [ + "cockroach-operator-manager", + "spec", + "template", + "spec", + "containers", + 0, + "env", + 33, + "name" + ] + }, + "root['cockroach-operator-manager'][spec][template][spec][containers][0][env][33][value]": { + "prev": "NotPresent", + "curr": "cockroachdb/cockroach:v21.1.5", + "path": [ + "cockroach-operator-manager", + "spec", + "template", + "spec", + "containers", + 0, + "env", + 33, + "value" + ] + }, + "root['cockroach-operator-manager'][spec][template][spec][containers][0][env][34][name]": { + "prev": "NotPresent", + "curr": "RELATED_IMAGE_COCKROACH_v21_1_6", + "path": [ + "cockroach-operator-manager", + "spec", + "template", + "spec", + "containers", + 0, + "env", + 34, + "name" + ] + }, + "root['cockroach-operator-manager'][spec][template][spec][containers][0][env][34][value]": { + "prev": "NotPresent", + "curr": "cockroachdb/cockroach:v21.1.6", + "path": [ + "cockroach-operator-manager", + "spec", + "template", + "spec", + "containers", + 0, + "env", + 34, + "value" + ] + }, + "root['cockroach-operator-manager'][spec][template][spec][containers][0][env][35][name]": { + "prev": "NotPresent", + "curr": "RELATED_IMAGE_COCKROACH_v21_1_7", + "path": [ + "cockroach-operator-manager", + "spec", + "template", + "spec", + "containers", + 0, + "env", + 35, + "name" + ] + }, + "root['cockroach-operator-manager'][spec][template][spec][containers][0][env][35][value]": { + "prev": "NotPresent", + "curr": "cockroachdb/cockroach:v21.1.7", + "path": [ + "cockroach-operator-manager", + "spec", + "template", + "spec", + "containers", + 0, + "env", + 35, + "value" + ] + }, + "root['cockroach-operator-manager'][spec][template][spec][containers][0][env][36][name]": { + "prev": "NotPresent", + "curr": "RELATED_IMAGE_COCKROACH_v21_1_9", + "path": [ + "cockroach-operator-manager", + "spec", + "template", + "spec", + "containers", + 0, + "env", + 36, + "name" + ] + }, + "root['cockroach-operator-manager'][spec][template][spec][containers][0][env][36][value]": { + "prev": "NotPresent", + "curr": "cockroachdb/cockroach:v21.1.9", + "path": [ + "cockroach-operator-manager", + "spec", + "template", + "spec", + "containers", + 0, + "env", + 36, + "value" + ] + }, + "root['cockroach-operator-manager'][spec][template][spec][containers][0][env][37][name]": { + "prev": "NotPresent", + "curr": "RELATED_IMAGE_COCKROACH_v21_1_10", + "path": [ + "cockroach-operator-manager", + "spec", + "template", + "spec", + "containers", + 0, + "env", + 37, + "name" + ] + }, + "root['cockroach-operator-manager'][spec][template][spec][containers][0][env][37][value]": { + "prev": "NotPresent", + "curr": "cockroachdb/cockroach:v21.1.10", + "path": [ + "cockroach-operator-manager", + "spec", + "template", + "spec", + "containers", + 0, + "env", + 37, + "value" + ] + }, + "root['cockroach-operator-manager'][spec][template][spec][containers][0][env][38][name]": { + "prev": "NotPresent", + "curr": "RELATED_IMAGE_COCKROACH_v21_1_11", + "path": [ + "cockroach-operator-manager", + "spec", + "template", + "spec", + "containers", + 0, + "env", + 38, + "name" + ] + }, + "root['cockroach-operator-manager'][spec][template][spec][containers][0][env][38][value]": { + "prev": "NotPresent", + "curr": "cockroachdb/cockroach:v21.1.11", + "path": [ + "cockroach-operator-manager", + "spec", + "template", + "spec", + "containers", + 0, + "env", + 38, + "value" + ] + }, + "root['cockroach-operator-manager'][spec][template][spec][containers][0][env][39][name]": { + "prev": "NotPresent", + "curr": "RELATED_IMAGE_COCKROACH_v21_1_12", + "path": [ + "cockroach-operator-manager", + "spec", + "template", + "spec", + "containers", + 0, + "env", + 39, + "name" + ] + }, + "root['cockroach-operator-manager'][spec][template][spec][containers][0][env][39][value]": { + "prev": "NotPresent", + "curr": "cockroachdb/cockroach:v21.1.12", + "path": [ + "cockroach-operator-manager", + "spec", + "template", + "spec", + "containers", + 0, + "env", + 39, + "value" + ] + }, + "root['cockroach-operator-manager'][spec][template][spec][containers][0][env][40][name]": { + "prev": "NotPresent", + "curr": "RELATED_IMAGE_COCKROACH_v21_1_13", + "path": [ + "cockroach-operator-manager", + "spec", + "template", + "spec", + "containers", + 0, + "env", + 40, + "name" + ] + }, + "root['cockroach-operator-manager'][spec][template][spec][containers][0][env][40][value]": { + "prev": "NotPresent", + "curr": "cockroachdb/cockroach:v21.1.13", + "path": [ + "cockroach-operator-manager", + "spec", + "template", + "spec", + "containers", + 0, + "env", + 40, + "value" + ] + }, + "root['cockroach-operator-manager'][spec][template][spec][containers][0][env][41][name]": { + "prev": "NotPresent", + "curr": "RELATED_IMAGE_COCKROACH_v21_1_14", + "path": [ + "cockroach-operator-manager", + "spec", + "template", + "spec", + "containers", + 0, + "env", + 41, + "name" + ] + }, + "root['cockroach-operator-manager'][spec][template][spec][containers][0][env][41][value]": { + "prev": "NotPresent", + "curr": "cockroachdb/cockroach:v21.1.14", + "path": [ + "cockroach-operator-manager", + "spec", + "template", + "spec", + "containers", + 0, + "env", + 41, + "value" + ] + }, + "root['cockroach-operator-manager'][spec][template][spec][containers][0][env][42][name]": { + "prev": "NotPresent", + "curr": "RELATED_IMAGE_COCKROACH_v21_1_15", + "path": [ + "cockroach-operator-manager", + "spec", + "template", + "spec", + "containers", + 0, + "env", + 42, + "name" + ] + }, + "root['cockroach-operator-manager'][spec][template][spec][containers][0][env][42][value]": { + "prev": "NotPresent", + "curr": "cockroachdb/cockroach:v21.1.15", + "path": [ + "cockroach-operator-manager", + "spec", + "template", + "spec", + "containers", + 0, + "env", + 42, + "value" + ] + }, + "root['cockroach-operator-manager'][spec][template][spec][containers][0][env][43][name]": { + "prev": "NotPresent", + "curr": "RELATED_IMAGE_COCKROACH_v21_1_16", + "path": [ + "cockroach-operator-manager", + "spec", + "template", + "spec", + "containers", + 0, + "env", + 43, + "name" + ] + }, + "root['cockroach-operator-manager'][spec][template][spec][containers][0][env][43][value]": { + "prev": "NotPresent", + "curr": "cockroachdb/cockroach:v21.1.16", + "path": [ + "cockroach-operator-manager", + "spec", + "template", + "spec", + "containers", + 0, + "env", + 43, + "value" + ] + }, + "root['cockroach-operator-manager'][spec][template][spec][containers][0][env][44][name]": { + "prev": "NotPresent", + "curr": "RELATED_IMAGE_COCKROACH_v21_1_17", + "path": [ + "cockroach-operator-manager", + "spec", + "template", + "spec", + "containers", + 0, + "env", + 44, + "name" + ] + }, + "root['cockroach-operator-manager'][spec][template][spec][containers][0][env][44][value]": { + "prev": "NotPresent", + "curr": "cockroachdb/cockroach:v21.1.17", + "path": [ + "cockroach-operator-manager", + "spec", + "template", + "spec", + "containers", + 0, + "env", + 44, + "value" + ] + }, + "root['cockroach-operator-manager'][spec][template][spec][containers][0][env][45][name]": { + "prev": "NotPresent", + "curr": "RELATED_IMAGE_COCKROACH_v21_1_18", + "path": [ + "cockroach-operator-manager", + "spec", + "template", + "spec", + "containers", + 0, + "env", + 45, + "name" + ] + }, + "root['cockroach-operator-manager'][spec][template][spec][containers][0][env][45][value]": { + "prev": "NotPresent", + "curr": "cockroachdb/cockroach:v21.1.18", + "path": [ + "cockroach-operator-manager", + "spec", + "template", + "spec", + "containers", + 0, + "env", + 45, + "value" + ] + }, + "root['cockroach-operator-manager'][spec][template][spec][containers][0][env][46][name]": { + "prev": "NotPresent", + "curr": "RELATED_IMAGE_COCKROACH_v21_1_19", + "path": [ + "cockroach-operator-manager", + "spec", + "template", + "spec", + "containers", + 0, + "env", + 46, + "name" + ] + }, + "root['cockroach-operator-manager'][spec][template][spec][containers][0][env][46][value]": { + "prev": "NotPresent", + "curr": "cockroachdb/cockroach:v21.1.19", + "path": [ + "cockroach-operator-manager", + "spec", + "template", + "spec", + "containers", + 0, + "env", + 46, + "value" + ] + }, + "root['cockroach-operator-manager'][spec][template][spec][containers][0][env][47][name]": { + "prev": "NotPresent", + "curr": "RELATED_IMAGE_COCKROACH_v21_2_0", + "path": [ + "cockroach-operator-manager", + "spec", + "template", + "spec", + "containers", + 0, + "env", + 47, + "name" + ] + }, + "root['cockroach-operator-manager'][spec][template][spec][containers][0][env][47][value]": { + "prev": "NotPresent", + "curr": "cockroachdb/cockroach:v21.2.0", + "path": [ + "cockroach-operator-manager", + "spec", + "template", + "spec", + "containers", + 0, + "env", + 47, + "value" + ] + }, + "root['cockroach-operator-manager'][spec][template][spec][containers][0][env][48][name]": { + "prev": "NotPresent", + "curr": "RELATED_IMAGE_COCKROACH_v21_2_1", + "path": [ + "cockroach-operator-manager", + "spec", + "template", + "spec", + "containers", + 0, + "env", + 48, + "name" + ] + }, + "root['cockroach-operator-manager'][spec][template][spec][containers][0][env][48][value]": { + "prev": "NotPresent", + "curr": "cockroachdb/cockroach:v21.2.1", + "path": [ + "cockroach-operator-manager", + "spec", + "template", + "spec", + "containers", + 0, + "env", + 48, + "value" + ] + }, + "root['cockroach-operator-manager'][spec][template][spec][containers][0][env][49][name]": { + "prev": "NotPresent", + "curr": "RELATED_IMAGE_COCKROACH_v21_2_2", + "path": [ + "cockroach-operator-manager", + "spec", + "template", + "spec", + "containers", + 0, + "env", + 49, + "name" + ] + }, + "root['cockroach-operator-manager'][spec][template][spec][containers][0][env][49][value]": { + "prev": "NotPresent", + "curr": "cockroachdb/cockroach:v21.2.2", + "path": [ + "cockroach-operator-manager", + "spec", + "template", + "spec", + "containers", + 0, + "env", + 49, + "value" + ] + }, + "root['cockroach-operator-manager'][spec][template][spec][containers][0][env][50][name]": { + "prev": "NotPresent", + "curr": "RELATED_IMAGE_COCKROACH_v21_2_3", + "path": [ + "cockroach-operator-manager", + "spec", + "template", + "spec", + "containers", + 0, + "env", + 50, + "name" + ] + }, + "root['cockroach-operator-manager'][spec][template][spec][containers][0][env][50][value]": { + "prev": "NotPresent", + "curr": "cockroachdb/cockroach:v21.2.3", + "path": [ + "cockroach-operator-manager", + "spec", + "template", + "spec", + "containers", + 0, + "env", + 50, + "value" + ] + }, + "root['cockroach-operator-manager'][spec][template][spec][containers][0][env][51][name]": { + "prev": "NotPresent", + "curr": "RELATED_IMAGE_COCKROACH_v21_2_4", + "path": [ + "cockroach-operator-manager", + "spec", + "template", + "spec", + "containers", + 0, + "env", + 51, + "name" + ] + }, + "root['cockroach-operator-manager'][spec][template][spec][containers][0][env][51][value]": { + "prev": "NotPresent", + "curr": "cockroachdb/cockroach:v21.2.4", + "path": [ + "cockroach-operator-manager", + "spec", + "template", + "spec", + "containers", + 0, + "env", + 51, + "value" + ] + }, + "root['cockroach-operator-manager'][spec][template][spec][containers][0][env][52][name]": { + "prev": "NotPresent", + "curr": "RELATED_IMAGE_COCKROACH_v21_2_5", + "path": [ + "cockroach-operator-manager", + "spec", + "template", + "spec", + "containers", + 0, + "env", + 52, + "name" + ] + }, + "root['cockroach-operator-manager'][spec][template][spec][containers][0][env][52][value]": { + "prev": "NotPresent", + "curr": "cockroachdb/cockroach:v21.2.5", + "path": [ + "cockroach-operator-manager", + "spec", + "template", + "spec", + "containers", + 0, + "env", + 52, + "value" + ] + }, + "root['cockroach-operator-manager'][spec][template][spec][containers][0][env][53][name]": { + "prev": "NotPresent", + "curr": "RELATED_IMAGE_COCKROACH_v21_2_7", + "path": [ + "cockroach-operator-manager", + "spec", + "template", + "spec", + "containers", + 0, + "env", + 53, + "name" + ] + }, + "root['cockroach-operator-manager'][spec][template][spec][containers][0][env][53][value]": { + "prev": "NotPresent", + "curr": "cockroachdb/cockroach:v21.2.7", + "path": [ + "cockroach-operator-manager", + "spec", + "template", + "spec", + "containers", + 0, + "env", + 53, + "value" + ] + }, + "root['cockroach-operator-manager'][spec][template][spec][containers][0][env][54][name]": { + "prev": "NotPresent", + "curr": "RELATED_IMAGE_COCKROACH_v21_2_8", + "path": [ + "cockroach-operator-manager", + "spec", + "template", + "spec", + "containers", + 0, + "env", + 54, + "name" + ] + }, + "root['cockroach-operator-manager'][spec][template][spec][containers][0][env][54][value]": { + "prev": "NotPresent", + "curr": "cockroachdb/cockroach:v21.2.8", + "path": [ + "cockroach-operator-manager", + "spec", + "template", + "spec", + "containers", + 0, + "env", + 54, + "value" + ] + }, + "root['cockroach-operator-manager'][spec][template][spec][containers][0][env][55][name]": { + "prev": "NotPresent", + "curr": "RELATED_IMAGE_COCKROACH_v21_2_9", + "path": [ + "cockroach-operator-manager", + "spec", + "template", + "spec", + "containers", + 0, + "env", + 55, + "name" + ] + }, + "root['cockroach-operator-manager'][spec][template][spec][containers][0][env][55][value]": { + "prev": "NotPresent", + "curr": "cockroachdb/cockroach:v21.2.9", + "path": [ + "cockroach-operator-manager", + "spec", + "template", + "spec", + "containers", + 0, + "env", + 55, + "value" + ] + }, + "root['cockroach-operator-manager'][spec][template][spec][containers][0][env][56][name]": { + "prev": "NotPresent", + "curr": "RELATED_IMAGE_COCKROACH_v21_2_10", + "path": [ + "cockroach-operator-manager", + "spec", + "template", + "spec", + "containers", + 0, + "env", + 56, + "name" + ] + }, + "root['cockroach-operator-manager'][spec][template][spec][containers][0][env][56][value]": { + "prev": "NotPresent", + "curr": "cockroachdb/cockroach:v21.2.10", + "path": [ + "cockroach-operator-manager", + "spec", + "template", + "spec", + "containers", + 0, + "env", + 56, + "value" + ] + }, + "root['cockroach-operator-manager'][spec][template][spec][containers][0][env][57][name]": { + "prev": "NotPresent", + "curr": "OPERATOR_NAME", + "path": [ + "cockroach-operator-manager", + "spec", + "template", + "spec", + "containers", + 0, + "env", + 57, + "name" + ] + }, + "root['cockroach-operator-manager'][spec][template][spec][containers][0][env][57][value]": { + "prev": "NotPresent", + "curr": "cockroachdb", + "path": [ + "cockroach-operator-manager", + "spec", + "template", + "spec", + "containers", + 0, + "env", + 57, + "value" + ] + }, + "root['cockroach-operator-manager'][spec][template][spec][containers][0][env][58][name]": { + "prev": "NotPresent", + "curr": "POD_NAME", + "path": [ + "cockroach-operator-manager", + "spec", + "template", + "spec", + "containers", + 0, + "env", + 58, + "name" + ] + }, + "root['cockroach-operator-manager'][spec][template][spec][containers][0][env][58][value_from][field_ref][api_version]": { + "prev": "NotPresent", + "curr": "v1", + "path": [ + "cockroach-operator-manager", + "spec", + "template", + "spec", + "containers", + 0, + "env", + 58, + "value_from", + "field_ref", + "api_version" + ] + }, + "root['cockroach-operator-manager'][spec][template][spec][containers][0][env][58][value_from][field_ref][field_path]": { + "prev": "NotPresent", + "curr": "metadata.name", + "path": [ + "cockroach-operator-manager", + "spec", + "template", + "spec", + "containers", + 0, + "env", + 58, + "value_from", + "field_ref", + "field_path" + ] + }, + "root['cockroach-operator-manager'][spec][template][spec][containers][0][env][59][name]": { + "prev": "NotPresent", + "curr": "NAMESPACE", + "path": [ + "cockroach-operator-manager", + "spec", + "template", + "spec", + "containers", + 0, + "env", + 59, + "name" + ] + }, + "root['cockroach-operator-manager'][spec][template][spec][containers][0][env][59][value_from][field_ref][api_version]": { + "prev": "NotPresent", + "curr": "v1", + "path": [ + "cockroach-operator-manager", + "spec", + "template", + "spec", + "containers", + 0, + "env", + 59, + "value_from", + "field_ref", + "api_version" + ] + }, + "root['cockroach-operator-manager'][spec][template][spec][containers][0][env][59][value_from][field_ref][field_path]": { + "prev": "NotPresent", + "curr": "metadata.namespace", + "path": [ + "cockroach-operator-manager", + "spec", + "template", + "spec", + "containers", + 0, + "env", + 59, + "value_from", + "field_ref", + "field_path" + ] + }, + "root['cockroach-operator-manager'][spec][template][spec][containers][0][image]": { + "prev": "NotPresent", + "curr": "cockroachdb/cockroach-operator:v2.7.0", + "path": [ + "cockroach-operator-manager", + "spec", + "template", + "spec", + "containers", + 0, + "image" + ] + }, + "root['cockroach-operator-manager'][spec][template][spec][containers][0][image_pull_policy]": { + "prev": "NotPresent", + "curr": "IfNotPresent", + "path": [ + "cockroach-operator-manager", + "spec", + "template", + "spec", + "containers", + 0, + "image_pull_policy" + ] + }, + "root['cockroach-operator-manager'][spec][template][spec][containers][0][name]": { + "prev": "NotPresent", + "curr": "cockroach-operator", + "path": [ + "cockroach-operator-manager", + "spec", + "template", + "spec", + "containers", + 0, + "name" + ] + }, + "root['cockroach-operator-manager'][spec][template][spec][containers][0][resources][requests][cpu]": { + "prev": "NotPresent", + "curr": "10m", + "path": [ + "cockroach-operator-manager", + "spec", + "template", + "spec", + "containers", + 0, + "resources", + "requests", + "cpu" + ] + }, + "root['cockroach-operator-manager'][spec][template][spec][containers][0][resources][requests][memory]": { + "prev": "NotPresent", + "curr": "32Mi", + "path": [ + "cockroach-operator-manager", + "spec", + "template", + "spec", + "containers", + 0, + "resources", + "requests", + "memory" + ] + }, + "root['cockroach-operator-manager'][spec][template][spec][containers][0][termination_message_path]": { + "prev": "NotPresent", + "curr": "/dev/termination-log", + "path": [ + "cockroach-operator-manager", + "spec", + "template", + "spec", + "containers", + 0, + "termination_message_path" + ] + }, + "root['cockroach-operator-manager'][spec][template][spec][containers][0][termination_message_policy]": { + "prev": "NotPresent", + "curr": "File", + "path": [ + "cockroach-operator-manager", + "spec", + "template", + "spec", + "containers", + 0, + "termination_message_policy" + ] + }, + "root['cockroach-operator-manager'][spec][template][spec][dns_policy]": { + "prev": "NotPresent", + "curr": "ClusterFirst", + "path": [ + "cockroach-operator-manager", + "spec", + "template", + "spec", + "dns_policy" + ] + }, + "root['cockroach-operator-manager'][spec][template][spec][restart_policy]": { + "prev": "NotPresent", + "curr": "Always", + "path": [ + "cockroach-operator-manager", + "spec", + "template", + "spec", + "restart_policy" + ] + }, + "root['cockroach-operator-manager'][spec][template][spec][scheduler_name]": { + "prev": "NotPresent", + "curr": "default-scheduler", + "path": [ + "cockroach-operator-manager", + "spec", + "template", + "spec", + "scheduler_name" + ] + }, + "root['cockroach-operator-manager'][spec][template][spec][service_account]": { + "prev": "NotPresent", + "curr": "cockroach-operator-sa", + "path": [ + "cockroach-operator-manager", + "spec", + "template", + "spec", + "service_account" + ] + }, + "root['cockroach-operator-manager'][spec][template][spec][service_account_name]": { + "prev": "NotPresent", + "curr": "cockroach-operator-sa", + "path": [ + "cockroach-operator-manager", + "spec", + "template", + "spec", + "service_account_name" + ] + }, + "root['cockroach-operator-manager'][spec][template][spec][termination_grace_period_seconds]": { + "prev": "NotPresent", + "curr": 30, + "path": [ + "cockroach-operator-manager", + "spec", + "template", + "spec", + "termination_grace_period_seconds" + ] + }, + "root['cockroach-operator-manager'][status][available_replicas]": { + "prev": "NotPresent", + "curr": 1, + "path": [ + "cockroach-operator-manager", + "status", + "available_replicas" + ] + }, + "root['cockroach-operator-manager'][status][conditions][0][last_transition_time]": { + "prev": "NotPresent", + "curr": "2023-05-04T20:30:22+00:00", + "path": [ + "cockroach-operator-manager", + "status", + "conditions", + 0, + "last_transition_time" + ] + }, + "root['cockroach-operator-manager'][status][conditions][0][last_update_time]": { + "prev": "NotPresent", + "curr": "2023-05-04T20:30:22+00:00", + "path": [ + "cockroach-operator-manager", + "status", + "conditions", + 0, + "last_update_time" + ] + }, + "root['cockroach-operator-manager'][status][conditions][0][message]": { + "prev": "NotPresent", + "curr": "Deployment has minimum availability.", + "path": [ + "cockroach-operator-manager", + "status", + "conditions", + 0, + "message" + ] + }, + "root['cockroach-operator-manager'][status][conditions][0][reason]": { + "prev": "NotPresent", + "curr": "MinimumReplicasAvailable", + "path": [ + "cockroach-operator-manager", + "status", + "conditions", + 0, + "reason" + ] + }, + "root['cockroach-operator-manager'][status][conditions][0][status]": { + "prev": "NotPresent", + "curr": "True", + "path": [ + "cockroach-operator-manager", + "status", + "conditions", + 0, + "status" + ] + }, + "root['cockroach-operator-manager'][status][conditions][0][type]": { + "prev": "NotPresent", + "curr": "Available", + "path": [ + "cockroach-operator-manager", + "status", + "conditions", + 0, + "type" + ] + }, + "root['cockroach-operator-manager'][status][conditions][1][last_transition_time]": { + "prev": "NotPresent", + "curr": "2023-05-04T20:30:22+00:00", + "path": [ + "cockroach-operator-manager", + "status", + "conditions", + 1, + "last_transition_time" + ] + }, + "root['cockroach-operator-manager'][status][conditions][1][last_update_time]": { + "prev": "NotPresent", + "curr": "2023-05-04T20:30:52+00:00", + "path": [ + "cockroach-operator-manager", + "status", + "conditions", + 1, + "last_update_time" + ] + }, + "root['cockroach-operator-manager'][status][conditions][1][message]": { + "prev": "NotPresent", + "curr": "ReplicaSet \"cockroach-operator-manager-64c489884\" has successfully progressed.", + "path": [ + "cockroach-operator-manager", + "status", + "conditions", + 1, + "message" + ] + }, + "root['cockroach-operator-manager'][status][conditions][1][reason]": { + "prev": "NotPresent", + "curr": "NewReplicaSetAvailable", + "path": [ + "cockroach-operator-manager", + "status", + "conditions", + 1, + "reason" + ] + }, + "root['cockroach-operator-manager'][status][conditions][1][status]": { + "prev": "NotPresent", + "curr": "True", + "path": [ + "cockroach-operator-manager", + "status", + "conditions", + 1, + "status" + ] + }, + "root['cockroach-operator-manager'][status][conditions][1][type]": { + "prev": "NotPresent", + "curr": "Progressing", + "path": [ + "cockroach-operator-manager", + "status", + "conditions", + 1, + "type" + ] + }, + "root['cockroach-operator-manager'][status][observed_generation]": { + "prev": "NotPresent", + "curr": 2, + "path": [ + "cockroach-operator-manager", + "status", + "observed_generation" + ] + }, + "root['cockroach-operator-manager'][status][ready_replicas]": { + "prev": "NotPresent", + "curr": 1, + "path": [ + "cockroach-operator-manager", + "status", + "ready_replicas" + ] + }, + "root['cockroach-operator-manager'][status][replicas]": { + "prev": "NotPresent", + "curr": 1, + "path": [ + "cockroach-operator-manager", + "status", + "replicas" + ] + }, + "root['cockroach-operator-manager'][status][updated_replicas]": { + "prev": "NotPresent", + "curr": 1, + "path": [ + "cockroach-operator-manager", + "status", + "updated_replicas" + ] + } + } + }, + "config_map": { + "dictionary_item_added": { + "root['kube-root-ca.crt'][data][ca.crt]": { + "prev": "NotPresent", + "curr": "-----BEGIN CERTIFICATE-----\nMIIC/jCCAeagAwIBAgIBADANBgkqhkiG9w0BAQsFADAVMRMwEQYDVQQDEwprdWJl\ncm5ldGVzMB4XDTIzMDUwNDIwMjkxMFoXDTMzMDUwMTIwMjkxMFowFTETMBEGA1UE\nAxMKa3ViZXJuZXRlczCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAOZZ\nNBiE5imKYNYWQsDL7HJDSm2L+ocFPlh1vTf2uGhktpKbD6ITd2HvJBGnbznEq573\nFR+8KpXqozRTEFDZo+OIs8y6IcVIJSHTD/LhbHE9xP2QFWIEaIHrbFwktet5wuL+\nkfJbYqdompXlzSaORjo0fG6KXA/5UBoeylU4zFRpcP/QSHa2blKko/IBWpuL4OEM\n1NeiOaMGea9kUivd06JFKucvv79dmKL03PA4LF13IDYFAE0YMXpq/Kp7cWXg7oKP\naPEP84rxtVddY3pDEdPR8GhbV/zIfJjjmaV3hqjbbW8sXc/MKMddx+XPZTjYGbgy\n3egJodTUokl3mL4zhQ0CAwEAAaNZMFcwDgYDVR0PAQH/BAQDAgKkMA8GA1UdEwEB\n/wQFMAMBAf8wHQYDVR0OBBYEFHQXllc6/knTcwTAgSM2L8Y9CaKmMBUGA1UdEQQO\nMAyCCmt1YmVybmV0ZXMwDQYJKoZIhvcNAQELBQADggEBAEV0ciRGe77TLxzcTZpA\npid2iF9nHg5alCebrfGZ3gnH6KhKM/otOSoA58JCzEaJxS1cUQOnVIP6i4t7WYVz\nkwEjw+8Bp3vvUpZJDaj/XTgOuztoOpbM6xX7wKHztRdI76I7gH/HPjfIrgiUM7Yo\nSNKCwpZf8tUpWUWfEBDNCtvN4OO3v2A2fREnz1ux61qtKTdR+T/aCvD7GLNB0mbu\nWBTupnmNaAEs/bB87w3OJ4PbvvCGdwm+bX+Q3iDdwqIiu78ZB8NI5RYAYB+CN7Nt\nm2tXdv3t0L7lMcG4eolqa3RXA6g515um0FzDqabtuw5+oak8rs1XfTk87uwhqxUl\nGew=\n-----END CERTIFICATE-----\n", + "path": [ + "kube-root-ca.crt", + "data", + "ca.crt" + ] + }, + "root['kube-root-ca.crt'][metadata][annotations][kubernetes.io/description]": { + "prev": "NotPresent", + "curr": "Contains a CA bundle that can be used to verify the kube-apiserver when using internal endpoints such as the internal service IP or kubernetes.default.svc. No other usage is guaranteed across distributions of Kubernetes clusters.", + "path": [ + "kube-root-ca.crt", + "metadata", + "annotations", + "kubernetes.io/description" + ] + }, + "root['kube-root-ca.crt'][metadata][creation_timestamp]": { + "prev": "NotPresent", + "curr": "2023-05-04T20:30:11+00:00", + "path": [ + "kube-root-ca.crt", + "metadata", + "creation_timestamp" + ] + }, + "root['kube-root-ca.crt'][metadata][managed_fields][0][api_version]": { + "prev": "NotPresent", + "curr": "v1", + "path": [ + "kube-root-ca.crt", + "metadata", + "managed_fields", + 0, + "api_version" + ] + }, + "root['kube-root-ca.crt'][metadata][managed_fields][0][fields_type]": { + "prev": "NotPresent", + "curr": "FieldsV1", + "path": [ + "kube-root-ca.crt", + "metadata", + "managed_fields", + 0, + "fields_type" + ] + }, + "root['kube-root-ca.crt'][metadata][managed_fields][0][manager]": { + "prev": "NotPresent", + "curr": "kube-controller-manager", + "path": [ + "kube-root-ca.crt", + "metadata", + "managed_fields", + 0, + "manager" + ] + }, + "root['kube-root-ca.crt'][metadata][managed_fields][0][operation]": { + "prev": "NotPresent", + "curr": "Update", + "path": [ + "kube-root-ca.crt", + "metadata", + "managed_fields", + 0, + "operation" + ] + }, + "root['kube-root-ca.crt'][metadata][managed_fields][0][time]": { + "prev": "NotPresent", + "curr": "2023-05-04T20:30:11+00:00", + "path": [ + "kube-root-ca.crt", + "metadata", + "managed_fields", + 0, + "time" + ] + }, + "root['kube-root-ca.crt'][metadata][name]": { + "prev": "NotPresent", + "curr": "kube-root-ca.crt", + "path": [ + "kube-root-ca.crt", + "metadata", + "name" + ] + }, + "root['kube-root-ca.crt'][metadata][namespace]": { + "prev": "NotPresent", + "curr": "cockroach-operator-system", + "path": [ + "kube-root-ca.crt", + "metadata", + "namespace" + ] + }, + "root['kube-root-ca.crt'][metadata][resource_version]": { + "prev": "NotPresent", + "curr": "670", + "path": [ + "kube-root-ca.crt", + "metadata", + "resource_version" + ] + }, + "root['kube-root-ca.crt'][metadata][uid]": { + "prev": "NotPresent", + "curr": "9eb7a849-3642-42b3-bb70-403ff03e3402", + "path": [ + "kube-root-ca.crt", + "metadata", + "uid" + ] + } + } + }, + "service": { + "dictionary_item_added": { + "root['cockroach-operator-webhook-service'][metadata][creation_timestamp]": { + "prev": "NotPresent", + "curr": "2023-05-04T20:30:22+00:00", + "path": [ + "cockroach-operator-webhook-service", + "metadata", + "creation_timestamp" + ] + }, + "root['cockroach-operator-webhook-service'][metadata][labels][control-plane]": { + "prev": "NotPresent", + "curr": "cockroach-operator", + "path": [ + "cockroach-operator-webhook-service", + "metadata", + "labels", + "control-plane" + ] + }, + "root['cockroach-operator-webhook-service'][metadata][managed_fields][0][api_version]": { + "prev": "NotPresent", + "curr": "v1", + "path": [ + "cockroach-operator-webhook-service", + "metadata", + "managed_fields", + 0, + "api_version" + ] + }, + "root['cockroach-operator-webhook-service'][metadata][managed_fields][0][fields_type]": { + "prev": "NotPresent", + "curr": "FieldsV1", + "path": [ + "cockroach-operator-webhook-service", + "metadata", + "managed_fields", + 0, + "fields_type" + ] + }, + "root['cockroach-operator-webhook-service'][metadata][managed_fields][0][manager]": { + "prev": "NotPresent", + "curr": "kubectl", + "path": [ + "cockroach-operator-webhook-service", + "metadata", + "managed_fields", + 0, + "manager" + ] + }, + "root['cockroach-operator-webhook-service'][metadata][managed_fields][0][operation]": { + "prev": "NotPresent", + "curr": "Apply", + "path": [ + "cockroach-operator-webhook-service", + "metadata", + "managed_fields", + 0, + "operation" + ] + }, + "root['cockroach-operator-webhook-service'][metadata][managed_fields][0][time]": { + "prev": "NotPresent", + "curr": "2023-05-04T20:30:22+00:00", + "path": [ + "cockroach-operator-webhook-service", + "metadata", + "managed_fields", + 0, + "time" + ] + }, + "root['cockroach-operator-webhook-service'][metadata][name]": { + "prev": "NotPresent", + "curr": "cockroach-operator-webhook-service", + "path": [ + "cockroach-operator-webhook-service", + "metadata", + "name" + ] + }, + "root['cockroach-operator-webhook-service'][metadata][namespace]": { + "prev": "NotPresent", + "curr": "cockroach-operator-system", + "path": [ + "cockroach-operator-webhook-service", + "metadata", + "namespace" + ] + }, + "root['cockroach-operator-webhook-service'][metadata][resource_version]": { + "prev": "NotPresent", + "curr": "707", + "path": [ + "cockroach-operator-webhook-service", + "metadata", + "resource_version" + ] + }, + "root['cockroach-operator-webhook-service'][metadata][uid]": { + "prev": "NotPresent", + "curr": "b5d2854e-2cc2-43ce-899b-ae3a86cccf69", + "path": [ + "cockroach-operator-webhook-service", + "metadata", + "uid" + ] + }, + "root['cockroach-operator-webhook-service'][spec][cluster_ip]": { + "prev": "NotPresent", + "curr": "10.96.203.232", + "path": [ + "cockroach-operator-webhook-service", + "spec", + "cluster_ip" + ] + }, + "root['cockroach-operator-webhook-service'][spec][cluster_i_ps][0]": { + "prev": "NotPresent", + "curr": "10.96.203.232", + "path": [ + "cockroach-operator-webhook-service", + "spec", + "cluster_i_ps", + 0 + ] + }, + "root['cockroach-operator-webhook-service'][spec][internal_traffic_policy]": { + "prev": "NotPresent", + "curr": "Cluster", + "path": [ + "cockroach-operator-webhook-service", + "spec", + "internal_traffic_policy" + ] + }, + "root['cockroach-operator-webhook-service'][spec][ip_families][0]": { + "prev": "NotPresent", + "curr": "IPv4", + "path": [ + "cockroach-operator-webhook-service", + "spec", + "ip_families", + 0 + ] + }, + "root['cockroach-operator-webhook-service'][spec][ip_family_policy]": { + "prev": "NotPresent", + "curr": "SingleStack", + "path": [ + "cockroach-operator-webhook-service", + "spec", + "ip_family_policy" + ] + }, + "root['cockroach-operator-webhook-service'][spec][ports][0][port]": { + "prev": "NotPresent", + "curr": 443, + "path": [ + "cockroach-operator-webhook-service", + "spec", + "ports", + 0, + "port" + ] + }, + "root['cockroach-operator-webhook-service'][spec][ports][0][protocol]": { + "prev": "NotPresent", + "curr": "TCP", + "path": [ + "cockroach-operator-webhook-service", + "spec", + "ports", + 0, + "protocol" + ] + }, + "root['cockroach-operator-webhook-service'][spec][ports][0][target_port]": { + "prev": "NotPresent", + "curr": 9443, + "path": [ + "cockroach-operator-webhook-service", + "spec", + "ports", + 0, + "target_port" + ] + }, + "root['cockroach-operator-webhook-service'][spec][selector][app]": { + "prev": "NotPresent", + "curr": "cockroach-operator", + "path": [ + "cockroach-operator-webhook-service", + "spec", + "selector", + "app" + ] + }, + "root['cockroach-operator-webhook-service'][spec][session_affinity]": { + "prev": "NotPresent", + "curr": "None", + "path": [ + "cockroach-operator-webhook-service", + "spec", + "session_affinity" + ] + }, + "root['cockroach-operator-webhook-service'][spec][type]": { + "prev": "NotPresent", + "curr": "ClusterIP", + "path": [ + "cockroach-operator-webhook-service", + "spec", + "type" + ] + }, + "root['test-cluster'][metadata][annotations][crdb.io/last-applied]": { + "prev": "NotPresent", + "curr": "eyJzcGVjIjp7InB1Ymxpc2hOb3RSZWFkeUFkZHJlc3NlcyI6dHJ1ZSwicG9ydHMiOlt7InBvcnQiOjI2MjU4LCJuYW1lIjoiZ3JwYyJ9LHsibmFtZSI6Imh0dHAiLCJwb3J0Ijo4MDgwfSx7Im5hbWUiOiJzcWwiLCJwb3J0IjoyNjI1N31dLCJzZWxlY3RvciI6eyJhcHAua3ViZXJuZXRlcy5pby9pbnN0YW5jZSI6InRlc3QtY2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2FjaC1vcGVyYXRvci1zeXN0ZW0ifX0=", + "path": [ + "test-cluster", + "metadata", + "annotations", + "crdb.io/last-applied" + ] + }, + "root['test-cluster'][metadata][annotations][prometheus.io/path]": { + "prev": "NotPresent", + "curr": "_status/vars", + "path": [ + "test-cluster", + "metadata", + "annotations", + "prometheus.io/path" + ] + }, + "root['test-cluster'][metadata][annotations][prometheus.io/port]": { + "prev": "NotPresent", + "curr": "8080", + "path": [ + "test-cluster", + "metadata", + "annotations", + "prometheus.io/port" + ] + }, + "root['test-cluster'][metadata][annotations][prometheus.io/scrape]": { + "prev": "NotPresent", + "curr": "true", + "path": [ + "test-cluster", + "metadata", + "annotations", + "prometheus.io/scrape" + ] + }, + "root['test-cluster'][metadata][creation_timestamp]": { + "prev": "NotPresent", + "curr": "2023-05-04T20:30:57+00:00", + "path": [ + "test-cluster", + "metadata", + "creation_timestamp" + ] + }, + "root['test-cluster'][metadata][labels][app.kubernetes.io/component]": { + "prev": "NotPresent", + "curr": "database", + "path": [ + "test-cluster", + "metadata", + "labels", + "app.kubernetes.io/component" + ] + }, + "root['test-cluster'][metadata][labels][app.kubernetes.io/instance]": { + "prev": "NotPresent", + "curr": "test-cluster", + "path": [ + "test-cluster", + "metadata", + "labels", + "app.kubernetes.io/instance" + ] + }, + "root['test-cluster'][metadata][labels][app.kubernetes.io/managed-by]": { + "prev": "NotPresent", + "curr": "cockroach-operator", + "path": [ + "test-cluster", + "metadata", + "labels", + "app.kubernetes.io/managed-by" + ] + }, + "root['test-cluster'][metadata][labels][app.kubernetes.io/name]": { + "prev": "NotPresent", + "curr": "cockroachdb", + "path": [ + "test-cluster", + "metadata", + "labels", + "app.kubernetes.io/name" + ] + }, + "root['test-cluster'][metadata][labels][app.kubernetes.io/part-of]": { + "prev": "NotPresent", + "curr": "cockroachdb", + "path": [ + "test-cluster", + "metadata", + "labels", + "app.kubernetes.io/part-of" + ] + }, + "root['test-cluster'][metadata][labels][app.kubernetes.io/version]": { + "prev": "NotPresent", + "curr": "v21.2.10", + "path": [ + "test-cluster", + "metadata", + "labels", + "app.kubernetes.io/version" + ] + }, + "root['test-cluster'][metadata][labels][crdb]": { + "prev": "NotPresent", + "curr": "is-cool", + "path": [ + "test-cluster", + "metadata", + "labels", + "crdb" + ] + }, + "root['test-cluster'][metadata][managed_fields][0][api_version]": { + "prev": "NotPresent", + "curr": "v1", + "path": [ + "test-cluster", + "metadata", + "managed_fields", + 0, + "api_version" + ] + }, + "root['test-cluster'][metadata][managed_fields][0][fields_type]": { + "prev": "NotPresent", + "curr": "FieldsV1", + "path": [ + "test-cluster", + "metadata", + "managed_fields", + 0, + "fields_type" + ] + }, + "root['test-cluster'][metadata][managed_fields][0][manager]": { + "prev": "NotPresent", + "curr": "cockroach-operator", + "path": [ + "test-cluster", + "metadata", + "managed_fields", + 0, + "manager" + ] + }, + "root['test-cluster'][metadata][managed_fields][0][operation]": { + "prev": "NotPresent", + "curr": "Update", + "path": [ + "test-cluster", + "metadata", + "managed_fields", + 0, + "operation" + ] + }, + "root['test-cluster'][metadata][managed_fields][0][time]": { + "prev": "NotPresent", + "curr": "2023-05-04T20:30:57+00:00", + "path": [ + "test-cluster", + "metadata", + "managed_fields", + 0, + "time" + ] + }, + "root['test-cluster'][metadata][name]": { + "prev": "NotPresent", + "curr": "test-cluster", + "path": [ + "test-cluster", + "metadata", + "name" + ] + }, + "root['test-cluster'][metadata][namespace]": { + "prev": "NotPresent", + "curr": "cockroach-operator-system", + "path": [ + "test-cluster", + "metadata", + "namespace" + ] + }, + "root['test-cluster'][metadata][owner_references][0][api_version]": { + "prev": "NotPresent", + "curr": "crdb.cockroachlabs.com/v1alpha1", + "path": [ + "test-cluster", + "metadata", + "owner_references", + 0, + "api_version" + ] + }, + "root['test-cluster'][metadata][owner_references][0][block_owner_deletion]": { + "prev": "NotPresent", + "curr": true, + "path": [ + "test-cluster", + "metadata", + "owner_references", + 0, + "block_owner_deletion" + ] + }, + "root['test-cluster'][metadata][owner_references][0][controller]": { + "prev": "NotPresent", + "curr": true, + "path": [ + "test-cluster", + "metadata", + "owner_references", + 0, + "controller" + ] + }, + "root['test-cluster'][metadata][owner_references][0][kind]": { + "prev": "NotPresent", + "curr": "CrdbCluster", + "path": [ + "test-cluster", + "metadata", + "owner_references", + 0, + "kind" + ] + }, + "root['test-cluster'][metadata][owner_references][0][name]": { + "prev": "NotPresent", + "curr": "test-cluster", + "path": [ + "test-cluster", + "metadata", + "owner_references", + 0, + "name" + ] + }, + "root['test-cluster'][metadata][owner_references][0][uid]": { + "prev": "NotPresent", + "curr": "90ad5ef5-9c95-4092-a5e8-1582b92649ff", + "path": [ + "test-cluster", + "metadata", + "owner_references", + 0, + "uid" + ] + }, + "root['test-cluster'][metadata][resource_version]": { + "prev": "NotPresent", + "curr": "860", + "path": [ + "test-cluster", + "metadata", + "resource_version" + ] + }, + "root['test-cluster'][metadata][uid]": { + "prev": "NotPresent", + "curr": "a616b52c-0291-4bec-bd00-5238bd0c2df7", + "path": [ + "test-cluster", + "metadata", + "uid" + ] + }, + "root['test-cluster'][spec][cluster_ip]": { + "prev": "NotPresent", + "curr": "None", + "path": [ + "test-cluster", + "spec", + "cluster_ip" + ] + }, + "root['test-cluster'][spec][cluster_i_ps][0]": { + "prev": "NotPresent", + "curr": "None", + "path": [ + "test-cluster", + "spec", + "cluster_i_ps", + 0 + ] + }, + "root['test-cluster'][spec][internal_traffic_policy]": { + "prev": "NotPresent", + "curr": "Cluster", + "path": [ + "test-cluster", + "spec", + "internal_traffic_policy" + ] + }, + "root['test-cluster'][spec][ip_families][0]": { + "prev": "NotPresent", + "curr": "IPv4", + "path": [ + "test-cluster", + "spec", + "ip_families", + 0 + ] + }, + "root['test-cluster'][spec][ip_family_policy]": { + "prev": "NotPresent", + "curr": "SingleStack", + "path": [ + "test-cluster", + "spec", + "ip_family_policy" + ] + }, + "root['test-cluster'][spec][ports][0][name]": { + "prev": "NotPresent", + "curr": "grpc", + "path": [ + "test-cluster", + "spec", + "ports", + 0, + "name" + ] + }, + "root['test-cluster'][spec][ports][0][port]": { + "prev": "NotPresent", + "curr": 26258, + "path": [ + "test-cluster", + "spec", + "ports", + 0, + "port" + ] + }, + "root['test-cluster'][spec][ports][0][protocol]": { + "prev": "NotPresent", + "curr": "TCP", + "path": [ + "test-cluster", + "spec", + "ports", + 0, + "protocol" + ] + }, + "root['test-cluster'][spec][ports][0][target_port]": { + "prev": "NotPresent", + "curr": 26258, + "path": [ + "test-cluster", + "spec", + "ports", + 0, + "target_port" + ] + }, + "root['test-cluster'][spec][ports][1][name]": { + "prev": "NotPresent", + "curr": "http", + "path": [ + "test-cluster", + "spec", + "ports", + 1, + "name" + ] + }, + "root['test-cluster'][spec][ports][1][port]": { + "prev": "NotPresent", + "curr": 8080, + "path": [ + "test-cluster", + "spec", + "ports", + 1, + "port" + ] + }, + "root['test-cluster'][spec][ports][1][protocol]": { + "prev": "NotPresent", + "curr": "TCP", + "path": [ + "test-cluster", + "spec", + "ports", + 1, + "protocol" + ] + }, + "root['test-cluster'][spec][ports][1][target_port]": { + "prev": "NotPresent", + "curr": 8080, + "path": [ + "test-cluster", + "spec", + "ports", + 1, + "target_port" + ] + }, + "root['test-cluster'][spec][ports][2][name]": { + "prev": "NotPresent", + "curr": "sql", + "path": [ + "test-cluster", + "spec", + "ports", + 2, + "name" + ] + }, + "root['test-cluster'][spec][ports][2][port]": { + "prev": "NotPresent", + "curr": 26257, + "path": [ + "test-cluster", + "spec", + "ports", + 2, + "port" + ] + }, + "root['test-cluster'][spec][ports][2][protocol]": { + "prev": "NotPresent", + "curr": "TCP", + "path": [ + "test-cluster", + "spec", + "ports", + 2, + "protocol" + ] + }, + "root['test-cluster'][spec][ports][2][target_port]": { + "prev": "NotPresent", + "curr": 26257, + "path": [ + "test-cluster", + "spec", + "ports", + 2, + "target_port" + ] + }, + "root['test-cluster'][spec][publish_not_ready_addresses]": { + "prev": "NotPresent", + "curr": true, + "path": [ + "test-cluster", + "spec", + "publish_not_ready_addresses" + ] + }, + "root['test-cluster'][spec][selector][app.kubernetes.io/component]": { + "prev": "NotPresent", + "curr": "database", + "path": [ + "test-cluster", + "spec", + "selector", + "app.kubernetes.io/component" + ] + }, + "root['test-cluster'][spec][selector][app.kubernetes.io/instance]": { + "prev": "NotPresent", + "curr": "test-cluster", + "path": [ + "test-cluster", + "spec", + "selector", + "app.kubernetes.io/instance" + ] + }, + "root['test-cluster'][spec][selector][app.kubernetes.io/name]": { + "prev": "NotPresent", + "curr": "cockroachdb", + "path": [ + "test-cluster", + "spec", + "selector", + "app.kubernetes.io/name" + ] + }, + "root['test-cluster'][spec][selector][crdb]": { + "prev": "NotPresent", + "curr": "is-cool", + "path": [ + "test-cluster", + "spec", + "selector", + "crdb" + ] + }, + "root['test-cluster'][spec][session_affinity]": { + "prev": "NotPresent", + "curr": "None", + "path": [ + "test-cluster", + "spec", + "session_affinity" + ] + }, + "root['test-cluster'][spec][type]": { + "prev": "NotPresent", + "curr": "ClusterIP", + "path": [ + "test-cluster", + "spec", + "type" + ] + }, + "root['test-cluster-public'][metadata][annotations][crdb.io/last-applied]": { + "prev": "NotPresent", + "curr": "eyJtZXRhZGF0YSI6eyJuYW1lc3BhY2UiOiJjb2Nrcm9hY2gtb3BlcmF0b3Itc3lzdGVtIiwibGFiZWxzIjp7ImNyZGIiOiJpcy1jb29sIiwiYXBwLmt1YmVybmV0ZXMuaW8vcGFydC1vZiI6ImNvY2tyb2FjaGRiIiwiYXBwLmt1YmVybmV0ZXMuaW8vbmFtZSI6ImNvY2tyb2FjaGRiIiwiYXBwLmt1YmVybmV0ZXMuaW8vaW5zdGFuY2UiOiJ0ZXN0LWNsdXN0ZXIiLCJhcHAua3ViZXJuZXRlcy5pby92ZXJzaW9uIjoidjIxLjIuMTAiLCJhcHAua3ViZXJuZXRlcy5pby9jb21wb25lbnQiOiJkYXRhYmFzZSIsImFwcC5rdWJlcm5ldGVzLmlvL21hbmFnZWQtYnkiOiJjb2Nrcm9hY2gtb3BlcmF0b3IifSwib3duZXJSZWZlcmVuY2VzIjpbeyJhcGlWZXJzaW9uIjoiY3JkYi5jb2Nrcm9hY2hsYWJzLmNvbS92MWFscGhhMSIsImtpbmQiOiJDcmRiQ2x1c3RlciIsIm5hbWUiOiJ0ZXN0LWNsdXN0ZXIiLCJ1aWQiOiI5MGFkNWVmNS05Yzk1LTQwOTItYTVlOC0xNTgyYjkyNjQ5ZmYiLCJjb250cm9sbGVyIjp0cnVlLCJibG9ja093bmVyRGVsZXRpb24iOnRydWV9XSwibmFtZSI6InRlc3QtY2x1c3Rlci1wdWJsaWMifSwic3BlYyI6eyJwb3J0cyI6W3sibmFtZSI6ImdycGMiLCJwb3J0IjoyNjI1OH0seyJuYW1lIjoiaHR0cCIsInBvcnQiOjgwODB9LHsibmFtZSI6InNxbCIsInBvcnQiOjI2MjU3fV0sInNlbGVjdG9yIjp7ImFwcC5rdWJlcm5ldGVzLmlvL25hbWUiOiJjb2Nrcm9hY2hkYiIsImFwcC5rdWJlcm5ldGVzLmlvL2luc3RhbmNlIjoidGVzdC1jbHVzdGVyIiwiYXBwLmt1YmVybmV0ZXMuaW8vY29tcG9uZW50IjoiZGF0YWJhc2UiLCJjcmRiIjoiaXMtY29vbCJ9LCJ0eXBlIjoiQ2x1c3RlcklQIn0sInN0YXR1cyI6eyJsb2FkQmFsYW5jZXIiOnt9fX0=", + "path": [ + "test-cluster-public", + "metadata", + "annotations", + "crdb.io/last-applied" + ] + }, + "root['test-cluster-public'][metadata][creation_timestamp]": { + "prev": "NotPresent", + "curr": "2023-05-04T20:30:57+00:00", + "path": [ + "test-cluster-public", + "metadata", + "creation_timestamp" + ] + }, + "root['test-cluster-public'][metadata][labels][app.kubernetes.io/component]": { + "prev": "NotPresent", + "curr": "database", + "path": [ + "test-cluster-public", + "metadata", + "labels", + "app.kubernetes.io/component" + ] + }, + "root['test-cluster-public'][metadata][labels][app.kubernetes.io/instance]": { + "prev": "NotPresent", + "curr": "test-cluster", + "path": [ + "test-cluster-public", + "metadata", + "labels", + "app.kubernetes.io/instance" + ] + }, + "root['test-cluster-public'][metadata][labels][app.kubernetes.io/managed-by]": { + "prev": "NotPresent", + "curr": "cockroach-operator", + "path": [ + "test-cluster-public", + "metadata", + "labels", + "app.kubernetes.io/managed-by" + ] + }, + "root['test-cluster-public'][metadata][labels][app.kubernetes.io/name]": { + "prev": "NotPresent", + "curr": "cockroachdb", + "path": [ + "test-cluster-public", + "metadata", + "labels", + "app.kubernetes.io/name" + ] + }, + "root['test-cluster-public'][metadata][labels][app.kubernetes.io/part-of]": { + "prev": "NotPresent", + "curr": "cockroachdb", + "path": [ + "test-cluster-public", + "metadata", + "labels", + "app.kubernetes.io/part-of" + ] + }, + "root['test-cluster-public'][metadata][labels][app.kubernetes.io/version]": { + "prev": "NotPresent", + "curr": "v21.2.10", + "path": [ + "test-cluster-public", + "metadata", + "labels", + "app.kubernetes.io/version" + ] + }, + "root['test-cluster-public'][metadata][labels][crdb]": { + "prev": "NotPresent", + "curr": "is-cool", + "path": [ + "test-cluster-public", + "metadata", + "labels", + "crdb" + ] + }, + "root['test-cluster-public'][metadata][managed_fields][0][api_version]": { + "prev": "NotPresent", + "curr": "v1", + "path": [ + "test-cluster-public", + "metadata", + "managed_fields", + 0, + "api_version" + ] + }, + "root['test-cluster-public'][metadata][managed_fields][0][fields_type]": { + "prev": "NotPresent", + "curr": "FieldsV1", + "path": [ + "test-cluster-public", + "metadata", + "managed_fields", + 0, + "fields_type" + ] + }, + "root['test-cluster-public'][metadata][managed_fields][0][manager]": { + "prev": "NotPresent", + "curr": "cockroach-operator", + "path": [ + "test-cluster-public", + "metadata", + "managed_fields", + 0, + "manager" + ] + }, + "root['test-cluster-public'][metadata][managed_fields][0][operation]": { + "prev": "NotPresent", + "curr": "Update", + "path": [ + "test-cluster-public", + "metadata", + "managed_fields", + 0, + "operation" + ] + }, + "root['test-cluster-public'][metadata][managed_fields][0][time]": { + "prev": "NotPresent", + "curr": "2023-05-04T20:30:57+00:00", + "path": [ + "test-cluster-public", + "metadata", + "managed_fields", + 0, + "time" + ] + }, + "root['test-cluster-public'][metadata][name]": { + "prev": "NotPresent", + "curr": "test-cluster-public", + "path": [ + "test-cluster-public", + "metadata", + "name" + ] + }, + "root['test-cluster-public'][metadata][namespace]": { + "prev": "NotPresent", + "curr": "cockroach-operator-system", + "path": [ + "test-cluster-public", + "metadata", + "namespace" + ] + }, + "root['test-cluster-public'][metadata][owner_references][0][api_version]": { + "prev": "NotPresent", + "curr": "crdb.cockroachlabs.com/v1alpha1", + "path": [ + "test-cluster-public", + "metadata", + "owner_references", + 0, + "api_version" + ] + }, + "root['test-cluster-public'][metadata][owner_references][0][block_owner_deletion]": { + "prev": "NotPresent", + "curr": true, + "path": [ + "test-cluster-public", + "metadata", + "owner_references", + 0, + "block_owner_deletion" + ] + }, + "root['test-cluster-public'][metadata][owner_references][0][controller]": { + "prev": "NotPresent", + "curr": true, + "path": [ + "test-cluster-public", + "metadata", + "owner_references", + 0, + "controller" + ] + }, + "root['test-cluster-public'][metadata][owner_references][0][kind]": { + "prev": "NotPresent", + "curr": "CrdbCluster", + "path": [ + "test-cluster-public", + "metadata", + "owner_references", + 0, + "kind" + ] + }, + "root['test-cluster-public'][metadata][owner_references][0][name]": { + "prev": "NotPresent", + "curr": "test-cluster", + "path": [ + "test-cluster-public", + "metadata", + "owner_references", + 0, + "name" + ] + }, + "root['test-cluster-public'][metadata][owner_references][0][uid]": { + "prev": "NotPresent", + "curr": "90ad5ef5-9c95-4092-a5e8-1582b92649ff", + "path": [ + "test-cluster-public", + "metadata", + "owner_references", + 0, + "uid" + ] + }, + "root['test-cluster-public'][metadata][resource_version]": { + "prev": "NotPresent", + "curr": "864", + "path": [ + "test-cluster-public", + "metadata", + "resource_version" + ] + }, + "root['test-cluster-public'][metadata][uid]": { + "prev": "NotPresent", + "curr": "f0467d46-ca97-42f6-9d3a-87f27dddc7fe", + "path": [ + "test-cluster-public", + "metadata", + "uid" + ] + }, + "root['test-cluster-public'][spec][cluster_ip]": { + "prev": "NotPresent", + "curr": "10.96.43.219", + "path": [ + "test-cluster-public", + "spec", + "cluster_ip" + ] + }, + "root['test-cluster-public'][spec][cluster_i_ps][0]": { + "prev": "NotPresent", + "curr": "10.96.43.219", + "path": [ + "test-cluster-public", + "spec", + "cluster_i_ps", + 0 + ] + }, + "root['test-cluster-public'][spec][internal_traffic_policy]": { + "prev": "NotPresent", + "curr": "Cluster", + "path": [ + "test-cluster-public", + "spec", + "internal_traffic_policy" + ] + }, + "root['test-cluster-public'][spec][ip_families][0]": { + "prev": "NotPresent", + "curr": "IPv4", + "path": [ + "test-cluster-public", + "spec", + "ip_families", + 0 + ] + }, + "root['test-cluster-public'][spec][ip_family_policy]": { + "prev": "NotPresent", + "curr": "SingleStack", + "path": [ + "test-cluster-public", + "spec", + "ip_family_policy" + ] + }, + "root['test-cluster-public'][spec][ports][0][name]": { + "prev": "NotPresent", + "curr": "grpc", + "path": [ + "test-cluster-public", + "spec", + "ports", + 0, + "name" + ] + }, + "root['test-cluster-public'][spec][ports][0][port]": { + "prev": "NotPresent", + "curr": 26258, + "path": [ + "test-cluster-public", + "spec", + "ports", + 0, + "port" + ] + }, + "root['test-cluster-public'][spec][ports][0][protocol]": { + "prev": "NotPresent", + "curr": "TCP", + "path": [ + "test-cluster-public", + "spec", + "ports", + 0, + "protocol" + ] + }, + "root['test-cluster-public'][spec][ports][0][target_port]": { + "prev": "NotPresent", + "curr": 26258, + "path": [ + "test-cluster-public", + "spec", + "ports", + 0, + "target_port" + ] + }, + "root['test-cluster-public'][spec][ports][1][name]": { + "prev": "NotPresent", + "curr": "http", + "path": [ + "test-cluster-public", + "spec", + "ports", + 1, + "name" + ] + }, + "root['test-cluster-public'][spec][ports][1][port]": { + "prev": "NotPresent", + "curr": 8080, + "path": [ + "test-cluster-public", + "spec", + "ports", + 1, + "port" + ] + }, + "root['test-cluster-public'][spec][ports][1][protocol]": { + "prev": "NotPresent", + "curr": "TCP", + "path": [ + "test-cluster-public", + "spec", + "ports", + 1, + "protocol" + ] + }, + "root['test-cluster-public'][spec][ports][1][target_port]": { + "prev": "NotPresent", + "curr": 8080, + "path": [ + "test-cluster-public", + "spec", + "ports", + 1, + "target_port" + ] + }, + "root['test-cluster-public'][spec][ports][2][name]": { + "prev": "NotPresent", + "curr": "sql", + "path": [ + "test-cluster-public", + "spec", + "ports", + 2, + "name" + ] + }, + "root['test-cluster-public'][spec][ports][2][port]": { + "prev": "NotPresent", + "curr": 26257, + "path": [ + "test-cluster-public", + "spec", + "ports", + 2, + "port" + ] + }, + "root['test-cluster-public'][spec][ports][2][protocol]": { + "prev": "NotPresent", + "curr": "TCP", + "path": [ + "test-cluster-public", + "spec", + "ports", + 2, + "protocol" + ] + }, + "root['test-cluster-public'][spec][ports][2][target_port]": { + "prev": "NotPresent", + "curr": 26257, + "path": [ + "test-cluster-public", + "spec", + "ports", + 2, + "target_port" + ] + }, + "root['test-cluster-public'][spec][selector][app.kubernetes.io/component]": { + "prev": "NotPresent", + "curr": "database", + "path": [ + "test-cluster-public", + "spec", + "selector", + "app.kubernetes.io/component" + ] + }, + "root['test-cluster-public'][spec][selector][app.kubernetes.io/instance]": { + "prev": "NotPresent", + "curr": "test-cluster", + "path": [ + "test-cluster-public", + "spec", + "selector", + "app.kubernetes.io/instance" + ] + }, + "root['test-cluster-public'][spec][selector][app.kubernetes.io/name]": { + "prev": "NotPresent", + "curr": "cockroachdb", + "path": [ + "test-cluster-public", + "spec", + "selector", + "app.kubernetes.io/name" + ] + }, + "root['test-cluster-public'][spec][selector][crdb]": { + "prev": "NotPresent", + "curr": "is-cool", + "path": [ + "test-cluster-public", + "spec", + "selector", + "crdb" + ] + }, + "root['test-cluster-public'][spec][session_affinity]": { + "prev": "NotPresent", + "curr": "None", + "path": [ + "test-cluster-public", + "spec", + "session_affinity" + ] + }, + "root['test-cluster-public'][spec][type]": { + "prev": "NotPresent", + "curr": "ClusterIP", + "path": [ + "test-cluster-public", + "spec", + "type" + ] + } + } + }, + "service_account": { + "dictionary_item_added": { + "root['cockroach-operator-sa'][metadata][creation_timestamp]": { + "prev": "NotPresent", + "curr": "2023-05-04T20:30:22+00:00", + "path": [ + "cockroach-operator-sa", + "metadata", + "creation_timestamp" + ] + }, + "root['cockroach-operator-sa'][metadata][labels][app]": { + "prev": "NotPresent", + "curr": "cockroach-operator", + "path": [ + "cockroach-operator-sa", + "metadata", + "labels", + "app" + ] + }, + "root['cockroach-operator-sa'][metadata][managed_fields][0][api_version]": { + "prev": "NotPresent", + "curr": "v1", + "path": [ + "cockroach-operator-sa", + "metadata", + "managed_fields", + 0, + "api_version" + ] + }, + "root['cockroach-operator-sa'][metadata][managed_fields][0][fields_type]": { + "prev": "NotPresent", + "curr": "FieldsV1", + "path": [ + "cockroach-operator-sa", + "metadata", + "managed_fields", + 0, + "fields_type" + ] + }, + "root['cockroach-operator-sa'][metadata][managed_fields][0][manager]": { + "prev": "NotPresent", + "curr": "kubectl", + "path": [ + "cockroach-operator-sa", + "metadata", + "managed_fields", + 0, + "manager" + ] + }, + "root['cockroach-operator-sa'][metadata][managed_fields][0][operation]": { + "prev": "NotPresent", + "curr": "Apply", + "path": [ + "cockroach-operator-sa", + "metadata", + "managed_fields", + 0, + "operation" + ] + }, + "root['cockroach-operator-sa'][metadata][managed_fields][0][time]": { + "prev": "NotPresent", + "curr": "2023-05-04T20:30:22+00:00", + "path": [ + "cockroach-operator-sa", + "metadata", + "managed_fields", + 0, + "time" + ] + }, + "root['cockroach-operator-sa'][metadata][managed_fields][1][api_version]": { + "prev": "NotPresent", + "curr": "v1", + "path": [ + "cockroach-operator-sa", + "metadata", + "managed_fields", + 1, + "api_version" + ] + }, + "root['cockroach-operator-sa'][metadata][managed_fields][1][fields_type]": { + "prev": "NotPresent", + "curr": "FieldsV1", + "path": [ + "cockroach-operator-sa", + "metadata", + "managed_fields", + 1, + "fields_type" + ] + }, + "root['cockroach-operator-sa'][metadata][managed_fields][1][manager]": { + "prev": "NotPresent", + "curr": "kube-controller-manager", + "path": [ + "cockroach-operator-sa", + "metadata", + "managed_fields", + 1, + "manager" + ] + }, + "root['cockroach-operator-sa'][metadata][managed_fields][1][operation]": { + "prev": "NotPresent", + "curr": "Update", + "path": [ + "cockroach-operator-sa", + "metadata", + "managed_fields", + 1, + "operation" + ] + }, + "root['cockroach-operator-sa'][metadata][managed_fields][1][time]": { + "prev": "NotPresent", + "curr": "2023-05-04T20:30:22+00:00", + "path": [ + "cockroach-operator-sa", + "metadata", + "managed_fields", + 1, + "time" + ] + }, + "root['cockroach-operator-sa'][metadata][name]": { + "prev": "NotPresent", + "curr": "cockroach-operator-sa", + "path": [ + "cockroach-operator-sa", + "metadata", + "name" + ] + }, + "root['cockroach-operator-sa'][metadata][namespace]": { + "prev": "NotPresent", + "curr": "cockroach-operator-system", + "path": [ + "cockroach-operator-sa", + "metadata", + "namespace" + ] + }, + "root['cockroach-operator-sa'][metadata][resource_version]": { + "prev": "NotPresent", + "curr": "704", + "path": [ + "cockroach-operator-sa", + "metadata", + "resource_version" + ] + }, + "root['cockroach-operator-sa'][metadata][uid]": { + "prev": "NotPresent", + "curr": "aee568de-cb39-4282-8a0c-0ab30d52bfac", + "path": [ + "cockroach-operator-sa", + "metadata", + "uid" + ] + }, + "root['cockroach-operator-sa'][secrets][0][name]": { + "prev": "NotPresent", + "curr": "cockroach-operator-sa-token-wzc2j", + "path": [ + "cockroach-operator-sa", + "secrets", + 0, + "name" + ] + }, + "root['default'][metadata][creation_timestamp]": { + "prev": "NotPresent", + "curr": "2023-05-04T20:30:11+00:00", + "path": [ + "default", + "metadata", + "creation_timestamp" + ] + }, + "root['default'][metadata][name]": { + "prev": "NotPresent", + "curr": "default", + "path": [ + "default", + "metadata", + "name" + ] + }, + "root['default'][metadata][namespace]": { + "prev": "NotPresent", + "curr": "cockroach-operator-system", + "path": [ + "default", + "metadata", + "namespace" + ] + }, + "root['default'][metadata][resource_version]": { + "prev": "NotPresent", + "curr": "672", + "path": [ + "default", + "metadata", + "resource_version" + ] + }, + "root['default'][metadata][uid]": { + "prev": "NotPresent", + "curr": "be0c4503-0fc2-4746-bef6-f4067b0eb31f", + "path": [ + "default", + "metadata", + "uid" + ] + }, + "root['default'][secrets][0][name]": { + "prev": "NotPresent", + "curr": "default-token-7btwd", + "path": [ + "default", + "secrets", + 0, + "name" + ] + }, + "root['test-cluster-sa'][metadata][annotations][crdb.io/last-applied]": { + "prev": "NotPresent", + "curr": "eyJtZXRhZGF0YSI6eyJuYW1lc3BhY2UiOiJjb2Nrcm9hY2gtb3BlcmF0b3Itc3lzdGVtIiwibGFiZWxzIjp7ImFwcC5rdWJlcm5ldGVzLmlvL25hbWUiOiJjb2Nrcm9hY2hkYiIsImFwcC5rdWJlcm5ldGVzLmlvL2luc3RhbmNlIjoidGVzdC1jbHVzdGVyIiwiYXBwLmt1YmVybmV0ZXMuaW8vY29tcG9uZW50IjoiZGF0YWJhc2UiLCJhcHAua3ViZXJuZXRlcy5pby9tYW5hZ2VkLWJ5IjoiY29ja3JvYWNoLW9wZXJhdG9yIiwiY3JkYiI6ImlzLWNvb2wiLCJhcHAua3ViZXJuZXRlcy5pby9wYXJ0LW9mIjoiY29ja3JvYWNoZGIifSwib3duZXJSZWZlcmVuY2VzIjpbeyJjb250cm9sbGVyIjp0cnVlLCJibG9ja093bmVyRGVsZXRpb24iOnRydWUsImFwaVZlcnNpb24iOiJjcmRiLmNvY2tyb2FjaGxhYnMuY29tL3YxYWxwaGExIiwia2luZCI6IkNyZGJDbHVzdGVyIiwibmFtZSI6InRlc3QtY2x1c3RlciIsInVpZCI6IjkwYWQ1ZWY1LTljOTUtNDA5Mi1hNWU4LTE1ODJiOTI2NDlmZiJ9XSwibmFtZSI6InRlc3QtY2x1c3Rlci1zYSJ9fQ==", + "path": [ + "test-cluster-sa", + "metadata", + "annotations", + "crdb.io/last-applied" + ] + }, + "root['test-cluster-sa'][metadata][creation_timestamp]": { + "prev": "NotPresent", + "curr": "2023-05-04T20:30:56+00:00", + "path": [ + "test-cluster-sa", + "metadata", + "creation_timestamp" + ] + }, + "root['test-cluster-sa'][metadata][labels][app.kubernetes.io/component]": { + "prev": "NotPresent", + "curr": "database", + "path": [ + "test-cluster-sa", + "metadata", + "labels", + "app.kubernetes.io/component" + ] + }, + "root['test-cluster-sa'][metadata][labels][app.kubernetes.io/instance]": { + "prev": "NotPresent", + "curr": "test-cluster", + "path": [ + "test-cluster-sa", + "metadata", + "labels", + "app.kubernetes.io/instance" + ] + }, + "root['test-cluster-sa'][metadata][labels][app.kubernetes.io/managed-by]": { + "prev": "NotPresent", + "curr": "cockroach-operator", + "path": [ + "test-cluster-sa", + "metadata", + "labels", + "app.kubernetes.io/managed-by" + ] + }, + "root['test-cluster-sa'][metadata][labels][app.kubernetes.io/name]": { + "prev": "NotPresent", + "curr": "cockroachdb", + "path": [ + "test-cluster-sa", + "metadata", + "labels", + "app.kubernetes.io/name" + ] + }, + "root['test-cluster-sa'][metadata][labels][app.kubernetes.io/part-of]": { + "prev": "NotPresent", + "curr": "cockroachdb", + "path": [ + "test-cluster-sa", + "metadata", + "labels", + "app.kubernetes.io/part-of" + ] + }, + "root['test-cluster-sa'][metadata][labels][crdb]": { + "prev": "NotPresent", + "curr": "is-cool", + "path": [ + "test-cluster-sa", + "metadata", + "labels", + "crdb" + ] + }, + "root['test-cluster-sa'][metadata][managed_fields][0][api_version]": { + "prev": "NotPresent", + "curr": "v1", + "path": [ + "test-cluster-sa", + "metadata", + "managed_fields", + 0, + "api_version" + ] + }, + "root['test-cluster-sa'][metadata][managed_fields][0][fields_type]": { + "prev": "NotPresent", + "curr": "FieldsV1", + "path": [ + "test-cluster-sa", + "metadata", + "managed_fields", + 0, + "fields_type" + ] + }, + "root['test-cluster-sa'][metadata][managed_fields][0][manager]": { + "prev": "NotPresent", + "curr": "cockroach-operator", + "path": [ + "test-cluster-sa", + "metadata", + "managed_fields", + 0, + "manager" + ] + }, + "root['test-cluster-sa'][metadata][managed_fields][0][operation]": { + "prev": "NotPresent", + "curr": "Update", + "path": [ + "test-cluster-sa", + "metadata", + "managed_fields", + 0, + "operation" + ] + }, + "root['test-cluster-sa'][metadata][managed_fields][0][time]": { + "prev": "NotPresent", + "curr": "2023-05-04T20:30:56+00:00", + "path": [ + "test-cluster-sa", + "metadata", + "managed_fields", + 0, + "time" + ] + }, + "root['test-cluster-sa'][metadata][managed_fields][1][api_version]": { + "prev": "NotPresent", + "curr": "v1", + "path": [ + "test-cluster-sa", + "metadata", + "managed_fields", + 1, + "api_version" + ] + }, + "root['test-cluster-sa'][metadata][managed_fields][1][fields_type]": { + "prev": "NotPresent", + "curr": "FieldsV1", + "path": [ + "test-cluster-sa", + "metadata", + "managed_fields", + 1, + "fields_type" + ] + }, + "root['test-cluster-sa'][metadata][managed_fields][1][manager]": { + "prev": "NotPresent", + "curr": "kube-controller-manager", + "path": [ + "test-cluster-sa", + "metadata", + "managed_fields", + 1, + "manager" + ] + }, + "root['test-cluster-sa'][metadata][managed_fields][1][operation]": { + "prev": "NotPresent", + "curr": "Update", + "path": [ + "test-cluster-sa", + "metadata", + "managed_fields", + 1, + "operation" + ] + }, + "root['test-cluster-sa'][metadata][managed_fields][1][time]": { + "prev": "NotPresent", + "curr": "2023-05-04T20:30:56+00:00", + "path": [ + "test-cluster-sa", + "metadata", + "managed_fields", + 1, + "time" + ] + }, + "root['test-cluster-sa'][metadata][name]": { + "prev": "NotPresent", + "curr": "test-cluster-sa", + "path": [ + "test-cluster-sa", + "metadata", + "name" + ] + }, + "root['test-cluster-sa'][metadata][namespace]": { + "prev": "NotPresent", + "curr": "cockroach-operator-system", + "path": [ + "test-cluster-sa", + "metadata", + "namespace" + ] + }, + "root['test-cluster-sa'][metadata][owner_references][0][api_version]": { + "prev": "NotPresent", + "curr": "crdb.cockroachlabs.com/v1alpha1", + "path": [ + "test-cluster-sa", + "metadata", + "owner_references", + 0, + "api_version" + ] + }, + "root['test-cluster-sa'][metadata][owner_references][0][block_owner_deletion]": { + "prev": "NotPresent", + "curr": true, + "path": [ + "test-cluster-sa", + "metadata", + "owner_references", + 0, + "block_owner_deletion" + ] + }, + "root['test-cluster-sa'][metadata][owner_references][0][controller]": { + "prev": "NotPresent", + "curr": true, + "path": [ + "test-cluster-sa", + "metadata", + "owner_references", + 0, + "controller" + ] + }, + "root['test-cluster-sa'][metadata][owner_references][0][kind]": { + "prev": "NotPresent", + "curr": "CrdbCluster", + "path": [ + "test-cluster-sa", + "metadata", + "owner_references", + 0, + "kind" + ] + }, + "root['test-cluster-sa'][metadata][owner_references][0][name]": { + "prev": "NotPresent", + "curr": "test-cluster", + "path": [ + "test-cluster-sa", + "metadata", + "owner_references", + 0, + "name" + ] + }, + "root['test-cluster-sa'][metadata][owner_references][0][uid]": { + "prev": "NotPresent", + "curr": "90ad5ef5-9c95-4092-a5e8-1582b92649ff", + "path": [ + "test-cluster-sa", + "metadata", + "owner_references", + 0, + "uid" + ] + }, + "root['test-cluster-sa'][metadata][resource_version]": { + "prev": "NotPresent", + "curr": "833", + "path": [ + "test-cluster-sa", + "metadata", + "resource_version" + ] + }, + "root['test-cluster-sa'][metadata][uid]": { + "prev": "NotPresent", + "curr": "c4ce832a-fa0b-4be4-aee9-59d9be6ee164", + "path": [ + "test-cluster-sa", + "metadata", + "uid" + ] + }, + "root['test-cluster-sa'][secrets][0][name]": { + "prev": "NotPresent", + "curr": "test-cluster-sa-token-828tt", + "path": [ + "test-cluster-sa", + "secrets", + 0, + "name" + ] + } + } + }, + "pvc": { + "dictionary_item_added": { + "root['datadir-test-cluster-0'][metadata][annotations][pv.kubernetes.io/bind-completed]": { + "prev": "NotPresent", + "curr": "yes", + "path": [ + "datadir-test-cluster-0", + "metadata", + "annotations", + "pv.kubernetes.io/bind-completed" + ] + }, + "root['datadir-test-cluster-0'][metadata][annotations][pv.kubernetes.io/bound-by-controller]": { + "prev": "NotPresent", + "curr": "yes", + "path": [ + "datadir-test-cluster-0", + "metadata", + "annotations", + "pv.kubernetes.io/bound-by-controller" + ] + }, + "root['datadir-test-cluster-0'][metadata][annotations][volume.beta.kubernetes.io/storage-provisioner]": { + "prev": "NotPresent", + "curr": "rancher.io/local-path", + "path": [ + "datadir-test-cluster-0", + "metadata", + "annotations", + "volume.beta.kubernetes.io/storage-provisioner" + ] + }, + "root['datadir-test-cluster-0'][metadata][annotations][volume.kubernetes.io/selected-node]": { + "prev": "NotPresent", + "curr": "acto-cluster-0-worker", + "path": [ + "datadir-test-cluster-0", + "metadata", + "annotations", + "volume.kubernetes.io/selected-node" + ] + }, + "root['datadir-test-cluster-0'][metadata][creation_timestamp]": { + "prev": "NotPresent", + "curr": "2023-05-04T20:30:58+00:00", + "path": [ + "datadir-test-cluster-0", + "metadata", + "creation_timestamp" + ] + }, + "root['datadir-test-cluster-0'][metadata][finalizers][0]": { + "prev": "NotPresent", + "curr": "kubernetes.io/pvc-protection", + "path": [ + "datadir-test-cluster-0", + "metadata", + "finalizers", + 0 + ] + }, + "root['datadir-test-cluster-0'][metadata][labels][app.kubernetes.io/component]": { + "prev": "NotPresent", + "curr": "database", + "path": [ + "datadir-test-cluster-0", + "metadata", + "labels", + "app.kubernetes.io/component" + ] + }, + "root['datadir-test-cluster-0'][metadata][labels][app.kubernetes.io/instance]": { + "prev": "NotPresent", + "curr": "test-cluster", + "path": [ + "datadir-test-cluster-0", + "metadata", + "labels", + "app.kubernetes.io/instance" + ] + }, + "root['datadir-test-cluster-0'][metadata][labels][app.kubernetes.io/name]": { + "prev": "NotPresent", + "curr": "cockroachdb", + "path": [ + "datadir-test-cluster-0", + "metadata", + "labels", + "app.kubernetes.io/name" + ] + }, + "root['datadir-test-cluster-0'][metadata][labels][crdb]": { + "prev": "NotPresent", + "curr": "is-cool", + "path": [ + "datadir-test-cluster-0", + "metadata", + "labels", + "crdb" + ] + }, + "root['datadir-test-cluster-0'][metadata][managed_fields][0][api_version]": { + "prev": "NotPresent", + "curr": "v1", + "path": [ + "datadir-test-cluster-0", + "metadata", + "managed_fields", + 0, + "api_version" + ] + }, + "root['datadir-test-cluster-0'][metadata][managed_fields][0][fields_type]": { + "prev": "NotPresent", + "curr": "FieldsV1", + "path": [ + "datadir-test-cluster-0", + "metadata", + "managed_fields", + 0, + "fields_type" + ] + }, + "root['datadir-test-cluster-0'][metadata][managed_fields][0][manager]": { + "prev": "NotPresent", + "curr": "kube-scheduler", + "path": [ + "datadir-test-cluster-0", + "metadata", + "managed_fields", + 0, + "manager" + ] + }, + "root['datadir-test-cluster-0'][metadata][managed_fields][0][operation]": { + "prev": "NotPresent", + "curr": "Update", + "path": [ + "datadir-test-cluster-0", + "metadata", + "managed_fields", + 0, + "operation" + ] + }, + "root['datadir-test-cluster-0'][metadata][managed_fields][0][time]": { + "prev": "NotPresent", + "curr": "2023-05-04T20:30:58+00:00", + "path": [ + "datadir-test-cluster-0", + "metadata", + "managed_fields", + 0, + "time" + ] + }, + "root['datadir-test-cluster-0'][metadata][managed_fields][1][api_version]": { + "prev": "NotPresent", + "curr": "v1", + "path": [ + "datadir-test-cluster-0", + "metadata", + "managed_fields", + 1, + "api_version" + ] + }, + "root['datadir-test-cluster-0'][metadata][managed_fields][1][fields_type]": { + "prev": "NotPresent", + "curr": "FieldsV1", + "path": [ + "datadir-test-cluster-0", + "metadata", + "managed_fields", + 1, + "fields_type" + ] + }, + "root['datadir-test-cluster-0'][metadata][managed_fields][1][manager]": { + "prev": "NotPresent", + "curr": "kube-controller-manager", + "path": [ + "datadir-test-cluster-0", + "metadata", + "managed_fields", + 1, + "manager" + ] + }, + "root['datadir-test-cluster-0'][metadata][managed_fields][1][operation]": { + "prev": "NotPresent", + "curr": "Update", + "path": [ + "datadir-test-cluster-0", + "metadata", + "managed_fields", + 1, + "operation" + ] + }, + "root['datadir-test-cluster-0'][metadata][managed_fields][1][time]": { + "prev": "NotPresent", + "curr": "2023-05-04T20:31:01+00:00", + "path": [ + "datadir-test-cluster-0", + "metadata", + "managed_fields", + 1, + "time" + ] + }, + "root['datadir-test-cluster-0'][metadata][managed_fields][2][api_version]": { + "prev": "NotPresent", + "curr": "v1", + "path": [ + "datadir-test-cluster-0", + "metadata", + "managed_fields", + 2, + "api_version" + ] + }, + "root['datadir-test-cluster-0'][metadata][managed_fields][2][fields_type]": { + "prev": "NotPresent", + "curr": "FieldsV1", + "path": [ + "datadir-test-cluster-0", + "metadata", + "managed_fields", + 2, + "fields_type" + ] + }, + "root['datadir-test-cluster-0'][metadata][managed_fields][2][manager]": { + "prev": "NotPresent", + "curr": "kube-controller-manager", + "path": [ + "datadir-test-cluster-0", + "metadata", + "managed_fields", + 2, + "manager" + ] + }, + "root['datadir-test-cluster-0'][metadata][managed_fields][2][operation]": { + "prev": "NotPresent", + "curr": "Update", + "path": [ + "datadir-test-cluster-0", + "metadata", + "managed_fields", + 2, + "operation" + ] + }, + "root['datadir-test-cluster-0'][metadata][managed_fields][2][subresource]": { + "prev": "NotPresent", + "curr": "status", + "path": [ + "datadir-test-cluster-0", + "metadata", + "managed_fields", + 2, + "subresource" + ] + }, + "root['datadir-test-cluster-0'][metadata][managed_fields][2][time]": { + "prev": "NotPresent", + "curr": "2023-05-04T20:31:01+00:00", + "path": [ + "datadir-test-cluster-0", + "metadata", + "managed_fields", + 2, + "time" + ] + }, + "root['datadir-test-cluster-0'][metadata][name]": { + "prev": "NotPresent", + "curr": "datadir-test-cluster-0", + "path": [ + "datadir-test-cluster-0", + "metadata", + "name" + ] + }, + "root['datadir-test-cluster-0'][metadata][namespace]": { + "prev": "NotPresent", + "curr": "cockroach-operator-system", + "path": [ + "datadir-test-cluster-0", + "metadata", + "namespace" + ] + }, + "root['datadir-test-cluster-0'][metadata][resource_version]": { + "prev": "NotPresent", + "curr": "947", + "path": [ + "datadir-test-cluster-0", + "metadata", + "resource_version" + ] + }, + "root['datadir-test-cluster-0'][metadata][uid]": { + "prev": "NotPresent", + "curr": "1ecdb689-a85f-4dbc-9cd3-da9f4303403a", + "path": [ + "datadir-test-cluster-0", + "metadata", + "uid" + ] + }, + "root['datadir-test-cluster-0'][spec][access_modes][0]": { + "prev": "NotPresent", + "curr": "ReadWriteOnce", + "path": [ + "datadir-test-cluster-0", + "spec", + "access_modes", + 0 + ] + }, + "root['datadir-test-cluster-0'][spec][resources][requests][storage]": { + "prev": "NotPresent", + "curr": "1Gi", + "path": [ + "datadir-test-cluster-0", + "spec", + "resources", + "requests", + "storage" + ] + }, + "root['datadir-test-cluster-0'][spec][storage_class_name]": { + "prev": "NotPresent", + "curr": "standard", + "path": [ + "datadir-test-cluster-0", + "spec", + "storage_class_name" + ] + }, + "root['datadir-test-cluster-0'][spec][volume_mode]": { + "prev": "NotPresent", + "curr": "Filesystem", + "path": [ + "datadir-test-cluster-0", + "spec", + "volume_mode" + ] + }, + "root['datadir-test-cluster-0'][spec][volume_name]": { + "prev": "NotPresent", + "curr": "pvc-1ecdb689-a85f-4dbc-9cd3-da9f4303403a", + "path": [ + "datadir-test-cluster-0", + "spec", + "volume_name" + ] + }, + "root['datadir-test-cluster-0'][status][access_modes][0]": { + "prev": "NotPresent", + "curr": "ReadWriteOnce", + "path": [ + "datadir-test-cluster-0", + "status", + "access_modes", + 0 + ] + }, + "root['datadir-test-cluster-0'][status][capacity][storage]": { + "prev": "NotPresent", + "curr": "1Gi", + "path": [ + "datadir-test-cluster-0", + "status", + "capacity", + "storage" + ] + }, + "root['datadir-test-cluster-0'][status][phase]": { + "prev": "NotPresent", + "curr": "Bound", + "path": [ + "datadir-test-cluster-0", + "status", + "phase" + ] + }, + "root['datadir-test-cluster-1'][metadata][annotations][pv.kubernetes.io/bind-completed]": { + "prev": "NotPresent", + "curr": "yes", + "path": [ + "datadir-test-cluster-1", + "metadata", + "annotations", + "pv.kubernetes.io/bind-completed" + ] + }, + "root['datadir-test-cluster-1'][metadata][annotations][pv.kubernetes.io/bound-by-controller]": { + "prev": "NotPresent", + "curr": "yes", + "path": [ + "datadir-test-cluster-1", + "metadata", + "annotations", + "pv.kubernetes.io/bound-by-controller" + ] + }, + "root['datadir-test-cluster-1'][metadata][annotations][volume.beta.kubernetes.io/storage-provisioner]": { + "prev": "NotPresent", + "curr": "rancher.io/local-path", + "path": [ + "datadir-test-cluster-1", + "metadata", + "annotations", + "volume.beta.kubernetes.io/storage-provisioner" + ] + }, + "root['datadir-test-cluster-1'][metadata][annotations][volume.kubernetes.io/selected-node]": { + "prev": "NotPresent", + "curr": "acto-cluster-0-worker3", + "path": [ + "datadir-test-cluster-1", + "metadata", + "annotations", + "volume.kubernetes.io/selected-node" + ] + }, + "root['datadir-test-cluster-1'][metadata][creation_timestamp]": { + "prev": "NotPresent", + "curr": "2023-05-04T20:30:58+00:00", + "path": [ + "datadir-test-cluster-1", + "metadata", + "creation_timestamp" + ] + }, + "root['datadir-test-cluster-1'][metadata][finalizers][0]": { + "prev": "NotPresent", + "curr": "kubernetes.io/pvc-protection", + "path": [ + "datadir-test-cluster-1", + "metadata", + "finalizers", + 0 + ] + }, + "root['datadir-test-cluster-1'][metadata][labels][app.kubernetes.io/component]": { + "prev": "NotPresent", + "curr": "database", + "path": [ + "datadir-test-cluster-1", + "metadata", + "labels", + "app.kubernetes.io/component" + ] + }, + "root['datadir-test-cluster-1'][metadata][labels][app.kubernetes.io/instance]": { + "prev": "NotPresent", + "curr": "test-cluster", + "path": [ + "datadir-test-cluster-1", + "metadata", + "labels", + "app.kubernetes.io/instance" + ] + }, + "root['datadir-test-cluster-1'][metadata][labels][app.kubernetes.io/name]": { + "prev": "NotPresent", + "curr": "cockroachdb", + "path": [ + "datadir-test-cluster-1", + "metadata", + "labels", + "app.kubernetes.io/name" + ] + }, + "root['datadir-test-cluster-1'][metadata][labels][crdb]": { + "prev": "NotPresent", + "curr": "is-cool", + "path": [ + "datadir-test-cluster-1", + "metadata", + "labels", + "crdb" + ] + }, + "root['datadir-test-cluster-1'][metadata][managed_fields][0][api_version]": { + "prev": "NotPresent", + "curr": "v1", + "path": [ + "datadir-test-cluster-1", + "metadata", + "managed_fields", + 0, + "api_version" + ] + }, + "root['datadir-test-cluster-1'][metadata][managed_fields][0][fields_type]": { + "prev": "NotPresent", + "curr": "FieldsV1", + "path": [ + "datadir-test-cluster-1", + "metadata", + "managed_fields", + 0, + "fields_type" + ] + }, + "root['datadir-test-cluster-1'][metadata][managed_fields][0][manager]": { + "prev": "NotPresent", + "curr": "kube-scheduler", + "path": [ + "datadir-test-cluster-1", + "metadata", + "managed_fields", + 0, + "manager" + ] + }, + "root['datadir-test-cluster-1'][metadata][managed_fields][0][operation]": { + "prev": "NotPresent", + "curr": "Update", + "path": [ + "datadir-test-cluster-1", + "metadata", + "managed_fields", + 0, + "operation" + ] + }, + "root['datadir-test-cluster-1'][metadata][managed_fields][0][time]": { + "prev": "NotPresent", + "curr": "2023-05-04T20:30:58+00:00", + "path": [ + "datadir-test-cluster-1", + "metadata", + "managed_fields", + 0, + "time" + ] + }, + "root['datadir-test-cluster-1'][metadata][managed_fields][1][api_version]": { + "prev": "NotPresent", + "curr": "v1", + "path": [ + "datadir-test-cluster-1", + "metadata", + "managed_fields", + 1, + "api_version" + ] + }, + "root['datadir-test-cluster-1'][metadata][managed_fields][1][fields_type]": { + "prev": "NotPresent", + "curr": "FieldsV1", + "path": [ + "datadir-test-cluster-1", + "metadata", + "managed_fields", + 1, + "fields_type" + ] + }, + "root['datadir-test-cluster-1'][metadata][managed_fields][1][manager]": { + "prev": "NotPresent", + "curr": "kube-controller-manager", + "path": [ + "datadir-test-cluster-1", + "metadata", + "managed_fields", + 1, + "manager" + ] + }, + "root['datadir-test-cluster-1'][metadata][managed_fields][1][operation]": { + "prev": "NotPresent", + "curr": "Update", + "path": [ + "datadir-test-cluster-1", + "metadata", + "managed_fields", + 1, + "operation" + ] + }, + "root['datadir-test-cluster-1'][metadata][managed_fields][1][time]": { + "prev": "NotPresent", + "curr": "2023-05-04T20:31:00+00:00", + "path": [ + "datadir-test-cluster-1", + "metadata", + "managed_fields", + 1, + "time" + ] + }, + "root['datadir-test-cluster-1'][metadata][managed_fields][2][api_version]": { + "prev": "NotPresent", + "curr": "v1", + "path": [ + "datadir-test-cluster-1", + "metadata", + "managed_fields", + 2, + "api_version" + ] + }, + "root['datadir-test-cluster-1'][metadata][managed_fields][2][fields_type]": { + "prev": "NotPresent", + "curr": "FieldsV1", + "path": [ + "datadir-test-cluster-1", + "metadata", + "managed_fields", + 2, + "fields_type" + ] + }, + "root['datadir-test-cluster-1'][metadata][managed_fields][2][manager]": { + "prev": "NotPresent", + "curr": "kube-controller-manager", + "path": [ + "datadir-test-cluster-1", + "metadata", + "managed_fields", + 2, + "manager" + ] + }, + "root['datadir-test-cluster-1'][metadata][managed_fields][2][operation]": { + "prev": "NotPresent", + "curr": "Update", + "path": [ + "datadir-test-cluster-1", + "metadata", + "managed_fields", + 2, + "operation" + ] + }, + "root['datadir-test-cluster-1'][metadata][managed_fields][2][subresource]": { + "prev": "NotPresent", + "curr": "status", + "path": [ + "datadir-test-cluster-1", + "metadata", + "managed_fields", + 2, + "subresource" + ] + }, + "root['datadir-test-cluster-1'][metadata][managed_fields][2][time]": { + "prev": "NotPresent", + "curr": "2023-05-04T20:31:00+00:00", + "path": [ + "datadir-test-cluster-1", + "metadata", + "managed_fields", + 2, + "time" + ] + }, + "root['datadir-test-cluster-1'][metadata][name]": { + "prev": "NotPresent", + "curr": "datadir-test-cluster-1", + "path": [ + "datadir-test-cluster-1", + "metadata", + "name" + ] + }, + "root['datadir-test-cluster-1'][metadata][namespace]": { + "prev": "NotPresent", + "curr": "cockroach-operator-system", + "path": [ + "datadir-test-cluster-1", + "metadata", + "namespace" + ] + }, + "root['datadir-test-cluster-1'][metadata][resource_version]": { + "prev": "NotPresent", + "curr": "934", + "path": [ + "datadir-test-cluster-1", + "metadata", + "resource_version" + ] + }, + "root['datadir-test-cluster-1'][metadata][uid]": { + "prev": "NotPresent", + "curr": "53bc0e1e-50be-447d-85c6-5159e521a0fb", + "path": [ + "datadir-test-cluster-1", + "metadata", + "uid" + ] + }, + "root['datadir-test-cluster-1'][spec][access_modes][0]": { + "prev": "NotPresent", + "curr": "ReadWriteOnce", + "path": [ + "datadir-test-cluster-1", + "spec", + "access_modes", + 0 + ] + }, + "root['datadir-test-cluster-1'][spec][resources][requests][storage]": { + "prev": "NotPresent", + "curr": "1Gi", + "path": [ + "datadir-test-cluster-1", + "spec", + "resources", + "requests", + "storage" + ] + }, + "root['datadir-test-cluster-1'][spec][storage_class_name]": { + "prev": "NotPresent", + "curr": "standard", + "path": [ + "datadir-test-cluster-1", + "spec", + "storage_class_name" + ] + }, + "root['datadir-test-cluster-1'][spec][volume_mode]": { + "prev": "NotPresent", + "curr": "Filesystem", + "path": [ + "datadir-test-cluster-1", + "spec", + "volume_mode" + ] + }, + "root['datadir-test-cluster-1'][spec][volume_name]": { + "prev": "NotPresent", + "curr": "pvc-53bc0e1e-50be-447d-85c6-5159e521a0fb", + "path": [ + "datadir-test-cluster-1", + "spec", + "volume_name" + ] + }, + "root['datadir-test-cluster-1'][status][access_modes][0]": { + "prev": "NotPresent", + "curr": "ReadWriteOnce", + "path": [ + "datadir-test-cluster-1", + "status", + "access_modes", + 0 + ] + }, + "root['datadir-test-cluster-1'][status][capacity][storage]": { + "prev": "NotPresent", + "curr": "1Gi", + "path": [ + "datadir-test-cluster-1", + "status", + "capacity", + "storage" + ] + }, + "root['datadir-test-cluster-1'][status][phase]": { + "prev": "NotPresent", + "curr": "Bound", + "path": [ + "datadir-test-cluster-1", + "status", + "phase" + ] + }, + "root['datadir-test-cluster-2'][metadata][annotations][pv.kubernetes.io/bind-completed]": { + "prev": "NotPresent", + "curr": "yes", + "path": [ + "datadir-test-cluster-2", + "metadata", + "annotations", + "pv.kubernetes.io/bind-completed" + ] + }, + "root['datadir-test-cluster-2'][metadata][annotations][pv.kubernetes.io/bound-by-controller]": { + "prev": "NotPresent", + "curr": "yes", + "path": [ + "datadir-test-cluster-2", + "metadata", + "annotations", + "pv.kubernetes.io/bound-by-controller" + ] + }, + "root['datadir-test-cluster-2'][metadata][annotations][volume.beta.kubernetes.io/storage-provisioner]": { + "prev": "NotPresent", + "curr": "rancher.io/local-path", + "path": [ + "datadir-test-cluster-2", + "metadata", + "annotations", + "volume.beta.kubernetes.io/storage-provisioner" + ] + }, + "root['datadir-test-cluster-2'][metadata][annotations][volume.kubernetes.io/selected-node]": { + "prev": "NotPresent", + "curr": "acto-cluster-0-worker2", + "path": [ + "datadir-test-cluster-2", + "metadata", + "annotations", + "volume.kubernetes.io/selected-node" + ] + }, + "root['datadir-test-cluster-2'][metadata][creation_timestamp]": { + "prev": "NotPresent", + "curr": "2023-05-04T20:30:58+00:00", + "path": [ + "datadir-test-cluster-2", + "metadata", + "creation_timestamp" + ] + }, + "root['datadir-test-cluster-2'][metadata][finalizers][0]": { + "prev": "NotPresent", + "curr": "kubernetes.io/pvc-protection", + "path": [ + "datadir-test-cluster-2", + "metadata", + "finalizers", + 0 + ] + }, + "root['datadir-test-cluster-2'][metadata][labels][app.kubernetes.io/component]": { + "prev": "NotPresent", + "curr": "database", + "path": [ + "datadir-test-cluster-2", + "metadata", + "labels", + "app.kubernetes.io/component" + ] + }, + "root['datadir-test-cluster-2'][metadata][labels][app.kubernetes.io/instance]": { + "prev": "NotPresent", + "curr": "test-cluster", + "path": [ + "datadir-test-cluster-2", + "metadata", + "labels", + "app.kubernetes.io/instance" + ] + }, + "root['datadir-test-cluster-2'][metadata][labels][app.kubernetes.io/name]": { + "prev": "NotPresent", + "curr": "cockroachdb", + "path": [ + "datadir-test-cluster-2", + "metadata", + "labels", + "app.kubernetes.io/name" + ] + }, + "root['datadir-test-cluster-2'][metadata][labels][crdb]": { + "prev": "NotPresent", + "curr": "is-cool", + "path": [ + "datadir-test-cluster-2", + "metadata", + "labels", + "crdb" + ] + }, + "root['datadir-test-cluster-2'][metadata][managed_fields][0][api_version]": { + "prev": "NotPresent", + "curr": "v1", + "path": [ + "datadir-test-cluster-2", + "metadata", + "managed_fields", + 0, + "api_version" + ] + }, + "root['datadir-test-cluster-2'][metadata][managed_fields][0][fields_type]": { + "prev": "NotPresent", + "curr": "FieldsV1", + "path": [ + "datadir-test-cluster-2", + "metadata", + "managed_fields", + 0, + "fields_type" + ] + }, + "root['datadir-test-cluster-2'][metadata][managed_fields][0][manager]": { + "prev": "NotPresent", + "curr": "kube-scheduler", + "path": [ + "datadir-test-cluster-2", + "metadata", + "managed_fields", + 0, + "manager" + ] + }, + "root['datadir-test-cluster-2'][metadata][managed_fields][0][operation]": { + "prev": "NotPresent", + "curr": "Update", + "path": [ + "datadir-test-cluster-2", + "metadata", + "managed_fields", + 0, + "operation" + ] + }, + "root['datadir-test-cluster-2'][metadata][managed_fields][0][time]": { + "prev": "NotPresent", + "curr": "2023-05-04T20:30:58+00:00", + "path": [ + "datadir-test-cluster-2", + "metadata", + "managed_fields", + 0, + "time" + ] + }, + "root['datadir-test-cluster-2'][metadata][managed_fields][1][api_version]": { + "prev": "NotPresent", + "curr": "v1", + "path": [ + "datadir-test-cluster-2", + "metadata", + "managed_fields", + 1, + "api_version" + ] + }, + "root['datadir-test-cluster-2'][metadata][managed_fields][1][fields_type]": { + "prev": "NotPresent", + "curr": "FieldsV1", + "path": [ + "datadir-test-cluster-2", + "metadata", + "managed_fields", + 1, + "fields_type" + ] + }, + "root['datadir-test-cluster-2'][metadata][managed_fields][1][manager]": { + "prev": "NotPresent", + "curr": "kube-controller-manager", + "path": [ + "datadir-test-cluster-2", + "metadata", + "managed_fields", + 1, + "manager" + ] + }, + "root['datadir-test-cluster-2'][metadata][managed_fields][1][operation]": { + "prev": "NotPresent", + "curr": "Update", + "path": [ + "datadir-test-cluster-2", + "metadata", + "managed_fields", + 1, + "operation" + ] + }, + "root['datadir-test-cluster-2'][metadata][managed_fields][1][time]": { + "prev": "NotPresent", + "curr": "2023-05-04T20:31:02+00:00", + "path": [ + "datadir-test-cluster-2", + "metadata", + "managed_fields", + 1, + "time" + ] + }, + "root['datadir-test-cluster-2'][metadata][managed_fields][2][api_version]": { + "prev": "NotPresent", + "curr": "v1", + "path": [ + "datadir-test-cluster-2", + "metadata", + "managed_fields", + 2, + "api_version" + ] + }, + "root['datadir-test-cluster-2'][metadata][managed_fields][2][fields_type]": { + "prev": "NotPresent", + "curr": "FieldsV1", + "path": [ + "datadir-test-cluster-2", + "metadata", + "managed_fields", + 2, + "fields_type" + ] + }, + "root['datadir-test-cluster-2'][metadata][managed_fields][2][manager]": { + "prev": "NotPresent", + "curr": "kube-controller-manager", + "path": [ + "datadir-test-cluster-2", + "metadata", + "managed_fields", + 2, + "manager" + ] + }, + "root['datadir-test-cluster-2'][metadata][managed_fields][2][operation]": { + "prev": "NotPresent", + "curr": "Update", + "path": [ + "datadir-test-cluster-2", + "metadata", + "managed_fields", + 2, + "operation" + ] + }, + "root['datadir-test-cluster-2'][metadata][managed_fields][2][subresource]": { + "prev": "NotPresent", + "curr": "status", + "path": [ + "datadir-test-cluster-2", + "metadata", + "managed_fields", + 2, + "subresource" + ] + }, + "root['datadir-test-cluster-2'][metadata][managed_fields][2][time]": { + "prev": "NotPresent", + "curr": "2023-05-04T20:31:02+00:00", + "path": [ + "datadir-test-cluster-2", + "metadata", + "managed_fields", + 2, + "time" + ] + }, + "root['datadir-test-cluster-2'][metadata][name]": { + "prev": "NotPresent", + "curr": "datadir-test-cluster-2", + "path": [ + "datadir-test-cluster-2", + "metadata", + "name" + ] + }, + "root['datadir-test-cluster-2'][metadata][namespace]": { + "prev": "NotPresent", + "curr": "cockroach-operator-system", + "path": [ + "datadir-test-cluster-2", + "metadata", + "namespace" + ] + }, + "root['datadir-test-cluster-2'][metadata][resource_version]": { + "prev": "NotPresent", + "curr": "968", + "path": [ + "datadir-test-cluster-2", + "metadata", + "resource_version" + ] + }, + "root['datadir-test-cluster-2'][metadata][uid]": { + "prev": "NotPresent", + "curr": "6e344d65-a1cb-44f1-8227-6ae78f90da5d", + "path": [ + "datadir-test-cluster-2", + "metadata", + "uid" + ] + }, + "root['datadir-test-cluster-2'][spec][access_modes][0]": { + "prev": "NotPresent", + "curr": "ReadWriteOnce", + "path": [ + "datadir-test-cluster-2", + "spec", + "access_modes", + 0 + ] + }, + "root['datadir-test-cluster-2'][spec][resources][requests][storage]": { + "prev": "NotPresent", + "curr": "1Gi", + "path": [ + "datadir-test-cluster-2", + "spec", + "resources", + "requests", + "storage" + ] + }, + "root['datadir-test-cluster-2'][spec][storage_class_name]": { + "prev": "NotPresent", + "curr": "standard", + "path": [ + "datadir-test-cluster-2", + "spec", + "storage_class_name" + ] + }, + "root['datadir-test-cluster-2'][spec][volume_mode]": { + "prev": "NotPresent", + "curr": "Filesystem", + "path": [ + "datadir-test-cluster-2", + "spec", + "volume_mode" + ] + }, + "root['datadir-test-cluster-2'][spec][volume_name]": { + "prev": "NotPresent", + "curr": "pvc-6e344d65-a1cb-44f1-8227-6ae78f90da5d", + "path": [ + "datadir-test-cluster-2", + "spec", + "volume_name" + ] + }, + "root['datadir-test-cluster-2'][status][access_modes][0]": { + "prev": "NotPresent", + "curr": "ReadWriteOnce", + "path": [ + "datadir-test-cluster-2", + "status", + "access_modes", + 0 + ] + }, + "root['datadir-test-cluster-2'][status][capacity][storage]": { + "prev": "NotPresent", + "curr": "1Gi", + "path": [ + "datadir-test-cluster-2", + "status", + "capacity", + "storage" + ] + }, + "root['datadir-test-cluster-2'][status][phase]": { + "prev": "NotPresent", + "curr": "Bound", + "path": [ + "datadir-test-cluster-2", + "status", + "phase" + ] + } + } + }, + "cronjob": {}, + "ingress": {}, + "network_policy": {}, + "pod_disruption_budget": { + "dictionary_item_added": { + "root['test-cluster'][metadata][annotations][crdb.io/last-applied]": { + "prev": "NotPresent", + "curr": "eyJtZXRhZGF0YSI6eyJsYWJlbHMiOnsiYXBwLmt1YmVybmV0ZXMuaW8vbmFtZSI6ImNvY2tyb2FjaGRiIiwiYXBwLmt1YmVybmV0ZXMuaW8vaW5zdGFuY2UiOiJ0ZXN0LWNsdXN0ZXIiLCJhcHAua3ViZXJuZXRlcy5pby92ZXJzaW9uIjoidjIxLjIuMTAiLCJjcmRiIjoiaXMtY29vbCIsImFwcC5rdWJlcm5ldGVzLmlvL2NvbXBvbmVudCI6ImRhdGFiYXNlIiwiYXBwLmt1YmVybmV0ZXMuaW8vbWFuYWdlZC1ieSI6ImNvY2tyb2FjaC1vcGVyYXRvciIsImFwcC5rdWJlcm5ldGVzLmlvL3BhcnQtb2YiOiJjb2Nrcm9hY2hkYiJ9LCJvd25lclJlZmVyZW5jZXMiOlt7ImFwaVZlcnNpb24iOiJjcmRiLmNvY2tyb2FjaGxhYnMuY29tL3YxYWxwaGExIiwia2luZCI6IkNyZGJDbHVzdGVyIiwibmFtZSI6InRlc3QtY2x1c3RlciIsInVpZCI6IjkwYWQ1ZWY1LTljOTUtNDA5Mi1hNWU4LTE1ODJiOTI2NDlmZiIsImNvbnRyb2xsZXIiOnRydWUsImJsb2NrT3duZXJEZWxldGlvbiI6dHJ1ZX1dLCJuYW1lIjoidGVzdC1jbHVzdGVyIiwibmFtZXNwYWNlIjoiY29ja3JvYWNoLW9wZXJhdG9yLXN5c3RlbSJ9LCJzcGVjIjp7InNlbGVjdG9yIjp7Im1hdGNoTGFiZWxzIjp7ImFwcC5rdWJlcm5ldGVzLmlvL2luc3RhbmNlIjoidGVzdC1jbHVzdGVyIiwiYXBwLmt1YmVybmV0ZXMuaW8vY29tcG9uZW50IjoiZGF0YWJhc2UiLCJjcmRiIjoiaXMtY29vbCIsImFwcC5rdWJlcm5ldGVzLmlvL25hbWUiOiJjb2Nrcm9hY2hkYiJ9fSwibWF4VW5hdmFpbGFibGUiOjF9LCJzdGF0dXMiOnsiY3VycmVudEhlYWx0aHkiOjAsImRlc2lyZWRIZWFsdGh5IjowLCJleHBlY3RlZFBvZHMiOjAsImRpc3J1cHRpb25zQWxsb3dlZCI6MH19", + "path": [ + "test-cluster", + "metadata", + "annotations", + "crdb.io/last-applied" + ] + }, + "root['test-cluster'][metadata][creation_timestamp]": { + "prev": "NotPresent", + "curr": "2023-05-04T20:30:58+00:00", + "path": [ + "test-cluster", + "metadata", + "creation_timestamp" + ] + }, + "root['test-cluster'][metadata][generation]": { + "prev": "NotPresent", + "curr": 1, + "path": [ + "test-cluster", + "metadata", + "generation" + ] + }, + "root['test-cluster'][metadata][labels][app.kubernetes.io/component]": { + "prev": "NotPresent", + "curr": "database", + "path": [ + "test-cluster", + "metadata", + "labels", + "app.kubernetes.io/component" + ] + }, + "root['test-cluster'][metadata][labels][app.kubernetes.io/instance]": { + "prev": "NotPresent", + "curr": "test-cluster", + "path": [ + "test-cluster", + "metadata", + "labels", + "app.kubernetes.io/instance" + ] + }, + "root['test-cluster'][metadata][labels][app.kubernetes.io/managed-by]": { + "prev": "NotPresent", + "curr": "cockroach-operator", + "path": [ + "test-cluster", + "metadata", + "labels", + "app.kubernetes.io/managed-by" + ] + }, + "root['test-cluster'][metadata][labels][app.kubernetes.io/name]": { + "prev": "NotPresent", + "curr": "cockroachdb", + "path": [ + "test-cluster", + "metadata", + "labels", + "app.kubernetes.io/name" + ] + }, + "root['test-cluster'][metadata][labels][app.kubernetes.io/part-of]": { + "prev": "NotPresent", + "curr": "cockroachdb", + "path": [ + "test-cluster", + "metadata", + "labels", + "app.kubernetes.io/part-of" + ] + }, + "root['test-cluster'][metadata][labels][app.kubernetes.io/version]": { + "prev": "NotPresent", + "curr": "v21.2.10", + "path": [ + "test-cluster", + "metadata", + "labels", + "app.kubernetes.io/version" + ] + }, + "root['test-cluster'][metadata][labels][crdb]": { + "prev": "NotPresent", + "curr": "is-cool", + "path": [ + "test-cluster", + "metadata", + "labels", + "crdb" + ] + }, + "root['test-cluster'][metadata][managed_fields][0][api_version]": { + "prev": "NotPresent", + "curr": "policy/v1beta1", + "path": [ + "test-cluster", + "metadata", + "managed_fields", + 0, + "api_version" + ] + }, + "root['test-cluster'][metadata][managed_fields][0][fields_type]": { + "prev": "NotPresent", + "curr": "FieldsV1", + "path": [ + "test-cluster", + "metadata", + "managed_fields", + 0, + "fields_type" + ] + }, + "root['test-cluster'][metadata][managed_fields][0][manager]": { + "prev": "NotPresent", + "curr": "cockroach-operator", + "path": [ + "test-cluster", + "metadata", + "managed_fields", + 0, + "manager" + ] + }, + "root['test-cluster'][metadata][managed_fields][0][operation]": { + "prev": "NotPresent", + "curr": "Update", + "path": [ + "test-cluster", + "metadata", + "managed_fields", + 0, + "operation" + ] + }, + "root['test-cluster'][metadata][managed_fields][0][time]": { + "prev": "NotPresent", + "curr": "2023-05-04T20:30:58+00:00", + "path": [ + "test-cluster", + "metadata", + "managed_fields", + 0, + "time" + ] + }, + "root['test-cluster'][metadata][managed_fields][1][api_version]": { + "prev": "NotPresent", + "curr": "policy/v1", + "path": [ + "test-cluster", + "metadata", + "managed_fields", + 1, + "api_version" + ] + }, + "root['test-cluster'][metadata][managed_fields][1][fields_type]": { + "prev": "NotPresent", + "curr": "FieldsV1", + "path": [ + "test-cluster", + "metadata", + "managed_fields", + 1, + "fields_type" + ] + }, + "root['test-cluster'][metadata][managed_fields][1][manager]": { + "prev": "NotPresent", + "curr": "kube-controller-manager", + "path": [ + "test-cluster", + "metadata", + "managed_fields", + 1, + "manager" + ] + }, + "root['test-cluster'][metadata][managed_fields][1][operation]": { + "prev": "NotPresent", + "curr": "Update", + "path": [ + "test-cluster", + "metadata", + "managed_fields", + 1, + "operation" + ] + }, + "root['test-cluster'][metadata][managed_fields][1][subresource]": { + "prev": "NotPresent", + "curr": "status", + "path": [ + "test-cluster", + "metadata", + "managed_fields", + 1, + "subresource" + ] + }, + "root['test-cluster'][metadata][managed_fields][1][time]": { + "prev": "NotPresent", + "curr": "2023-05-04T20:31:21+00:00", + "path": [ + "test-cluster", + "metadata", + "managed_fields", + 1, + "time" + ] + }, + "root['test-cluster'][metadata][name]": { + "prev": "NotPresent", + "curr": "test-cluster", + "path": [ + "test-cluster", + "metadata", + "name" + ] + }, + "root['test-cluster'][metadata][namespace]": { + "prev": "NotPresent", + "curr": "cockroach-operator-system", + "path": [ + "test-cluster", + "metadata", + "namespace" + ] + }, + "root['test-cluster'][metadata][owner_references][0][api_version]": { + "prev": "NotPresent", + "curr": "crdb.cockroachlabs.com/v1alpha1", + "path": [ + "test-cluster", + "metadata", + "owner_references", + 0, + "api_version" + ] + }, + "root['test-cluster'][metadata][owner_references][0][block_owner_deletion]": { + "prev": "NotPresent", + "curr": true, + "path": [ + "test-cluster", + "metadata", + "owner_references", + 0, + "block_owner_deletion" + ] + }, + "root['test-cluster'][metadata][owner_references][0][controller]": { + "prev": "NotPresent", + "curr": true, + "path": [ + "test-cluster", + "metadata", + "owner_references", + 0, + "controller" + ] + }, + "root['test-cluster'][metadata][owner_references][0][kind]": { + "prev": "NotPresent", + "curr": "CrdbCluster", + "path": [ + "test-cluster", + "metadata", + "owner_references", + 0, + "kind" + ] + }, + "root['test-cluster'][metadata][owner_references][0][name]": { + "prev": "NotPresent", + "curr": "test-cluster", + "path": [ + "test-cluster", + "metadata", + "owner_references", + 0, + "name" + ] + }, + "root['test-cluster'][metadata][owner_references][0][uid]": { + "prev": "NotPresent", + "curr": "90ad5ef5-9c95-4092-a5e8-1582b92649ff", + "path": [ + "test-cluster", + "metadata", + "owner_references", + 0, + "uid" + ] + }, + "root['test-cluster'][metadata][resource_version]": { + "prev": "NotPresent", + "curr": "1052", + "path": [ + "test-cluster", + "metadata", + "resource_version" + ] + }, + "root['test-cluster'][metadata][uid]": { + "prev": "NotPresent", + "curr": "518bb618-fc9f-4d74-a07c-f3340bb37854", + "path": [ + "test-cluster", + "metadata", + "uid" + ] + }, + "root['test-cluster'][spec][max_unavailable]": { + "prev": "NotPresent", + "curr": 1, + "path": [ + "test-cluster", + "spec", + "max_unavailable" + ] + }, + "root['test-cluster'][spec][selector][match_labels][app.kubernetes.io/component]": { + "prev": "NotPresent", + "curr": "database", + "path": [ + "test-cluster", + "spec", + "selector", + "match_labels", + "app.kubernetes.io/component" + ] + }, + "root['test-cluster'][spec][selector][match_labels][app.kubernetes.io/instance]": { + "prev": "NotPresent", + "curr": "test-cluster", + "path": [ + "test-cluster", + "spec", + "selector", + "match_labels", + "app.kubernetes.io/instance" + ] + }, + "root['test-cluster'][spec][selector][match_labels][app.kubernetes.io/name]": { + "prev": "NotPresent", + "curr": "cockroachdb", + "path": [ + "test-cluster", + "spec", + "selector", + "match_labels", + "app.kubernetes.io/name" + ] + }, + "root['test-cluster'][spec][selector][match_labels][crdb]": { + "prev": "NotPresent", + "curr": "is-cool", + "path": [ + "test-cluster", + "spec", + "selector", + "match_labels", + "crdb" + ] + }, + "root['test-cluster'][status][conditions][0][last_transition_time]": { + "prev": "NotPresent", + "curr": "2023-05-04T20:31:21+00:00", + "path": [ + "test-cluster", + "status", + "conditions", + 0, + "last_transition_time" + ] + }, + "root['test-cluster'][status][conditions][0][message]": { + "prev": "NotPresent", + "curr": "", + "path": [ + "test-cluster", + "status", + "conditions", + 0, + "message" + ] + }, + "root['test-cluster'][status][conditions][0][observed_generation]": { + "prev": "NotPresent", + "curr": 1, + "path": [ + "test-cluster", + "status", + "conditions", + 0, + "observed_generation" + ] + }, + "root['test-cluster'][status][conditions][0][reason]": { + "prev": "NotPresent", + "curr": "SufficientPods", + "path": [ + "test-cluster", + "status", + "conditions", + 0, + "reason" + ] + }, + "root['test-cluster'][status][conditions][0][status]": { + "prev": "NotPresent", + "curr": "True", + "path": [ + "test-cluster", + "status", + "conditions", + 0, + "status" + ] + }, + "root['test-cluster'][status][conditions][0][type]": { + "prev": "NotPresent", + "curr": "DisruptionAllowed", + "path": [ + "test-cluster", + "status", + "conditions", + 0, + "type" + ] + }, + "root['test-cluster'][status][current_healthy]": { + "prev": "NotPresent", + "curr": 3, + "path": [ + "test-cluster", + "status", + "current_healthy" + ] + }, + "root['test-cluster'][status][desired_healthy]": { + "prev": "NotPresent", + "curr": 2, + "path": [ + "test-cluster", + "status", + "desired_healthy" + ] + }, + "root['test-cluster'][status][disruptions_allowed]": { + "prev": "NotPresent", + "curr": 1, + "path": [ + "test-cluster", + "status", + "disruptions_allowed" + ] + }, + "root['test-cluster'][status][expected_pods]": { + "prev": "NotPresent", + "curr": 3, + "path": [ + "test-cluster", + "status", + "expected_pods" + ] + }, + "root['test-cluster'][status][observed_generation]": { + "prev": "NotPresent", + "curr": 1, + "path": [ + "test-cluster", + "status", + "observed_generation" + ] + } + } + }, + "secret": { + "dictionary_item_added": { + "root['cockroach-operator-sa-token-wzc2j'][data][ca.crt]": { + "prev": "NotPresent", + "curr": "-----BEGIN CERTIFICATE-----\nMIIC/jCCAeagAwIBAgIBADANBgkqhkiG9w0BAQsFADAVMRMwEQYDVQQDEwprdWJl\ncm5ldGVzMB4XDTIzMDUwNDIwMjkxMFoXDTMzMDUwMTIwMjkxMFowFTETMBEGA1UE\nAxMKa3ViZXJuZXRlczCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAOZZ\nNBiE5imKYNYWQsDL7HJDSm2L+ocFPlh1vTf2uGhktpKbD6ITd2HvJBGnbznEq573\nFR+8KpXqozRTEFDZo+OIs8y6IcVIJSHTD/LhbHE9xP2QFWIEaIHrbFwktet5wuL+\nkfJbYqdompXlzSaORjo0fG6KXA/5UBoeylU4zFRpcP/QSHa2blKko/IBWpuL4OEM\n1NeiOaMGea9kUivd06JFKucvv79dmKL03PA4LF13IDYFAE0YMXpq/Kp7cWXg7oKP\naPEP84rxtVddY3pDEdPR8GhbV/zIfJjjmaV3hqjbbW8sXc/MKMddx+XPZTjYGbgy\n3egJodTUokl3mL4zhQ0CAwEAAaNZMFcwDgYDVR0PAQH/BAQDAgKkMA8GA1UdEwEB\n/wQFMAMBAf8wHQYDVR0OBBYEFHQXllc6/knTcwTAgSM2L8Y9CaKmMBUGA1UdEQQO\nMAyCCmt1YmVybmV0ZXMwDQYJKoZIhvcNAQELBQADggEBAEV0ciRGe77TLxzcTZpA\npid2iF9nHg5alCebrfGZ3gnH6KhKM/otOSoA58JCzEaJxS1cUQOnVIP6i4t7WYVz\nkwEjw+8Bp3vvUpZJDaj/XTgOuztoOpbM6xX7wKHztRdI76I7gH/HPjfIrgiUM7Yo\nSNKCwpZf8tUpWUWfEBDNCtvN4OO3v2A2fREnz1ux61qtKTdR+T/aCvD7GLNB0mbu\nWBTupnmNaAEs/bB87w3OJ4PbvvCGdwm+bX+Q3iDdwqIiu78ZB8NI5RYAYB+CN7Nt\nm2tXdv3t0L7lMcG4eolqa3RXA6g515um0FzDqabtuw5+oak8rs1XfTk87uwhqxUl\nGew=\n-----END CERTIFICATE-----\n", + "path": [ + "cockroach-operator-sa-token-wzc2j", + "data", + "ca.crt" + ] + }, + "root['cockroach-operator-sa-token-wzc2j'][data][namespace]": { + "prev": "NotPresent", + "curr": "cockroach-operator-system", + "path": [ + "cockroach-operator-sa-token-wzc2j", + "data", + "namespace" + ] + }, + "root['cockroach-operator-sa-token-wzc2j'][data][token]": { + "prev": "NotPresent", + "curr": "eyJhbGciOiJSUzI1NiIsImtpZCI6IkNWQ0M5T09aTUNGcmVrSURjZ2JIeXJ3cFhMOFVDNU9hZnp6aXNLeTJrcEkifQ.eyJpc3MiOiJrdWJlcm5ldGVzL3NlcnZpY2VhY2NvdW50Iiwia3ViZXJuZXRlcy5pby9zZXJ2aWNlYWNjb3VudC9uYW1lc3BhY2UiOiJjb2Nrcm9hY2gtb3BlcmF0b3Itc3lzdGVtIiwia3ViZXJuZXRlcy5pby9zZXJ2aWNlYWNjb3VudC9zZWNyZXQubmFtZSI6ImNvY2tyb2FjaC1vcGVyYXRvci1zYS10b2tlbi13emMyaiIsImt1YmVybmV0ZXMuaW8vc2VydmljZWFjY291bnQvc2VydmljZS1hY2NvdW50Lm5hbWUiOiJjb2Nrcm9hY2gtb3BlcmF0b3Itc2EiLCJrdWJlcm5ldGVzLmlvL3NlcnZpY2VhY2NvdW50L3NlcnZpY2UtYWNjb3VudC51aWQiOiJhZWU1NjhkZS1jYjM5LTQyODItOGEwYy0wYWIzMGQ1MmJmYWMiLCJzdWIiOiJzeXN0ZW06c2VydmljZWFjY291bnQ6Y29ja3JvYWNoLW9wZXJhdG9yLXN5c3RlbTpjb2Nrcm9hY2gtb3BlcmF0b3Itc2EifQ.Aq3vVVAdHBAHBlaoKwAxGTgCuZf3cGvGu9XQIDpd91MLAgxJu0-ug0_-V1PBk9n3CVk3Xa8fkgSQuc0_80YO2p_KOz5EEFnXy0LBLUfhK5E0ziiU_rGLidI6Hs_OaqULKb0X8PZ_25BBqiGk-RC3K7xvXSe1BUSfdLRzkZOAjybynzsIdmDnynAXNAP1J-FDeCExwhIkyWg-TELSTsD3Ahjx4RqfUVXDNiDjkjqSo0nqrCBZJCmeYKF1HUTFqwGXrSbfXuj6ZN-SbTdu14FwEFOtLBqx3iWD5xBGaRR-wA5Xrxmv2d_BCfF1ZoGyaxWm254klNxp2uR29khqeYXSTA", + "path": [ + "cockroach-operator-sa-token-wzc2j", + "data", + "token" + ] + }, + "root['cockroach-operator-sa-token-wzc2j'][metadata][annotations][kubernetes.io/service-account.name]": { + "prev": "NotPresent", + "curr": "cockroach-operator-sa", + "path": [ + "cockroach-operator-sa-token-wzc2j", + "metadata", + "annotations", + "kubernetes.io/service-account.name" + ] + }, + "root['cockroach-operator-sa-token-wzc2j'][metadata][annotations][kubernetes.io/service-account.uid]": { + "prev": "NotPresent", + "curr": "aee568de-cb39-4282-8a0c-0ab30d52bfac", + "path": [ + "cockroach-operator-sa-token-wzc2j", + "metadata", + "annotations", + "kubernetes.io/service-account.uid" + ] + }, + "root['cockroach-operator-sa-token-wzc2j'][metadata][creation_timestamp]": { + "prev": "NotPresent", + "curr": "2023-05-04T20:30:22+00:00", + "path": [ + "cockroach-operator-sa-token-wzc2j", + "metadata", + "creation_timestamp" + ] + }, + "root['cockroach-operator-sa-token-wzc2j'][metadata][managed_fields][0][api_version]": { + "prev": "NotPresent", + "curr": "v1", + "path": [ + "cockroach-operator-sa-token-wzc2j", + "metadata", + "managed_fields", + 0, + "api_version" + ] + }, + "root['cockroach-operator-sa-token-wzc2j'][metadata][managed_fields][0][fields_type]": { + "prev": "NotPresent", + "curr": "FieldsV1", + "path": [ + "cockroach-operator-sa-token-wzc2j", + "metadata", + "managed_fields", + 0, + "fields_type" + ] + }, + "root['cockroach-operator-sa-token-wzc2j'][metadata][managed_fields][0][manager]": { + "prev": "NotPresent", + "curr": "kube-controller-manager", + "path": [ + "cockroach-operator-sa-token-wzc2j", + "metadata", + "managed_fields", + 0, + "manager" + ] + }, + "root['cockroach-operator-sa-token-wzc2j'][metadata][managed_fields][0][operation]": { + "prev": "NotPresent", + "curr": "Update", + "path": [ + "cockroach-operator-sa-token-wzc2j", + "metadata", + "managed_fields", + 0, + "operation" + ] + }, + "root['cockroach-operator-sa-token-wzc2j'][metadata][managed_fields][0][time]": { + "prev": "NotPresent", + "curr": "2023-05-04T20:30:22+00:00", + "path": [ + "cockroach-operator-sa-token-wzc2j", + "metadata", + "managed_fields", + 0, + "time" + ] + }, + "root['cockroach-operator-sa-token-wzc2j'][metadata][name]": { + "prev": "NotPresent", + "curr": "cockroach-operator-sa-token-wzc2j", + "path": [ + "cockroach-operator-sa-token-wzc2j", + "metadata", + "name" + ] + }, + "root['cockroach-operator-sa-token-wzc2j'][metadata][namespace]": { + "prev": "NotPresent", + "curr": "cockroach-operator-system", + "path": [ + "cockroach-operator-sa-token-wzc2j", + "metadata", + "namespace" + ] + }, + "root['cockroach-operator-sa-token-wzc2j'][metadata][resource_version]": { + "prev": "NotPresent", + "curr": "702", + "path": [ + "cockroach-operator-sa-token-wzc2j", + "metadata", + "resource_version" + ] + }, + "root['cockroach-operator-sa-token-wzc2j'][metadata][uid]": { + "prev": "NotPresent", + "curr": "dcac6a29-ef3e-4f70-83f5-5e37488bcadd", + "path": [ + "cockroach-operator-sa-token-wzc2j", + "metadata", + "uid" + ] + }, + "root['cockroach-operator-sa-token-wzc2j'][type]": { + "prev": "NotPresent", + "curr": "kubernetes.io/service-account-token", + "path": [ + "cockroach-operator-sa-token-wzc2j", + "type" + ] + }, + "root['cockroach-operator-webhook-ca'][data][tls.crt]": { + "prev": "NotPresent", + "curr": "-----BEGIN CERTIFICATE-----\nMIIFHDCCAwSgAwIBAgIBATANBgkqhkiG9w0BAQsFADAgMR4wHAYDVQQKExVDb2Nr\ncm9hY2ggREIgT3BlcmF0b3IwHhcNMjMwNTA0MjAzMDIyWhcNMzMwNTAxMjAzMDIy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qe+Dnh0QgPT2bZlLI9Ii0ademRr+fcUl500o\nYBPNPU1AA+FAP1k3e4/lmwmM4FacRbcGVR8XcW2/tOaS4Coup7+WC/ivQnKxMG5N\nExCvaui1BCn56gBdYqNA5gphwHQdybaYGh5Qv1T++FzL7fCMrgkCIQhPHOxDuyS+\n39Jkbp9Kpi/qVMbnmPlMqmyhC00Qcch6JMD6829DmmHdO2/8ob2vhyLOTjv+E4Gj\ngdU+K0xLOfKCU5HFzkq6QS/XK+BlwKNASzMm4rjTqszKf6m3S2BiJh60hpwzz4Gs\n4TZdo7NkVkrbI9BXp8fokq08O7IKvIJzEh3/TEl4jP1DRprjSoDMeLTOdHcRqws7\nSdVn5Rr/uJ1qRd1n9ym3aKDkWpJw5Da+oL8KyHZ0+QpAYIM++wwtlHEDDcpcCfMa\nK3HLqFgPXZ3uJ05/IprJ5eBGD5Sjwsbvx/3KKi6ljUIB/X6Q/E9IMxh4xGZzqgki\nfPYvdNmOx1nmcaeqJzObkAYxy1SQx3XFKFoZPh3/KrghEcSrzxJtC6eiI6WTjCx0\nT6ESeA5toGuuRfN9cimvwA==\n-----END CERTIFICATE-----\n", + "path": [ + "cockroach-operator-webhook-ca", + "data", + "tls.crt" + ] + }, + "root['cockroach-operator-webhook-ca'][data][tls.key]": { + "prev": "NotPresent", + "curr": "-----BEGIN RSA PRIVATE KEY-----\nMIIJKQIBAAKCAgEApSHbCEZKnfQAdlyJrjXHjHkfCLfWBtP3detdU4djDbs2hlxV\nb/q1rfQDpfIwuDX3M8LjLMr/jXSdcd8eY+dWUEWRu+oLxkh70v0jW+erE1sCNzlO\nbN9i7XMm9wokshOxKIz9JY5YJgjowZnp3KH1YaSZdUEgeM7BU0kqYujEite+bvLL\ne/bYSbTc6ERHAro7tctfuldlgt3ihBYWXEaNKGD2sKScJBs4LhdtIsxP9H4jhIyw\noB6TLg0vp7Xi2Y0wNIQ6HiNX8o75u/4gfpO45TCOq3iiycgD/+vCVKqhemKO64sG\naZcXmBCW2HJs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mhAoIBAQC49Uy4urWG73/iQbTlD/dAJveDzMYdBB6f2dbpeNQVDw+i0F/l3PDG\nR/Jn48V6Ex5Ac26DPAmg3AtMbho9Taqdxp0ZL00+IwE+DR7osxKlWkmEk1X0yzh5\n+7wlm8u/PyjNXDVgGuN2+4OYT2GiMDxcNvv1F5/QkGRUOUsW3wFO9NZX4vvE/uJs\nc60ECALIllNMejKQXAN4E9OOAtSxEpHiUdR8HFNM4i6M264nTfIkPoj/3gxVL+eh\nlzIko2Wpd7CKchH2mva+1xHK21fIZ+OzWjYkyvjcFp5k6D3pylErEbQIuXizFZTj\nWCTmxbxaK8XVgDu8eIlnjuaSYF/yuCSHAoIBAQDUkiZYX5K7f5xOBVJvw87FSUKf\njavKYHkA+ec21enkFz+EN6x7o4u6v+3gGCTVBySBOJh10I43X9LXiXcF4zk3HIW0\nqLGKi6/b6exnDp5tXFXLTTxPiVwIwtq9YshgNhqre5wG2zL7g3gBRWSu6WYrM/9v\nfkc7xsdbQP2n4oJNYg6ASUq3iTsZqhpz0dNRnv0W8PC/QjHF4VciDWWiGP8Mom7d\nSVzN3VAkNZHZD9VZtAiYmxBdfZqIquk3PZvIxB0WDBXk6DSmVrPqL8mFUrE5AOom\nDv7v9hOdYP49TTm/fu5iXQSkq5kN4XrF7hibBbmfxNod3CSGI0VpkfHHix5g\n-----END RSA PRIVATE KEY-----\n", + "path": [ + "cockroach-operator-webhook-ca", + "data", + "tls.key" + ] + }, + "root['cockroach-operator-webhook-ca'][metadata][creation_timestamp]": { + "prev": "NotPresent", + "curr": "2023-05-04T20:30:23+00:00", + "path": [ + "cockroach-operator-webhook-ca", + "metadata", + "creation_timestamp" + ] + }, + "root['cockroach-operator-webhook-ca'][metadata][managed_fields][0][api_version]": { + "prev": "NotPresent", + "curr": "v1", + "path": [ + "cockroach-operator-webhook-ca", + "metadata", + "managed_fields", + 0, + "api_version" + ] + }, + "root['cockroach-operator-webhook-ca'][metadata][managed_fields][0][fields_type]": { + "prev": "NotPresent", + "curr": "FieldsV1", + "path": [ + "cockroach-operator-webhook-ca", + "metadata", + "managed_fields", + 0, + "fields_type" + ] + }, + "root['cockroach-operator-webhook-ca'][metadata][managed_fields][0][manager]": { + "prev": "NotPresent", + "curr": "cockroach-operator", + "path": [ + "cockroach-operator-webhook-ca", + "metadata", + "managed_fields", + 0, + "manager" + ] + }, + "root['cockroach-operator-webhook-ca'][metadata][managed_fields][0][operation]": { + "prev": "NotPresent", + "curr": "Update", + "path": [ + "cockroach-operator-webhook-ca", + "metadata", + "managed_fields", + 0, + "operation" + ] + }, + "root['cockroach-operator-webhook-ca'][metadata][managed_fields][0][time]": { + "prev": "NotPresent", + "curr": "2023-05-04T20:30:23+00:00", + "path": [ + "cockroach-operator-webhook-ca", + "metadata", + "managed_fields", + 0, + "time" + ] + }, + "root['cockroach-operator-webhook-ca'][metadata][name]": { + "prev": "NotPresent", + "curr": "cockroach-operator-webhook-ca", + "path": [ + "cockroach-operator-webhook-ca", + "metadata", + "name" + ] + }, + "root['cockroach-operator-webhook-ca'][metadata][namespace]": { + "prev": "NotPresent", + "curr": "cockroach-operator-system", + "path": [ + "cockroach-operator-webhook-ca", + "metadata", + "namespace" + ] + }, + "root['cockroach-operator-webhook-ca'][metadata][resource_version]": { + "prev": "NotPresent", + "curr": "736", + "path": [ + "cockroach-operator-webhook-ca", + "metadata", + "resource_version" + ] + }, + "root['cockroach-operator-webhook-ca'][metadata][uid]": { + "prev": "NotPresent", + "curr": "2c751fca-a653-4140-a509-c413fb948dac", + "path": [ + "cockroach-operator-webhook-ca", + "metadata", + "uid" + ] + }, + "root['cockroach-operator-webhook-ca'][type]": { + "prev": "NotPresent", + "curr": "kubernetes.io/tls", + "path": [ + "cockroach-operator-webhook-ca", + "type" + ] + }, + "root['default-token-7btwd'][data][ca.crt]": { + "prev": "NotPresent", + "curr": "-----BEGIN CERTIFICATE-----\nMIIC/jCCAeagAwIBAgIBADANBgkqhkiG9w0BAQsFADAVMRMwEQYDVQQDEwprdWJl\ncm5ldGVzMB4XDTIzMDUwNDIwMjkxMFoXDTMzMDUwMTIwMjkxMFowFTETMBEGA1UE\nAxMKa3ViZXJuZXRlczCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAOZZ\nNBiE5imKYNYWQsDL7HJDSm2L+ocFPlh1vTf2uGhktpKbD6ITd2HvJBGnbznEq573\nFR+8KpXqozRTEFDZo+OIs8y6IcVIJSHTD/LhbHE9xP2QFWIEaIHrbFwktet5wuL+\nkfJbYqdompXlzSaORjo0fG6KXA/5UBoeylU4zFRpcP/QSHa2blKko/IBWpuL4OEM\n1NeiOaMGea9kUivd06JFKucvv79dmKL03PA4LF13IDYFAE0YMXpq/Kp7cWXg7oKP\naPEP84rxtVddY3pDEdPR8GhbV/zIfJjjmaV3hqjbbW8sXc/MKMddx+XPZTjYGbgy\n3egJodTUokl3mL4zhQ0CAwEAAaNZMFcwDgYDVR0PAQH/BAQDAgKkMA8GA1UdEwEB\n/wQFMAMBAf8wHQYDVR0OBBYEFHQXllc6/knTcwTAgSM2L8Y9CaKmMBUGA1UdEQQO\nMAyCCmt1YmVybmV0ZXMwDQYJKoZIhvcNAQELBQADggEBAEV0ciRGe77TLxzcTZpA\npid2iF9nHg5alCebrfGZ3gnH6KhKM/otOSoA58JCzEaJxS1cUQOnVIP6i4t7WYVz\nkwEjw+8Bp3vvUpZJDaj/XTgOuztoOpbM6xX7wKHztRdI76I7gH/HPjfIrgiUM7Yo\nSNKCwpZf8tUpWUWfEBDNCtvN4OO3v2A2fREnz1ux61qtKTdR+T/aCvD7GLNB0mbu\nWBTupnmNaAEs/bB87w3OJ4PbvvCGdwm+bX+Q3iDdwqIiu78ZB8NI5RYAYB+CN7Nt\nm2tXdv3t0L7lMcG4eolqa3RXA6g515um0FzDqabtuw5+oak8rs1XfTk87uwhqxUl\nGew=\n-----END CERTIFICATE-----\n", + "path": [ + "default-token-7btwd", + "data", + "ca.crt" + ] + }, + "root['default-token-7btwd'][data][namespace]": { + "prev": "NotPresent", + "curr": "cockroach-operator-system", + "path": [ + "default-token-7btwd", + "data", + "namespace" + ] + }, + "root['default-token-7btwd'][data][token]": { + "prev": "NotPresent", + "curr": "eyJhbGciOiJSUzI1NiIsImtpZCI6IkNWQ0M5T09aTUNGcmVrSURjZ2JIeXJ3cFhMOFVDNU9hZnp6aXNLeTJrcEkifQ.eyJpc3MiOiJrdWJlcm5ldGVzL3NlcnZpY2VhY2NvdW50Iiwia3ViZXJuZXRlcy5pby9zZXJ2aWNlYWNjb3VudC9uYW1lc3BhY2UiOiJjb2Nrcm9hY2gtb3BlcmF0b3Itc3lzdGVtIiwia3ViZXJuZXRlcy5pby9zZXJ2aWNlYWNjb3VudC9zZWNyZXQubmFtZSI6ImRlZmF1bHQtdG9rZW4tN2J0d2QiLCJrdWJlcm5ldGVzLmlvL3NlcnZpY2VhY2NvdW50L3NlcnZpY2UtYWNjb3VudC5uYW1lIjoiZGVmYXVsdCIsImt1YmVybmV0ZXMuaW8vc2VydmljZWFjY291bnQvc2VydmljZS1hY2NvdW50LnVpZCI6ImJlMGM0NTAzLTBmYzItNDc0Ni1iZWY2LWY0MDY3YjBlYjMxZiIsInN1YiI6InN5c3RlbTpzZXJ2aWNlYWNjb3VudDpjb2Nrcm9hY2gtb3BlcmF0b3Itc3lzdGVtOmRlZmF1bHQifQ.Fd6TbX4C-zakYblFasXmJBHIMaKrK7t3AgTzh0SOnEkjv-bmxuj4r1DGwNlo_5QGXRrVel9yvrYpFjAS-9wQTXpPM2761xz2AXTWiircZqCMpFsxJrAY-oxnctb_7XvVK5Wfs5LrIRFDvsxYyBmVA70QYRrAL4J_YJsZW_-6RsbH0hU5dQUk5dyFqQfjXh_NO3gPvoUqfZ7Eh0wdKxsT9qGjXCGF9106ZBBPZA1sPtMjJzc8ujDy2VrtuOi0hIe-3kPI3826Ny1TaBh7-S0Qr-L88gLzD6AWtlpoaEK86-IeEnJguM3zUZPOBi9QSAESGMxYXyBWWh-S4tevjAMLRg", + "path": [ + "default-token-7btwd", + "data", + "token" + ] + }, + "root['default-token-7btwd'][metadata][annotations][kubernetes.io/service-account.name]": { + "prev": "NotPresent", + "curr": "default", + "path": [ + "default-token-7btwd", + "metadata", + "annotations", + "kubernetes.io/service-account.name" + ] + }, + "root['default-token-7btwd'][metadata][annotations][kubernetes.io/service-account.uid]": { + "prev": "NotPresent", + "curr": "be0c4503-0fc2-4746-bef6-f4067b0eb31f", + "path": [ + "default-token-7btwd", + "metadata", + "annotations", + "kubernetes.io/service-account.uid" + ] + }, + "root['default-token-7btwd'][metadata][creation_timestamp]": { + "prev": "NotPresent", + "curr": "2023-05-04T20:30:11+00:00", + "path": [ + "default-token-7btwd", + "metadata", + "creation_timestamp" + ] + }, + "root['default-token-7btwd'][metadata][managed_fields][0][api_version]": { + "prev": "NotPresent", + "curr": "v1", + "path": [ + "default-token-7btwd", + "metadata", + "managed_fields", + 0, + "api_version" + ] + }, + "root['default-token-7btwd'][metadata][managed_fields][0][fields_type]": { + "prev": "NotPresent", + "curr": "FieldsV1", + "path": [ + "default-token-7btwd", + "metadata", + "managed_fields", + 0, + "fields_type" + ] + }, + "root['default-token-7btwd'][metadata][managed_fields][0][manager]": { + "prev": "NotPresent", + "curr": "kube-controller-manager", + "path": [ + "default-token-7btwd", + "metadata", + "managed_fields", + 0, + "manager" + ] + }, + "root['default-token-7btwd'][metadata][managed_fields][0][operation]": { + "prev": "NotPresent", + "curr": "Update", + "path": [ + "default-token-7btwd", + "metadata", + "managed_fields", + 0, + "operation" + ] + }, + "root['default-token-7btwd'][metadata][managed_fields][0][time]": { + "prev": "NotPresent", + "curr": "2023-05-04T20:30:11+00:00", + "path": [ + "default-token-7btwd", + "metadata", + "managed_fields", + 0, + "time" + ] + }, + "root['default-token-7btwd'][metadata][name]": { + "prev": "NotPresent", + "curr": "default-token-7btwd", + "path": [ + "default-token-7btwd", + "metadata", + "name" + ] + }, + "root['default-token-7btwd'][metadata][namespace]": { + "prev": "NotPresent", + "curr": "cockroach-operator-system", + "path": [ + "default-token-7btwd", + "metadata", + "namespace" + ] + }, + "root['default-token-7btwd'][metadata][resource_version]": { + "prev": "NotPresent", + "curr": "671", + "path": [ + "default-token-7btwd", + "metadata", + "resource_version" + ] + }, + "root['default-token-7btwd'][metadata][uid]": { + "prev": "NotPresent", + "curr": "9814d748-cd5f-4ab2-9350-4e6c9eeebd03", + "path": [ + "default-token-7btwd", + "metadata", + "uid" + ] + }, + "root['default-token-7btwd'][type]": { + "prev": "NotPresent", + "curr": "kubernetes.io/service-account-token", + "path": [ + "default-token-7btwd", + "type" + ] + }, + "root['test-cluster-ca'][data][ca.key]": { + "prev": "NotPresent", + "curr": "-----BEGIN RSA PRIVATE KEY-----\nMIIEowIBAAKCAQEAugozAMz1QFpWfE11F38g3JMPU6eKGYQtXXyq8K5fM6UDfKwE\notCy+0N/V7hufscWF4FoP4NiJL4IR/U8dedXV0GyA8FWvgNFmagc7cqWVqZF1BM9\nBaQGXqX3mucexGZS16FAIKZ3XC6r2ZYuJU/6hBYaejpVWPyQb0dBFeP9g1Xs/SZG\nFwQQfeIiqtrPpEpoPsjEIo3CePKL+XD+LhCwHKLiE5PcXP8mgj7AvghPrJm9T3al\nLcigbqESPdaSEWANW1SCuOyMOWNxo2oXtnpy7tf32u2PPt8/4jjNYSSTMhXFirK2\n+Cjcu8P5qVwYUwEOtqKgFFDm0RQiv3+aka8NgwIDAQABAoIBAHYDZEk8utLAu54M\ncJugHFNvwkg5vkPjcfeczr7wjhmvsp+SazpxEyiKr6wQpZ8sYVo1z9CCYm6WUaB7\n84eDYgdK+EajjYfpgWwwlXFOksGSpjcaoRoD67p8o64SsJS7qA97DbfogUzrmj3j\no5AtxOenMdKZUGyrgl/knmfpgXaepV4Rhh6FRNFFjxAPP5ixPLREQSnsdRSVdV8m\nqDUTAF1S5Y69EYsdb3D7bxbUUS30WCe7qvH52ZbGmXJjXvEGfnwKtmPHHPVNin9O\nnjKofROIiM+Kbq9ckd0dEYtyKK0Jymntz2cf9/5nPagyk8cxj0Twb+WKLltF9Hpa\nvd07ZekCgYEA2KcMBN3skvgH2D1+hhXzbEMhObZ5+hBWDXQWtGg0XqTDj02bidTS\nQ8dxLrd0M6F4V7uKKkAwKuNKMvPINih61G1KU5+/vI990MsZcVr9AOtg46UINSQY\nrfP6ItLajJQ96NdZuzTjfMvQe+9MUz5VbrxYs+lBXBrTUcMUyOv+n10CgYEA29Pb\n004kneQtHJWbMq4UDWHJ56zqYKLsOes1mowGXhCwn3vbRJh5q6hUizHtYTZ9omq1\n3LLIgvCdwPfYBr6NJ+soHVYKzyf5ylGpKNi2MQeZdlRCPEiOwpeEpWRyzWWNLuQa\noIjkcYQCRQKnq/IimQW87WsbovCzlndTklz88l8CgYAw882ra9mAe7qKCZsFAQC3\nfZOMTsbQ0dAfyhM3QDRVDjWBs69pPUUlO3M/cwQ2hk2CxUU6trYrep/RU3PxiMP4\nK5mXu4i/OkzbWIivLDfudUC3LxrjpvxMkcv7AlmPWg+DBOWpfxHHqOW6mx9Lz9HN\n65C/Vf0GqqkE2Gdh3rDxoQKBgQCc8uMFN8qO7GWE/g+jnIP2lfX4sg1Y15m/NH6+\nC/FT4aipBV4k2JQuCe3qv8fS23vRpUyY+RCN5EtNhea30f6oHI40e8UV6F3ApJMY\n9bkGwn0/7aKotckvh8yN5WzN1w55ByU3ruUjYvPX37Bk5GjtRhqAjDNcH2ypJiMF\n4dw7EwKBgEqIZZe8h/ADZzKtJEsJJysz8kg/tY04eWqiog6p4+SyJoFkfQ6LVPFZ\nTWzx2l0uFYrSymbvKKA0UBPN/Mka7TEOZidx+MK++ul3L8R7fnF2i/z7J52uxc4x\nUOHbNT2/FZOqLZ5txaYRrdkZn9GuUSyvUY9ptmfnAGWjmtl5XZsQ\n-----END RSA PRIVATE KEY-----\n", + "path": [ + "test-cluster-ca", + "data", + "ca.key" + ] + }, + "root['test-cluster-ca'][metadata][creation_timestamp]": { + "prev": "NotPresent", + "curr": "2023-05-04T20:30:57+00:00", + "path": [ + "test-cluster-ca", + "metadata", + "creation_timestamp" + ] + }, + "root['test-cluster-ca'][metadata][managed_fields][0][api_version]": { + "prev": "NotPresent", + "curr": "v1", + "path": [ + "test-cluster-ca", + "metadata", + "managed_fields", + 0, + "api_version" + ] + }, + "root['test-cluster-ca'][metadata][managed_fields][0][fields_type]": { + "prev": "NotPresent", + "curr": "FieldsV1", + "path": [ + "test-cluster-ca", + "metadata", + "managed_fields", + 0, + "fields_type" + ] + }, + "root['test-cluster-ca'][metadata][managed_fields][0][manager]": { + "prev": "NotPresent", + "curr": "cockroach-operator", + "path": [ + "test-cluster-ca", + "metadata", + "managed_fields", + 0, + "manager" + ] + }, + "root['test-cluster-ca'][metadata][managed_fields][0][operation]": { + "prev": "NotPresent", + "curr": "Update", + "path": [ + "test-cluster-ca", + "metadata", + "managed_fields", + 0, + "operation" + ] + }, + "root['test-cluster-ca'][metadata][managed_fields][0][time]": { + "prev": "NotPresent", + "curr": "2023-05-04T20:30:57+00:00", + "path": [ + "test-cluster-ca", + "metadata", + "managed_fields", + 0, + "time" + ] + }, + "root['test-cluster-ca'][metadata][name]": { + "prev": "NotPresent", + "curr": "test-cluster-ca", + "path": [ + "test-cluster-ca", + "metadata", + "name" + ] + }, + "root['test-cluster-ca'][metadata][namespace]": { + "prev": "NotPresent", + "curr": "cockroach-operator-system", + "path": [ + "test-cluster-ca", + "metadata", + "namespace" + ] + }, + "root['test-cluster-ca'][metadata][resource_version]": { + "prev": "NotPresent", + "curr": "853", + "path": [ + "test-cluster-ca", + "metadata", + "resource_version" + ] + }, + "root['test-cluster-ca'][metadata][uid]": { + "prev": "NotPresent", + "curr": "40b99663-90a3-4837-a403-1b14d332aae6", + "path": [ + "test-cluster-ca", + "metadata", + "uid" + ] + }, + "root['test-cluster-ca'][type]": { + "prev": "NotPresent", + "curr": "Opaque", + "path": [ + "test-cluster-ca", + "type" + ] + }, + "root['test-cluster-node'][data][ca.crt]": { + "prev": "NotPresent", + "curr": "-----BEGIN CERTIFICATE-----\nMIIDJTCCA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Md+tin2uSZbO+SFguGfj6wPAj6U=\n-----END CERTIFICATE-----\n", + "path": [ + "test-cluster-node", + "data", + "ca.crt" + ] + }, + "root['test-cluster-node'][data][tls.crt]": { + "prev": "NotPresent", + "curr": "-----BEGIN CERTIFICATE-----\nMIIESzCCAzOgAwIBAgIQCJ/GNakhXrOQZdSJHQihGDANBgkqhkiG9w0BAQsFADAr\nMRIwEAYDVQQKEwlDb2Nrcm9hY2gxFTATBgNVBAMTDENvY2tyb2FjaCBDQTAeFw0y\nMzA1MDMyMDMwNTdaFw0yODA1MDcyMDMwNTdaMCMxEjAQBgNVBAoTCUNvY2tyb2Fj\naDENMAsGA1UEAxMEbm9kZTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEB\nAOZlT6W25QQCCFyvgWJEXAeeX5Hq+kHqBY0RNhdyAokl72vCvUrTW9q+aw22BGDy\nraRFh03IRnTJ4aF+qlpU+nkGolrgrTUI0chis4O21iHy3lj2bZnzT+HC75HX2osZ\nt83VBLKI9L7dTW0YEi/t+aLwQ2bSjnciV46uSELtbB5npO3Ym6ysvQ4ww0OF+n6R\n++K0txx7uuzphIZzm/+XKcZ7P+ljK63Or9Zpz7DykPqcimqql+cY1Ix31ecGY2NL\nD82851IZzLU1W5ivyCdwewt6sbsLcZud6TzuZG/RoIVFDz0Mn4XOC9tO3bYHgo30\n3JrGU7iqt9KJoIz1i2bZ5zMCAwEAAaOCAXEwggFtMA4GA1UdDwEB/wQEAwIFoDAd\nBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwHwYDVR0jBBgwFoAUndwRwgwz\nXigcHh4e4uJNOFdFFNgwggEZBgNVHREEggEQMIIBDIIJbG9jYWxob3N0ghN0ZXN0\nLWNsdXN0ZXItcHVibGljgi10ZXN0LWNsdXN0ZXItcHVibGljLmNvY2tyb2FjaC1v\ncGVyYXRvci1zeXN0ZW2CP3Rlc3QtY2x1c3Rlci1wdWJsaWMuY29ja3JvYWNoLW9w\nZXJhdG9yLXN5c3RlbS5zdmMuY2x1c3Rlci5sb2NhbIIOKi50ZXN0LWNsdXN0ZXKC\nKCoudGVzdC1jbHVzdGVyLmNvY2tyb2FjaC1vcGVyYXRvci1zeXN0ZW2COioudGVz\ndC1jbHVzdGVyLmNvY2tyb2FjaC1vcGVyYXRvci1zeXN0ZW0uc3ZjLmNsdXN0ZXIu\nbG9jYWyHBH8AAAEwDQYJKoZIhvcNAQELBQADggEBAJG548C33v7o8BqimSDuuWA9\n+Y07K4Kg5JukLLzPUjdBJApPSVLp/H42qKecYumjWyn2HWS6eyHyhVnzXsyLYFk+\nBsf+ZjryukyCYaMFdFU02XJ2vrxvyKfh3KYjze0vF7O6I2aLLQyUtRVyUMi6lp27\nergi52a4vcBqgNsfMXNchOr8UI7GLbrSjecmLbQBklH6wiv+APhRFOnqpT3Wgm0b\nJMdXr4ziIlVXAzeEsB0ezm3CVZIeOR2LTvOKD0SjzP1aFm/8XEj2ipNVEsekExnC\nmZTETVFcDZlk0btVKp/T4nKWCLZNOTVddFKC9WV2lF9GFN2XTmPej+IrZOGQEAQ=\n-----END CERTIFICATE-----\n", + "path": [ + "test-cluster-node", + "data", + "tls.crt" + ] + }, + "root['test-cluster-node'][data][tls.key]": { + "prev": "NotPresent", + "curr": "-----BEGIN RSA PRIVATE KEY-----\nMIIEogIBAAKCAQEA5mVPpbblBAIIXK+BYkRcB55fker6QeoFjRE2F3ICiSXva8K9\nStNb2r5rDbYEYPKtpEWHTchGdMnhoX6qWlT6eQaiWuCtNQjRyGKzg7bWIfLeWPZt\nmfNP4cLvkdfaixm3zdUEsoj0vt1NbRgSL+35ovBDZtKOdyJXjq5IQu1sHmek7dib\nrKy9DjDDQ4X6fpH74rS3HHu67OmEhnOb/5cpxns/6WMrrc6v1mnPsPKQ+pyKaqqX\n5xjUjHfV5wZjY0sPzbznUhnMtTVbmK/IJ3B7C3qxuwtxm53pPO5kb9GghUUPPQyf\nhc4L207dtgeCjfTcmsZTuKq30omgjPWLZtnnM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n2JFNAoGAVC7TEjSnWR+gYmQ3n2B6gVq2qhbTXjFwjTwZPa3+Hq7YRIoh293IOGye\neimGFfWNmVK8QfechqaykH0oiAXeodtk4nBLdltPjveCVUma4oc97lIxeMt0jU5i\ngTaO+9N+FUx80fBJ0k+GRk8yADQDZs8Q5GGmK1g4maMJqTMjbVQ=\n-----END RSA PRIVATE KEY-----\n", + "path": [ + "test-cluster-node", + "data", + "tls.key" + ] + }, + "root['test-cluster-node'][metadata][creation_timestamp]": { + "prev": "NotPresent", + "curr": "2023-05-04T20:30:57+00:00", + "path": [ + "test-cluster-node", + "metadata", + "creation_timestamp" + ] + }, + "root['test-cluster-node'][metadata][managed_fields][0][api_version]": { + "prev": "NotPresent", + "curr": "v1", + "path": [ + "test-cluster-node", + "metadata", + "managed_fields", + 0, + "api_version" + ] + }, + "root['test-cluster-node'][metadata][managed_fields][0][fields_type]": { + "prev": "NotPresent", + "curr": "FieldsV1", + "path": [ + "test-cluster-node", + "metadata", + "managed_fields", + 0, + "fields_type" + ] + }, + "root['test-cluster-node'][metadata][managed_fields][0][manager]": { + "prev": "NotPresent", + "curr": "cockroach-operator", + "path": [ + "test-cluster-node", + "metadata", + "managed_fields", + 0, + "manager" + ] + }, + "root['test-cluster-node'][metadata][managed_fields][0][operation]": { + "prev": "NotPresent", + "curr": "Update", + "path": [ + "test-cluster-node", + "metadata", + "managed_fields", + 0, + "operation" + ] + }, + "root['test-cluster-node'][metadata][managed_fields][0][time]": { + "prev": "NotPresent", + "curr": "2023-05-04T20:30:57+00:00", + "path": [ + "test-cluster-node", + "metadata", + "managed_fields", + 0, + "time" + ] + }, + "root['test-cluster-node'][metadata][name]": { + "prev": "NotPresent", + "curr": "test-cluster-node", + "path": [ + "test-cluster-node", + "metadata", + "name" + ] + }, + "root['test-cluster-node'][metadata][namespace]": { + "prev": "NotPresent", + "curr": "cockroach-operator-system", + "path": [ + "test-cluster-node", + "metadata", + "namespace" + ] + }, + "root['test-cluster-node'][metadata][resource_version]": { + "prev": "NotPresent", + "curr": "854", + "path": [ + "test-cluster-node", + "metadata", + "resource_version" + ] + }, + "root['test-cluster-node'][metadata][uid]": { + "prev": "NotPresent", + "curr": "2d1a5516-2887-49f6-b95c-400844c8b286", + "path": [ + "test-cluster-node", + "metadata", + "uid" + ] + }, + "root['test-cluster-node'][type]": { + "prev": "NotPresent", + "curr": "Opaque", + "path": [ + "test-cluster-node", + "type" + ] + }, + "root['test-cluster-root'][data][ca.crt]": { + "prev": "NotPresent", + "curr": "-----BEGIN CERTIFICATE-----\nMIIDJTCCAg2gAwIBAgIQBBA8zpKchJyZpBYQzn5SqTANBgkqhkiG9w0BAQsFADAr\nMRIwEAYDVQQKEwlDb2Nrcm9hY2gxFTATBgNVBAMTDENvY2tyb2FjaCBDQTAeFw0y\nMzA1MDMyMDMwNTdaFw0zMzA1MTEyMDMwNTdaMCsxEjAQBgNVBAoTCUNvY2tyb2Fj\naDEVMBMGA1UEAxMMQ29ja3JvYWNoIENBMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8A\nMIIBCgKCAQEAugozAMz1QFpWfE11F38g3JMPU6eKGYQtXXyq8K5fM6UDfKwEotCy\n+0N/V7hufscWF4FoP4NiJL4IR/U8dedXV0GyA8FWvgNFmagc7cqWVqZF1BM9BaQG\nXqX3mucexGZS16FAIKZ3XC6r2ZYuJU/6hBYaejpVWPyQb0dBFeP9g1Xs/SZGFwQQ\nfeIiqtrPpEpoPsjEIo3CePKL+XD+LhCwHKLiE5PcXP8mgj7AvghPrJm9T3alLcig\nbqESPdaSEWANW1SCuOyMOWNxo2oXtnpy7tf32u2PPt8/4jjNYSSTMhXFirK2+Cjc\nu8P5qVwYUwEOtqKgFFDm0RQiv3+aka8NgwIDAQABo0UwQzAOBgNVHQ8BAf8EBAMC\nAuQwEgYDVR0TAQH/BAgwBgEB/wIBATAdBgNVHQ4EFgQUndwRwgwzXigcHh4e4uJN\nOFdFFNgwDQYJKoZIhvcNAQELBQADggEBAGQqoUMP12xChUk1aRK4uNas00RTUT9t\nRRUCtZz27VivAGdGTHVxi1okZAoWxbDARTzcS0UesKZJq5Ub2p5xFCMyL7Kj0et3\nsXBGfQN134lbK5HWzIEALC7qmaXTopXbXMaGitGBxWyyKtdEzwD+RyOB4Ng4t9/p\nt0at9IzjeWaY2sK/Qbf92besvnomABm8ZAHoEabMSI3h79VBb6WaKpSWxp17QWor\n2bLIceefSzSNt2Vp7Zai8BFZn84w6z4AXtlKExU7xr+XxJ2VFmmB0BwnNa4I3U9T\npuVq9USJmTxcVk2jc0LuNIeNQAHaMd+tin2uSZbO+SFguGfj6wPAj6U=\n-----END CERTIFICATE-----\n", + "path": [ + "test-cluster-root", + "data", + "ca.crt" + ] + }, + "root['test-cluster-root'][data][tls.crt]": { + "prev": "NotPresent", + "curr": "-----BEGIN CERTIFICATE-----\nMIIDITCCAgmgAwIBAgIRAOUqQctOIq04GzUq2pZ3D6QwDQYJKoZIhvcNAQELBQAw\nKzESMBAGA1UEChMJQ29ja3JvYWNoMRUwEwYDVQQDEwxDb2Nrcm9hY2ggQ0EwHhcN\nMjMwNTAzMjAzMDU3WhcNMjgwNTA3MjAzMDU3WjAjMRIwEAYDVQQKEwlDb2Nrcm9h\nY2gxDTALBgNVBAMTBHJvb3QwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIB\nAQDpXUePt1OrRKRWPyhOicIOwMulwgRTzvYAIEobh3ft9Zk7atMKIKMjc7/liOSQ\ntZuJ+foz7+aibWTZ+47mVPEF6Z23nTIqtCMTIc3D8jnqxFdp/vRJl49RKiPhJVB1\nbjYRewuwxtAshh4vtBUUiPSZNqv4WKB7RGTjtrG8ZAqjjdsmRyXqR6P5VI7p2t9x\n8BYCxqUPM8FKW3Kgge0gWV9uiADLk5va0V5SS5VVtjl9pce2gLXkDG+4V/+OoI5M\neP2CtTQ5Bp/dAaSIPOikS9TTX1zuKPEQyGumd1MQhOS8/Jq4o7YtkVYxwBreOrzw\ngjOYl3XhTOZXahl+w5zPh0tvAgMBAAGjSDBGMA4GA1UdDwEB/wQEAwIFoDATBgNV\nHSUEDDAKBggrBgEFBQcDAjAfBgNVHSMEGDAWgBSd3BHCDDNeKBweHh7i4k04V0UU\n2DANBgkqhkiG9w0BAQsFAAOCAQEAYM8oiKwX/iQSpj893MO/3QhQiF15k+/rrq93\nFsWGi6XURsvdnDD8k8qioy+hzVKwF4H+DJgJifxDcCxYavXyQnwH1GrXzu7NhuA0\nspxfxXFcBAa2gvdvXiUaCx5MNUdi1mR2Os34syNCN1twTRapSrmXt18vaP2G92qk\nu/aDXyy8tBWWqA5gXhv+1LDiblZ2Svspi3naYnJGZfPhh2LtTKtDslBPmRfejEDt\npHm33FYXf9AivuYv1gA+2ggXSkKkIwHXLaXwFWCVsmhnRAkNCO6ZIucDVyLs8Uxg\nZgeZKXUgMyTZCCkt1YzrVnAOM5+AMIsWxIXy4HBxXPRscqWL1A==\n-----END CERTIFICATE-----\n", + "path": [ + "test-cluster-root", + "data", + "tls.crt" + ] + }, + "root['test-cluster-root'][data][tls.key]": { + "prev": "NotPresent", + "curr": "-----BEGIN RSA PRIVATE KEY-----\nMIIEpAIBAAKCAQEA6V1Hj7dTq0SkVj8oTonCDsDLpcIEU872ACBKG4d37fWZO2rT\nCiCjI3O/5YjkkLWbifn6M+/mom1k2fuO5lTxBemdt50yKrQjEyHNw/I56sRXaf70\nSZePUSoj4SVQdW42EXsLsMbQLIYeL7QVFIj0mTar+Fige0Rk47axvGQKo43bJkcl\n6kej+VSO6drfcfAWAsalDzPBSltyoIHtIFlfbogAy5Ob2tFeUkuVVbY5faXHtoC1\n5AxvuFf/jqCOTHj9grU0OQaf3QGkiDzopEvU019c7ijxEMhrpndTEITkvPyauKO2\nLZFWMcAa3jq88IIzmJd14UzmV2oZfsOcz4dLbwIDAQABAoIBAAH1XHJiUXtwegiX\nQxlVoqFJEOx1MmAZrorVuol8m48NrpmHDfpZx8S2ZffhLDnirEl+JZFmBAN884m4\nyLw6HkO0cDRoR1GAbYL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VSry9FBaXjM+Z/Tt2qDV6i\nTZR/zbtD3/EApnhy+2lNBECGpuUo2bjtuFb/H+subGCx4AwUjOkr8A==\n-----END RSA PRIVATE KEY-----\n", + "path": [ + "test-cluster-root", + "data", + "tls.key" + ] + }, + "root['test-cluster-root'][metadata][creation_timestamp]": { + "prev": "NotPresent", + "curr": "2023-05-04T20:30:57+00:00", + "path": [ + "test-cluster-root", + "metadata", + "creation_timestamp" + ] + }, + "root['test-cluster-root'][metadata][managed_fields][0][api_version]": { + "prev": "NotPresent", + "curr": "v1", + "path": [ + "test-cluster-root", + "metadata", + "managed_fields", + 0, + "api_version" + ] + }, + "root['test-cluster-root'][metadata][managed_fields][0][fields_type]": { + "prev": "NotPresent", + "curr": "FieldsV1", + "path": [ + "test-cluster-root", + "metadata", + "managed_fields", + 0, + "fields_type" + ] + }, + "root['test-cluster-root'][metadata][managed_fields][0][manager]": { + "prev": "NotPresent", + "curr": "cockroach-operator", + "path": [ + "test-cluster-root", + "metadata", + "managed_fields", + 0, + "manager" + ] + }, + "root['test-cluster-root'][metadata][managed_fields][0][operation]": { + "prev": "NotPresent", + "curr": "Update", + "path": [ + "test-cluster-root", + "metadata", + "managed_fields", + 0, + "operation" + ] + }, + "root['test-cluster-root'][metadata][managed_fields][0][time]": { + "prev": "NotPresent", + "curr": "2023-05-04T20:30:57+00:00", + "path": [ + "test-cluster-root", + "metadata", + "managed_fields", + 0, + "time" + ] + }, + "root['test-cluster-root'][metadata][name]": { + "prev": "NotPresent", + "curr": "test-cluster-root", + "path": [ + "test-cluster-root", + "metadata", + "name" + ] + }, + "root['test-cluster-root'][metadata][namespace]": { + "prev": "NotPresent", + "curr": "cockroach-operator-system", + "path": [ + "test-cluster-root", + "metadata", + "namespace" + ] + }, + "root['test-cluster-root'][metadata][resource_version]": { + "prev": "NotPresent", + "curr": "855", + "path": [ + "test-cluster-root", + "metadata", + "resource_version" + ] + }, + "root['test-cluster-root'][metadata][uid]": { + "prev": "NotPresent", + "curr": "76c509d6-5649-4fc6-9335-ef802eeeab2f", + "path": [ + "test-cluster-root", + "metadata", + "uid" + ] + }, + "root['test-cluster-root'][type]": { + "prev": "NotPresent", + "curr": "Opaque", + "path": [ + "test-cluster-root", + "type" + ] + }, + "root['test-cluster-sa-token-828tt'][data][ca.crt]": { + "prev": "NotPresent", + "curr": "-----BEGIN CERTIFICATE-----\nMIIC/jCCAeagAwIBAgIBADANBgkqhkiG9w0BAQsFADAVMRMwEQYDVQQDEwprdWJl\ncm5ldGVzMB4XDTIzMDUwNDIwMjkxMFoXDTMzMDUwMTIwMjkxMFowFTETMBEGA1UE\nAxMKa3ViZXJuZXRlczCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAOZZ\nNBiE5imKYNYWQsDL7HJDSm2L+ocFPlh1vTf2uGhktpKbD6ITd2HvJBGnbznEq573\nFR+8KpXqozRTEFDZo+OIs8y6IcVIJSHTD/LhbHE9xP2QFWIEaIHrbFwktet5wuL+\nkfJbYqdompXlzSaORjo0fG6KXA/5UBoeylU4zFRpcP/QSHa2blKko/IBWpuL4OEM\n1NeiOaMGea9kUivd06JFKucvv79dmKL03PA4LF13IDYFAE0YMXpq/Kp7cWXg7oKP\naPEP84rxtVddY3pDEdPR8GhbV/zIfJjjmaV3hqjbbW8sXc/MKMddx+XPZTjYGbgy\n3egJodTUokl3mL4zhQ0CAwEAAaNZMFcwDgYDVR0PAQH/BAQDAgKkMA8GA1UdEwEB\n/wQFMAMBAf8wHQYDVR0OBBYEFHQXllc6/knTcwTAgSM2L8Y9CaKmMBUGA1UdEQQO\nMAyCCmt1YmVybmV0ZXMwDQYJKoZIhvcNAQELBQADggEBAEV0ciRGe77TLxzcTZpA\npid2iF9nHg5alCebrfGZ3gnH6KhKM/otOSoA58JCzEaJxS1cUQOnVIP6i4t7WYVz\nkwEjw+8Bp3vvUpZJDaj/XTgOuztoOpbM6xX7wKHztRdI76I7gH/HPjfIrgiUM7Yo\nSNKCwpZf8tUpWUWfEBDNCtvN4OO3v2A2fREnz1ux61qtKTdR+T/aCvD7GLNB0mbu\nWBTupnmNaAEs/bB87w3OJ4PbvvCGdwm+bX+Q3iDdwqIiu78ZB8NI5RYAYB+CN7Nt\nm2tXdv3t0L7lMcG4eolqa3RXA6g515um0FzDqabtuw5+oak8rs1XfTk87uwhqxUl\nGew=\n-----END CERTIFICATE-----\n", + "path": [ + "test-cluster-sa-token-828tt", + "data", + "ca.crt" + ] + }, + "root['test-cluster-sa-token-828tt'][data][namespace]": { + "prev": "NotPresent", + "curr": "cockroach-operator-system", + "path": [ + "test-cluster-sa-token-828tt", + "data", + "namespace" + ] + }, + "root['test-cluster-sa-token-828tt'][data][token]": { + "prev": "NotPresent", + "curr": "eyJhbGciOiJSUzI1NiIsImtpZCI6IkNWQ0M5T09aTUNGcmVrSURjZ2JIeXJ3cFhMOFVDNU9hZnp6aXNLeTJrcEkifQ.eyJpc3MiOiJrdWJlcm5ldGVzL3NlcnZpY2VhY2NvdW50Iiwia3ViZXJuZXRlcy5pby9zZXJ2aWNlYWNjb3VudC9uYW1lc3BhY2UiOiJjb2Nrcm9hY2gtb3BlcmF0b3Itc3lzdGVtIiwia3ViZXJuZXRlcy5pby9zZXJ2aWNlYWNjb3VudC9zZWNyZXQubmFtZSI6InRlc3QtY2x1c3Rlci1zYS10b2tlbi04Mjh0dCIsImt1YmVybmV0ZXMuaW8vc2VydmljZWFjY291bnQvc2VydmljZS1hY2NvdW50Lm5hbWUiOiJ0ZXN0LWNsdXN0ZXItc2EiLCJrdWJlcm5ldGVzLmlvL3NlcnZpY2VhY2NvdW50L3NlcnZpY2UtYWNjb3VudC51aWQiOiJjNGNlODMyYS1mYTBiLTRiZTQtYWVlOS01OWQ5YmU2ZWUxNjQiLCJzdWIiOiJzeXN0ZW06c2VydmljZWFjY291bnQ6Y29ja3JvYWNoLW9wZXJhdG9yLXN5c3RlbTp0ZXN0LWNsdXN0ZXItc2EifQ.mRb989ZkIHUP4lVKdLsdcRLZSYHkHvwjfX7wvgRNYDUzwi8tQ4eram14vdcfxkK0oyaQRWBKJPUBs0AuiIKvI21eCdFrELM5z3f2ZtvIqpJzPUIE9xHsVG8UG1Q7n5NI2g7FMpF39eO37ioiuOThuBtsIjffepayhbxB2oipGPpeE3VzG0K0DKEiLGDo7XtLQapibUkLprM2rEdummQbFOr9pDXuaD9zEWpViaL659iK2lpNrVmKmqgn1BB-GBIMJec9x0cRtc4pUHUmG8bIpUBzdGpy1Q97lfh6Vb9sXvikXHhGh7GBcX-DQyo2_0Rekq00cPgwsTn1ClN5jEr4ZA", + "path": [ + "test-cluster-sa-token-828tt", + "data", + "token" + ] + }, + "root['test-cluster-sa-token-828tt'][metadata][annotations][kubernetes.io/service-account.name]": { + "prev": "NotPresent", + "curr": "test-cluster-sa", + "path": [ + "test-cluster-sa-token-828tt", + "metadata", + "annotations", + "kubernetes.io/service-account.name" + ] + }, + "root['test-cluster-sa-token-828tt'][metadata][annotations][kubernetes.io/service-account.uid]": { + "prev": "NotPresent", + "curr": "c4ce832a-fa0b-4be4-aee9-59d9be6ee164", + "path": [ + "test-cluster-sa-token-828tt", + "metadata", + "annotations", + "kubernetes.io/service-account.uid" + ] + }, + "root['test-cluster-sa-token-828tt'][metadata][creation_timestamp]": { + "prev": "NotPresent", + "curr": "2023-05-04T20:30:56+00:00", + "path": [ + "test-cluster-sa-token-828tt", + "metadata", + "creation_timestamp" + ] + }, + "root['test-cluster-sa-token-828tt'][metadata][managed_fields][0][api_version]": { + "prev": "NotPresent", + "curr": "v1", + "path": [ + "test-cluster-sa-token-828tt", + "metadata", + "managed_fields", + 0, + "api_version" + ] + }, + "root['test-cluster-sa-token-828tt'][metadata][managed_fields][0][fields_type]": { + "prev": "NotPresent", + "curr": "FieldsV1", + "path": [ + "test-cluster-sa-token-828tt", + "metadata", + "managed_fields", + 0, + "fields_type" + ] + }, + "root['test-cluster-sa-token-828tt'][metadata][managed_fields][0][manager]": { + "prev": "NotPresent", + "curr": "kube-controller-manager", + "path": [ + "test-cluster-sa-token-828tt", + "metadata", + "managed_fields", + 0, + "manager" + ] + }, + "root['test-cluster-sa-token-828tt'][metadata][managed_fields][0][operation]": { + "prev": "NotPresent", + "curr": "Update", + "path": [ + "test-cluster-sa-token-828tt", + "metadata", + "managed_fields", + 0, + "operation" + ] + }, + "root['test-cluster-sa-token-828tt'][metadata][managed_fields][0][time]": { + "prev": "NotPresent", + "curr": "2023-05-04T20:30:56+00:00", + "path": [ + "test-cluster-sa-token-828tt", + "metadata", + "managed_fields", + 0, + "time" + ] + }, + "root['test-cluster-sa-token-828tt'][metadata][name]": { + "prev": "NotPresent", + "curr": "test-cluster-sa-token-828tt", + "path": [ + "test-cluster-sa-token-828tt", + "metadata", + "name" + ] + }, + "root['test-cluster-sa-token-828tt'][metadata][namespace]": { + "prev": "NotPresent", + "curr": "cockroach-operator-system", + "path": [ + "test-cluster-sa-token-828tt", + "metadata", + "namespace" + ] + }, + "root['test-cluster-sa-token-828tt'][metadata][resource_version]": { + "prev": "NotPresent", + "curr": "832", + "path": [ + "test-cluster-sa-token-828tt", + "metadata", + "resource_version" + ] + }, + "root['test-cluster-sa-token-828tt'][metadata][uid]": { + "prev": "NotPresent", + "curr": "09d10c26-892e-40cf-832e-e436c05a5ce9", + "path": [ + "test-cluster-sa-token-828tt", + "metadata", + "uid" + ] + }, + "root['test-cluster-sa-token-828tt'][type]": { + "prev": "NotPresent", + "curr": "kubernetes.io/service-account-token", + "path": [ + "test-cluster-sa-token-828tt", + "type" + ] + } + } + }, + "endpoints": { + "dictionary_item_added": { + "root['cockroach-operator-webhook-service'][metadata][creation_timestamp]": { + "prev": "NotPresent", + "curr": "2023-05-04T20:30:22+00:00", + "path": [ + "cockroach-operator-webhook-service", + "metadata", + "creation_timestamp" + ] + }, + "root['cockroach-operator-webhook-service'][metadata][labels][control-plane]": { + "prev": "NotPresent", + "curr": "cockroach-operator", + "path": [ + "cockroach-operator-webhook-service", + "metadata", + "labels", + "control-plane" + ] + }, + "root['cockroach-operator-webhook-service'][metadata][managed_fields][0][api_version]": { + "prev": "NotPresent", + "curr": "v1", + "path": [ + "cockroach-operator-webhook-service", + "metadata", + "managed_fields", + 0, + "api_version" + ] + }, + "root['cockroach-operator-webhook-service'][metadata][managed_fields][0][fields_type]": { + "prev": "NotPresent", + "curr": "FieldsV1", + "path": [ + "cockroach-operator-webhook-service", + "metadata", + "managed_fields", + 0, + "fields_type" + ] + }, + "root['cockroach-operator-webhook-service'][metadata][managed_fields][0][manager]": { + "prev": "NotPresent", + "curr": "kube-controller-manager", + "path": [ + "cockroach-operator-webhook-service", + "metadata", + "managed_fields", + 0, + "manager" + ] + }, + "root['cockroach-operator-webhook-service'][metadata][managed_fields][0][operation]": { + "prev": "NotPresent", + "curr": "Update", + "path": [ + "cockroach-operator-webhook-service", + "metadata", + "managed_fields", + 0, + "operation" + ] + }, + "root['cockroach-operator-webhook-service'][metadata][managed_fields][0][time]": { + "prev": "NotPresent", + "curr": "2023-05-04T20:30:52+00:00", + "path": [ + "cockroach-operator-webhook-service", + "metadata", + "managed_fields", + 0, + "time" + ] + }, + "root['cockroach-operator-webhook-service'][metadata][name]": { + "prev": "NotPresent", + "curr": "cockroach-operator-webhook-service", + "path": [ + "cockroach-operator-webhook-service", + "metadata", + "name" + ] + }, + "root['cockroach-operator-webhook-service'][metadata][namespace]": { + "prev": "NotPresent", + "curr": "cockroach-operator-system", + "path": [ + "cockroach-operator-webhook-service", + "metadata", + "namespace" + ] + }, + "root['cockroach-operator-webhook-service'][metadata][resource_version]": { + "prev": "NotPresent", + "curr": "809", + "path": [ + "cockroach-operator-webhook-service", + "metadata", + "resource_version" + ] + }, + "root['cockroach-operator-webhook-service'][metadata][uid]": { + "prev": "NotPresent", + "curr": "b6860b37-06ef-4aa7-868d-ae6e0e727231", + "path": [ + "cockroach-operator-webhook-service", + "metadata", + "uid" + ] + }, + "root['cockroach-operator-webhook-service'][subsets][0][addresses][0][ip]": { + "prev": "NotPresent", + "curr": "10.244.1.2", + "path": [ + "cockroach-operator-webhook-service", + "subsets", + 0, + "addresses", + 0, + "ip" + ] + }, + "root['cockroach-operator-webhook-service'][subsets][0][addresses][0][node_name]": { + "prev": "NotPresent", + "curr": "acto-cluster-0-worker3", + "path": [ + "cockroach-operator-webhook-service", + "subsets", + 0, + "addresses", + 0, + "node_name" + ] + }, + "root['cockroach-operator-webhook-service'][subsets][0][addresses][0][target_ref][kind]": { + "prev": "NotPresent", + "curr": "Pod", + "path": [ + "cockroach-operator-webhook-service", + "subsets", + 0, + "addresses", + 0, + "target_ref", + "kind" + ] + }, + "root['cockroach-operator-webhook-service'][subsets][0][addresses][0][target_ref][name]": { + "prev": "NotPresent", + "curr": "cockroach-operator-manager-64c489884-t4l82", + "path": [ + "cockroach-operator-webhook-service", + "subsets", + 0, + "addresses", + 0, + "target_ref", + "name" + ] + }, + "root['cockroach-operator-webhook-service'][subsets][0][addresses][0][target_ref][namespace]": { + "prev": "NotPresent", + "curr": "cockroach-operator-system", + "path": [ + "cockroach-operator-webhook-service", + "subsets", + 0, + "addresses", + 0, + "target_ref", + "namespace" + ] + }, + "root['cockroach-operator-webhook-service'][subsets][0][addresses][0][target_ref][resource_version]": { + "prev": "NotPresent", + "curr": "800", + "path": [ + "cockroach-operator-webhook-service", + "subsets", + 0, + "addresses", + 0, + "target_ref", + "resource_version" + ] + }, + "root['cockroach-operator-webhook-service'][subsets][0][addresses][0][target_ref][uid]": { + "prev": "NotPresent", + "curr": "2fa41549-7083-45b2-8a85-b2450b8b08b7", + "path": [ + "cockroach-operator-webhook-service", + "subsets", + 0, + "addresses", + 0, + "target_ref", + "uid" + ] + }, + "root['cockroach-operator-webhook-service'][subsets][0][ports][0][port]": { + "prev": "NotPresent", + "curr": 9443, + "path": [ + "cockroach-operator-webhook-service", + "subsets", + 0, + "ports", + 0, + "port" + ] + }, + "root['cockroach-operator-webhook-service'][subsets][0][ports][0][protocol]": { + "prev": "NotPresent", + "curr": "TCP", + "path": [ + "cockroach-operator-webhook-service", + "subsets", + 0, + "ports", + 0, + "protocol" + ] + }, + "root['test-cluster'][metadata][annotations][endpoints.kubernetes.io/last-change-trigger-time]": { + "prev": "NotPresent", + "curr": "2023-05-04T20:31:21Z", + "path": [ + "test-cluster", + "metadata", + "annotations", + "endpoints.kubernetes.io/last-change-trigger-time" + ] + }, + "root['test-cluster'][metadata][creation_timestamp]": { + "prev": "NotPresent", + "curr": "2023-05-04T20:30:57+00:00", + "path": [ + "test-cluster", + "metadata", + "creation_timestamp" + ] + }, + "root['test-cluster'][metadata][labels][app.kubernetes.io/component]": { + "prev": "NotPresent", + "curr": "database", + "path": [ + "test-cluster", + "metadata", + "labels", + "app.kubernetes.io/component" + ] + }, + "root['test-cluster'][metadata][labels][app.kubernetes.io/instance]": { + "prev": "NotPresent", + "curr": "test-cluster", + "path": [ + "test-cluster", + "metadata", + "labels", + "app.kubernetes.io/instance" + ] + }, + "root['test-cluster'][metadata][labels][app.kubernetes.io/managed-by]": { + "prev": "NotPresent", + "curr": "cockroach-operator", + "path": [ + "test-cluster", + "metadata", + "labels", + "app.kubernetes.io/managed-by" + ] + }, + "root['test-cluster'][metadata][labels][app.kubernetes.io/name]": { + "prev": "NotPresent", + "curr": "cockroachdb", + "path": [ + "test-cluster", + "metadata", + "labels", + "app.kubernetes.io/name" + ] + }, + "root['test-cluster'][metadata][labels][app.kubernetes.io/part-of]": { + "prev": "NotPresent", + "curr": "cockroachdb", + "path": [ + "test-cluster", + "metadata", + "labels", + "app.kubernetes.io/part-of" + ] + }, + "root['test-cluster'][metadata][labels][app.kubernetes.io/version]": { + "prev": "NotPresent", + "curr": "v21.2.10", + "path": [ + "test-cluster", + "metadata", + "labels", + "app.kubernetes.io/version" + ] + }, + "root['test-cluster'][metadata][labels][crdb]": { + "prev": "NotPresent", + "curr": "is-cool", + "path": [ + "test-cluster", + "metadata", + "labels", + "crdb" + ] + }, + "root['test-cluster'][metadata][labels][service.kubernetes.io/headless]": { + "prev": "NotPresent", + "curr": "", + "path": [ + "test-cluster", + "metadata", + "labels", + "service.kubernetes.io/headless" + ] + }, + "root['test-cluster'][metadata][managed_fields][0][api_version]": { + "prev": "NotPresent", + "curr": "v1", + "path": [ + "test-cluster", + "metadata", + "managed_fields", + 0, + "api_version" + ] + }, + "root['test-cluster'][metadata][managed_fields][0][fields_type]": { + "prev": "NotPresent", + "curr": "FieldsV1", + "path": [ + "test-cluster", + "metadata", + "managed_fields", + 0, + "fields_type" + ] + }, + "root['test-cluster'][metadata][managed_fields][0][manager]": { + "prev": "NotPresent", + "curr": "kube-controller-manager", + "path": [ + "test-cluster", + "metadata", + "managed_fields", + 0, + "manager" + ] + }, + "root['test-cluster'][metadata][managed_fields][0][operation]": { + "prev": "NotPresent", + "curr": "Update", + "path": [ + "test-cluster", + "metadata", + "managed_fields", + 0, + "operation" + ] + }, + "root['test-cluster'][metadata][managed_fields][0][time]": { + "prev": "NotPresent", + "curr": "2023-05-04T20:31:01+00:00", + "path": [ + "test-cluster", + "metadata", + "managed_fields", + 0, + "time" + ] + }, + "root['test-cluster'][metadata][name]": { + "prev": "NotPresent", + "curr": "test-cluster", + "path": [ + "test-cluster", + "metadata", + "name" + ] + }, + "root['test-cluster'][metadata][namespace]": { + "prev": "NotPresent", + "curr": "cockroach-operator-system", + "path": [ + "test-cluster", + "metadata", + "namespace" + ] + }, + "root['test-cluster'][metadata][resource_version]": { + "prev": "NotPresent", + "curr": "1048", + "path": [ + "test-cluster", + "metadata", + "resource_version" + ] + }, + "root['test-cluster'][metadata][uid]": { + "prev": "NotPresent", + "curr": "01aa7b79-a160-478c-b84f-cce690199fae", + "path": [ + "test-cluster", + "metadata", + "uid" + ] + }, + "root['test-cluster'][subsets][0][addresses][0][hostname]": { + "prev": "NotPresent", + "curr": "test-cluster-1", + "path": [ + "test-cluster", + "subsets", + 0, + "addresses", + 0, + "hostname" + ] + }, + "root['test-cluster'][subsets][0][addresses][0][ip]": { + "prev": "NotPresent", + "curr": "10.244.1.4", + "path": [ + "test-cluster", + "subsets", + 0, + "addresses", + 0, + "ip" + ] + }, + "root['test-cluster'][subsets][0][addresses][0][node_name]": { + "prev": "NotPresent", + "curr": "acto-cluster-0-worker3", + "path": [ + "test-cluster", + "subsets", + 0, + "addresses", + 0, + "node_name" + ] + }, + "root['test-cluster'][subsets][0][addresses][0][target_ref][kind]": { + "prev": "NotPresent", + "curr": "Pod", + "path": [ + "test-cluster", + "subsets", + 0, + "addresses", + 0, + "target_ref", + "kind" + ] + }, + "root['test-cluster'][subsets][0][addresses][0][target_ref][name]": { + "prev": "NotPresent", + "curr": "test-cluster-1", + "path": [ + "test-cluster", + "subsets", + 0, + "addresses", + 0, + "target_ref", + "name" + ] + }, + "root['test-cluster'][subsets][0][addresses][0][target_ref][namespace]": { + "prev": "NotPresent", + "curr": "cockroach-operator-system", + "path": [ + "test-cluster", + "subsets", + 0, + "addresses", + 0, + "target_ref", + "namespace" + ] + }, + "root['test-cluster'][subsets][0][addresses][0][target_ref][resource_version]": { + "prev": "NotPresent", + "curr": "1047", + "path": [ + "test-cluster", + "subsets", + 0, + "addresses", + 0, + "target_ref", + "resource_version" + ] + }, + "root['test-cluster'][subsets][0][addresses][0][target_ref][uid]": { + "prev": "NotPresent", + "curr": "cc1555b0-c26a-4b7b-bec4-c44b82760466", + "path": [ + "test-cluster", + "subsets", + 0, + "addresses", + 0, + "target_ref", + "uid" + ] + }, + "root['test-cluster'][subsets][0][addresses][1][hostname]": { + "prev": "NotPresent", + "curr": "test-cluster-2", + "path": [ + "test-cluster", + "subsets", + 0, + "addresses", + 1, + "hostname" + ] + }, + "root['test-cluster'][subsets][0][addresses][1][ip]": { + "prev": "NotPresent", + "curr": "10.244.2.4", + "path": [ + "test-cluster", + "subsets", + 0, + "addresses", + 1, + "ip" + ] + }, + "root['test-cluster'][subsets][0][addresses][1][node_name]": { + "prev": "NotPresent", + "curr": "acto-cluster-0-worker2", + "path": [ + "test-cluster", + "subsets", + 0, + "addresses", + 1, + "node_name" + ] + }, + "root['test-cluster'][subsets][0][addresses][1][target_ref][kind]": { + "prev": "NotPresent", + "curr": "Pod", + "path": [ + "test-cluster", + "subsets", + 0, + "addresses", + 1, + "target_ref", + "kind" + ] + }, + "root['test-cluster'][subsets][0][addresses][1][target_ref][name]": { + "prev": "NotPresent", + "curr": "test-cluster-2", + "path": [ + "test-cluster", + "subsets", + 0, + "addresses", + 1, + "target_ref", + "name" + ] + }, + "root['test-cluster'][subsets][0][addresses][1][target_ref][namespace]": { + "prev": "NotPresent", + "curr": "cockroach-operator-system", + "path": [ + "test-cluster", + "subsets", + 0, + "addresses", + 1, + "target_ref", + "namespace" + ] + }, + "root['test-cluster'][subsets][0][addresses][1][target_ref][resource_version]": { + "prev": "NotPresent", + "curr": "1020", + "path": [ + "test-cluster", + "subsets", + 0, + "addresses", + 1, + "target_ref", + "resource_version" + ] + }, + "root['test-cluster'][subsets][0][addresses][1][target_ref][uid]": { + "prev": "NotPresent", + "curr": "30cdd852-14b8-4fc7-a7f6-b3dfe6ebaf1d", + "path": [ + "test-cluster", + "subsets", + 0, + "addresses", + 1, + "target_ref", + "uid" + ] + }, + "root['test-cluster'][subsets][0][addresses][2][hostname]": { + "prev": "NotPresent", + "curr": "test-cluster-0", + "path": [ + "test-cluster", + "subsets", + 0, + "addresses", + 2, + "hostname" + ] + }, + "root['test-cluster'][subsets][0][addresses][2][ip]": { + "prev": "NotPresent", + "curr": "10.244.3.4", + "path": [ + "test-cluster", + "subsets", + 0, + "addresses", + 2, + "ip" + ] + }, + "root['test-cluster'][subsets][0][addresses][2][node_name]": { + "prev": "NotPresent", + "curr": "acto-cluster-0-worker", + "path": [ + "test-cluster", + "subsets", + 0, + "addresses", + 2, + "node_name" + ] + }, + "root['test-cluster'][subsets][0][addresses][2][target_ref][kind]": { + "prev": "NotPresent", + "curr": "Pod", + "path": [ + "test-cluster", + "subsets", + 0, + "addresses", + 2, + "target_ref", + "kind" + ] + }, + "root['test-cluster'][subsets][0][addresses][2][target_ref][name]": { + "prev": "NotPresent", + "curr": "test-cluster-0", + "path": [ + "test-cluster", + "subsets", + 0, + "addresses", + 2, + "target_ref", + "name" + ] + }, + "root['test-cluster'][subsets][0][addresses][2][target_ref][namespace]": { + "prev": "NotPresent", + "curr": "cockroach-operator-system", + "path": [ + "test-cluster", + "subsets", + 0, + "addresses", + 2, + "target_ref", + "namespace" + ] + }, + "root['test-cluster'][subsets][0][addresses][2][target_ref][resource_version]": { + "prev": "NotPresent", + "curr": "1035", + "path": [ + "test-cluster", + "subsets", + 0, + "addresses", + 2, + "target_ref", + "resource_version" + ] + }, + "root['test-cluster'][subsets][0][addresses][2][target_ref][uid]": { + "prev": "NotPresent", + "curr": "3a41326f-04a0-41ef-9b75-7d9930634288", + "path": [ + "test-cluster", + "subsets", + 0, + "addresses", + 2, + "target_ref", + "uid" + ] + }, + "root['test-cluster'][subsets][0][ports][0][name]": { + "prev": "NotPresent", + "curr": "grpc", + "path": [ + "test-cluster", + "subsets", + 0, + "ports", + 0, + "name" + ] + }, + "root['test-cluster'][subsets][0][ports][0][port]": { + "prev": "NotPresent", + "curr": 26258, + "path": [ + "test-cluster", + "subsets", + 0, + "ports", + 0, + "port" + ] + }, + "root['test-cluster'][subsets][0][ports][0][protocol]": { + "prev": "NotPresent", + "curr": "TCP", + "path": [ + "test-cluster", + "subsets", + 0, + "ports", + 0, + "protocol" + ] + }, + "root['test-cluster'][subsets][0][ports][1][name]": { + "prev": "NotPresent", + "curr": "sql", + "path": [ + "test-cluster", + "subsets", + 0, + "ports", + 1, + "name" + ] + }, + "root['test-cluster'][subsets][0][ports][1][port]": { + "prev": "NotPresent", + "curr": 26257, + "path": [ + "test-cluster", + "subsets", + 0, + "ports", + 1, + "port" + ] + }, + "root['test-cluster'][subsets][0][ports][1][protocol]": { + "prev": "NotPresent", + "curr": "TCP", + "path": [ + "test-cluster", + "subsets", + 0, + "ports", + 1, + "protocol" + ] + }, + "root['test-cluster'][subsets][0][ports][2][name]": { + "prev": "NotPresent", + "curr": "http", + "path": [ + "test-cluster", + "subsets", + 0, + "ports", + 2, + "name" + ] + }, + "root['test-cluster'][subsets][0][ports][2][port]": { + "prev": "NotPresent", + "curr": 8080, + "path": [ + "test-cluster", + "subsets", + 0, + "ports", + 2, + "port" + ] + }, + "root['test-cluster'][subsets][0][ports][2][protocol]": { + "prev": "NotPresent", + "curr": "TCP", + "path": [ + "test-cluster", + "subsets", + 0, + "ports", + 2, + "protocol" + ] + }, + "root['test-cluster-public'][metadata][annotations][endpoints.kubernetes.io/last-change-trigger-time]": { + "prev": "NotPresent", + "curr": "2023-05-04T20:31:21Z", + "path": [ + "test-cluster-public", + "metadata", + "annotations", + "endpoints.kubernetes.io/last-change-trigger-time" + ] + }, + "root['test-cluster-public'][metadata][creation_timestamp]": { + "prev": "NotPresent", + "curr": "2023-05-04T20:30:57+00:00", + "path": [ + "test-cluster-public", + "metadata", + "creation_timestamp" + ] + }, + "root['test-cluster-public'][metadata][labels][app.kubernetes.io/component]": { + "prev": "NotPresent", + "curr": "database", + "path": [ + "test-cluster-public", + "metadata", + "labels", + "app.kubernetes.io/component" + ] + }, + "root['test-cluster-public'][metadata][labels][app.kubernetes.io/instance]": { + "prev": "NotPresent", + "curr": "test-cluster", + "path": [ + "test-cluster-public", + "metadata", + "labels", + "app.kubernetes.io/instance" + ] + }, + "root['test-cluster-public'][metadata][labels][app.kubernetes.io/managed-by]": { + "prev": "NotPresent", + "curr": "cockroach-operator", + "path": [ + "test-cluster-public", + "metadata", + "labels", + "app.kubernetes.io/managed-by" + ] + }, + "root['test-cluster-public'][metadata][labels][app.kubernetes.io/name]": { + "prev": "NotPresent", + "curr": "cockroachdb", + "path": [ + "test-cluster-public", + "metadata", + "labels", + "app.kubernetes.io/name" + ] + }, + "root['test-cluster-public'][metadata][labels][app.kubernetes.io/part-of]": { + "prev": "NotPresent", + "curr": "cockroachdb", + "path": [ + "test-cluster-public", + "metadata", + "labels", + "app.kubernetes.io/part-of" + ] + }, + "root['test-cluster-public'][metadata][labels][app.kubernetes.io/version]": { + "prev": "NotPresent", + "curr": "v21.2.10", + "path": [ + "test-cluster-public", + "metadata", + "labels", + "app.kubernetes.io/version" + ] + }, + "root['test-cluster-public'][metadata][labels][crdb]": { + "prev": "NotPresent", + "curr": "is-cool", + "path": [ + "test-cluster-public", + "metadata", + "labels", + "crdb" + ] + }, + "root['test-cluster-public'][metadata][managed_fields][0][api_version]": { + "prev": "NotPresent", + "curr": "v1", + "path": [ + "test-cluster-public", + "metadata", + "managed_fields", + 0, + "api_version" + ] + }, + "root['test-cluster-public'][metadata][managed_fields][0][fields_type]": { + "prev": "NotPresent", + "curr": "FieldsV1", + "path": [ + "test-cluster-public", + "metadata", + "managed_fields", + 0, + "fields_type" + ] + }, + "root['test-cluster-public'][metadata][managed_fields][0][manager]": { + "prev": "NotPresent", + "curr": "kube-controller-manager", + "path": [ + "test-cluster-public", + "metadata", + "managed_fields", + 0, + "manager" + ] + }, + "root['test-cluster-public'][metadata][managed_fields][0][operation]": { + "prev": "NotPresent", + "curr": "Update", + "path": [ + "test-cluster-public", + "metadata", + "managed_fields", + 0, + "operation" + ] + }, + "root['test-cluster-public'][metadata][managed_fields][0][time]": { + "prev": "NotPresent", + "curr": "2023-05-04T20:31:01+00:00", + "path": [ + "test-cluster-public", + "metadata", + "managed_fields", + 0, + "time" + ] + }, + "root['test-cluster-public'][metadata][name]": { + "prev": "NotPresent", + "curr": "test-cluster-public", + "path": [ + "test-cluster-public", + "metadata", + "name" + ] + }, + "root['test-cluster-public'][metadata][namespace]": { + "prev": "NotPresent", + "curr": "cockroach-operator-system", + "path": [ + "test-cluster-public", + "metadata", + "namespace" + ] + }, + "root['test-cluster-public'][metadata][resource_version]": { + "prev": "NotPresent", + "curr": "1049", + "path": [ + "test-cluster-public", + "metadata", + "resource_version" + ] + }, + "root['test-cluster-public'][metadata][uid]": { + "prev": "NotPresent", + "curr": "3564ff33-0459-4ca5-b808-21b27dd09d00", + "path": [ + "test-cluster-public", + "metadata", + "uid" + ] + }, + "root['test-cluster-public'][subsets][0][addresses][0][ip]": { + "prev": "NotPresent", + "curr": "10.244.1.4", + "path": [ + "test-cluster-public", + "subsets", + 0, + "addresses", + 0, + "ip" + ] + }, + "root['test-cluster-public'][subsets][0][addresses][0][node_name]": { + "prev": "NotPresent", + "curr": "acto-cluster-0-worker3", + "path": [ + "test-cluster-public", + "subsets", + 0, + "addresses", + 0, + "node_name" + ] + }, + "root['test-cluster-public'][subsets][0][addresses][0][target_ref][kind]": { + "prev": "NotPresent", + "curr": "Pod", + "path": [ + "test-cluster-public", + "subsets", + 0, + "addresses", + 0, + "target_ref", + "kind" + ] + }, + "root['test-cluster-public'][subsets][0][addresses][0][target_ref][name]": { + "prev": "NotPresent", + "curr": "test-cluster-1", + "path": [ + "test-cluster-public", + "subsets", + 0, + "addresses", + 0, + "target_ref", + "name" + ] + }, + "root['test-cluster-public'][subsets][0][addresses][0][target_ref][namespace]": { + "prev": "NotPresent", + "curr": "cockroach-operator-system", + "path": [ + "test-cluster-public", + "subsets", + 0, + "addresses", + 0, + "target_ref", + "namespace" + ] + }, + "root['test-cluster-public'][subsets][0][addresses][0][target_ref][resource_version]": { + "prev": "NotPresent", + "curr": "1047", + "path": [ + "test-cluster-public", + "subsets", + 0, + "addresses", + 0, + "target_ref", + "resource_version" + ] + }, + "root['test-cluster-public'][subsets][0][addresses][0][target_ref][uid]": { + "prev": "NotPresent", + "curr": "cc1555b0-c26a-4b7b-bec4-c44b82760466", + "path": [ + "test-cluster-public", + "subsets", + 0, + "addresses", + 0, + "target_ref", + "uid" + ] + }, + "root['test-cluster-public'][subsets][0][addresses][1][ip]": { + "prev": "NotPresent", + "curr": "10.244.2.4", + "path": [ + "test-cluster-public", + "subsets", + 0, + "addresses", + 1, + "ip" + ] + }, + "root['test-cluster-public'][subsets][0][addresses][1][node_name]": { + "prev": "NotPresent", + "curr": "acto-cluster-0-worker2", + "path": [ + "test-cluster-public", + "subsets", + 0, + "addresses", + 1, + "node_name" + ] + }, + "root['test-cluster-public'][subsets][0][addresses][1][target_ref][kind]": { + "prev": "NotPresent", + "curr": "Pod", + "path": [ + "test-cluster-public", + "subsets", + 0, + "addresses", + 1, + "target_ref", + "kind" + ] + }, + "root['test-cluster-public'][subsets][0][addresses][1][target_ref][name]": { + "prev": "NotPresent", + "curr": "test-cluster-2", + "path": [ + "test-cluster-public", + "subsets", + 0, + "addresses", + 1, + "target_ref", + "name" + ] + }, + "root['test-cluster-public'][subsets][0][addresses][1][target_ref][namespace]": { + "prev": "NotPresent", + "curr": "cockroach-operator-system", + "path": [ + "test-cluster-public", + "subsets", + 0, + "addresses", + 1, + "target_ref", + "namespace" + ] + }, + "root['test-cluster-public'][subsets][0][addresses][1][target_ref][resource_version]": { + "prev": "NotPresent", + "curr": "1020", + "path": [ + "test-cluster-public", + "subsets", + 0, + "addresses", + 1, + "target_ref", + "resource_version" + ] + }, + "root['test-cluster-public'][subsets][0][addresses][1][target_ref][uid]": { + "prev": "NotPresent", + "curr": "30cdd852-14b8-4fc7-a7f6-b3dfe6ebaf1d", + "path": [ + "test-cluster-public", + "subsets", + 0, + "addresses", + 1, + "target_ref", + "uid" + ] + }, + "root['test-cluster-public'][subsets][0][addresses][2][ip]": { + "prev": "NotPresent", + "curr": "10.244.3.4", + "path": [ + "test-cluster-public", + "subsets", + 0, + "addresses", + 2, + "ip" + ] + }, + "root['test-cluster-public'][subsets][0][addresses][2][node_name]": { + "prev": "NotPresent", + "curr": "acto-cluster-0-worker", + "path": [ + "test-cluster-public", + "subsets", + 0, + "addresses", + 2, + "node_name" + ] + }, + "root['test-cluster-public'][subsets][0][addresses][2][target_ref][kind]": { + "prev": "NotPresent", + "curr": "Pod", + "path": [ + "test-cluster-public", + "subsets", + 0, + "addresses", + 2, + "target_ref", + "kind" + ] + }, + "root['test-cluster-public'][subsets][0][addresses][2][target_ref][name]": { + "prev": "NotPresent", + "curr": "test-cluster-0", + "path": [ + "test-cluster-public", + "subsets", + 0, + "addresses", + 2, + "target_ref", + "name" + ] + }, + "root['test-cluster-public'][subsets][0][addresses][2][target_ref][namespace]": { + "prev": "NotPresent", + "curr": "cockroach-operator-system", + "path": [ + "test-cluster-public", + "subsets", + 0, + "addresses", + 2, + "target_ref", + "namespace" + ] + }, + "root['test-cluster-public'][subsets][0][addresses][2][target_ref][resource_version]": { + "prev": "NotPresent", + "curr": "1035", + "path": [ + "test-cluster-public", + "subsets", + 0, + "addresses", + 2, + "target_ref", + "resource_version" + ] + }, + "root['test-cluster-public'][subsets][0][addresses][2][target_ref][uid]": { + "prev": "NotPresent", + "curr": "3a41326f-04a0-41ef-9b75-7d9930634288", + "path": [ + "test-cluster-public", + "subsets", + 0, + "addresses", + 2, + "target_ref", + "uid" + ] + }, + "root['test-cluster-public'][subsets][0][ports][0][name]": { + "prev": "NotPresent", + "curr": "grpc", + "path": [ + "test-cluster-public", + "subsets", + 0, + "ports", + 0, + "name" + ] + }, + "root['test-cluster-public'][subsets][0][ports][0][port]": { + "prev": "NotPresent", + "curr": 26258, + "path": [ + "test-cluster-public", + "subsets", + 0, + "ports", + 0, + "port" + ] + }, + "root['test-cluster-public'][subsets][0][ports][0][protocol]": { + "prev": "NotPresent", + "curr": "TCP", + "path": [ + "test-cluster-public", + "subsets", + 0, + "ports", + 0, + "protocol" + ] + }, + "root['test-cluster-public'][subsets][0][ports][1][name]": { + "prev": "NotPresent", + "curr": "sql", + "path": [ + "test-cluster-public", + "subsets", + 0, + "ports", + 1, + "name" + ] + }, + "root['test-cluster-public'][subsets][0][ports][1][port]": { + "prev": "NotPresent", + "curr": 26257, + "path": [ + "test-cluster-public", + "subsets", + 0, + "ports", + 1, + "port" + ] + }, + "root['test-cluster-public'][subsets][0][ports][1][protocol]": { + "prev": "NotPresent", + "curr": "TCP", + "path": [ + "test-cluster-public", + "subsets", + 0, + "ports", + 1, + "protocol" + ] + }, + "root['test-cluster-public'][subsets][0][ports][2][name]": { + "prev": "NotPresent", + "curr": "http", + "path": [ + "test-cluster-public", + "subsets", + 0, + "ports", + 2, + "name" + ] + }, + "root['test-cluster-public'][subsets][0][ports][2][port]": { + "prev": "NotPresent", + "curr": 8080, + "path": [ + "test-cluster-public", + "subsets", + 0, + "ports", + 2, + "port" + ] + }, + "root['test-cluster-public'][subsets][0][ports][2][protocol]": { + "prev": "NotPresent", + "curr": "TCP", + "path": [ + "test-cluster-public", + "subsets", + 0, + "ports", + 2, + "protocol" + ] + } + } + }, + "job": {}, + "role": { + "dictionary_item_added": { + "root['test-cluster-role'][metadata][annotations][crdb.io/last-applied]": { + "prev": "NotPresent", + "curr": "eyJtZXRhZGF0YSI6eyJuYW1lc3BhY2UiOiJjb2Nrcm9hY2gtb3BlcmF0b3Itc3lzdGVtIiwibGFiZWxzIjp7ImFwcC5rdWJlcm5ldGVzLmlvL2luc3RhbmNlIjoidGVzdC1jbHVzdGVyIiwiYXBwLmt1YmVybmV0ZXMuaW8vY29tcG9uZW50IjoiZGF0YWJhc2UiLCJhcHAua3ViZXJuZXRlcy5pby9tYW5hZ2VkLWJ5IjoiY29ja3JvYWNoLW9wZXJhdG9yIiwiY3JkYiI6ImlzLWNvb2wiLCJhcHAua3ViZXJuZXRlcy5pby9wYXJ0LW9mIjoiY29ja3JvYWNoZGIiLCJhcHAua3ViZXJuZXRlcy5pby9uYW1lIjoiY29ja3JvYWNoZGIifSwib3duZXJSZWZlcmVuY2VzIjpbeyJhcGlWZXJzaW9uIjoiY3JkYi5jb2Nrcm9hY2hsYWJzLmNvbS92MWFscGhhMSIsImtpbmQiOiJDcmRiQ2x1c3RlciIsIm5hbWUiOiJ0ZXN0LWNsdXN0ZXIiLCJ1aWQiOiI5MGFkNWVmNS05Yzk1LTQwOTItYTVlOC0xNTgyYjkyNjQ5ZmYiLCJjb250cm9sbGVyIjp0cnVlLCJibG9ja093bmVyRGVsZXRpb24iOnRydWV9XSwibmFtZSI6InRlc3QtY2x1c3Rlci1yb2xlIn0sInJ1bGVzIjpbeyJhcGlHcm91cHMiOlsic2VjdXJpdHkub3BlbnNoaWZ0LmlvIl0sInJlc291cmNlcyI6WyJzZWN1cml0eWNvbnRleHRjb25zdHJhaW50cyJdLCJ2ZXJicyI6WyJ1c2UiXX1dfQ==", + "path": [ + "test-cluster-role", + "metadata", + "annotations", + "crdb.io/last-applied" + ] + }, + "root['test-cluster-role'][metadata][creation_timestamp]": { + "prev": "NotPresent", + "curr": "2023-05-04T20:30:56+00:00", + "path": [ + "test-cluster-role", + "metadata", + "creation_timestamp" + ] + }, + "root['test-cluster-role'][metadata][labels][app.kubernetes.io/component]": { + "prev": "NotPresent", + "curr": "database", + "path": [ + "test-cluster-role", + "metadata", + "labels", + "app.kubernetes.io/component" + ] + }, + "root['test-cluster-role'][metadata][labels][app.kubernetes.io/instance]": { + "prev": "NotPresent", + "curr": "test-cluster", + "path": [ + "test-cluster-role", + "metadata", + "labels", + "app.kubernetes.io/instance" + ] + }, + "root['test-cluster-role'][metadata][labels][app.kubernetes.io/managed-by]": { + "prev": "NotPresent", + "curr": "cockroach-operator", + "path": [ + "test-cluster-role", + "metadata", + "labels", + "app.kubernetes.io/managed-by" + ] + }, + "root['test-cluster-role'][metadata][labels][app.kubernetes.io/name]": { + "prev": "NotPresent", + "curr": "cockroachdb", + "path": [ + "test-cluster-role", + "metadata", + "labels", + "app.kubernetes.io/name" + ] + }, + "root['test-cluster-role'][metadata][labels][app.kubernetes.io/part-of]": { + "prev": "NotPresent", + "curr": "cockroachdb", + "path": [ + "test-cluster-role", + "metadata", + "labels", + "app.kubernetes.io/part-of" + ] + }, + "root['test-cluster-role'][metadata][labels][crdb]": { + "prev": "NotPresent", + "curr": "is-cool", + "path": [ + "test-cluster-role", + "metadata", + "labels", + "crdb" + ] + }, + "root['test-cluster-role'][metadata][managed_fields][0][api_version]": { + "prev": "NotPresent", + "curr": "rbac.authorization.k8s.io/v1", + "path": [ + "test-cluster-role", + "metadata", + "managed_fields", + 0, + "api_version" + ] + }, + "root['test-cluster-role'][metadata][managed_fields][0][fields_type]": { + "prev": "NotPresent", + "curr": "FieldsV1", + "path": [ + "test-cluster-role", + "metadata", + "managed_fields", + 0, + "fields_type" + ] + }, + "root['test-cluster-role'][metadata][managed_fields][0][manager]": { + "prev": "NotPresent", + "curr": "cockroach-operator", + "path": [ + "test-cluster-role", + "metadata", + "managed_fields", + 0, + "manager" + ] + }, + "root['test-cluster-role'][metadata][managed_fields][0][operation]": { + "prev": "NotPresent", + "curr": "Update", + "path": [ + "test-cluster-role", + "metadata", + "managed_fields", + 0, + "operation" + ] + }, + "root['test-cluster-role'][metadata][managed_fields][0][time]": { + "prev": "NotPresent", + "curr": "2023-05-04T20:30:56+00:00", + "path": [ + "test-cluster-role", + "metadata", + "managed_fields", + 0, + "time" + ] + }, + "root['test-cluster-role'][metadata][name]": { + "prev": "NotPresent", + "curr": "test-cluster-role", + "path": [ + "test-cluster-role", + "metadata", + "name" + ] + }, + "root['test-cluster-role'][metadata][namespace]": { + "prev": "NotPresent", + "curr": "cockroach-operator-system", + "path": [ + "test-cluster-role", + "metadata", + "namespace" + ] + }, + "root['test-cluster-role'][metadata][owner_references][0][api_version]": { + "prev": "NotPresent", + "curr": "crdb.cockroachlabs.com/v1alpha1", + "path": [ + "test-cluster-role", + "metadata", + "owner_references", + 0, + "api_version" + ] + }, + "root['test-cluster-role'][metadata][owner_references][0][block_owner_deletion]": { + "prev": "NotPresent", + "curr": true, + "path": [ + "test-cluster-role", + "metadata", + "owner_references", + 0, + "block_owner_deletion" + ] + }, + "root['test-cluster-role'][metadata][owner_references][0][controller]": { + "prev": "NotPresent", + "curr": true, + "path": [ + "test-cluster-role", + "metadata", + "owner_references", + 0, + "controller" + ] + }, + "root['test-cluster-role'][metadata][owner_references][0][kind]": { + "prev": "NotPresent", + "curr": "CrdbCluster", + "path": [ + "test-cluster-role", + "metadata", + "owner_references", + 0, + "kind" + ] + }, + "root['test-cluster-role'][metadata][owner_references][0][name]": { + "prev": "NotPresent", + "curr": "test-cluster", + "path": [ + "test-cluster-role", + "metadata", + "owner_references", + 0, + "name" + ] + }, + "root['test-cluster-role'][metadata][owner_references][0][uid]": { + "prev": "NotPresent", + "curr": "90ad5ef5-9c95-4092-a5e8-1582b92649ff", + "path": [ + "test-cluster-role", + "metadata", + "owner_references", + 0, + "uid" + ] + }, + "root['test-cluster-role'][metadata][resource_version]": { + "prev": "NotPresent", + "curr": "834", + "path": [ + "test-cluster-role", + "metadata", + "resource_version" + ] + }, + "root['test-cluster-role'][metadata][uid]": { + "prev": "NotPresent", + "curr": "ac048cd6-8cff-40fd-ba91-b2ea7f4a235b", + "path": [ + "test-cluster-role", + "metadata", + "uid" + ] + }, + "root['test-cluster-role'][rules][0][api_groups][0]": { + "prev": "NotPresent", + "curr": "security.openshift.io", + "path": [ + "test-cluster-role", + "rules", + 0, + "api_groups", + 0 + ] + }, + "root['test-cluster-role'][rules][0][resources][0]": { + "prev": "NotPresent", + "curr": "securitycontextconstraints", + "path": [ + "test-cluster-role", + "rules", + 0, + "resources", + 0 + ] + }, + "root['test-cluster-role'][rules][0][verbs][0]": { + "prev": "NotPresent", + "curr": "use", + "path": [ + "test-cluster-role", + "rules", + 0, + "verbs", + 0 + ] + } + } + }, + "role_binding": { + "dictionary_item_added": { + "root['test-cluster-role-binding'][metadata][annotations][crdb.io/last-applied]": { + "prev": "NotPresent", + "curr": "eyJyb2xlUmVmIjp7ImFwaUdyb3VwIjoicmJhYy5hdXRob3JpemF0aW9uLms4cy5pbyIsImtpbmQiOiJSb2xlIiwibmFtZSI6InRlc3QtY2x1c3Rlci1yb2xlIn0sIm1ldGFkYXRhIjp7Im5hbWUiOiJ0ZXN0LWNsdXN0ZXItcm9sZS1iaW5kaW5nIiwibmFtZXNwYWNlIjoiY29ja3JvYWNoLW9wZXJhdG9yLXN5c3RlbSIsImxhYmVscyI6eyJhcHAua3ViZXJuZXRlcy5pby9jb21wb25lbnQiOiJkYXRhYmFzZSIsImFwcC5rdWJlcm5ldGVzLmlvL21hbmFnZWQtYnkiOiJjb2Nrcm9hY2gtb3BlcmF0b3IiLCJjcmRiIjoiaXMtY29vbCIsImFwcC5rdWJlcm5ldGVzLmlvL3BhcnQtb2YiOiJjb2Nrcm9hY2hkYiIsImFwcC5rdWJlcm5ldGVzLmlvL25hbWUiOiJjb2Nrcm9hY2hkYiIsImFwcC5rdWJlcm5ldGVzLmlvL2luc3RhbmNlIjoidGVzdC1jbHVzdGVyIn0sIm93bmVyUmVmZXJlbmNlcyI6W3sibmFtZSI6InRlc3QtY2x1c3RlciIsInVpZCI6IjkwYWQ1ZWY1LTljOTUtNDA5Mi1hNWU4LTE1ODJiOTI2NDlmZiIsImNvbnRyb2xsZXIiOnRydWUsImJsb2NrT3duZXJEZWxldGlvbiI6dHJ1ZSwiYXBpVmVyc2lvbiI6ImNyZGIuY29ja3JvYWNobGFicy5jb20vdjFhbHBoYTEiLCJraW5kIjoiQ3JkYkNsdXN0ZXIifV19LCJzdWJqZWN0cyI6W3sia2luZCI6IlNlcnZpY2VBY2NvdW50IiwibmFtZSI6InRlc3QtY2x1c3Rlci1zYSJ9XX0=", + "path": [ + "test-cluster-role-binding", + "metadata", + "annotations", + "crdb.io/last-applied" + ] + }, + "root['test-cluster-role-binding'][metadata][creation_timestamp]": { + "prev": "NotPresent", + "curr": "2023-05-04T20:30:56+00:00", + "path": [ + "test-cluster-role-binding", + "metadata", + "creation_timestamp" + ] + }, + "root['test-cluster-role-binding'][metadata][labels][app.kubernetes.io/component]": { + "prev": "NotPresent", + "curr": "database", + "path": [ + "test-cluster-role-binding", + "metadata", + "labels", + "app.kubernetes.io/component" + ] + }, + "root['test-cluster-role-binding'][metadata][labels][app.kubernetes.io/instance]": { + "prev": "NotPresent", + "curr": "test-cluster", + "path": [ + "test-cluster-role-binding", + "metadata", + "labels", + "app.kubernetes.io/instance" + ] + }, + "root['test-cluster-role-binding'][metadata][labels][app.kubernetes.io/managed-by]": { + "prev": "NotPresent", + "curr": "cockroach-operator", + "path": [ + "test-cluster-role-binding", + "metadata", + "labels", + "app.kubernetes.io/managed-by" + ] + }, + "root['test-cluster-role-binding'][metadata][labels][app.kubernetes.io/name]": { + "prev": "NotPresent", + "curr": "cockroachdb", + "path": [ + "test-cluster-role-binding", + "metadata", + "labels", + "app.kubernetes.io/name" + ] + }, + "root['test-cluster-role-binding'][metadata][labels][app.kubernetes.io/part-of]": { + "prev": "NotPresent", + "curr": "cockroachdb", + "path": [ + "test-cluster-role-binding", + "metadata", + "labels", + "app.kubernetes.io/part-of" + ] + }, + "root['test-cluster-role-binding'][metadata][labels][crdb]": { + "prev": "NotPresent", + "curr": "is-cool", + "path": [ + "test-cluster-role-binding", + "metadata", + "labels", + "crdb" + ] + }, + "root['test-cluster-role-binding'][metadata][managed_fields][0][api_version]": { + "prev": "NotPresent", + "curr": "rbac.authorization.k8s.io/v1", + "path": [ + "test-cluster-role-binding", + "metadata", + "managed_fields", + 0, + "api_version" + ] + }, + "root['test-cluster-role-binding'][metadata][managed_fields][0][fields_type]": { + "prev": "NotPresent", + "curr": "FieldsV1", + "path": [ + "test-cluster-role-binding", + "metadata", + "managed_fields", + 0, + "fields_type" + ] + }, + "root['test-cluster-role-binding'][metadata][managed_fields][0][manager]": { + "prev": "NotPresent", + "curr": "cockroach-operator", + "path": [ + "test-cluster-role-binding", + "metadata", + "managed_fields", + 0, + "manager" + ] + }, + "root['test-cluster-role-binding'][metadata][managed_fields][0][operation]": { + "prev": "NotPresent", + "curr": "Update", + "path": [ + "test-cluster-role-binding", + "metadata", + "managed_fields", + 0, + "operation" + ] + }, + "root['test-cluster-role-binding'][metadata][managed_fields][0][time]": { + "prev": "NotPresent", + "curr": "2023-05-04T20:30:56+00:00", + "path": [ + "test-cluster-role-binding", + "metadata", + "managed_fields", + 0, + "time" + ] + }, + "root['test-cluster-role-binding'][metadata][name]": { + "prev": "NotPresent", + "curr": "test-cluster-role-binding", + "path": [ + "test-cluster-role-binding", + "metadata", + "name" + ] + }, + "root['test-cluster-role-binding'][metadata][namespace]": { + "prev": "NotPresent", + "curr": "cockroach-operator-system", + "path": [ + "test-cluster-role-binding", + "metadata", + "namespace" + ] + }, + "root['test-cluster-role-binding'][metadata][owner_references][0][api_version]": { + "prev": "NotPresent", + "curr": "crdb.cockroachlabs.com/v1alpha1", + "path": [ + "test-cluster-role-binding", + "metadata", + "owner_references", + 0, + "api_version" + ] + }, + "root['test-cluster-role-binding'][metadata][owner_references][0][block_owner_deletion]": { + "prev": "NotPresent", + "curr": true, + "path": [ + "test-cluster-role-binding", + "metadata", + "owner_references", + 0, + "block_owner_deletion" + ] + }, + "root['test-cluster-role-binding'][metadata][owner_references][0][controller]": { + "prev": "NotPresent", + "curr": true, + "path": [ + "test-cluster-role-binding", + "metadata", + "owner_references", + 0, + "controller" + ] + }, + "root['test-cluster-role-binding'][metadata][owner_references][0][kind]": { + "prev": "NotPresent", + "curr": "CrdbCluster", + "path": [ + "test-cluster-role-binding", + "metadata", + "owner_references", + 0, + "kind" + ] + }, + "root['test-cluster-role-binding'][metadata][owner_references][0][name]": { + "prev": "NotPresent", + "curr": "test-cluster", + "path": [ + "test-cluster-role-binding", + "metadata", + "owner_references", + 0, + "name" + ] + }, + "root['test-cluster-role-binding'][metadata][owner_references][0][uid]": { + "prev": "NotPresent", + "curr": "90ad5ef5-9c95-4092-a5e8-1582b92649ff", + "path": [ + "test-cluster-role-binding", + "metadata", + "owner_references", + 0, + "uid" + ] + }, + "root['test-cluster-role-binding'][metadata][resource_version]": { + "prev": "NotPresent", + "curr": "835", + "path": [ + "test-cluster-role-binding", + "metadata", + "resource_version" + ] + }, + "root['test-cluster-role-binding'][metadata][uid]": { + "prev": "NotPresent", + "curr": "e2f407b8-9169-4400-b6d2-cf0cbea3853d", + "path": [ + "test-cluster-role-binding", + "metadata", + "uid" + ] + }, + "root['test-cluster-role-binding'][role_ref][api_group]": { + "prev": "NotPresent", + "curr": "rbac.authorization.k8s.io", + "path": [ + "test-cluster-role-binding", + "role_ref", + "api_group" + ] + }, + "root['test-cluster-role-binding'][role_ref][kind]": { + "prev": "NotPresent", + "curr": "Role", + "path": [ + "test-cluster-role-binding", + "role_ref", + "kind" + ] + }, + "root['test-cluster-role-binding'][role_ref][name]": { + "prev": "NotPresent", + "curr": "test-cluster-role", + "path": [ + "test-cluster-role-binding", + "role_ref", + "name" + ] + }, + "root['test-cluster-role-binding'][subjects][0][kind]": { + "prev": "NotPresent", + "curr": "ServiceAccount", + "path": [ + "test-cluster-role-binding", + "subjects", + 0, + "kind" + ] + }, + "root['test-cluster-role-binding'][subjects][0][name]": { + "prev": "NotPresent", + "curr": "test-cluster-sa", + "path": [ + "test-cluster-role-binding", + "subjects", + 0, + "name" + ] + } + } + }, + "custom_resource_spec": { + "dictionary_item_added": { + "root['additionalLabels'][crdb]": { + "prev": "NotPresent", + "curr": "is-cool", + "path": [ + "additionalLabels", + "crdb" + ] + }, + "root['dataStore'][pvc][source][claimName]": { + "prev": "NotPresent", + "curr": "", + "path": [ + "dataStore", + "pvc", + "source", + "claimName" + ] + }, + "root['dataStore'][pvc][spec][accessModes][0]": { + "prev": "NotPresent", + "curr": "ReadWriteOnce", + "path": [ + "dataStore", + "pvc", + "spec", + "accessModes", + 0 + ] + }, + "root['dataStore'][pvc][spec][resources][requests][storage]": { + "prev": "NotPresent", + "curr": "1Gi", + "path": [ + "dataStore", + "pvc", + "spec", + "resources", + "requests", + "storage" + ] + }, + "root['dataStore'][pvc][spec][volumeMode]": { + "prev": "NotPresent", + "curr": "Filesystem", + "path": [ + "dataStore", + "pvc", + "spec", + "volumeMode" + ] + }, + "root['dataStore'][supportsAutoResize]": { + "prev": "NotPresent", + "curr": false, + "path": [ + "dataStore", + "supportsAutoResize" + ] + }, + "root['grpcPort']": { + "prev": "NotPresent", + "curr": 26258, + "path": [ + "grpcPort" + ] + }, + "root['httpPort']": { + "prev": "NotPresent", + "curr": 8080, + "path": [ + "httpPort" + ] + }, + "root['image'][name]": { + "prev": "NotPresent", + "curr": "cockroachdb/cockroach:v21.2.10", + "path": [ + "image", + "name" + ] + }, + "root['image'][pullPolicy]": { + "prev": "NotPresent", + "curr": "IfNotPresent", + "path": [ + "image", + "pullPolicy" + ] + }, + "root['maxUnavailable']": { + "prev": "NotPresent", + "curr": 1, + "path": [ + "maxUnavailable" + ] + }, + "root['nodes']": { + "prev": "NotPresent", + "curr": 3, + "path": [ + "nodes" + ] + }, + "root['resources'][limits][cpu]": { + "prev": "NotPresent", + "curr": "2", + "path": [ + "resources", + "limits", + "cpu" + ] + }, + "root['resources'][limits][memory]": { + "prev": "NotPresent", + "curr": "2Gi", + "path": [ + "resources", + "limits", + "memory" + ] + }, + "root['resources'][requests][cpu]": { + "prev": "NotPresent", + "curr": "100m", + "path": [ + "resources", + "requests", + "cpu" + ] + }, + "root['resources'][requests][memory]": { + "prev": "NotPresent", + "curr": "1Gi", + "path": [ + "resources", + "requests", + "memory" + ] + }, + "root['sqlPort']": { + "prev": "NotPresent", + "curr": 26257, + "path": [ + "sqlPort" + ] + }, + "root['tlsEnabled']": { + "prev": "NotPresent", + "curr": true, + "path": [ + "tlsEnabled" + ] + } + } + }, + "custom_resource_status": { + "dictionary_item_added": { + "root['clusterStatus']": { + "prev": "NotPresent", + "curr": "Failed", + "path": [ + "clusterStatus" + ] + }, + "root['conditions'][0][lastTransitionTime]": { + "prev": "NotPresent", + "curr": "2023-05-04T20:31:08Z", + "path": [ + "conditions", + 0, + "lastTransitionTime" + ] + }, + "root['conditions'][0][status]": { + "prev": "NotPresent", + "curr": "True", + "path": [ + "conditions", + 0, + "status" + ] + }, + "root['conditions'][0][type]": { + "prev": "NotPresent", + "curr": "Initialized", + "path": [ + "conditions", + 0, + "type" + ] + }, + "root['conditions'][1][lastTransitionTime]": { + "prev": "NotPresent", + "curr": "2023-05-04T20:30:56Z", + "path": [ + "conditions", + 1, + "lastTransitionTime" + ] + }, + "root['conditions'][1][status]": { + "prev": "NotPresent", + "curr": "True", + "path": [ + "conditions", + 1, + "status" + ] + }, + "root['conditions'][1][type]": { + "prev": "NotPresent", + "curr": "CrdbVersionChecked", + "path": [ + "conditions", + 1, + "type" + ] + }, + "root['conditions'][2][lastTransitionTime]": { + "prev": "NotPresent", + "curr": "2023-05-04T20:30:57Z", + "path": [ + "conditions", + 2, + "lastTransitionTime" + ] + }, + "root['conditions'][2][status]": { + "prev": "NotPresent", + "curr": "True", + "path": [ + "conditions", + 2, + "status" + ] + }, + "root['conditions'][2][type]": { + "prev": "NotPresent", + "curr": "CertificateGenerated", + "path": [ + "conditions", + 2, + "type" + ] + }, + "root['crdbcontainerimage']": { + "prev": "NotPresent", + "curr": "cockroachdb/cockroach:v21.2.10", + "path": [ + "crdbcontainerimage" + ] + }, + "root['operatorActions'][0][lastTransitionTime]": { + "prev": "NotPresent", + "curr": "2023-05-04T20:31:03Z", + "path": [ + "operatorActions", + 0, + "lastTransitionTime" + ] + }, + "root['operatorActions'][0][message]": { + "prev": "NotPresent", + "curr": "pod is not running", + "path": [ + "operatorActions", + 0, + "message" + ] + }, + "root['operatorActions'][0][status]": { + "prev": "NotPresent", + "curr": "Failed", + "path": [ + "operatorActions", + 0, + "status" + ] + }, + "root['operatorActions'][0][type]": { + "prev": "NotPresent", + "curr": "Initialize", + "path": [ + "operatorActions", + 0, + "type" + ] + }, + "root['version']": { + "prev": "NotPresent", + "curr": "v21.2.10", + "path": [ + "version" + ] + } + } + } +} \ No newline at end of file diff --git a/test/test_data/crdbop-920/delta-1.log b/test/test_data/crdbop-920/delta-1.log new file mode 100644 index 0000000000..4c8a79ded7 --- /dev/null +++ b/test/test_data/crdbop-920/delta-1.log @@ -0,0 +1,448 @@ +---------- INPUT DELTA ---------- +{ + "dictionary_item_added": { + "root['spec']['ingress'][sql][host]": { + "prev": "NotPresent", + "curr": "mynbiqpmzj", + "path": [ + "spec", + "ingress", + "sql", + "host" + ] + }, + "root['spec']['ingress'][sql][tls][0][secretName]": { + "prev": "NotPresent", + "curr": "ACTOKEY", + "path": [ + "spec", + "ingress", + "sql", + "tls", + 0, + "secretName" + ] + } + } +} +---------- SYSTEM DELTA ---------- +{ + "pod": {}, + "deployment_pods": {}, + "stateful_set": {}, + "deployment": {}, + "config_map": {}, + "service": {}, + "service_account": {}, + "pvc": {}, + "cronjob": {}, + "ingress": { + "dictionary_item_added": { + "root['sql-test-cluster'][metadata][annotations][crdb.io/last-applied]": { + "prev": "NotPresent", + "curr": "eyJtZXRhZGF0YSI6eyJsYWJlbHMiOnsiYXBwLmt1YmVybmV0ZXMuaW8vdmVyc2lvbiI6InYyMS4yLjEwIiwiYXBwLmt1YmVybmV0ZXMuaW8vY29tcG9uZW50IjoiZGF0YWJhc2UiLCJhcHAua3ViZXJuZXRlcy5pby9tYW5hZ2VkLWJ5IjoiY29ja3JvYWNoLW9wZXJhdG9yIiwiY3JkYiI6ImlzLWNvb2wiLCJhcHAua3ViZXJuZXRlcy5pby9wYXJ0LW9mIjoiY29ja3JvYWNoZGIiLCJhcHAua3ViZXJuZXRlcy5pby9uYW1lIjoiY29ja3JvYWNoZGIiLCJhcHAua3ViZXJuZXRlcy5pby9pbnN0YW5jZSI6InRlc3QtY2x1c3RlciJ9LCJvd25lclJlZmVyZW5jZXMiOlt7ImFwaVZlcnNpb24iOiJjcmRiLmNvY2tyb2FjaGxhYnMuY29tL3YxYWxwaGExIiwia2luZCI6IkNyZGJDbHVzdGVyIiwibmFtZSI6InRlc3QtY2x1c3RlciIsInVpZCI6IjkwYWQ1ZWY1LTljOTUtNDA5Mi1hNWU4LTE1ODJiOTI2NDlmZiIsImNvbnRyb2xsZXIiOnRydWUsImJsb2NrT3duZXJEZWxldGlvbiI6dHJ1ZX1dLCJuYW1lIjoic3FsLXRlc3QtY2x1c3RlciIsIm5hbWVzcGFjZSI6ImNvY2tyb2FjaC1vcGVyYXRvci1zeXN0ZW0ifSwic3BlYyI6eyJydWxlcyI6W3siaHR0cCI6eyJwYXRocyI6W3sicGF0aFR5cGUiOiJJbXBsZW1lbnRhdGlvblNwZWNpZmljIiwiYmFja2VuZCI6eyJzZXJ2aWNlIjp7Im5hbWUiOiJ0ZXN0LWNsdXN0ZXItcHVibGljIiwicG9ydCI6eyJuYW1lIjoic3FsIn19fX1dfSwiaG9zdCI6Im15bmJpcXBtemoifV19LCJzdGF0dXMiOnsibG9hZEJhbGFuY2VyIjp7fX19", + "path": [ + "sql-test-cluster", + "metadata", + "annotations", + "crdb.io/last-applied" + ] + }, + "root['sql-test-cluster'][metadata][creation_timestamp]": { + "prev": "NotPresent", + "curr": "2023-05-04T20:32:16+00:00", + "path": [ + "sql-test-cluster", + "metadata", + "creation_timestamp" + ] + }, + "root['sql-test-cluster'][metadata][generation]": { + "prev": "NotPresent", + "curr": 1, + "path": [ + "sql-test-cluster", + "metadata", + "generation" + ] + }, + "root['sql-test-cluster'][metadata][labels][app.kubernetes.io/component]": { + "prev": "NotPresent", + "curr": "database", + "path": [ + "sql-test-cluster", + "metadata", + "labels", + "app.kubernetes.io/component" + ] + }, + "root['sql-test-cluster'][metadata][labels][app.kubernetes.io/instance]": { + "prev": "NotPresent", + "curr": "test-cluster", + "path": [ + "sql-test-cluster", + "metadata", + "labels", + "app.kubernetes.io/instance" + ] + }, + "root['sql-test-cluster'][metadata][labels][app.kubernetes.io/managed-by]": { + "prev": "NotPresent", + "curr": "cockroach-operator", + "path": [ + "sql-test-cluster", + "metadata", + "labels", + "app.kubernetes.io/managed-by" + ] + }, + "root['sql-test-cluster'][metadata][labels][app.kubernetes.io/name]": { + "prev": "NotPresent", + "curr": "cockroachdb", + "path": [ + "sql-test-cluster", + "metadata", + "labels", + "app.kubernetes.io/name" + ] + }, + "root['sql-test-cluster'][metadata][labels][app.kubernetes.io/part-of]": { + "prev": "NotPresent", + "curr": "cockroachdb", + "path": [ + "sql-test-cluster", + "metadata", + "labels", + "app.kubernetes.io/part-of" + ] + }, + "root['sql-test-cluster'][metadata][labels][app.kubernetes.io/version]": { + "prev": "NotPresent", + "curr": "v21.2.10", + "path": [ + "sql-test-cluster", + "metadata", + "labels", + "app.kubernetes.io/version" + ] + }, + "root['sql-test-cluster'][metadata][labels][crdb]": { + "prev": "NotPresent", + "curr": "is-cool", + "path": [ + "sql-test-cluster", + "metadata", + "labels", + "crdb" + ] + }, + "root['sql-test-cluster'][metadata][managed_fields][0][api_version]": { + "prev": "NotPresent", + "curr": "networking.k8s.io/v1", + "path": [ + "sql-test-cluster", + "metadata", + "managed_fields", + 0, + "api_version" + ] + }, + "root['sql-test-cluster'][metadata][managed_fields][0][fields_type]": { + "prev": "NotPresent", + "curr": "FieldsV1", + "path": [ + "sql-test-cluster", + "metadata", + "managed_fields", + 0, + "fields_type" + ] + }, + "root['sql-test-cluster'][metadata][managed_fields][0][manager]": { + "prev": "NotPresent", + "curr": "cockroach-operator", + "path": [ + "sql-test-cluster", + "metadata", + "managed_fields", + 0, + "manager" + ] + }, + "root['sql-test-cluster'][metadata][managed_fields][0][operation]": { + "prev": "NotPresent", + "curr": "Update", + "path": [ + "sql-test-cluster", + "metadata", + "managed_fields", + 0, + "operation" + ] + }, + "root['sql-test-cluster'][metadata][managed_fields][0][time]": { + "prev": "NotPresent", + "curr": "2023-05-04T20:32:16+00:00", + "path": [ + "sql-test-cluster", + "metadata", + "managed_fields", + 0, + "time" + ] + }, + "root['sql-test-cluster'][metadata][name]": { + "prev": "NotPresent", + "curr": "sql-test-cluster", + "path": [ + "sql-test-cluster", + "metadata", + "name" + ] + }, + "root['sql-test-cluster'][metadata][namespace]": { + "prev": "NotPresent", + "curr": "cockroach-operator-system", + "path": [ + "sql-test-cluster", + "metadata", + "namespace" + ] + }, + "root['sql-test-cluster'][metadata][owner_references][0][api_version]": { + "prev": "NotPresent", + "curr": "crdb.cockroachlabs.com/v1alpha1", + "path": [ + "sql-test-cluster", + "metadata", + "owner_references", + 0, + "api_version" + ] + }, + "root['sql-test-cluster'][metadata][owner_references][0][block_owner_deletion]": { + "prev": "NotPresent", + "curr": true, + "path": [ + "sql-test-cluster", + "metadata", + "owner_references", + 0, + "block_owner_deletion" + ] + }, + "root['sql-test-cluster'][metadata][owner_references][0][controller]": { + "prev": "NotPresent", + "curr": true, + "path": [ + "sql-test-cluster", + "metadata", + "owner_references", + 0, + "controller" + ] + }, + "root['sql-test-cluster'][metadata][owner_references][0][kind]": { + "prev": "NotPresent", + "curr": "CrdbCluster", + "path": [ + "sql-test-cluster", + "metadata", + "owner_references", + 0, + "kind" + ] + }, + "root['sql-test-cluster'][metadata][owner_references][0][name]": { + "prev": "NotPresent", + "curr": "test-cluster", + "path": [ + "sql-test-cluster", + "metadata", + "owner_references", + 0, + "name" + ] + }, + "root['sql-test-cluster'][metadata][owner_references][0][uid]": { + "prev": "NotPresent", + "curr": "90ad5ef5-9c95-4092-a5e8-1582b92649ff", + "path": [ + "sql-test-cluster", + "metadata", + "owner_references", + 0, + "uid" + ] + }, + "root['sql-test-cluster'][metadata][resource_version]": { + "prev": "NotPresent", + "curr": "1148", + "path": [ + "sql-test-cluster", + "metadata", + "resource_version" + ] + }, + "root['sql-test-cluster'][metadata][uid]": { + "prev": "NotPresent", + "curr": "cfc5aaff-c124-41e1-8e46-2d26279e3cec", + "path": [ + "sql-test-cluster", + "metadata", + "uid" + ] + }, + "root['sql-test-cluster'][spec][rules][0][host]": { + "prev": "NotPresent", + "curr": "mynbiqpmzj", + "path": [ + "sql-test-cluster", + "spec", + "rules", + 0, + "host" + ] + }, + "root['sql-test-cluster'][spec][rules][0][http][paths][0][backend][service][name]": { + "prev": "NotPresent", + "curr": "test-cluster-public", + "path": [ + "sql-test-cluster", + "spec", + "rules", + 0, + "http", + "paths", + 0, + "backend", + "service", + "name" + ] + }, + "root['sql-test-cluster'][spec][rules][0][http][paths][0][backend][service][port][name]": { + "prev": "NotPresent", + "curr": "sql", + "path": [ + "sql-test-cluster", + "spec", + "rules", + 0, + "http", + "paths", + 0, + "backend", + "service", + "port", + "name" + ] + }, + "root['sql-test-cluster'][spec][rules][0][http][paths][0][path_type]": { + "prev": "NotPresent", + "curr": "ImplementationSpecific", + "path": [ + "sql-test-cluster", + "spec", + "rules", + 0, + "http", + "paths", + 0, + "path_type" + ] + } + } + }, + "network_policy": {}, + "pod_disruption_budget": {}, + "secret": { + "values_changed": { + "root['test-cluster-node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evuouwB3ux2YecPnTBY9NgK2qvjI+ngaGmb\n2jt3Omph/EWW5ElA9zsu0mUCAwEAAaOCAX0wggF5MA4GA1UdDwEB/wQEAwIFoDAd\nBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwHwYDVR0jBBgwFoAUndwRwgwz\nXigcHh4e4uJNOFdFFNgwggElBgNVHREEggEcMIIBGIIJbG9jYWxob3N0ghN0ZXN0\nLWNsdXN0ZXItcHVibGljgi10ZXN0LWNsdXN0ZXItcHVibGljLmNvY2tyb2FjaC1v\ncGVyYXRvci1zeXN0ZW2CP3Rlc3QtY2x1c3Rlci1wdWJsaWMuY29ja3JvYWNoLW9w\nZXJhdG9yLXN5c3RlbS5zdmMuY2x1c3Rlci5sb2NhbIIOKi50ZXN0LWNsdXN0ZXKC\nKCoudGVzdC1jbHVzdGVyLmNvY2tyb2FjaC1vcGVyYXRvci1zeXN0ZW2COioudGVz\ndC1jbHVzdGVyLmNvY2tyb2FjaC1vcGVyYXRvci1zeXN0ZW0uc3ZjLmNsdXN0ZXIu\nbG9jYWyCCm15bmJpcXBtemqHBH8AAAEwDQYJKoZIhvcNAQELBQADggEBAFZC/anH\n2c4LRtYUw5bg1OYVHCkFqRzLC0yh6QtKMVq3PWfIlTizCGHFxoqZs7Xu92uvzBU0\nk24MxyJhOReHtCDUekE1riuJOhTwu3Wnu+7hGNZAUsP7pDBps/VJG1sg/L/1iZmT\nN1BN5W0T8nsPbJpyDBa/Bdke2DCHdOl69HTqJe6f2ZfU+vIuqBoVALYGjyf+ojAm\n8EOJnFWKX/PWg3DneG8u9ThsCA6GfribM2lJIABkVQzmQX9VI/Gh7gFeQEtLEmQi\nJDlG4R9bzqXXvUBmn0C6CQhpfo4u5bvozFwXyKqh/EKuFYSembJaFGxQssXBT750\nJ5pR+xGkJf7KqGY=\n-----END CERTIFICATE-----\n", + "path": [ + "test-cluster-node", + "data", + "tls.crt" + ] + }, + "root['test-cluster-node']['data']['tls.key']": { + "prev": "-----B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sHXdgwoEib8qKZ5F1892s2fl0mooTiWXpAg7gmeN6uFhw3KQHG9JRtVwt0vOMVT\nMxO2JSTxgiDiPVAgvt24iRxXmOgmRVvCfzexiPJvHPe11rgdZ9YUsQo=\n-----END RSA PRIVATE KEY-----\n", + "path": [ + "test-cluster-node", + "data", + "tls.key" + ] + } + } + }, + "endpoints": {}, + "job": {}, + "role": {}, + "role_binding": {}, + "custom_resource_spec": { + "dictionary_item_added": { + "root['ingress'][sql][host]": { + "prev": "NotPresent", + "curr": "mynbiqpmzj", + "path": [ + "ingress", + "sql", + "host" + ] + }, + "root['ingress'][sql][tls][0][secretName]": { + "prev": "NotPresent", + "curr": "ACTOKEY", + "path": [ + "ingress", + "sql", + "tls", + 0, + "secretName" + ] + } + } + }, + "custom_resource_status": { + "iterable_item_added": { + "root['conditions'][3][lastTransitionTime]": { + "prev": "NotPresent", + "curr": "2023-05-04T20:32:16Z", + "path": [ + "conditions", + 3, + "lastTransitionTime" + ] + }, + "root['conditions'][3][status]": { + "prev": "NotPresent", + "curr": "True", + "path": [ + "conditions", + 3, + "status" + ] + }, + "root['conditions'][3][type]": { + "prev": "NotPresent", + "curr": "SQLIngressExposed", + "path": [ + "conditions", + 3, + "type" + ] + } + }, + "dictionary_item_added": { + "root['sqlHost']": { + "prev": "NotPresent", + "curr": "mynbiqpmzj", + "path": [ + "sqlHost" + ] + } + } + } +} \ No newline at end of file diff --git a/test/test_data/crdbop-920/delta-2.log b/test/test_data/crdbop-920/delta-2.log new file mode 100644 index 0000000000..1f4bdd5522 --- /dev/null +++ b/test/test_data/crdbop-920/delta-2.log @@ -0,0 +1,53 @@ +---------- INPUT DELTA ---------- +{ + "values_changed": { + "root['spec']['ingress']['sql']['tls'][0]['secretName']": { + "prev": "ACTOKEY", + "curr": "", + "path": [ + "spec", + "ingress", + "sql", + "tls", + 0, + "secretName" + ] + } + } +} +---------- SYSTEM DELTA ---------- +{ + "pod": {}, + "deployment_pods": {}, + "stateful_set": {}, + "deployment": {}, + "config_map": {}, + "service": {}, + "service_account": {}, + "pvc": {}, + "cronjob": {}, + "ingress": {}, + "network_policy": {}, + "pod_disruption_budget": {}, + "secret": {}, + "endpoints": {}, + "job": {}, + "role": {}, + "role_binding": {}, + "custom_resource_spec": { + "dictionary_item_removed": { + "root['ingress']['sql']['tls'][0]['secretName']": { + "prev": "ACTOKEY", + "curr": "NotPresent", + "path": [ + "ingress", + "sql", + "tls", + 0, + "secretName" + ] + } + } + }, + "custom_resource_status": {} +} \ No newline at end of file diff --git a/test/test_data/crdbop-920/events-0.json b/test/test_data/crdbop-920/events-0.json new file mode 100644 index 0000000000..5c24d19332 --- /dev/null +++ b/test/test_data/crdbop-920/events-0.json @@ -0,0 +1,10 @@ +{ + "kind": "EventList", + "apiVersion": "v1", + "metadata": { + "resourceVersion": "1234", + "testMissing": "An update breaks the events file's naming rule.", + "todo": "As we do not have tests for events for now, we can regenerate the trial later." + }, + "items": [] +} \ No newline at end of file diff --git a/test/test_data/crdbop-920/events-1.json b/test/test_data/crdbop-920/events-1.json new file mode 100644 index 0000000000..5c24d19332 --- /dev/null +++ b/test/test_data/crdbop-920/events-1.json @@ -0,0 +1,10 @@ +{ + "kind": "EventList", + "apiVersion": "v1", + "metadata": { + "resourceVersion": "1234", + "testMissing": "An update breaks the events file's naming rule.", + "todo": "As we do not have tests for events for now, we can regenerate the trial later." + }, + "items": [] +} \ No newline at end of file diff --git a/test/test_data/crdbop-920/events-2.json b/test/test_data/crdbop-920/events-2.json new file mode 100644 index 0000000000..5c24d19332 --- /dev/null +++ b/test/test_data/crdbop-920/events-2.json @@ -0,0 +1,10 @@ +{ + "kind": "EventList", + "apiVersion": "v1", + "metadata": { + "resourceVersion": "1234", + "testMissing": "An update breaks the events file's naming rule.", + "todo": "As we do not have tests for events for now, we can regenerate the trial later." + }, + "items": [] +} \ No newline at end of file diff --git a/test/test_data/crdbop-920/generation-0-runtime.json b/test/test_data/crdbop-920/generation-0-runtime.json new file mode 100644 index 0000000000..9d82be0ec2 --- /dev/null +++ b/test/test_data/crdbop-920/generation-0-runtime.json @@ -0,0 +1,14 @@ +{ + "revert": false, + "generation": 0, + "testcase": null, + "feature_gate": 51, + "crash_result": "Pass", + "input_result": "Pass", + "health_result": "Pass", + "state_result": "Pass", + "log_result": "Pass", + "custom_result": null, + "misc_result": null, + "recovery_result": null +} \ No newline at end of file diff --git a/test/test_data/crdbop-920/generation-1-runtime.json b/test/test_data/crdbop-920/generation-1-runtime.json new file mode 100644 index 0000000000..69ae9d1373 --- /dev/null +++ b/test/test_data/crdbop-920/generation-1-runtime.json @@ -0,0 +1,17 @@ +{ + "revert": false, + "generation": 1, + "testcase": { + "field": "[\"spec\", \"ingress\", \"sql\", \"tls\", 0, \"secretName\"]", + "testcase": "string-deletion" + }, + "feature_gate": 51, + "crash_result": "Pass", + "input_result": "Pass", + "health_result": "Pass", + "state_result": "Pass", + "log_result": "Pass", + "custom_result": null, + "misc_result": null, + "recovery_result": null +} \ No newline at end of file diff --git a/test/test_data/crdbop-920/generation-2-runtime.json b/test/test_data/crdbop-920/generation-2-runtime.json new file mode 100644 index 0000000000..ae0934717d --- /dev/null +++ b/test/test_data/crdbop-920/generation-2-runtime.json @@ -0,0 +1,29 @@ +{ + "revert": false, + "generation": 2, + "testcase": {}, + "crash_result": "Pass", + "input_result": "Pass", + "health_result": "Pass", + "state_result": { + "oracle": "SystemState", + "message": "Found no matching fields for input", + "input_delta": { + "prev": "ACTOKEY", + "curr": "", + "path": [ + "spec", + "ingress", + "sql", + "tls", + 0, + "secretName" + ] + }, + "matched_system_delta": null + }, + "log_result": "Pass", + "custom_result": null, + "misc_result": null, + "recovery_result": null +} \ No newline at end of file diff --git a/test/test_data/crdbop-920/inputs/mutated-0.yaml b/test/test_data/crdbop-920/inputs/mutated-0.yaml new file mode 100644 index 0000000000..fd0e8ddafa --- /dev/null +++ b/test/test_data/crdbop-920/inputs/mutated-0.yaml @@ -0,0 +1,27 @@ +apiVersion: crdb.cockroachlabs.com/v1alpha1 +kind: CrdbCluster +metadata: + name: test-cluster +spec: + additionalLabels: + crdb: is-cool + dataStore: + pvc: + spec: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 1Gi + volumeMode: Filesystem + image: + name: cockroachdb/cockroach:v21.2.10 + nodes: 3 + resources: + limits: + cpu: 2 + memory: 2Gi + requests: + cpu: 100m + memory: 1Gi + tlsEnabled: true diff --git a/test/test_data/crdbop-920/inputs/mutated-1.yaml b/test/test_data/crdbop-920/inputs/mutated-1.yaml new file mode 100644 index 0000000000..097cda86a9 --- /dev/null +++ b/test/test_data/crdbop-920/inputs/mutated-1.yaml @@ -0,0 +1,34 @@ +apiVersion: crdb.cockroachlabs.com/v1alpha1 +kind: CrdbCluster +metadata: + name: test-cluster +spec: + additionalLabels: + crdb: is-cool + dataStore: + pvc: + spec: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 1Gi + volumeMode: Filesystem + image: + name: cockroachdb/cockroach:v21.2.10 + ingress: + sql: + annotations: + ACTOKEY: ACTOKEY + host: mynbiqpmzj + tls: + - secretName: ACTOKEY + nodes: 3 + resources: + limits: + cpu: 2 + memory: 2Gi + requests: + cpu: 100m + memory: 1Gi + tlsEnabled: true diff --git a/test/test_data/crdbop-920/inputs/mutated-2.yaml b/test/test_data/crdbop-920/inputs/mutated-2.yaml new file mode 100644 index 0000000000..c2c774d442 --- /dev/null +++ b/test/test_data/crdbop-920/inputs/mutated-2.yaml @@ -0,0 +1,32 @@ +apiVersion: crdb.cockroachlabs.com/v1alpha1 +kind: CrdbCluster +metadata: + name: test-cluster +spec: + additionalLabels: + crdb: is-cool + dataStore: + pvc: + spec: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 1Gi + volumeMode: Filesystem + image: + name: cockroachdb/cockroach:v21.2.10 + ingress: + sql: + host: mynbiqpmzj + tls: + - secretName: '' + nodes: 3 + resources: + limits: + cpu: 2 + memory: 2Gi + requests: + cpu: 100m + memory: 1Gi + tlsEnabled: true diff --git a/test/test_data/crdbop-920/mutated--1.yaml b/test/test_data/crdbop-920/mutated--1.yaml new file mode 100644 index 0000000000..c3e1ed6864 --- /dev/null +++ b/test/test_data/crdbop-920/mutated--1.yaml @@ -0,0 +1,32 @@ +apiVersion: crdb.cockroachlabs.com/v1alpha1 +kind: CrdbCluster +metadata: + name: test-cluster +spec: + additionalLabels: + crdb: is-cool + dataStore: + pvc: + spec: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 1Gi + volumeMode: Filesystem + image: + name: cockroachdb/cockroach:v21.2.10 + ingress: + sql: + host: mynbiqpmzj + tls: + - secretName: ACTOKEY + nodes: 3 + resources: + limits: + cpu: 2 + memory: 2Gi + requests: + cpu: 100m + memory: 1Gi + tlsEnabled: true diff --git a/test/test_data/crdbop-920/mutated-0.yaml b/test/test_data/crdbop-920/mutated-0.yaml new file mode 100644 index 0000000000..fd0e8ddafa --- /dev/null +++ b/test/test_data/crdbop-920/mutated-0.yaml @@ -0,0 +1,27 @@ +apiVersion: crdb.cockroachlabs.com/v1alpha1 +kind: CrdbCluster +metadata: + name: test-cluster +spec: + additionalLabels: + crdb: is-cool + dataStore: + pvc: + spec: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 1Gi + volumeMode: Filesystem + image: + name: cockroachdb/cockroach:v21.2.10 + nodes: 3 + resources: + limits: + cpu: 2 + memory: 2Gi + requests: + cpu: 100m + memory: 1Gi + tlsEnabled: true diff --git a/test/test_data/crdbop-920/mutated-1.yaml b/test/test_data/crdbop-920/mutated-1.yaml new file mode 100644 index 0000000000..c3e1ed6864 --- /dev/null +++ b/test/test_data/crdbop-920/mutated-1.yaml @@ -0,0 +1,32 @@ +apiVersion: crdb.cockroachlabs.com/v1alpha1 +kind: CrdbCluster +metadata: + name: test-cluster +spec: + additionalLabels: + crdb: is-cool + dataStore: + pvc: + spec: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 1Gi + volumeMode: Filesystem + image: + name: cockroachdb/cockroach:v21.2.10 + ingress: + sql: + host: mynbiqpmzj + tls: + - secretName: ACTOKEY + nodes: 3 + resources: + limits: + cpu: 2 + memory: 2Gi + requests: + cpu: 100m + memory: 1Gi + tlsEnabled: true diff --git a/test/test_data/crdbop-920/mutated-2.yaml b/test/test_data/crdbop-920/mutated-2.yaml new file mode 100644 index 0000000000..c2c774d442 --- /dev/null +++ b/test/test_data/crdbop-920/mutated-2.yaml @@ -0,0 +1,32 @@ +apiVersion: crdb.cockroachlabs.com/v1alpha1 +kind: CrdbCluster +metadata: + name: test-cluster +spec: + additionalLabels: + crdb: is-cool + dataStore: + pvc: + spec: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 1Gi + volumeMode: Filesystem + image: + name: cockroachdb/cockroach:v21.2.10 + ingress: + sql: + host: mynbiqpmzj + tls: + - secretName: '' + nodes: 3 + resources: + limits: + cpu: 2 + memory: 2Gi + requests: + cpu: 100m + memory: 1Gi + tlsEnabled: true diff --git a/test/test_data/crdbop-920/operator--1.log b/test/test_data/crdbop-920/operator--1.log new file mode 100644 index 0000000000..b32071cfb3 --- /dev/null +++ b/test/test_data/crdbop-920/operator--1.log @@ -0,0 +1,6 @@ +{"level":"info","ts":1683232458.0576742,"logger":"webhooks","msg":"validate update","name":"test-cluster"} +{"level":"info","ts":1683232458.0576825,"logger":"webhooks","msg":"validate ingress","name":"test-cluster"} +{"level":"info","ts":1683232458.0592434,"logger":"controller.CrdbCluster","msg":"reconciling CockroachDB cluster","CrdbCluster":"cockroach-operator-system/test-cluster","ReconcileId":"UQWcR3MVQN6CcdK4728Duc"} +{"level":"info","ts":1683232458.059266,"logger":"webhooks","msg":"default","name":"test-cluster"} +{"level":"info","ts":1683232458.0689147,"logger":"controller.CrdbCluster","msg":"No actor to run; not requeueing","CrdbCluster":"cockroach-operator-system/test-cluster","ReconcileId":"UQWcR3MVQN6CcdK4728Duc"} + diff --git a/test/test_data/crdbop-920/operator-0.log b/test/test_data/crdbop-920/operator-0.log new file mode 100644 index 0000000000..c29fab896d --- /dev/null +++ b/test/test_data/crdbop-920/operator-0.log @@ -0,0 +1,201 @@ +{"level":"info","ts":1683232252.8006327,"logger":"controller-runtime.metrics","msg":"metrics server is starting to listen","addr":":8080"} +{"level":"info","ts":1683232252.8007448,"logger":"controller-runtime.injectors-warning","msg":"Injectors are deprecated, and will be removed in v0.10.x"} +{"level":"info","ts":1683232252.8007581,"logger":"controller-runtime.builder","msg":"Registering a mutating webhook","GVK":"crdb.cockroachlabs.com/v1alpha1, Kind=CrdbCluster","path":"/mutate-crdb-cockroachlabs-com-v1alpha1-crdbcluster"} +{"level":"info","ts":1683232252.8008025,"logger":"controller-runtime.webhook","msg":"registering webhook","path":"/mutate-crdb-cockroachlabs-com-v1alpha1-crdbcluster"} +{"level":"info","ts":1683232252.8008077,"logger":"controller-runtime.injectors-warning","msg":"Injectors are deprecated, and will be removed in v0.10.x"} +{"level":"info","ts":1683232252.8008127,"logger":"controller-runtime.injectors-warning","msg":"Injectors are deprecated, and will be removed in v0.10.x"} +{"level":"info","ts":1683232252.800815,"logger":"controller-runtime.injectors-warning","msg":"Injectors are deprecated, and will be removed in v0.10.x"} +{"level":"info","ts":1683232252.8008323,"logger":"controller-runtime.injectors-warning","msg":"Injectors are deprecated, and will be removed in v0.10.x"} +{"level":"info","ts":1683232252.800838,"logger":"controller-runtime.builder","msg":"Registering a validating webhook","GVK":"crdb.cockroachlabs.com/v1alpha1, Kind=CrdbCluster","path":"/validate-crdb-cockroachlabs-com-v1alpha1-crdbcluster"} +{"level":"info","ts":1683232252.800853,"logger":"controller-runtime.webhook","msg":"registering webhook","path":"/validate-crdb-cockroachlabs-com-v1alpha1-crdbcluster"} +{"level":"info","ts":1683232252.8008547,"logger":"controller-runtime.injectors-warning","msg":"Injectors are deprecated, and will be removed in v0.10.x"} +{"level":"info","ts":1683232252.8008597,"logger":"controller-runtime.injectors-warning","msg":"Injectors are deprecated, and will be removed in v0.10.x"} +{"level":"info","ts":1683232252.8008611,"logger":"controller-runtime.injectors-warning","msg":"Injectors are deprecated, and will be removed in v0.10.x"} +{"level":"info","ts":1683232252.8008711,"logger":"controller-runtime.injectors-warning","msg":"Injectors are deprecated, and will be removed in v0.10.x"} +{"level":"info","ts":1683232252.8022738,"logger":"controller-runtime.injectors-warning","msg":"Injectors are deprecated, and will be removed in v0.10.x"} +{"level":"info","ts":1683232252.802293,"logger":"controller-runtime.injectors-warning","msg":"Injectors are deprecated, and will be removed in v0.10.x"} +{"level":"info","ts":1683232252.802298,"logger":"controller-runtime.injectors-warning","msg":"Injectors are deprecated, and will be removed in v0.10.x"} +{"level":"info","ts":1683232252.8023012,"logger":"controller-runtime.injectors-warning","msg":"Injectors are deprecated, and will be removed in v0.10.x"} +{"level":"info","ts":1683232252.8023033,"logger":"controller-runtime.injectors-warning","msg":"Injectors are deprecated, and will be removed in v0.10.x"} +{"level":"info","ts":1683232252.8023057,"logger":"controller-runtime.injectors-warning","msg":"Injectors are deprecated, and will be removed in v0.10.x"} +{"level":"info","ts":1683232252.8023074,"logger":"controller-runtime.injectors-warning","msg":"Injectors are deprecated, and will be removed in v0.10.x"} +{"level":"info","ts":1683232252.8023088,"logger":"controller-runtime.injectors-warning","msg":"Injectors are deprecated, and will be removed in v0.10.x"} +{"level":"info","ts":1683232252.802311,"logger":"controller-runtime.injectors-warning","msg":"Injectors are deprecated, and will be removed in v0.10.x"} +{"level":"info","ts":1683232252.8023124,"logger":"controller-runtime.injectors-warning","msg":"Injectors are deprecated, and will be removed in v0.10.x"} +{"level":"info","ts":1683232252.802314,"logger":"controller-runtime.injectors-warning","msg":"Injectors are deprecated, and will be removed in v0.10.x"} +{"level":"info","ts":1683232252.8023155,"logger":"controller-runtime.injectors-warning","msg":"Injectors are deprecated, and will be removed in v0.10.x"} +{"level":"info","ts":1683232252.802317,"logger":"controller-runtime.injectors-warning","msg":"Injectors are deprecated, and will be removed in v0.10.x"} +{"level":"info","ts":1683232252.8023183,"logger":"controller-runtime.injectors-warning","msg":"Injectors are deprecated, and will be removed in v0.10.x"} +{"level":"info","ts":1683232252.8023202,"logger":"controller-runtime.injectors-warning","msg":"Injectors are deprecated, and will be removed in v0.10.x"} +{"level":"info","ts":1683232252.8023226,"logger":"controller-runtime.injectors-warning","msg":"Injectors are deprecated, and will be removed in v0.10.x"} +{"level":"info","ts":1683232252.802324,"logger":"controller-runtime.injectors-warning","msg":"Injectors are deprecated, and will be removed in v0.10.x"} +{"level":"info","ts":1683232252.8042743,"logger":"webhook-setup","msg":"Generating webhook certificate"} +{"level":"info","ts":1683232255.3081155,"logger":"webhook-setup","msg":"Patching CABundle for mutating webhook","config":"cockroach-operator-mutating-webhook-configuration","webhook":"mcrdbcluster.kb.io"} +{"level":"info","ts":1683232255.311349,"logger":"webhook-setup","msg":"Patching CABundle for validating webhook","config":"cockroach-operator-mutating-webhook-configuration","webhook":"mcrdbcluster.kb.io"} +{"level":"info","ts":1683232255.314729,"logger":"setup","msg":"starting manager"} +{"level":"info","ts":1683232255.3152406,"logger":"controller-runtime.webhook.webhooks","msg":"starting webhook server"} +{"level":"info","ts":1683232255.3152723,"logger":"controller-runtime.manager","msg":"starting metrics server","path":"/metrics"} +{"level":"info","ts":1683232255.3153312,"logger":"controller-runtime.manager.controller.crdbcluster","msg":"Starting EventSource","reconciler group":"crdb.cockroachlabs.com","reconciler kind":"CrdbCluster","source":"kind source: /, Kind="} +{"level":"info","ts":1683232255.315516,"logger":"controller-runtime.certwatcher","msg":"Updated current TLS certificate"} +{"level":"info","ts":1683232255.3155558,"logger":"controller-runtime.webhook","msg":"serving webhook server","host":"","port":9443} +{"level":"info","ts":1683232255.3155806,"logger":"controller-runtime.certwatcher","msg":"Starting certificate watcher"} +{"level":"info","ts":1683232255.4159355,"logger":"controller-runtime.manager.controller.crdbcluster","msg":"Starting EventSource","reconciler group":"crdb.cockroachlabs.com","reconciler kind":"CrdbCluster","source":"kind source: /, Kind="} +{"level":"info","ts":1683232255.5166671,"logger":"controller-runtime.manager.controller.crdbcluster","msg":"Starting EventSource","reconciler group":"crdb.cockroachlabs.com","reconciler kind":"CrdbCluster","source":"kind source: /, Kind="} +{"level":"info","ts":1683232255.6172817,"logger":"controller-runtime.manager.controller.crdbcluster","msg":"Starting EventSource","reconciler group":"crdb.cockroachlabs.com","reconciler kind":"CrdbCluster","source":"kind source: /, Kind="} +W0504 20:30:55.618274 1 warnings.go:70] policy/v1beta1 PodDisruptionBudget is deprecated in v1.21+, unavailable in v1.25+; use policy/v1 PodDisruptionBudget +W0504 20:30:55.618732 1 warnings.go:70] policy/v1beta1 PodDisruptionBudget is deprecated in v1.21+, unavailable in v1.25+; use policy/v1 PodDisruptionBudget +{"level":"info","ts":1683232255.7179234,"logger":"controller-runtime.manager.controller.crdbcluster","msg":"Starting EventSource","reconciler group":"crdb.cockroachlabs.com","reconciler kind":"CrdbCluster","source":"kind source: /, Kind="} +{"level":"info","ts":1683232255.818669,"logger":"controller-runtime.manager.controller.crdbcluster","msg":"Starting EventSource","reconciler group":"crdb.cockroachlabs.com","reconciler kind":"CrdbCluster","source":"kind source: /, Kind="} +{"level":"info","ts":1683232255.9192445,"logger":"controller-runtime.manager.controller.crdbcluster","msg":"Starting Controller","reconciler group":"crdb.cockroachlabs.com","reconciler kind":"CrdbCluster"} +{"level":"info","ts":1683232255.919276,"logger":"controller-runtime.manager.controller.crdbcluster","msg":"Starting workers","reconciler group":"crdb.cockroachlabs.com","reconciler kind":"CrdbCluster","worker count":1} +{"level":"info","ts":1683232255.9193428,"logger":"controller.CrdbCluster","msg":"reconciling CockroachDB cluster","CrdbCluster":"cockroach-operator-system/test-cluster","ReconcileId":"aBXCEuPNeEoFNdWUk85nkE"} +{"level":"info","ts":1683232255.9193738,"logger":"webhooks","msg":"default","name":"test-cluster"} +{"level":"info","ts":1683232255.9238627,"logger":"controller.CrdbCluster","msg":"reconciling CockroachDB cluster","CrdbCluster":"cockroach-operator-system/test-cluster","ReconcileId":"i4pgCJseiBL8k2MLVfcxyS"} +{"level":"info","ts":1683232255.923884,"logger":"webhooks","msg":"default","name":"test-cluster"} +{"level":"info","ts":1683232255.9247959,"logger":"controller.CrdbCluster","msg":"Running action with name: SetupRBAC","CrdbCluster":"cockroach-operator-system/test-cluster","ReconcileId":"i4pgCJseiBL8k2MLVfcxyS"} +{"level":"warn","ts":1683232255.9248016,"logger":"controller.CrdbCluster","msg":"creating service account, role, and role bindings","CrdbCluster":"cockroach-operator-system/test-cluster","ReconcileId":"i4pgCJseiBL8k2MLVfcxyS"} +{"level":"info","ts":1683232256.2367828,"logger":"controller.CrdbCluster","msg":"Finished setting up RBAC","CrdbCluster":"cockroach-operator-system/test-cluster","ReconcileId":"i4pgCJseiBL8k2MLVfcxyS","cluster":"test-cluster","namespace":"cockroach-operator-system"} +{"level":"info","ts":1683232256.2394054,"logger":"controller.CrdbCluster","msg":"reconciliation completed","CrdbCluster":"cockroach-operator-system/test-cluster","ReconcileId":"i4pgCJseiBL8k2MLVfcxyS"} +{"level":"info","ts":1683232256.2394452,"logger":"controller.CrdbCluster","msg":"reconciling CockroachDB cluster","CrdbCluster":"cockroach-operator-system/test-cluster","ReconcileId":"fHFVZDJjEAhQXVVkKixCcY"} +{"level":"info","ts":1683232256.2394621,"logger":"webhooks","msg":"default","name":"test-cluster"} +{"level":"info","ts":1683232256.2405324,"logger":"controller.CrdbCluster","msg":"Running action with name: VersionCheckerAction","CrdbCluster":"cockroach-operator-system/test-cluster","ReconcileId":"fHFVZDJjEAhQXVVkKixCcY"} +{"level":"warn","ts":1683232256.2405386,"logger":"controller.CrdbCluster","msg":"starting to check the logging config provided","CrdbCluster":"cockroach-operator-system/test-cluster","ReconcileId":"fHFVZDJjEAhQXVVkKixCcY"} +{"level":"warn","ts":1683232256.2405794,"logger":"controller.CrdbCluster","msg":"Log configuration for the cockroach cluster: \"{sinks: {stderr: {channels: [OPS, HEALTH], redact: true}}}\"","CrdbCluster":"cockroach-operator-system/test-cluster","ReconcileId":"fHFVZDJjEAhQXVVkKixCcY"} +{"level":"warn","ts":1683232256.290261,"logger":"controller.CrdbCluster","msg":"Validated the logging config","CrdbCluster":"cockroach-operator-system/test-cluster","ReconcileId":"fHFVZDJjEAhQXVVkKixCcY"} +{"level":"warn","ts":1683232256.2902758,"logger":"controller.CrdbCluster","msg":"starting to check the crdb version of the container provided","CrdbCluster":"cockroach-operator-system/test-cluster","ReconcileId":"fHFVZDJjEAhQXVVkKixCcY"} +{"level":"warn","ts":1683232256.2902982,"logger":"controller.CrdbCluster","msg":"User set image.name, using that field instead of cockroachDBVersion","CrdbCluster":"cockroach-operator-system/test-cluster","ReconcileId":"fHFVZDJjEAhQXVVkKixCcY"} +{"level":"warn","ts":1683232256.3030107,"logger":"controller.CrdbCluster","msg":"created/updated job, stopping request processing","CrdbCluster":"cockroach-operator-system/test-cluster","ReconcileId":"fHFVZDJjEAhQXVVkKixCcY"} +{"level":"info","ts":1683232256.3030305,"logger":"controller.CrdbCluster","msg":"request was interrupted","CrdbCluster":"cockroach-operator-system/test-cluster","ReconcileId":"fHFVZDJjEAhQXVVkKixCcY"} +{"level":"info","ts":1683232256.3030622,"logger":"controller.CrdbCluster","msg":"reconciling CockroachDB cluster","CrdbCluster":"cockroach-operator-system/test-cluster","ReconcileId":"f7Xveac7VRt87JiDEKjDiP"} +{"level":"info","ts":1683232256.3030818,"logger":"webhooks","msg":"default","name":"test-cluster"} +{"level":"info","ts":1683232256.3041818,"logger":"controller.CrdbCluster","msg":"Running action with name: VersionCheckerAction","CrdbCluster":"cockroach-operator-system/test-cluster","ReconcileId":"f7Xveac7VRt87JiDEKjDiP"} +{"level":"warn","ts":1683232256.3041875,"logger":"controller.CrdbCluster","msg":"starting to check the logging config provided","CrdbCluster":"cockroach-operator-system/test-cluster","ReconcileId":"f7Xveac7VRt87JiDEKjDiP"} +{"level":"warn","ts":1683232256.3042307,"logger":"controller.CrdbCluster","msg":"Log configuration for the cockroach cluster: \"{sinks: {stderr: {channels: [OPS, HEALTH], redact: true}}}\"","CrdbCluster":"cockroach-operator-system/test-cluster","ReconcileId":"f7Xveac7VRt87JiDEKjDiP"} +{"level":"warn","ts":1683232256.3638043,"logger":"controller.CrdbCluster","msg":"Validated the logging config","CrdbCluster":"cockroach-operator-system/test-cluster","ReconcileId":"f7Xveac7VRt87JiDEKjDiP"} +{"level":"warn","ts":1683232256.3638182,"logger":"controller.CrdbCluster","msg":"starting to check the crdb version of the container provided","CrdbCluster":"cockroach-operator-system/test-cluster","ReconcileId":"f7Xveac7VRt87JiDEKjDiP"} +{"level":"warn","ts":1683232256.3638442,"logger":"controller.CrdbCluster","msg":"User set image.name, using that field instead of cockroachDBVersion","CrdbCluster":"cockroach-operator-system/test-cluster","ReconcileId":"f7Xveac7VRt87JiDEKjDiP"} +{"level":"warn","ts":1683232256.3649733,"logger":"controller.CrdbCluster","msg":"version checker","CrdbCluster":"cockroach-operator-system/test-cluster","ReconcileId":"f7Xveac7VRt87JiDEKjDiP","job":"test-cluster-vcheck-28053870"} +{"level":"warn","ts":1683232256.3686433,"logger":"controller.CrdbCluster","msg":"job pod is not ready yet waiting longer","CrdbCluster":"cockroach-operator-system/test-cluster","ReconcileId":"f7Xveac7VRt87JiDEKjDiP"} +{"level":"warn","ts":1683232256.9615538,"logger":"controller.CrdbCluster","msg":"job pod is ready","CrdbCluster":"cockroach-operator-system/test-cluster","ReconcileId":"f7Xveac7VRt87JiDEKjDiP"} +{"level":"info","ts":1683232256.969914,"logger":"webhooks","msg":"default","name":"test-cluster"} +{"level":"info","ts":1683232256.9799645,"logger":"webhooks","msg":"default","name":"test-cluster"} +{"level":"info","ts":1683232256.9895222,"logger":"webhooks","msg":"validate update","name":"test-cluster"} +{"level":"info","ts":1683232256.993391,"logger":"webhooks","msg":"default","name":"test-cluster"} +{"level":"warn","ts":1683232256.997056,"logger":"controller.CrdbCluster","msg":"completed version checker","CrdbCluster":"cockroach-operator-system/test-cluster","ReconcileId":"f7Xveac7VRt87JiDEKjDiP","calVersion":"v21.2.10","containerImage":"cockroachdb/cockroach:v21.2.10"} +{"level":"info","ts":1683232256.9970767,"logger":"controller.CrdbCluster","msg":"request was interrupted","CrdbCluster":"cockroach-operator-system/test-cluster","ReconcileId":"f7Xveac7VRt87JiDEKjDiP"} +{"level":"info","ts":1683232256.9971175,"logger":"controller.CrdbCluster","msg":"reconciling CockroachDB cluster","CrdbCluster":"cockroach-operator-system/test-cluster","ReconcileId":"dyKRFW57bPsU5LCtX8WnTU"} +{"level":"info","ts":1683232256.9971473,"logger":"webhooks","msg":"default","name":"test-cluster"} +{"level":"info","ts":1683232256.998264,"logger":"controller.CrdbCluster","msg":"Running action with name: GenerateCert","CrdbCluster":"cockroach-operator-system/test-cluster","ReconcileId":"dyKRFW57bPsU5LCtX8WnTU"} +{"level":"warn","ts":1683232256.9983888,"logger":"controller.CrdbCluster","msg":"generating CA","CrdbCluster":"cockroach-operator-system/test-cluster","ReconcileId":"dyKRFW57bPsU5LCtX8WnTU"} +{"level":"warn","ts":1683232257.4202003,"logger":"controller.CrdbCluster","msg":"generated and saved ca key","CrdbCluster":"cockroach-operator-system/test-cluster","ReconcileId":"dyKRFW57bPsU5LCtX8WnTU"} +{"level":"warn","ts":1683232257.4202135,"logger":"controller.CrdbCluster","msg":"generating node certificate","CrdbCluster":"cockroach-operator-system/test-cluster","ReconcileId":"dyKRFW57bPsU5LCtX8WnTU"} +{"level":"warn","ts":1683232257.7173405,"logger":"controller.CrdbCluster","msg":"generated and saved node certificate and key","CrdbCluster":"cockroach-operator-system/test-cluster","ReconcileId":"dyKRFW57bPsU5LCtX8WnTU"} +{"level":"warn","ts":1683232257.7173502,"logger":"controller.CrdbCluster","msg":"getExpirationDate from cert","CrdbCluster":"cockroach-operator-system/test-cluster","ReconcileId":"dyKRFW57bPsU5LCtX8WnTU"} +{"level":"warn","ts":1683232257.7173793,"logger":"controller.CrdbCluster","msg":"getExpirationDate from cert","CrdbCluster":"cockroach-operator-system/test-cluster","ReconcileId":"dyKRFW57bPsU5LCtX8WnTU","Not before:":"2023-05-03T20:30:57Z","Not after:":"2028-05-07T20:30:57Z"} +{"level":"warn","ts":1683232257.717384,"logger":"controller.CrdbCluster","msg":"generating client certificate","CrdbCluster":"cockroach-operator-system/test-cluster","ReconcileId":"dyKRFW57bPsU5LCtX8WnTU"} +{"level":"warn","ts":1683232257.9432354,"logger":"controller.CrdbCluster","msg":"generated and saved client certificate and key","CrdbCluster":"cockroach-operator-system/test-cluster","ReconcileId":"dyKRFW57bPsU5LCtX8WnTU"} +{"level":"info","ts":1683232257.9433126,"logger":"webhooks","msg":"default","name":"test-cluster"} +{"level":"info","ts":1683232257.9453259,"logger":"webhooks","msg":"default","name":"test-cluster"} +{"level":"info","ts":1683232257.946635,"logger":"webhooks","msg":"validate update","name":"test-cluster"} +{"level":"info","ts":1683232257.9479501,"logger":"webhooks","msg":"default","name":"test-cluster"} +{"level":"error","ts":1683232257.9498835,"logger":"controller.CrdbCluster","msg":"failed saving the status on generate cert","CrdbCluster":"cockroach-operator-system/test-cluster","ReconcileId":"dyKRFW57bPsU5LCtX8WnTU","error":"Operation cannot be fulfilled on crdbclusters.crdb.cockroachlabs.com \"test-cluster\": the object has been modified; please apply your changes to the latest version and try again","stacktrace":"github.com/go-logr/zapr.(*zapLogger).Error\n\texternal/com_github_go_logr_zapr/zapr.go:132\ngithub.com/cockroachdb/cockroach-operator/pkg/actor.(*generateCert).Act.func2\n\tpkg/actor/generate_cert.go:168\nk8s.io/client-go/util/retry.OnError.func1\n\texternal/io_k8s_client_go/util/retry/util.go:51\nk8s.io/apimachinery/pkg/util/wait.runConditionWithCrashProtection\n\texternal/io_k8s_apimachinery/pkg/util/wait/wait.go:211\nk8s.io/apimachinery/pkg/util/wait.ExponentialBackoff\n\texternal/io_k8s_apimachinery/pkg/util/wait/wait.go:399\nk8s.io/client-go/util/retry.OnError\n\texternal/io_k8s_client_go/util/retry/util.go:50\nk8s.io/client-go/util/retry.RetryOnConflict\n\texternal/io_k8s_client_go/util/retry/util.go:104\ngithub.com/cockroachdb/cockroach-operator/pkg/actor.(*generateCert).Act\n\tpkg/actor/generate_cert.go:150\ngithub.com/cockroachdb/cockroach-operator/pkg/controller.(*ClusterReconciler).Reconcile\n\tpkg/controller/cluster_controller.go:154\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler\n\texternal/io_k8s_sigs_controller_runtime/pkg/internal/controller/controller.go:297\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem\n\texternal/io_k8s_sigs_controller_runtime/pkg/internal/controller/controller.go:252\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func1.2\n\texternal/io_k8s_sigs_controller_runtime/pkg/internal/controller/controller.go:215\nk8s.io/apimachinery/pkg/util/wait.JitterUntilWithContext.func1\n\texternal/io_k8s_apimachinery/pkg/util/wait/wait.go:185\nk8s.io/apimachinery/pkg/util/wait.BackoffUntil.func1\n\texternal/io_k8s_apimachinery/pkg/util/wait/wait.go:155\nk8s.io/apimachinery/pkg/util/wait.BackoffUntil\n\texternal/io_k8s_apimachinery/pkg/util/wait/wait.go:156\nk8s.io/apimachinery/pkg/util/wait.JitterUntil\n\texternal/io_k8s_apimachinery/pkg/util/wait/wait.go:133\nk8s.io/apimachinery/pkg/util/wait.JitterUntilWithContext\n\texternal/io_k8s_apimachinery/pkg/util/wait/wait.go:185\nk8s.io/apimachinery/pkg/util/wait.UntilWithContext\n\texternal/io_k8s_apimachinery/pkg/util/wait/wait.go:99"} +{"level":"info","ts":1683232257.9611628,"logger":"webhooks","msg":"default","name":"test-cluster"} +{"level":"warn","ts":1683232257.964526,"logger":"controller.CrdbCluster","msg":"cluster resources is not up to date","CrdbCluster":"cockroach-operator-system/test-cluster","ReconcileId":"dyKRFW57bPsU5LCtX8WnTU"} +{"level":"info","ts":1683232257.9645705,"logger":"controller.CrdbCluster","msg":"reconciling CockroachDB cluster","CrdbCluster":"cockroach-operator-system/test-cluster","ReconcileId":"eKYNAAKCaQHhvZUyrwuAgA"} +{"level":"info","ts":1683232257.9645832,"logger":"webhooks","msg":"default","name":"test-cluster"} +{"level":"info","ts":1683232257.9687963,"logger":"controller.CrdbCluster","msg":"Running action with name: Deploy","CrdbCluster":"cockroach-operator-system/test-cluster","ReconcileId":"eKYNAAKCaQHhvZUyrwuAgA"} +{"level":"warn","ts":1683232257.9688036,"logger":"controller.CrdbCluster","msg":"reconciling resources on deploy action","CrdbCluster":"cockroach-operator-system/test-cluster","ReconcileId":"eKYNAAKCaQHhvZUyrwuAgA"} +{"level":"info","ts":1683232257.973032,"logger":"controller.CrdbCluster","msg":"created/updated a resource, stopping request processing","CrdbCluster":"cockroach-operator-system/test-cluster","ReconcileId":"eKYNAAKCaQHhvZUyrwuAgA","resource":"test-cluster"} +{"level":"info","ts":1683232257.973055,"logger":"controller.CrdbCluster","msg":"request was interrupted","CrdbCluster":"cockroach-operator-system/test-cluster","ReconcileId":"eKYNAAKCaQHhvZUyrwuAgA"} +{"level":"info","ts":1683232257.9730933,"logger":"controller.CrdbCluster","msg":"reconciling CockroachDB cluster","CrdbCluster":"cockroach-operator-system/test-cluster","ReconcileId":"2bA6U2qyNUxdoEYg3hFcwD"} +{"level":"info","ts":1683232257.9731164,"logger":"webhooks","msg":"default","name":"test-cluster"} +{"level":"info","ts":1683232257.9796324,"logger":"controller.CrdbCluster","msg":"Running action with name: Deploy","CrdbCluster":"cockroach-operator-system/test-cluster","ReconcileId":"2bA6U2qyNUxdoEYg3hFcwD"} +{"level":"warn","ts":1683232257.9796453,"logger":"controller.CrdbCluster","msg":"reconciling resources on deploy action","CrdbCluster":"cockroach-operator-system/test-cluster","ReconcileId":"2bA6U2qyNUxdoEYg3hFcwD"} +{"level":"info","ts":1683232257.9868326,"logger":"controller.CrdbCluster","msg":"created/updated a resource, stopping request processing","CrdbCluster":"cockroach-operator-system/test-cluster","ReconcileId":"2bA6U2qyNUxdoEYg3hFcwD","resource":"test-cluster-public"} +{"level":"info","ts":1683232257.9868534,"logger":"controller.CrdbCluster","msg":"request was interrupted","CrdbCluster":"cockroach-operator-system/test-cluster","ReconcileId":"2bA6U2qyNUxdoEYg3hFcwD"} +{"level":"info","ts":1683232257.9868882,"logger":"controller.CrdbCluster","msg":"reconciling CockroachDB cluster","CrdbCluster":"cockroach-operator-system/test-cluster","ReconcileId":"MwScKNmKLXggQM79bSpex5"} +{"level":"info","ts":1683232257.986964,"logger":"webhooks","msg":"default","name":"test-cluster"} +{"level":"info","ts":1683232257.9948034,"logger":"controller.CrdbCluster","msg":"Running action with name: Deploy","CrdbCluster":"cockroach-operator-system/test-cluster","ReconcileId":"MwScKNmKLXggQM79bSpex5"} +{"level":"warn","ts":1683232257.994821,"logger":"controller.CrdbCluster","msg":"reconciling resources on deploy action","CrdbCluster":"cockroach-operator-system/test-cluster","ReconcileId":"MwScKNmKLXggQM79bSpex5"} +{"level":"info","ts":1683232258.0062308,"logger":"controller.CrdbCluster","msg":"created/updated a resource, stopping request processing","CrdbCluster":"cockroach-operator-system/test-cluster","ReconcileId":"MwScKNmKLXggQM79bSpex5","resource":"test-cluster"} +{"level":"info","ts":1683232258.0062482,"logger":"controller.CrdbCluster","msg":"request was interrupted","CrdbCluster":"cockroach-operator-system/test-cluster","ReconcileId":"MwScKNmKLXggQM79bSpex5"} +{"level":"info","ts":1683232258.0063417,"logger":"controller.CrdbCluster","msg":"reconciling CockroachDB cluster","CrdbCluster":"cockroach-operator-system/test-cluster","ReconcileId":"xYwbN6GKxQBAgyWpbYv3q6"} +{"level":"info","ts":1683232258.0063853,"logger":"webhooks","msg":"default","name":"test-cluster"} +{"level":"info","ts":1683232258.029127,"logger":"controller.CrdbCluster","msg":"Running action with name: Deploy","CrdbCluster":"cockroach-operator-system/test-cluster","ReconcileId":"xYwbN6GKxQBAgyWpbYv3q6"} +{"level":"warn","ts":1683232258.0291452,"logger":"controller.CrdbCluster","msg":"reconciling resources on deploy action","CrdbCluster":"cockroach-operator-system/test-cluster","ReconcileId":"xYwbN6GKxQBAgyWpbYv3q6"} +W0504 20:30:58.046056 1 warnings.go:70] policy/v1beta1 PodDisruptionBudget is deprecated in v1.21+, unavailable in v1.25+; use policy/v1 PodDisruptionBudget +{"level":"info","ts":1683232258.046157,"logger":"controller.CrdbCluster","msg":"created/updated a resource, stopping request processing","CrdbCluster":"cockroach-operator-system/test-cluster","ReconcileId":"xYwbN6GKxQBAgyWpbYv3q6","resource":"test-cluster"} +{"level":"info","ts":1683232258.0461786,"logger":"controller.CrdbCluster","msg":"request was interrupted","CrdbCluster":"cockroach-operator-system/test-cluster","ReconcileId":"xYwbN6GKxQBAgyWpbYv3q6"} +{"level":"info","ts":1683232258.046217,"logger":"controller.CrdbCluster","msg":"reconciling CockroachDB cluster","CrdbCluster":"cockroach-operator-system/test-cluster","ReconcileId":"WKS4h5kJbqrWvSrwCFJwji"} +{"level":"info","ts":1683232258.0462427,"logger":"webhooks","msg":"default","name":"test-cluster"} +{"level":"info","ts":1683232258.05997,"logger":"controller.CrdbCluster","msg":"Running action with name: Initialize","CrdbCluster":"cockroach-operator-system/test-cluster","ReconcileId":"WKS4h5kJbqrWvSrwCFJwji"} +{"level":"warn","ts":1683232258.060206,"logger":"controller.CrdbCluster","msg":"initializing CockroachDB","CrdbCluster":"cockroach-operator-system/test-cluster","ReconcileId":"WKS4h5kJbqrWvSrwCFJwji"} +{"level":"info","ts":1683232258.0655005,"logger":"controller.CrdbCluster","msg":"Error on action","CrdbCluster":"cockroach-operator-system/test-cluster","ReconcileId":"WKS4h5kJbqrWvSrwCFJwji","Action":"Initialize","err":"pod is not running"} +{"level":"warn","ts":1683232258.065562,"logger":"controller.CrdbCluster","msg":"requeueing","CrdbCluster":"cockroach-operator-system/test-cluster","ReconcileId":"WKS4h5kJbqrWvSrwCFJwji","reason":"pod is not running","Action":"Initialize"} +{"level":"info","ts":1683232258.06934,"logger":"controller.CrdbCluster","msg":"reconciling CockroachDB cluster","CrdbCluster":"cockroach-operator-system/test-cluster","ReconcileId":"kSBr6KS8zXQTRSRuYLgnTf"} +{"level":"info","ts":1683232258.0693688,"logger":"webhooks","msg":"default","name":"test-cluster"} +{"level":"info","ts":1683232258.0780203,"logger":"controller.CrdbCluster","msg":"Running action with name: Initialize","CrdbCluster":"cockroach-operator-system/test-cluster","ReconcileId":"kSBr6KS8zXQTRSRuYLgnTf"} +{"level":"warn","ts":1683232258.0780344,"logger":"controller.CrdbCluster","msg":"initializing CockroachDB","CrdbCluster":"cockroach-operator-system/test-cluster","ReconcileId":"kSBr6KS8zXQTRSRuYLgnTf"} +{"level":"info","ts":1683232258.0801244,"logger":"controller.CrdbCluster","msg":"Error on action","CrdbCluster":"cockroach-operator-system/test-cluster","ReconcileId":"kSBr6KS8zXQTRSRuYLgnTf","Action":"Initialize","err":"pod is not running"} +{"level":"warn","ts":1683232258.0801415,"logger":"controller.CrdbCluster","msg":"requeueing","CrdbCluster":"cockroach-operator-system/test-cluster","ReconcileId":"kSBr6KS8zXQTRSRuYLgnTf","reason":"pod is not running","Action":"Initialize"} +{"level":"error","ts":1683232258.0821896,"logger":"controller.CrdbCluster","msg":"failed to update cluster status","CrdbCluster":"cockroach-operator-system/test-cluster","ReconcileId":"kSBr6KS8zXQTRSRuYLgnTf","error":"Operation cannot be fulfilled on crdbclusters.crdb.cockroachlabs.com \"test-cluster\": the object has been modified; please apply your changes to the latest version and try again","stacktrace":"github.com/go-logr/zapr.(*zapLogger).Error\n\texternal/com_github_go_logr_zapr/zapr.go:132\ngithub.com/cockroachdb/cockroach-operator/pkg/controller.(*ClusterReconciler).Reconcile.func1\n\tpkg/controller/cluster_controller.go:160\ngithub.com/cockroachdb/cockroach-operator/pkg/controller.(*ClusterReconciler).Reconcile\n\tpkg/controller/cluster_controller.go:166\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler\n\texternal/io_k8s_sigs_controller_runtime/pkg/internal/controller/controller.go:297\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem\n\texternal/io_k8s_sigs_controller_runtime/pkg/internal/controller/controller.go:252\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func1.2\n\texternal/io_k8s_sigs_controller_runtime/pkg/internal/controller/controller.go:215\nk8s.io/apimachinery/pkg/util/wait.JitterUntilWithContext.func1\n\texternal/io_k8s_apimachinery/pkg/util/wait/wait.go:185\nk8s.io/apimachinery/pkg/util/wait.BackoffUntil.func1\n\texternal/io_k8s_apimachinery/pkg/util/wait/wait.go:155\nk8s.io/apimachinery/pkg/util/wait.BackoffUntil\n\texternal/io_k8s_apimachinery/pkg/util/wait/wait.go:156\nk8s.io/apimachinery/pkg/util/wait.JitterUntil\n\texternal/io_k8s_apimachinery/pkg/util/wait/wait.go:133\nk8s.io/apimachinery/pkg/util/wait.JitterUntilWithContext\n\texternal/io_k8s_apimachinery/pkg/util/wait/wait.go:185\nk8s.io/apimachinery/pkg/util/wait.UntilWithContext\n\texternal/io_k8s_apimachinery/pkg/util/wait/wait.go:99"} +{"level":"info","ts":1683232258.0822816,"logger":"controller.CrdbCluster","msg":"reconciling CockroachDB cluster","CrdbCluster":"cockroach-operator-system/test-cluster","ReconcileId":"9vtEdR6Vy8VgaGxKkyVYxY"} +{"level":"info","ts":1683232258.0823016,"logger":"webhooks","msg":"default","name":"test-cluster"} +{"level":"info","ts":1683232258.0890021,"logger":"controller.CrdbCluster","msg":"Running action with name: Initialize","CrdbCluster":"cockroach-operator-system/test-cluster","ReconcileId":"9vtEdR6Vy8VgaGxKkyVYxY"} +{"level":"warn","ts":1683232258.0890124,"logger":"controller.CrdbCluster","msg":"initializing CockroachDB","CrdbCluster":"cockroach-operator-system/test-cluster","ReconcileId":"9vtEdR6Vy8VgaGxKkyVYxY"} +{"level":"info","ts":1683232258.0910635,"logger":"controller.CrdbCluster","msg":"Error on action","CrdbCluster":"cockroach-operator-system/test-cluster","ReconcileId":"9vtEdR6Vy8VgaGxKkyVYxY","Action":"Initialize","err":"pod is not running"} +{"level":"warn","ts":1683232258.091077,"logger":"controller.CrdbCluster","msg":"requeueing","CrdbCluster":"cockroach-operator-system/test-cluster","ReconcileId":"9vtEdR6Vy8VgaGxKkyVYxY","reason":"pod is not running","Action":"Initialize"} +{"level":"info","ts":1683232263.069964,"logger":"controller.CrdbCluster","msg":"reconciling CockroachDB cluster","CrdbCluster":"cockroach-operator-system/test-cluster","ReconcileId":"jsnqWFecesnAFNZRzjuXwK"} +{"level":"info","ts":1683232263.0699995,"logger":"webhooks","msg":"default","name":"test-cluster"} +{"level":"info","ts":1683232263.0801764,"logger":"controller.CrdbCluster","msg":"Running action with name: Initialize","CrdbCluster":"cockroach-operator-system/test-cluster","ReconcileId":"jsnqWFecesnAFNZRzjuXwK"} +{"level":"warn","ts":1683232263.0801907,"logger":"controller.CrdbCluster","msg":"initializing CockroachDB","CrdbCluster":"cockroach-operator-system/test-cluster","ReconcileId":"jsnqWFecesnAFNZRzjuXwK"} +{"level":"info","ts":1683232263.0823376,"logger":"controller.CrdbCluster","msg":"Error on action","CrdbCluster":"cockroach-operator-system/test-cluster","ReconcileId":"jsnqWFecesnAFNZRzjuXwK","Action":"Initialize","err":"pod is not running"} +{"level":"warn","ts":1683232263.0823534,"logger":"controller.CrdbCluster","msg":"requeueing","CrdbCluster":"cockroach-operator-system/test-cluster","ReconcileId":"jsnqWFecesnAFNZRzjuXwK","reason":"pod is not running","Action":"Initialize"} +{"level":"info","ts":1683232263.0855563,"logger":"controller.CrdbCluster","msg":"reconciling CockroachDB cluster","CrdbCluster":"cockroach-operator-system/test-cluster","ReconcileId":"23fGMgQ2GMBszNEudBrWaV"} +{"level":"info","ts":1683232263.0855978,"logger":"webhooks","msg":"default","name":"test-cluster"} +{"level":"info","ts":1683232263.0957296,"logger":"controller.CrdbCluster","msg":"Running action with name: Initialize","CrdbCluster":"cockroach-operator-system/test-cluster","ReconcileId":"23fGMgQ2GMBszNEudBrWaV"} +{"level":"warn","ts":1683232263.09575,"logger":"controller.CrdbCluster","msg":"initializing CockroachDB","CrdbCluster":"cockroach-operator-system/test-cluster","ReconcileId":"23fGMgQ2GMBszNEudBrWaV"} +{"level":"info","ts":1683232263.0979054,"logger":"controller.CrdbCluster","msg":"Error on action","CrdbCluster":"cockroach-operator-system/test-cluster","ReconcileId":"23fGMgQ2GMBszNEudBrWaV","Action":"Initialize","err":"pod is not running"} +{"level":"warn","ts":1683232263.0979261,"logger":"controller.CrdbCluster","msg":"requeueing","CrdbCluster":"cockroach-operator-system/test-cluster","ReconcileId":"23fGMgQ2GMBszNEudBrWaV","reason":"pod is not running","Action":"Initialize"} +{"level":"info","ts":1683232268.0859635,"logger":"controller.CrdbCluster","msg":"reconciling CockroachDB cluster","CrdbCluster":"cockroach-operator-system/test-cluster","ReconcileId":"5LAqyzQ2FPMctGrmA3q7na"} +{"level":"info","ts":1683232268.0859962,"logger":"webhooks","msg":"default","name":"test-cluster"} +{"level":"info","ts":1683232268.0940416,"logger":"controller.CrdbCluster","msg":"Running action with name: Initialize","CrdbCluster":"cockroach-operator-system/test-cluster","ReconcileId":"5LAqyzQ2FPMctGrmA3q7na"} +{"level":"warn","ts":1683232268.094056,"logger":"controller.CrdbCluster","msg":"initializing CockroachDB","CrdbCluster":"cockroach-operator-system/test-cluster","ReconcileId":"5LAqyzQ2FPMctGrmA3q7na"} +{"level":"warn","ts":1683232268.096757,"logger":"controller.CrdbCluster","msg":"Pod is ready","CrdbCluster":"cockroach-operator-system/test-cluster","ReconcileId":"5LAqyzQ2FPMctGrmA3q7na"} +{"level":"warn","ts":1683232268.096779,"logger":"controller.CrdbCluster","msg":"Executing init in pod test-cluster-0 with phase Running","CrdbCluster":"cockroach-operator-system/test-cluster","ReconcileId":"5LAqyzQ2FPMctGrmA3q7na"} +{"level":"warn","ts":1683232268.331088,"logger":"controller.CrdbCluster","msg":"Executed init in pod","CrdbCluster":"cockroach-operator-system/test-cluster","ReconcileId":"5LAqyzQ2FPMctGrmA3q7na"} +{"level":"info","ts":1683232268.3311298,"logger":"webhooks","msg":"default","name":"test-cluster"} +{"level":"warn","ts":1683232268.3345947,"logger":"controller.CrdbCluster","msg":"completed initializing database","CrdbCluster":"cockroach-operator-system/test-cluster","ReconcileId":"5LAqyzQ2FPMctGrmA3q7na"} +{"level":"error","ts":1683232268.336781,"logger":"controller.CrdbCluster","msg":"failed to update cluster status","CrdbCluster":"cockroach-operator-system/test-cluster","ReconcileId":"5LAqyzQ2FPMctGrmA3q7na","error":"Operation cannot be fulfilled on crdbclusters.crdb.cockroachlabs.com \"test-cluster\": the object has been modified; please apply your changes to the latest version and try again","stacktrace":"github.com/go-logr/zapr.(*zapLogger).Error\n\texternal/com_github_go_logr_zapr/zapr.go:132\ngithub.com/cockroachdb/cockroach-operator/pkg/controller.(*ClusterReconciler).Reconcile\n\tpkg/controller/cluster_controller.go:211\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler\n\texternal/io_k8s_sigs_controller_runtime/pkg/internal/controller/controller.go:297\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem\n\texternal/io_k8s_sigs_controller_runtime/pkg/internal/controller/controller.go:252\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func1.2\n\texternal/io_k8s_sigs_controller_runtime/pkg/internal/controller/controller.go:215\nk8s.io/apimachinery/pkg/util/wait.JitterUntilWithContext.func1\n\texternal/io_k8s_apimachinery/pkg/util/wait/wait.go:185\nk8s.io/apimachinery/pkg/util/wait.BackoffUntil.func1\n\texternal/io_k8s_apimachinery/pkg/util/wait/wait.go:155\nk8s.io/apimachinery/pkg/util/wait.BackoffUntil\n\texternal/io_k8s_apimachinery/pkg/util/wait/wait.go:156\nk8s.io/apimachinery/pkg/util/wait.JitterUntil\n\texternal/io_k8s_apimachinery/pkg/util/wait/wait.go:133\nk8s.io/apimachinery/pkg/util/wait.JitterUntilWithContext\n\texternal/io_k8s_apimachinery/pkg/util/wait/wait.go:185\nk8s.io/apimachinery/pkg/util/wait.UntilWithContext\n\texternal/io_k8s_apimachinery/pkg/util/wait/wait.go:99"} +{"level":"error","ts":1683232268.336829,"logger":"controller-runtime.manager.controller.crdbcluster","msg":"Reconciler error","reconciler group":"crdb.cockroachlabs.com","reconciler kind":"CrdbCluster","name":"test-cluster","namespace":"cockroach-operator-system","error":"Operation cannot be fulfilled on crdbclusters.crdb.cockroachlabs.com \"test-cluster\": the object has been modified; please apply your changes to the latest version and try again","stacktrace":"github.com/go-logr/zapr.(*zapLogger).Error\n\texternal/com_github_go_logr_zapr/zapr.go:132\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler\n\texternal/io_k8s_sigs_controller_runtime/pkg/internal/controller/controller.go:301\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem\n\texternal/io_k8s_sigs_controller_runtime/pkg/internal/controller/controller.go:252\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func1.2\n\texternal/io_k8s_sigs_controller_runtime/pkg/internal/controller/controller.go:215\nk8s.io/apimachinery/pkg/util/wait.JitterUntilWithContext.func1\n\texternal/io_k8s_apimachinery/pkg/util/wait/wait.go:185\nk8s.io/apimachinery/pkg/util/wait.BackoffUntil.func1\n\texternal/io_k8s_apimachinery/pkg/util/wait/wait.go:155\nk8s.io/apimachinery/pkg/util/wait.BackoffUntil\n\texternal/io_k8s_apimachinery/pkg/util/wait/wait.go:156\nk8s.io/apimachinery/pkg/util/wait.JitterUntil\n\texternal/io_k8s_apimachinery/pkg/util/wait/wait.go:133\nk8s.io/apimachinery/pkg/util/wait.JitterUntilWithContext\n\texternal/io_k8s_apimachinery/pkg/util/wait/wait.go:185\nk8s.io/apimachinery/pkg/util/wait.UntilWithContext\n\texternal/io_k8s_apimachinery/pkg/util/wait/wait.go:99"} +{"level":"info","ts":1683232268.33688,"logger":"controller.CrdbCluster","msg":"reconciling CockroachDB cluster","CrdbCluster":"cockroach-operator-system/test-cluster","ReconcileId":"s9DttUTJPpw5s3xwDJsESL"} +{"level":"info","ts":1683232268.3369017,"logger":"webhooks","msg":"default","name":"test-cluster"} +{"level":"info","ts":1683232268.3461735,"logger":"controller.CrdbCluster","msg":"No actor to run; not requeueing","CrdbCluster":"cockroach-operator-system/test-cluster","ReconcileId":"s9DttUTJPpw5s3xwDJsESL"} +{"level":"info","ts":1683232268.346238,"logger":"controller.CrdbCluster","msg":"reconciling CockroachDB cluster","CrdbCluster":"cockroach-operator-system/test-cluster","ReconcileId":"PycU7d9FqDBkhMuqBE5dXU"} +{"level":"info","ts":1683232268.346258,"logger":"webhooks","msg":"default","name":"test-cluster"} +{"level":"info","ts":1683232268.3543072,"logger":"controller.CrdbCluster","msg":"No actor to run; not requeueing","CrdbCluster":"cockroach-operator-system/test-cluster","ReconcileId":"PycU7d9FqDBkhMuqBE5dXU"} +{"level":"info","ts":1683232273.0616329,"logger":"controller.CrdbCluster","msg":"reconciling CockroachDB cluster","CrdbCluster":"cockroach-operator-system/test-cluster","ReconcileId":"9UDkHvpMjXteWuFESR8qvi"} +{"level":"info","ts":1683232273.0618846,"logger":"webhooks","msg":"default","name":"test-cluster"} +{"level":"info","ts":1683232273.0751781,"logger":"controller.CrdbCluster","msg":"No actor to run; not requeueing","CrdbCluster":"cockroach-operator-system/test-cluster","ReconcileId":"9UDkHvpMjXteWuFESR8qvi"} +{"level":"info","ts":1683232273.0752318,"logger":"controller.CrdbCluster","msg":"reconciling CockroachDB cluster","CrdbCluster":"cockroach-operator-system/test-cluster","ReconcileId":"DHXAkDGrCnB7eczRXsYxJ4"} +{"level":"info","ts":1683232273.075258,"logger":"webhooks","msg":"default","name":"test-cluster"} +{"level":"info","ts":1683232273.0859993,"logger":"controller.CrdbCluster","msg":"No actor to run; not requeueing","CrdbCluster":"cockroach-operator-system/test-cluster","ReconcileId":"DHXAkDGrCnB7eczRXsYxJ4"} +{"level":"info","ts":1683232277.0463672,"logger":"controller.CrdbCluster","msg":"reconciling CockroachDB cluster","CrdbCluster":"cockroach-operator-system/test-cluster","ReconcileId":"Zpg3VzUVdLSjsEJMcpWeY9"} +{"level":"info","ts":1683232277.046484,"logger":"webhooks","msg":"default","name":"test-cluster"} +{"level":"info","ts":1683232277.0599883,"logger":"controller.CrdbCluster","msg":"No actor to run; not requeueing","CrdbCluster":"cockroach-operator-system/test-cluster","ReconcileId":"Zpg3VzUVdLSjsEJMcpWeY9"} +{"level":"info","ts":1683232277.0600517,"logger":"controller.CrdbCluster","msg":"reconciling CockroachDB cluster","CrdbCluster":"cockroach-operator-system/test-cluster","ReconcileId":"NSdhmySxkke8WxsqtCXCGP"} +{"level":"info","ts":1683232277.0600765,"logger":"webhooks","msg":"default","name":"test-cluster"} +{"level":"info","ts":1683232277.070391,"logger":"controller.CrdbCluster","msg":"No actor to run; not requeueing","CrdbCluster":"cockroach-operator-system/test-cluster","ReconcileId":"NSdhmySxkke8WxsqtCXCGP"} +{"level":"info","ts":1683232281.0565944,"logger":"controller.CrdbCluster","msg":"reconciling CockroachDB cluster","CrdbCluster":"cockroach-operator-system/test-cluster","ReconcileId":"LhyP7cTFeXUKeEWPL2bWUa"} +{"level":"info","ts":1683232281.05674,"logger":"webhooks","msg":"default","name":"test-cluster"} +{"level":"info","ts":1683232281.0711362,"logger":"controller.CrdbCluster","msg":"No actor to run; not requeueing","CrdbCluster":"cockroach-operator-system/test-cluster","ReconcileId":"LhyP7cTFeXUKeEWPL2bWUa"} +{"level":"info","ts":1683232281.0711875,"logger":"controller.CrdbCluster","msg":"reconciling CockroachDB cluster","CrdbCluster":"cockroach-operator-system/test-cluster","ReconcileId":"jhXPFEh9T3Py7VarCaFiR8"} +{"level":"info","ts":1683232281.071206,"logger":"webhooks","msg":"default","name":"test-cluster"} +{"level":"info","ts":1683232281.0807207,"logger":"controller.CrdbCluster","msg":"No actor to run; not requeueing","CrdbCluster":"cockroach-operator-system/test-cluster","ReconcileId":"jhXPFEh9T3Py7VarCaFiR8"} +{"level":"info","ts":1683232318.8814774,"logger":"controller.CrdbCluster","msg":"reconciling CockroachDB cluster","CrdbCluster":"cockroach-operator-system/test-cluster","ReconcileId":"qZgPWmWiE3HPdiAEd7WRgM"} +{"level":"info","ts":1683232318.8816278,"logger":"webhooks","msg":"default","name":"test-cluster"} +{"level":"info","ts":1683232318.8908145,"logger":"controller.CrdbCluster","msg":"No actor to run; not requeueing","CrdbCluster":"cockroach-operator-system/test-cluster","ReconcileId":"qZgPWmWiE3HPdiAEd7WRgM"} +{"level":"info","ts":1683232318.8908572,"logger":"controller.CrdbCluster","msg":"reconciling CockroachDB cluster","CrdbCluster":"cockroach-operator-system/test-cluster","ReconcileId":"Gy3WiGWM9ZKnmBWLXw6Khd"} +{"level":"info","ts":1683232318.8908725,"logger":"webhooks","msg":"default","name":"test-cluster"} +{"level":"info","ts":1683232318.8986957,"logger":"controller.CrdbCluster","msg":"No actor to run; not requeueing","CrdbCluster":"cockroach-operator-system/test-cluster","ReconcileId":"Gy3WiGWM9ZKnmBWLXw6Khd"} + diff --git a/test/test_data/crdbop-920/operator-1.log b/test/test_data/crdbop-920/operator-1.log new file mode 100644 index 0000000000..ec50a7d6cb --- /dev/null +++ b/test/test_data/crdbop-920/operator-1.log @@ -0,0 +1,36 @@ +{"level":"info","ts":1683232336.4321768,"logger":"webhooks","msg":"validate update","name":"test-cluster"} +{"level":"info","ts":1683232336.4321966,"logger":"webhooks","msg":"validate ingress","name":"test-cluster"} +{"level":"info","ts":1683232336.4349978,"logger":"controller.CrdbCluster","msg":"reconciling CockroachDB cluster","CrdbCluster":"cockroach-operator-system/test-cluster","ReconcileId":"Xd7qo7CRMLxvEbgPxBLCZe"} +{"level":"info","ts":1683232336.435041,"logger":"webhooks","msg":"default","name":"test-cluster"} +{"level":"info","ts":1683232336.4446204,"logger":"controller.CrdbCluster","msg":"Running action with name: GenerateCert","CrdbCluster":"cockroach-operator-system/test-cluster","ReconcileId":"Xd7qo7CRMLxvEbgPxBLCZe"} +{"level":"warn","ts":1683232336.4447575,"logger":"controller.CrdbCluster","msg":"generating CA","CrdbCluster":"cockroach-operator-system/test-cluster","ReconcileId":"Xd7qo7CRMLxvEbgPxBLCZe"} +{"level":"warn","ts":1683232336.444808,"logger":"controller.CrdbCluster","msg":"not updating ca key as it exists","CrdbCluster":"cockroach-operator-system/test-cluster","ReconcileId":"Xd7qo7CRMLxvEbgPxBLCZe"} +{"level":"warn","ts":1683232336.4448116,"logger":"controller.CrdbCluster","msg":"generating node certificate","CrdbCluster":"cockroach-operator-system/test-cluster","ReconcileId":"Xd7qo7CRMLxvEbgPxBLCZe"} +{"level":"warn","ts":1683232336.4448266,"logger":"controller.CrdbCluster","msg":"regenerating node certificate because of change in SQLHost","CrdbCluster":"cockroach-operator-system/test-cluster","ReconcileId":"Xd7qo7CRMLxvEbgPxBLCZe"} +{"level":"warn","ts":1683232336.5840368,"logger":"controller.CrdbCluster","msg":"generated and saved node certificate and key","CrdbCluster":"cockroach-operator-system/test-cluster","ReconcileId":"Xd7qo7CRMLxvEbgPxBLCZe"} +{"level":"warn","ts":1683232336.5841427,"logger":"controller.CrdbCluster","msg":"getExpirationDate from cert","CrdbCluster":"cockroach-operator-system/test-cluster","ReconcileId":"Xd7qo7CRMLxvEbgPxBLCZe"} +{"level":"warn","ts":1683232336.584212,"logger":"controller.CrdbCluster","msg":"getExpirationDate from cert","CrdbCluster":"cockroach-operator-system/test-cluster","ReconcileId":"Xd7qo7CRMLxvEbgPxBLCZe","Not before:":"2023-05-03T20:32:16Z","Not after:":"2028-05-07T20:32:16Z"} +{"level":"warn","ts":1683232336.5842512,"logger":"controller.CrdbCluster","msg":"generating client certificate","CrdbCluster":"cockroach-operator-system/test-cluster","ReconcileId":"Xd7qo7CRMLxvEbgPxBLCZe"} +{"level":"warn","ts":1683232336.584313,"logger":"controller.CrdbCluster","msg":"not updating client certificate","CrdbCluster":"cockroach-operator-system/test-cluster","ReconcileId":"Xd7qo7CRMLxvEbgPxBLCZe"} +{"level":"info","ts":1683232336.5843735,"logger":"webhooks","msg":"default","name":"test-cluster"} +{"level":"info","ts":1683232336.5866365,"logger":"webhooks","msg":"default","name":"test-cluster"} +{"level":"info","ts":1683232336.587975,"logger":"webhooks","msg":"validate update","name":"test-cluster"} +{"level":"info","ts":1683232336.5879812,"logger":"webhooks","msg":"validate ingress","name":"test-cluster"} +{"level":"info","ts":1683232336.5893674,"logger":"webhooks","msg":"default","name":"test-cluster"} +{"level":"error","ts":1683232336.5914578,"logger":"controller.CrdbCluster","msg":"failed saving the status on generate cert","CrdbCluster":"cockroach-operator-system/test-cluster","ReconcileId":"Xd7qo7CRMLxvEbgPxBLCZe","error":"Operation cannot be fulfilled on crdbclusters.crdb.cockroachlabs.com \"test-cluster\": the object has been modified; please apply your changes to the latest version and try again","stacktrace":"github.com/go-logr/zapr.(*zapLogger).Error\n\texternal/com_github_go_logr_zapr/zapr.go:132\ngithub.com/cockroachdb/cockroach-operator/pkg/actor.(*generateCert).Act.func2\n\tpkg/actor/generate_cert.go:168\nk8s.io/client-go/util/retry.OnError.func1\n\texternal/io_k8s_client_go/util/retry/util.go:51\nk8s.io/apimachinery/pkg/util/wait.runConditionWithCrashProtection\n\texternal/io_k8s_apimachinery/pkg/util/wait/wait.go:211\nk8s.io/apimachinery/pkg/util/wait.ExponentialBackoff\n\texternal/io_k8s_apimachinery/pkg/util/wait/wait.go:399\nk8s.io/client-go/util/retry.OnError\n\texternal/io_k8s_client_go/util/retry/util.go:50\nk8s.io/client-go/util/retry.RetryOnConflict\n\texternal/io_k8s_client_go/util/retry/util.go:104\ngithub.com/cockroachdb/cockroach-operator/pkg/actor.(*generateCert).Act\n\tpkg/actor/generate_cert.go:150\ngithub.com/cockroachdb/cockroach-operator/pkg/controller.(*ClusterReconciler).Reconcile\n\tpkg/controller/cluster_controller.go:154\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler\n\texternal/io_k8s_sigs_controller_runtime/pkg/internal/controller/controller.go:297\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem\n\texternal/io_k8s_sigs_controller_runtime/pkg/internal/controller/controller.go:252\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func1.2\n\texternal/io_k8s_sigs_controller_runtime/pkg/internal/controller/controller.go:215\nk8s.io/apimachinery/pkg/util/wait.JitterUntilWithContext.func1\n\texternal/io_k8s_apimachinery/pkg/util/wait/wait.go:185\nk8s.io/apimachinery/pkg/util/wait.BackoffUntil.func1\n\texternal/io_k8s_apimachinery/pkg/util/wait/wait.go:155\nk8s.io/apimachinery/pkg/util/wait.BackoffUntil\n\texternal/io_k8s_apimachinery/pkg/util/wait/wait.go:156\nk8s.io/apimachinery/pkg/util/wait.JitterUntil\n\texternal/io_k8s_apimachinery/pkg/util/wait/wait.go:133\nk8s.io/apimachinery/pkg/util/wait.JitterUntilWithContext\n\texternal/io_k8s_apimachinery/pkg/util/wait/wait.go:185\nk8s.io/apimachinery/pkg/util/wait.UntilWithContext\n\texternal/io_k8s_apimachinery/pkg/util/wait/wait.go:99"} +{"level":"info","ts":1683232336.6027231,"logger":"webhooks","msg":"default","name":"test-cluster"} +{"level":"warn","ts":1683232336.6073368,"logger":"controller.CrdbCluster","msg":"cluster resources is not up to date","CrdbCluster":"cockroach-operator-system/test-cluster","ReconcileId":"Xd7qo7CRMLxvEbgPxBLCZe"} +{"level":"info","ts":1683232336.6073833,"logger":"controller.CrdbCluster","msg":"reconciling CockroachDB cluster","CrdbCluster":"cockroach-operator-system/test-cluster","ReconcileId":"ApwJtuF3r94BDDBm7oaE58"} +{"level":"info","ts":1683232336.6073961,"logger":"webhooks","msg":"default","name":"test-cluster"} +{"level":"info","ts":1683232336.6148827,"logger":"controller.CrdbCluster","msg":"Running action with name: ExposeIngressAction","CrdbCluster":"cockroach-operator-system/test-cluster","ReconcileId":"ApwJtuF3r94BDDBm7oaE58"} +{"level":"warn","ts":1683232336.614894,"logger":"controller.CrdbCluster","msg":"reconciling resource on expose ingress action","CrdbCluster":"cockroach-operator-system/test-cluster","ReconcileId":"ApwJtuF3r94BDDBm7oaE58"} +{"level":"info","ts":1683232336.6209805,"logger":"controller.CrdbCluster","msg":"reconciled ingress resource","CrdbCluster":"cockroach-operator-system/test-cluster","ReconcileId":"ApwJtuF3r94BDDBm7oaE58"} +{"level":"error","ts":1683232336.623259,"logger":"controller.CrdbCluster","msg":"failed to update cluster status","CrdbCluster":"cockroach-operator-system/test-cluster","ReconcileId":"ApwJtuF3r94BDDBm7oaE58","error":"Operation cannot be fulfilled on crdbclusters.crdb.cockroachlabs.com \"test-cluster\": the object has been modified; please apply your changes to the latest version and try again","stacktrace":"github.com/go-logr/zapr.(*zapLogger).Error\n\texternal/com_github_go_logr_zapr/zapr.go:132\ngithub.com/cockroachdb/cockroach-operator/pkg/controller.(*ClusterReconciler).Reconcile\n\tpkg/controller/cluster_controller.go:211\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler\n\texternal/io_k8s_sigs_controller_runtime/pkg/internal/controller/controller.go:297\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem\n\texternal/io_k8s_sigs_controller_runtime/pkg/internal/controller/controller.go:252\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func1.2\n\texternal/io_k8s_sigs_controller_runtime/pkg/internal/controller/controller.go:215\nk8s.io/apimachinery/pkg/util/wait.JitterUntilWithContext.func1\n\texternal/io_k8s_apimachinery/pkg/util/wait/wait.go:185\nk8s.io/apimachinery/pkg/util/wait.BackoffUntil.func1\n\texternal/io_k8s_apimachinery/pkg/util/wait/wait.go:155\nk8s.io/apimachinery/pkg/util/wait.BackoffUntil\n\texternal/io_k8s_apimachinery/pkg/util/wait/wait.go:156\nk8s.io/apimachinery/pkg/util/wait.JitterUntil\n\texternal/io_k8s_apimachinery/pkg/util/wait/wait.go:133\nk8s.io/apimachinery/pkg/util/wait.JitterUntilWithContext\n\texternal/io_k8s_apimachinery/pkg/util/wait/wait.go:185\nk8s.io/apimachinery/pkg/util/wait.UntilWithContext\n\texternal/io_k8s_apimachinery/pkg/util/wait/wait.go:99"} +{"level":"error","ts":1683232336.6232984,"logger":"controller-runtime.manager.controller.crdbcluster","msg":"Reconciler error","reconciler group":"crdb.cockroachlabs.com","reconciler kind":"CrdbCluster","name":"test-cluster","namespace":"cockroach-operator-system","error":"Operation cannot be fulfilled on crdbclusters.crdb.cockroachlabs.com \"test-cluster\": the object has been modified; please apply your changes to the latest version and try again","stacktrace":"github.com/go-logr/zapr.(*zapLogger).Error\n\texternal/com_github_go_logr_zapr/zapr.go:132\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler\n\texternal/io_k8s_sigs_controller_runtime/pkg/internal/controller/controller.go:301\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem\n\texternal/io_k8s_sigs_controller_runtime/pkg/internal/controller/controller.go:252\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func1.2\n\texternal/io_k8s_sigs_controller_runtime/pkg/internal/controller/controller.go:215\nk8s.io/apimachinery/pkg/util/wait.JitterUntilWithContext.func1\n\texternal/io_k8s_apimachinery/pkg/util/wait/wait.go:185\nk8s.io/apimachinery/pkg/util/wait.BackoffUntil.func1\n\texternal/io_k8s_apimachinery/pkg/util/wait/wait.go:155\nk8s.io/apimachinery/pkg/util/wait.BackoffUntil\n\texternal/io_k8s_apimachinery/pkg/util/wait/wait.go:156\nk8s.io/apimachinery/pkg/util/wait.JitterUntil\n\texternal/io_k8s_apimachinery/pkg/util/wait/wait.go:133\nk8s.io/apimachinery/pkg/util/wait.JitterUntilWithContext\n\texternal/io_k8s_apimachinery/pkg/util/wait/wait.go:185\nk8s.io/apimachinery/pkg/util/wait.UntilWithContext\n\texternal/io_k8s_apimachinery/pkg/util/wait/wait.go:99"} +{"level":"info","ts":1683232336.623343,"logger":"controller.CrdbCluster","msg":"reconciling CockroachDB cluster","CrdbCluster":"cockroach-operator-system/test-cluster","ReconcileId":"7SfqnqUwmQtoDGWojr89hb"} +{"level":"info","ts":1683232336.623361,"logger":"webhooks","msg":"default","name":"test-cluster"} +{"level":"info","ts":1683232336.6312537,"logger":"controller.CrdbCluster","msg":"No actor to run; not requeueing","CrdbCluster":"cockroach-operator-system/test-cluster","ReconcileId":"7SfqnqUwmQtoDGWojr89hb"} +{"level":"info","ts":1683232336.6335645,"logger":"controller.CrdbCluster","msg":"reconciling CockroachDB cluster","CrdbCluster":"cockroach-operator-system/test-cluster","ReconcileId":"bbxbxcVKTUczs53RekEEjV"} +{"level":"info","ts":1683232336.6335902,"logger":"webhooks","msg":"default","name":"test-cluster"} +{"level":"info","ts":1683232336.6422303,"logger":"controller.CrdbCluster","msg":"No actor to run; not requeueing","CrdbCluster":"cockroach-operator-system/test-cluster","ReconcileId":"bbxbxcVKTUczs53RekEEjV"} + diff --git a/test/test_data/crdbop-920/operator-2.log b/test/test_data/crdbop-920/operator-2.log new file mode 100644 index 0000000000..55d67d6447 --- /dev/null +++ b/test/test_data/crdbop-920/operator-2.log @@ -0,0 +1,6 @@ +{"level":"info","ts":1683232397.2555368,"logger":"webhooks","msg":"validate update","name":"test-cluster"} +{"level":"info","ts":1683232397.2555487,"logger":"webhooks","msg":"validate ingress","name":"test-cluster"} +{"level":"info","ts":1683232397.2571554,"logger":"controller.CrdbCluster","msg":"reconciling CockroachDB cluster","CrdbCluster":"cockroach-operator-system/test-cluster","ReconcileId":"hQHRKh2m7RNoYMRskwW4FY"} +{"level":"info","ts":1683232397.2571814,"logger":"webhooks","msg":"default","name":"test-cluster"} +{"level":"info","ts":1683232397.2735944,"logger":"controller.CrdbCluster","msg":"No actor to run; not requeueing","CrdbCluster":"cockroach-operator-system/test-cluster","ReconcileId":"hQHRKh2m7RNoYMRskwW4FY"} + diff --git a/test/test_data/crdbop-920/result.json b/test/test_data/crdbop-920/result.json new file mode 100644 index 0000000000..8c2dae811e --- /dev/null +++ b/test/test_data/crdbop-920/result.json @@ -0,0 +1,38 @@ +{ + "trial_num": "00-0000", + "duration": "00:06:14", + "num_tests": 4, + "error": { + "revert": false, + "generation": 2, + "testcase": { + "field": "[\"spec\", \"ingress\", \"sql\", \"tls\", 0, \"secretName\"]", + "testcase": "string-deletion" + }, + "feature_gate": 51, + "crash_result": "Pass", + "input_result": "Pass", + "health_result": "Pass", + "state_result": { + "oracle": "SystemState", + "message": "Found no matching fields for input", + "input_delta": { + "prev": "ACTOKEY", + "curr": "", + "path": [ + "spec", + "ingress", + "sql", + "tls", + 0, + "secretName" + ] + }, + "matched_system_delta": null + }, + "log_result": "Pass", + "custom_result": null, + "misc_result": null, + "recovery_result": "Pass" + } +} \ No newline at end of file diff --git a/test/test_data/crdbop-920/system-state--01.json b/test/test_data/crdbop-920/system-state--01.json new file mode 100644 index 0000000000..c1492dd606 --- /dev/null +++ b/test/test_data/crdbop-920/system-state--01.json @@ -0,0 +1,7566 @@ +{ + "pod": { + "test-cluster-0": { + "api_version": null, + "kind": null, + "metadata": { + "annotations": null, + "creation_timestamp": "2023-05-04T20:30:58+00:00", + "deletion_grace_period_seconds": null, + "deletion_timestamp": null, + "finalizers": null, + "generate_name": "test-cluster-", + "generation": null, + "labels": { + "app.kubernetes.io/component": "database", + "app.kubernetes.io/instance": "test-cluster", + "app.kubernetes.io/name": "cockroachdb", + "controller-revision-hash": "test-cluster-76f9c78d88", + "crdb": "is-cool", + "statefulset.kubernetes.io/pod-name": "test-cluster-0" + }, + "managed_fields": [ + { + "api_version": "v1", + "fields_type": "FieldsV1", + "fields_v1": { + "f:metadata": { + "f:generateName": {}, + "f:labels": { + ".": {}, + "f:app.kubernetes.io/component": {}, + "f:app.kubernetes.io/instance": {}, + "f:app.kubernetes.io/name": {}, + "f:controller-revision-hash": {}, + "f:crdb": {}, + "f:statefulset.kubernetes.io/pod-name": {} + }, + "f:ownerReferences": { + ".": {}, + "k:{\"uid\":\"f53f5464-2142-4d42-8f5b-bdd30e5c1acf\"}": {} + } + }, + "f:spec": { + "f:automountServiceAccountToken": {}, + "f:containers": { + "k:{\"name\":\"db\"}": { + ".": {}, + "f:command": {}, + "f:env": { + ".": {}, + "k:{\"name\":\"COCKROACH_CHANNEL\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"GOMAXPROCS\"}": { + ".": {}, + "f:name": {}, + "f:valueFrom": { + ".": {}, + "f:resourceFieldRef": {} + } + }, + "k:{\"name\":\"MEMORY_LIMIT_MIB\"}": { + ".": {}, + "f:name": {}, + "f:valueFrom": { + ".": {}, + "f:resourceFieldRef": {} + } + }, + "k:{\"name\":\"POD_NAME\"}": { + ".": {}, + "f:name": {}, + "f:valueFrom": { + ".": {}, + "f:fieldRef": {} + } + } + }, + "f:image": {}, + "f:imagePullPolicy": {}, + "f:lifecycle": { + ".": {}, + "f:preStop": { + ".": {}, + "f:exec": { + ".": {}, + "f:command": {} + } + } + }, + "f:name": {}, + "f:ports": { + ".": {}, + "k:{\"containerPort\":8080,\"protocol\":\"TCP\"}": { + ".": {}, + "f:containerPort": {}, + "f:name": {}, + "f:protocol": {} + }, + "k:{\"containerPort\":26257,\"protocol\":\"TCP\"}": { + ".": {}, + "f:containerPort": {}, + "f:name": {}, + "f:protocol": {} + }, + "k:{\"containerPort\":26258,\"protocol\":\"TCP\"}": { + ".": {}, + "f:containerPort": {}, + "f:name": {}, + "f:protocol": {} + } + }, + "f:readinessProbe": { + ".": {}, + "f:failureThreshold": {}, + "f:httpGet": { + ".": {}, + "f:path": {}, + "f:port": {}, + "f:scheme": {} + }, + "f:initialDelaySeconds": {}, + "f:periodSeconds": {}, + "f:successThreshold": {}, + "f:timeoutSeconds": {} + }, + "f:resources": { + ".": {}, + "f:limits": { + ".": {}, + "f:cpu": {}, + "f:memory": {} + }, + "f:requests": { + ".": {}, + "f:cpu": {}, + "f:memory": {} + } + }, + "f:terminationMessagePath": {}, + "f:terminationMessagePolicy": {}, + "f:volumeMounts": { + ".": {}, + "k:{\"mountPath\":\"/cockroach/cockroach-certs/\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + }, + "k:{\"mountPath\":\"/cockroach/cockroach-data/\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + } + } + } + }, + "f:dnsPolicy": {}, + "f:enableServiceLinks": {}, + "f:hostname": {}, + "f:initContainers": { + ".": {}, + "k:{\"name\":\"db-init\"}": { + ".": {}, + "f:command": {}, + "f:image": {}, + "f:imagePullPolicy": {}, + "f:name": {}, + "f:resources": {}, + "f:securityContext": { + ".": {}, + "f:allowPrivilegeEscalation": {}, + "f:runAsUser": {} + }, + "f:terminationMessagePath": {}, + "f:terminationMessagePolicy": {}, + "f:volumeMounts": { + ".": {}, + "k:{\"mountPath\":\"/cockroach/cockroach-certs-prestage/\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + }, + "k:{\"mountPath\":\"/cockroach/cockroach-certs/\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + } + } + } + }, + "f:restartPolicy": {}, + "f:schedulerName": {}, + "f:securityContext": { + ".": {}, + "f:fsGroup": {}, + "f:runAsUser": {} + }, + "f:serviceAccount": {}, + "f:serviceAccountName": {}, + "f:subdomain": {}, + "f:terminationGracePeriodSeconds": {}, + "f:volumes": { + ".": {}, + "k:{\"name\":\"certs\"}": { + ".": {}, + "f:name": {}, + "f:projected": { + ".": {}, + "f:defaultMode": {}, + "f:sources": {} + } + }, + "k:{\"name\":\"datadir\"}": { + ".": {}, + "f:name": {}, + "f:persistentVolumeClaim": { + ".": {}, + "f:claimName": {} + } + }, + "k:{\"name\":\"emptydir\"}": { + ".": {}, + "f:emptyDir": {}, + "f:name": {} + } + } + } + }, + "manager": "kube-controller-manager", + "operation": "Update", + "subresource": null, + "time": "2023-05-04T20:30:58+00:00" + }, + { + "api_version": "v1", + "fields_type": "FieldsV1", + "fields_v1": { + "f:status": { + "f:conditions": { + "k:{\"type\":\"ContainersReady\"}": { + ".": {}, + "f:lastProbeTime": {}, + "f:lastTransitionTime": {}, + "f:status": {}, + "f:type": {} + }, + "k:{\"type\":\"Initialized\"}": { + ".": {}, + "f:lastProbeTime": {}, + "f:lastTransitionTime": {}, + "f:status": {}, + "f:type": {} + }, + "k:{\"type\":\"Ready\"}": { + ".": {}, + "f:lastProbeTime": {}, + "f:lastTransitionTime": {}, + "f:status": {}, + "f:type": {} + } + }, + "f:containerStatuses": {}, + "f:hostIP": {}, + "f:initContainerStatuses": {}, + "f:phase": {}, + "f:podIP": {}, + "f:podIPs": { + ".": {}, + "k:{\"ip\":\"10.244.3.4\"}": { + ".": {}, + "f:ip": {} + } + }, + "f:startTime": {} + } + }, + "manager": "kubelet", + "operation": "Update", + "subresource": "status", + "time": "2023-05-04T20:31:17+00:00" + } + ], + "name": "test-cluster-0", + "namespace": "cockroach-operator-system", + "owner_references": [ + { + "api_version": "apps/v1", + "block_owner_deletion": true, + "controller": true, + "kind": "StatefulSet", + "name": "test-cluster", + "uid": "f53f5464-2142-4d42-8f5b-bdd30e5c1acf" + } + ], + "resource_version": "1035", + "self_link": null, + "uid": "3a41326f-04a0-41ef-9b75-7d9930634288" + }, + "spec": { + "active_deadline_seconds": null, + "affinity": null, + "automount_service_account_token": false, + "containers": [ + { + "args": null, + "command": [ + "/bin/bash", + "-ecx", + "exec /cockroach/cockroach.sh start --advertise-host=$(POD_NAME).test-cluster.cockroach-operator-system --certs-dir=/cockroach/cockroach-certs/ --http-port=8080 --sql-addr=:26257 --listen-addr=:26258 --log=\"{sinks: {stderr: {channels: [OPS, HEALTH], redact: true}}}\" --cache $(expr $MEMORY_LIMIT_MIB / 4)MiB --max-sql-memory $(expr $MEMORY_LIMIT_MIB / 4)MiB --join=test-cluster-0.test-cluster.cockroach-operator-system:26258,test-cluster-1.test-cluster.cockroach-operator-system:26258,test-cluster-2.test-cluster.cockroach-operator-system:26258" + ], + "env": [ + { + "name": "COCKROACH_CHANNEL", + "value": "kubernetes-operator-unknown", + "value_from": null + }, + { + "name": "POD_NAME", + "value": null, + "value_from": { + "config_map_key_ref": null, + "field_ref": { + "api_version": "v1", + "field_path": "metadata.name" + }, + "resource_field_ref": null, + "secret_key_ref": null + } + }, + { + "name": "GOMAXPROCS", + "value": null, + "value_from": { + "config_map_key_ref": null, + "field_ref": null, + "resource_field_ref": { + "container_name": null, + "divisor": "1", + "resource": "limits.cpu" + }, + "secret_key_ref": null + } + }, + { + "name": "MEMORY_LIMIT_MIB", + "value": null, + "value_from": { + "config_map_key_ref": null, + "field_ref": null, + "resource_field_ref": { + "container_name": null, + "divisor": "1Mi", + "resource": "limits.memory" + }, + "secret_key_ref": null + } + } + ], + "env_from": null, + "image": "cockroachdb/cockroach:v21.2.10", + "image_pull_policy": "IfNotPresent", + "lifecycle": { + "post_start": null, + "pre_stop": { + "_exec": { + "command": [ + "sh", + "-c", + "/cockroach/cockroach node drain --certs-dir=/cockroach/cockroach-certs/ || exit 0" + ] + }, + "http_get": null, + "tcp_socket": null + } + }, + "liveness_probe": null, + "name": "db", + "ports": [ + { + "container_port": 26258, + "host_ip": null, + "host_port": null, + "name": "grpc", + "protocol": "TCP" + }, + { + "container_port": 8080, + "host_ip": null, + "host_port": null, + "name": "http", + "protocol": "TCP" + }, + { + "container_port": 26257, + "host_ip": null, + "host_port": null, + "name": "sql", + "protocol": "TCP" + } + ], + "readiness_probe": { + "_exec": null, + "failure_threshold": 2, + "grpc": null, + "http_get": { + "host": null, + "http_headers": null, + "path": "/health?ready=1", + "port": "http", + "scheme": "HTTPS" + }, + "initial_delay_seconds": 10, + "period_seconds": 5, + "success_threshold": 1, + "tcp_socket": null, + "termination_grace_period_seconds": null, + "timeout_seconds": 1 + }, + "resources": { + "limits": { + "cpu": "2", + "memory": "2Gi" + }, + "requests": { + "cpu": "100m", + "memory": "1Gi" + } + }, + "security_context": null, + "startup_probe": null, + "stdin": null, + "stdin_once": null, + "termination_message_path": "/dev/termination-log", + "termination_message_policy": "File", + "tty": null, + "volume_devices": null, + "volume_mounts": [ + { + "mount_path": "/cockroach/cockroach-data/", + "mount_propagation": null, + "name": "datadir", + "read_only": null, + "sub_path": null, + "sub_path_expr": null + }, + { + "mount_path": "/cockroach/cockroach-certs/", + "mount_propagation": null, + "name": "emptydir", + "read_only": null, + "sub_path": null, + "sub_path_expr": null + } + ], + "working_dir": null + } + ], + "dns_config": null, + "dns_policy": "ClusterFirst", + "enable_service_links": true, + "ephemeral_containers": null, + "host_aliases": null, + "host_ipc": null, + "host_network": null, + "host_pid": null, + "host_users": null, + "hostname": "test-cluster-0", + "image_pull_secrets": null, + "init_containers": [ + { + "args": null, + "command": [ + "/bin/sh", + "-c", + ">- cp -p /cockroach/cockroach-certs-prestage/..data/* /cockroach/cockroach-certs/ && chmod 700 /cockroach/cockroach-certs/*.key && chown 1000581000:1000581000 /cockroach/cockroach-certs/*.key" + ], + "env": null, + "env_from": null, + "image": "cockroachdb/cockroach:v21.2.10", + "image_pull_policy": "IfNotPresent", + "lifecycle": null, + "liveness_probe": null, + "name": "db-init", + "ports": null, + "readiness_probe": null, + "resources": { + "limits": null, + "requests": null + }, + "security_context": { + "allow_privilege_escalation": false, + "capabilities": null, + "privileged": null, + "proc_mount": null, + "read_only_root_filesystem": null, + "run_as_group": null, + "run_as_non_root": null, + "run_as_user": 0, + "se_linux_options": null, + "seccomp_profile": null, + "windows_options": null + }, + "startup_probe": null, + "stdin": null, + "stdin_once": null, + "termination_message_path": "/dev/termination-log", + "termination_message_policy": "File", + "tty": null, + "volume_devices": null, + "volume_mounts": [ + { + "mount_path": "/cockroach/cockroach-certs-prestage/", + "mount_propagation": null, + "name": "certs", + "read_only": null, + "sub_path": null, + "sub_path_expr": null + }, + { + "mount_path": "/cockroach/cockroach-certs/", + "mount_propagation": null, + "name": "emptydir", + "read_only": null, + "sub_path": null, + "sub_path_expr": null + } + ], + "working_dir": null + } + ], + "node_name": "acto-cluster-0-worker", + "node_selector": null, + "os": null, + "overhead": null, + "preemption_policy": "PreemptLowerPriority", + "priority": 0, + "priority_class_name": null, + "readiness_gates": null, + "restart_policy": "Always", + "runtime_class_name": null, + "scheduler_name": "default-scheduler", + "security_context": { + "fs_group": 1000581000, + "fs_group_change_policy": null, + "run_as_group": null, + "run_as_non_root": null, + "run_as_user": 1000581000, + "se_linux_options": null, + "seccomp_profile": null, + "supplemental_groups": null, + "sysctls": null, + "windows_options": null + }, + "service_account": "test-cluster-sa", + "service_account_name": "test-cluster-sa", + "set_hostname_as_fqdn": null, + "share_process_namespace": null, + "subdomain": "test-cluster", + "termination_grace_period_seconds": 300, + "tolerations": [ + { + "effect": "NoExecute", + "key": "node.kubernetes.io/not-ready", + "operator": "Exists", + "toleration_seconds": 300, + "value": null + }, + { + "effect": "NoExecute", + "key": "node.kubernetes.io/unreachable", + "operator": "Exists", + "toleration_seconds": 300, + "value": null + } + ], + "topology_spread_constraints": null, + "volumes": [ + { + "aws_elastic_block_store": null, + "azure_disk": null, + "azure_file": null, + "cephfs": null, + "cinder": null, + "config_map": null, + "csi": null, + "downward_api": null, + "empty_dir": null, + "ephemeral": null, + "fc": null, + "flex_volume": null, + "flocker": null, + "gce_persistent_disk": null, + "git_repo": null, + "glusterfs": null, + "host_path": null, + "iscsi": null, + "name": "datadir", + "nfs": null, + "persistent_volume_claim": { + "claim_name": "datadir-test-cluster-0", + "read_only": null + }, + "photon_persistent_disk": null, + "portworx_volume": null, + "projected": null, + "quobyte": null, + "rbd": null, + "scale_io": null, + "secret": null, + "storageos": null, + "vsphere_volume": null + }, + { + "aws_elastic_block_store": null, + "azure_disk": null, + "azure_file": null, + "cephfs": null, + "cinder": null, + "config_map": null, + "csi": null, + "downward_api": null, + "empty_dir": { + "medium": null, + "size_limit": null + }, + "ephemeral": null, + "fc": null, + "flex_volume": null, + "flocker": null, + "gce_persistent_disk": null, + "git_repo": null, + "glusterfs": null, + "host_path": null, + "iscsi": null, + "name": "emptydir", + "nfs": null, + "persistent_volume_claim": null, + "photon_persistent_disk": null, + "portworx_volume": null, + "projected": null, + "quobyte": null, + "rbd": null, + "scale_io": null, + "secret": null, + "storageos": null, + "vsphere_volume": null + }, + { + "aws_elastic_block_store": null, + "azure_disk": null, + "azure_file": null, + "cephfs": null, + "cinder": null, + "config_map": null, + "csi": null, + "downward_api": null, + "empty_dir": null, + "ephemeral": null, + "fc": null, + "flex_volume": null, + "flocker": null, + "gce_persistent_disk": null, + "git_repo": null, + "glusterfs": null, + "host_path": null, + "iscsi": null, + "name": "certs", + "nfs": null, + "persistent_volume_claim": null, + "photon_persistent_disk": null, + "portworx_volume": null, + "projected": { + "default_mode": 400, + "sources": [ + { + "config_map": null, + "downward_api": null, + "secret": { + "items": [ + { + "key": "ca.crt", + "mode": 504, + "path": "ca.crt" + }, + { + "key": "tls.crt", + "mode": 504, + "path": "node.crt" + }, + { + "key": "tls.key", + "mode": 400, + "path": "node.key" + } + ], + "name": "test-cluster-node", + "optional": null + }, + "service_account_token": null + }, + { + "config_map": null, + "downward_api": null, + "secret": { + "items": [ + { + "key": "tls.crt", + "mode": 504, + "path": "client.root.crt" + }, + { + "key": "tls.key", + "mode": 400, + "path": "client.root.key" + } + ], + "name": "test-cluster-root", + "optional": null + }, + "service_account_token": null + } + ] + }, + "quobyte": null, + "rbd": null, + "scale_io": null, + "secret": null, + "storageos": null, + "vsphere_volume": null + } + ] + }, + "status": { + "conditions": [ + { + "last_probe_time": null, + "last_transition_time": "2023-05-04T20:31:02+00:00", + "message": null, + "reason": null, + "status": "True", + "type": "Initialized" + }, + { + "last_probe_time": null, + "last_transition_time": "2023-05-04T20:31:17+00:00", + "message": null, + "reason": null, + "status": "True", + "type": "Ready" + }, + { + "last_probe_time": null, + "last_transition_time": "2023-05-04T20:31:17+00:00", + "message": null, + "reason": null, + "status": "True", + "type": "ContainersReady" + }, + { + "last_probe_time": null, + "last_transition_time": "2023-05-04T20:31:02+00:00", + "message": null, + "reason": null, + "status": "True", + "type": "PodScheduled" + } + ], + "container_statuses": [ + { + "container_id": "containerd://81e44e3937e2943b153f21478c743b09aaf6729a5556d78fabed4374ea307eab", + "image": "docker.io/cockroachdb/cockroach:v21.2.10", + "image_id": "docker.io/library/import-2023-05-04@sha256:070cca8c19ddf0ae6bc2bd88819e394fef6131b6cd44edb93847d703a068c29c", + "last_state": { + "running": null, + "terminated": null, + "waiting": null + }, + "name": "db", + "ready": true, + "restart_count": 0, + "started": true, + "state": { + "running": { + "started_at": "2023-05-04T20:31:03+00:00" + }, + "terminated": null, + "waiting": null + } + } + ], + "ephemeral_container_statuses": null, + "host_ip": "172.18.0.5", + "init_container_statuses": [ + { + "container_id": "containerd://f6125d79ef93cf40968b0a21344b7b2704bc2357d4618d833121fcd757336057", + "image": "docker.io/cockroachdb/cockroach:v21.2.10", + "image_id": "docker.io/library/import-2023-05-04@sha256:070cca8c19ddf0ae6bc2bd88819e394fef6131b6cd44edb93847d703a068c29c", + "last_state": { + "running": null, + "terminated": null, + "waiting": null + }, + "name": "db-init", + "ready": true, + "restart_count": 0, + "started": null, + "state": { + "running": null, + "terminated": { + "container_id": "containerd://f6125d79ef93cf40968b0a21344b7b2704bc2357d4618d833121fcd757336057", + "exit_code": 0, + "finished_at": "2023-05-04T20:31:02+00:00", + "message": null, + "reason": "Completed", + "signal": null, + "started_at": "2023-05-04T20:31:02+00:00" + }, + "waiting": null + } + } + ], + "message": null, + "nominated_node_name": null, + "phase": "Running", + "pod_ip": "10.244.3.4", + "pod_i_ps": [ + { + "ip": "10.244.3.4" + } + ], + "qos_class": "Burstable", + "reason": null, + "start_time": "2023-05-04T20:31:02+00:00" + } + }, + "test-cluster-1": { + "api_version": null, + "kind": null, + "metadata": { + "annotations": null, + "creation_timestamp": "2023-05-04T20:30:58+00:00", + "deletion_grace_period_seconds": null, + "deletion_timestamp": null, + "finalizers": null, + "generate_name": "test-cluster-", + "generation": null, + "labels": { + "app.kubernetes.io/component": "database", + "app.kubernetes.io/instance": "test-cluster", + "app.kubernetes.io/name": "cockroachdb", + "controller-revision-hash": "test-cluster-76f9c78d88", + "crdb": "is-cool", + "statefulset.kubernetes.io/pod-name": "test-cluster-1" + }, + "managed_fields": [ + { + "api_version": "v1", + "fields_type": "FieldsV1", + "fields_v1": { + "f:metadata": { + "f:generateName": {}, + "f:labels": { + ".": {}, + "f:app.kubernetes.io/component": {}, + "f:app.kubernetes.io/instance": {}, + "f:app.kubernetes.io/name": {}, + "f:controller-revision-hash": {}, + "f:crdb": {}, + "f:statefulset.kubernetes.io/pod-name": {} + }, + "f:ownerReferences": { + ".": {}, + "k:{\"uid\":\"f53f5464-2142-4d42-8f5b-bdd30e5c1acf\"}": {} + } + }, + "f:spec": { + "f:automountServiceAccountToken": {}, + "f:containers": { + "k:{\"name\":\"db\"}": { + ".": {}, + "f:command": {}, + "f:env": { + ".": {}, + "k:{\"name\":\"COCKROACH_CHANNEL\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"GOMAXPROCS\"}": { + ".": {}, + "f:name": {}, + "f:valueFrom": { + ".": {}, + "f:resourceFieldRef": {} + } + }, + "k:{\"name\":\"MEMORY_LIMIT_MIB\"}": { + ".": {}, + "f:name": {}, + "f:valueFrom": { + ".": {}, + "f:resourceFieldRef": {} + } + }, + "k:{\"name\":\"POD_NAME\"}": { + ".": {}, + "f:name": {}, + "f:valueFrom": { + ".": {}, + "f:fieldRef": {} + } + } + }, + "f:image": {}, + "f:imagePullPolicy": {}, + "f:lifecycle": { + ".": {}, + "f:preStop": { + ".": {}, + "f:exec": { + ".": {}, + "f:command": {} + } + } + }, + "f:name": {}, + "f:ports": { + ".": {}, + "k:{\"containerPort\":8080,\"protocol\":\"TCP\"}": { + ".": {}, + "f:containerPort": {}, + "f:name": {}, + "f:protocol": {} + }, + "k:{\"containerPort\":26257,\"protocol\":\"TCP\"}": { + ".": {}, + "f:containerPort": {}, + "f:name": {}, + "f:protocol": {} + }, + "k:{\"containerPort\":26258,\"protocol\":\"TCP\"}": { + ".": {}, + "f:containerPort": {}, + "f:name": {}, + "f:protocol": {} + } + }, + "f:readinessProbe": { + ".": {}, + "f:failureThreshold": {}, + "f:httpGet": { + ".": {}, + "f:path": {}, + "f:port": {}, + "f:scheme": {} + }, + "f:initialDelaySeconds": {}, + "f:periodSeconds": {}, + "f:successThreshold": {}, + "f:timeoutSeconds": {} + }, + "f:resources": { + ".": {}, + "f:limits": { + ".": {}, + "f:cpu": {}, + "f:memory": {} + }, + "f:requests": { + ".": {}, + "f:cpu": {}, + "f:memory": {} + } + }, + "f:terminationMessagePath": {}, + "f:terminationMessagePolicy": {}, + "f:volumeMounts": { + ".": {}, + "k:{\"mountPath\":\"/cockroach/cockroach-certs/\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + }, + "k:{\"mountPath\":\"/cockroach/cockroach-data/\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + } + } + } + }, + "f:dnsPolicy": {}, + "f:enableServiceLinks": {}, + "f:hostname": {}, + "f:initContainers": { + ".": {}, + "k:{\"name\":\"db-init\"}": { + ".": {}, + "f:command": {}, + "f:image": {}, + "f:imagePullPolicy": {}, + "f:name": {}, + "f:resources": {}, + "f:securityContext": { + ".": {}, + "f:allowPrivilegeEscalation": {}, + "f:runAsUser": {} + }, + "f:terminationMessagePath": {}, + "f:terminationMessagePolicy": {}, + "f:volumeMounts": { + ".": {}, + "k:{\"mountPath\":\"/cockroach/cockroach-certs-prestage/\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + }, + "k:{\"mountPath\":\"/cockroach/cockroach-certs/\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + } + } + } + }, + "f:restartPolicy": {}, + "f:schedulerName": {}, + "f:securityContext": { + ".": {}, + "f:fsGroup": {}, + "f:runAsUser": {} + }, + "f:serviceAccount": {}, + "f:serviceAccountName": {}, + "f:subdomain": {}, + "f:terminationGracePeriodSeconds": {}, + "f:volumes": { + ".": {}, + "k:{\"name\":\"certs\"}": { + ".": {}, + "f:name": {}, + "f:projected": { + ".": {}, + "f:defaultMode": {}, + "f:sources": {} + } + }, + "k:{\"name\":\"datadir\"}": { + ".": {}, + "f:name": {}, + "f:persistentVolumeClaim": { + ".": {}, + "f:claimName": {} + } + }, + "k:{\"name\":\"emptydir\"}": { + ".": {}, + "f:emptyDir": {}, + "f:name": {} + } + } + } + }, + "manager": "kube-controller-manager", + "operation": "Update", + "subresource": null, + "time": "2023-05-04T20:30:58+00:00" + }, + { + "api_version": "v1", + "fields_type": "FieldsV1", + "fields_v1": { + "f:status": { + "f:conditions": { + "k:{\"type\":\"ContainersReady\"}": { + ".": {}, + "f:lastProbeTime": {}, + "f:lastTransitionTime": {}, + "f:status": {}, + "f:type": {} + }, + "k:{\"type\":\"Initialized\"}": { + ".": {}, + "f:lastProbeTime": {}, + "f:lastTransitionTime": {}, + "f:status": {}, + "f:type": {} + }, + "k:{\"type\":\"Ready\"}": { + ".": {}, + "f:lastProbeTime": {}, + "f:lastTransitionTime": {}, + "f:status": {}, + "f:type": {} + } + }, + "f:containerStatuses": {}, + "f:hostIP": {}, + "f:initContainerStatuses": {}, + "f:phase": {}, + "f:podIP": {}, + "f:podIPs": { + ".": {}, + "k:{\"ip\":\"10.244.1.4\"}": { + ".": {}, + "f:ip": {} + } + }, + "f:startTime": {} + } + }, + "manager": "kubelet", + "operation": "Update", + "subresource": "status", + "time": "2023-05-04T20:31:21+00:00" + } + ], + "name": "test-cluster-1", + "namespace": "cockroach-operator-system", + "owner_references": [ + { + "api_version": "apps/v1", + "block_owner_deletion": true, + "controller": true, + "kind": "StatefulSet", + "name": "test-cluster", + "uid": "f53f5464-2142-4d42-8f5b-bdd30e5c1acf" + } + ], + "resource_version": "1047", + "self_link": null, + "uid": "cc1555b0-c26a-4b7b-bec4-c44b82760466" + }, + "spec": { + "active_deadline_seconds": null, + "affinity": null, + "automount_service_account_token": false, + "containers": [ + { + "args": null, + "command": [ + "/bin/bash", + "-ecx", + "exec /cockroach/cockroach.sh start --advertise-host=$(POD_NAME).test-cluster.cockroach-operator-system --certs-dir=/cockroach/cockroach-certs/ --http-port=8080 --sql-addr=:26257 --listen-addr=:26258 --log=\"{sinks: {stderr: {channels: [OPS, HEALTH], redact: true}}}\" --cache $(expr $MEMORY_LIMIT_MIB / 4)MiB --max-sql-memory $(expr $MEMORY_LIMIT_MIB / 4)MiB --join=test-cluster-0.test-cluster.cockroach-operator-system:26258,test-cluster-1.test-cluster.cockroach-operator-system:26258,test-cluster-2.test-cluster.cockroach-operator-system:26258" + ], + "env": [ + { + "name": "COCKROACH_CHANNEL", + "value": "kubernetes-operator-unknown", + "value_from": null + }, + { + "name": "POD_NAME", + "value": null, + "value_from": { + "config_map_key_ref": null, + "field_ref": { + "api_version": "v1", + "field_path": "metadata.name" + }, + "resource_field_ref": null, + "secret_key_ref": null + } + }, + { + "name": "GOMAXPROCS", + "value": null, + "value_from": { + "config_map_key_ref": null, + "field_ref": null, + "resource_field_ref": { + "container_name": null, + "divisor": "1", + "resource": "limits.cpu" + }, + "secret_key_ref": null + } + }, + { + "name": "MEMORY_LIMIT_MIB", + "value": null, + "value_from": { + "config_map_key_ref": null, + "field_ref": null, + "resource_field_ref": { + "container_name": null, + "divisor": "1Mi", + "resource": "limits.memory" + }, + "secret_key_ref": null + } + } + ], + "env_from": null, + "image": "cockroachdb/cockroach:v21.2.10", + "image_pull_policy": "IfNotPresent", + "lifecycle": { + "post_start": null, + "pre_stop": { + "_exec": { + "command": [ + "sh", + "-c", + "/cockroach/cockroach node drain --certs-dir=/cockroach/cockroach-certs/ || exit 0" + ] + }, + "http_get": null, + "tcp_socket": null + } + }, + "liveness_probe": null, + "name": "db", + "ports": [ + { + "container_port": 26258, + "host_ip": null, + "host_port": null, + "name": "grpc", + "protocol": "TCP" + }, + { + "container_port": 8080, + "host_ip": null, + "host_port": null, + "name": "http", + "protocol": "TCP" + }, + { + "container_port": 26257, + "host_ip": null, + "host_port": null, + "name": "sql", + "protocol": "TCP" + } + ], + "readiness_probe": { + "_exec": null, + "failure_threshold": 2, + "grpc": null, + "http_get": { + "host": null, + "http_headers": null, + "path": "/health?ready=1", + "port": "http", + "scheme": "HTTPS" + }, + "initial_delay_seconds": 10, + "period_seconds": 5, + "success_threshold": 1, + "tcp_socket": null, + "termination_grace_period_seconds": null, + "timeout_seconds": 1 + }, + "resources": { + "limits": { + "cpu": "2", + "memory": "2Gi" + }, + "requests": { + "cpu": "100m", + "memory": "1Gi" + } + }, + "security_context": null, + "startup_probe": null, + "stdin": null, + "stdin_once": null, + "termination_message_path": "/dev/termination-log", + "termination_message_policy": "File", + "tty": null, + "volume_devices": null, + "volume_mounts": [ + { + "mount_path": "/cockroach/cockroach-data/", + "mount_propagation": null, + "name": "datadir", + "read_only": null, + "sub_path": null, + "sub_path_expr": null + }, + { + "mount_path": "/cockroach/cockroach-certs/", + "mount_propagation": null, + "name": "emptydir", + "read_only": null, + "sub_path": null, + "sub_path_expr": null + } + ], + "working_dir": null + } + ], + "dns_config": null, + "dns_policy": "ClusterFirst", + "enable_service_links": true, + "ephemeral_containers": null, + "host_aliases": null, + "host_ipc": null, + "host_network": null, + "host_pid": null, + "host_users": null, + "hostname": "test-cluster-1", + "image_pull_secrets": null, + "init_containers": [ + { + "args": null, + "command": [ + "/bin/sh", + "-c", + ">- cp -p /cockroach/cockroach-certs-prestage/..data/* /cockroach/cockroach-certs/ && chmod 700 /cockroach/cockroach-certs/*.key && chown 1000581000:1000581000 /cockroach/cockroach-certs/*.key" + ], + "env": null, + "env_from": null, + "image": "cockroachdb/cockroach:v21.2.10", + "image_pull_policy": "IfNotPresent", + "lifecycle": null, + "liveness_probe": null, + "name": "db-init", + "ports": null, + "readiness_probe": null, + "resources": { + "limits": null, + "requests": null + }, + "security_context": { + "allow_privilege_escalation": false, + "capabilities": null, + "privileged": null, + "proc_mount": null, + "read_only_root_filesystem": null, + "run_as_group": null, + "run_as_non_root": null, + "run_as_user": 0, + "se_linux_options": null, + "seccomp_profile": null, + "windows_options": null + }, + "startup_probe": null, + "stdin": null, + "stdin_once": null, + "termination_message_path": "/dev/termination-log", + "termination_message_policy": "File", + "tty": null, + "volume_devices": null, + "volume_mounts": [ + { + "mount_path": "/cockroach/cockroach-certs-prestage/", + "mount_propagation": null, + "name": "certs", + "read_only": null, + "sub_path": null, + "sub_path_expr": null + }, + { + "mount_path": "/cockroach/cockroach-certs/", + "mount_propagation": null, + "name": "emptydir", + "read_only": null, + "sub_path": null, + "sub_path_expr": null + } + ], + "working_dir": null + } + ], + "node_name": "acto-cluster-0-worker3", + "node_selector": null, + "os": null, + "overhead": null, + "preemption_policy": "PreemptLowerPriority", + "priority": 0, + "priority_class_name": null, + "readiness_gates": null, + "restart_policy": "Always", + "runtime_class_name": null, + "scheduler_name": "default-scheduler", + "security_context": { + "fs_group": 1000581000, + "fs_group_change_policy": null, + "run_as_group": null, + "run_as_non_root": null, + "run_as_user": 1000581000, + "se_linux_options": null, + "seccomp_profile": null, + "supplemental_groups": null, + "sysctls": null, + "windows_options": null + }, + "service_account": "test-cluster-sa", + "service_account_name": "test-cluster-sa", + "set_hostname_as_fqdn": null, + "share_process_namespace": null, + "subdomain": "test-cluster", + "termination_grace_period_seconds": 300, + "tolerations": [ + { + "effect": "NoExecute", + "key": "node.kubernetes.io/not-ready", + "operator": "Exists", + "toleration_seconds": 300, + "value": null + }, + { + "effect": "NoExecute", + "key": "node.kubernetes.io/unreachable", + "operator": "Exists", + "toleration_seconds": 300, + "value": null + } + ], + "topology_spread_constraints": null, + "volumes": [ + { + "aws_elastic_block_store": null, + "azure_disk": null, + "azure_file": null, + "cephfs": null, + "cinder": null, + "config_map": null, + "csi": null, + "downward_api": null, + "empty_dir": null, + "ephemeral": null, + "fc": null, + "flex_volume": null, + "flocker": null, + "gce_persistent_disk": null, + "git_repo": null, + "glusterfs": null, + "host_path": null, + "iscsi": null, + "name": "datadir", + "nfs": null, + "persistent_volume_claim": { + "claim_name": "datadir-test-cluster-1", + "read_only": null + }, + "photon_persistent_disk": null, + "portworx_volume": null, + "projected": null, + "quobyte": null, + "rbd": null, + "scale_io": null, + "secret": null, + "storageos": null, + "vsphere_volume": null + }, + { + "aws_elastic_block_store": null, + "azure_disk": null, + "azure_file": null, + "cephfs": null, + "cinder": null, + "config_map": null, + "csi": null, + "downward_api": null, + "empty_dir": { + "medium": null, + "size_limit": null + }, + "ephemeral": null, + "fc": null, + "flex_volume": null, + "flocker": null, + "gce_persistent_disk": null, + "git_repo": null, + "glusterfs": null, + "host_path": null, + "iscsi": null, + "name": "emptydir", + "nfs": null, + "persistent_volume_claim": null, + "photon_persistent_disk": null, + "portworx_volume": null, + "projected": null, + "quobyte": null, + "rbd": null, + "scale_io": null, + "secret": null, + "storageos": null, + "vsphere_volume": null + }, + { + "aws_elastic_block_store": null, + "azure_disk": null, + "azure_file": null, + "cephfs": null, + "cinder": null, + "config_map": null, + "csi": null, + "downward_api": null, + "empty_dir": null, + "ephemeral": null, + "fc": null, + "flex_volume": null, + "flocker": null, + "gce_persistent_disk": null, + "git_repo": null, + "glusterfs": null, + "host_path": null, + "iscsi": null, + "name": "certs", + "nfs": null, + "persistent_volume_claim": null, + "photon_persistent_disk": null, + "portworx_volume": null, + "projected": { + "default_mode": 400, + "sources": [ + { + "config_map": null, + "downward_api": null, + "secret": { + "items": [ + { + "key": "ca.crt", + "mode": 504, + "path": "ca.crt" + }, + { + "key": "tls.crt", + "mode": 504, + "path": "node.crt" + }, + { + "key": "tls.key", + "mode": 400, + "path": "node.key" + } + ], + "name": "test-cluster-node", + "optional": null + }, + "service_account_token": null + }, + { + "config_map": null, + "downward_api": null, + "secret": { + "items": [ + { + "key": "tls.crt", + "mode": 504, + "path": "client.root.crt" + }, + { + "key": "tls.key", + "mode": 400, + "path": "client.root.key" + } + ], + "name": "test-cluster-root", + "optional": null + }, + "service_account_token": null + } + ] + }, + "quobyte": null, + "rbd": null, + "scale_io": null, + "secret": null, + "storageos": null, + "vsphere_volume": null + } + ] + }, + "status": { + "conditions": [ + { + "last_probe_time": null, + "last_transition_time": "2023-05-04T20:31:01+00:00", + "message": null, + "reason": null, + "status": "True", + "type": "Initialized" + }, + { + "last_probe_time": null, + "last_transition_time": "2023-05-04T20:31:21+00:00", + "message": null, + "reason": null, + "status": "True", + "type": "Ready" + }, + { + "last_probe_time": null, + "last_transition_time": "2023-05-04T20:31:21+00:00", + "message": null, + "reason": null, + "status": "True", + "type": "ContainersReady" + }, + { + "last_probe_time": null, + "last_transition_time": "2023-05-04T20:31:01+00:00", + "message": null, + "reason": null, + "status": "True", + "type": "PodScheduled" + } + ], + "container_statuses": [ + { + "container_id": "containerd://ca7b7418474ee28fca7677e704f5a109803bbdb7ce6872353e6e921433be08a8", + "image": "docker.io/cockroachdb/cockroach:v21.2.10", + "image_id": "docker.io/library/import-2023-05-04@sha256:070cca8c19ddf0ae6bc2bd88819e394fef6131b6cd44edb93847d703a068c29c", + "last_state": { + "running": null, + "terminated": null, + "waiting": null + }, + "name": "db", + "ready": true, + "restart_count": 0, + "started": true, + "state": { + "running": { + "started_at": "2023-05-04T20:31:01+00:00" + }, + "terminated": null, + "waiting": null + } + } + ], + "ephemeral_container_statuses": null, + "host_ip": "172.18.0.3", + "init_container_statuses": [ + { + "container_id": "containerd://52c32f9d159a546b0ed1baa3b717c7cff2b21f35e28b5a587e41e92b29323f50", + "image": "docker.io/cockroachdb/cockroach:v21.2.10", + "image_id": "docker.io/library/import-2023-05-04@sha256:070cca8c19ddf0ae6bc2bd88819e394fef6131b6cd44edb93847d703a068c29c", + "last_state": { + "running": null, + "terminated": null, + "waiting": null + }, + "name": "db-init", + "ready": true, + "restart_count": 0, + "started": null, + "state": { + "running": null, + "terminated": { + "container_id": "containerd://52c32f9d159a546b0ed1baa3b717c7cff2b21f35e28b5a587e41e92b29323f50", + "exit_code": 0, + "finished_at": "2023-05-04T20:31:01+00:00", + "message": null, + "reason": "Completed", + "signal": null, + "started_at": "2023-05-04T20:31:01+00:00" + }, + "waiting": null + } + } + ], + "message": null, + "nominated_node_name": null, + "phase": "Running", + "pod_ip": "10.244.1.4", + "pod_i_ps": [ + { + "ip": "10.244.1.4" + } + ], + "qos_class": "Burstable", + "reason": null, + "start_time": "2023-05-04T20:31:01+00:00" + } + }, + "test-cluster-2": { + "api_version": null, + "kind": null, + "metadata": { + "annotations": null, + "creation_timestamp": "2023-05-04T20:30:58+00:00", + "deletion_grace_period_seconds": null, + "deletion_timestamp": null, + "finalizers": null, + "generate_name": "test-cluster-", + "generation": null, + "labels": { + "app.kubernetes.io/component": "database", + "app.kubernetes.io/instance": "test-cluster", + "app.kubernetes.io/name": "cockroachdb", + "controller-revision-hash": "test-cluster-76f9c78d88", + "crdb": "is-cool", + "statefulset.kubernetes.io/pod-name": "test-cluster-2" + }, + "managed_fields": [ + { + "api_version": "v1", + "fields_type": "FieldsV1", + "fields_v1": { + "f:metadata": { + "f:generateName": {}, + "f:labels": { + ".": {}, + "f:app.kubernetes.io/component": {}, + "f:app.kubernetes.io/instance": {}, + "f:app.kubernetes.io/name": {}, + "f:controller-revision-hash": {}, + "f:crdb": {}, + "f:statefulset.kubernetes.io/pod-name": {} + }, + "f:ownerReferences": { + ".": {}, + "k:{\"uid\":\"f53f5464-2142-4d42-8f5b-bdd30e5c1acf\"}": {} + } + }, + "f:spec": { + "f:automountServiceAccountToken": {}, + "f:containers": { + "k:{\"name\":\"db\"}": { + ".": {}, + "f:command": {}, + "f:env": { + ".": {}, + "k:{\"name\":\"COCKROACH_CHANNEL\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"GOMAXPROCS\"}": { + ".": {}, + "f:name": {}, + "f:valueFrom": { + ".": {}, + "f:resourceFieldRef": {} + } + }, + "k:{\"name\":\"MEMORY_LIMIT_MIB\"}": { + ".": {}, + "f:name": {}, + "f:valueFrom": { + ".": {}, + "f:resourceFieldRef": {} + } + }, + "k:{\"name\":\"POD_NAME\"}": { + ".": {}, + "f:name": {}, + "f:valueFrom": { + ".": {}, + "f:fieldRef": {} + } + } + }, + "f:image": {}, + "f:imagePullPolicy": {}, + "f:lifecycle": { + ".": {}, + "f:preStop": { + ".": {}, + "f:exec": { + ".": {}, + "f:command": {} + } + } + }, + "f:name": {}, + "f:ports": { + ".": {}, + "k:{\"containerPort\":8080,\"protocol\":\"TCP\"}": { + ".": {}, + "f:containerPort": {}, + "f:name": {}, + "f:protocol": {} + }, + "k:{\"containerPort\":26257,\"protocol\":\"TCP\"}": { + ".": {}, + "f:containerPort": {}, + "f:name": {}, + "f:protocol": {} + }, + "k:{\"containerPort\":26258,\"protocol\":\"TCP\"}": { + ".": {}, + "f:containerPort": {}, + "f:name": {}, + "f:protocol": {} + } + }, + "f:readinessProbe": { + ".": {}, + "f:failureThreshold": {}, + "f:httpGet": { + ".": {}, + "f:path": {}, + "f:port": {}, + "f:scheme": {} + }, + "f:initialDelaySeconds": {}, + "f:periodSeconds": {}, + "f:successThreshold": {}, + "f:timeoutSeconds": {} + }, + "f:resources": { + ".": {}, + "f:limits": { + ".": {}, + "f:cpu": {}, + "f:memory": {} + }, + "f:requests": { + ".": {}, + "f:cpu": {}, + "f:memory": {} + } + }, + "f:terminationMessagePath": {}, + "f:terminationMessagePolicy": {}, + "f:volumeMounts": { + ".": {}, + "k:{\"mountPath\":\"/cockroach/cockroach-certs/\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + }, + "k:{\"mountPath\":\"/cockroach/cockroach-data/\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + } + } + } + }, + "f:dnsPolicy": {}, + "f:enableServiceLinks": {}, + "f:hostname": {}, + "f:initContainers": { + ".": {}, + "k:{\"name\":\"db-init\"}": { + ".": {}, + "f:command": {}, + "f:image": {}, + "f:imagePullPolicy": {}, + "f:name": {}, + "f:resources": {}, + "f:securityContext": { + ".": {}, + "f:allowPrivilegeEscalation": {}, + "f:runAsUser": {} + }, + "f:terminationMessagePath": {}, + "f:terminationMessagePolicy": {}, + "f:volumeMounts": { + ".": {}, + "k:{\"mountPath\":\"/cockroach/cockroach-certs-prestage/\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + }, + "k:{\"mountPath\":\"/cockroach/cockroach-certs/\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + } + } + } + }, + "f:restartPolicy": {}, + "f:schedulerName": {}, + "f:securityContext": { + ".": {}, + "f:fsGroup": {}, + "f:runAsUser": {} + }, + "f:serviceAccount": {}, + "f:serviceAccountName": {}, + "f:subdomain": {}, + "f:terminationGracePeriodSeconds": {}, + "f:volumes": { + ".": {}, + "k:{\"name\":\"certs\"}": { + ".": {}, + "f:name": {}, + "f:projected": { + ".": {}, + "f:defaultMode": {}, + "f:sources": {} + } + }, + "k:{\"name\":\"datadir\"}": { + ".": {}, + "f:name": {}, + "f:persistentVolumeClaim": { + ".": {}, + "f:claimName": {} + } + }, + "k:{\"name\":\"emptydir\"}": { + ".": {}, + "f:emptyDir": {}, + "f:name": {} + } + } + } + }, + "manager": "kube-controller-manager", + "operation": "Update", + "subresource": null, + "time": "2023-05-04T20:30:58+00:00" + }, + { + "api_version": "v1", + "fields_type": "FieldsV1", + "fields_v1": { + "f:status": { + "f:conditions": { + "k:{\"type\":\"ContainersReady\"}": { + ".": {}, + "f:lastProbeTime": {}, + "f:lastTransitionTime": {}, + "f:status": {}, + "f:type": {} + }, + "k:{\"type\":\"Initialized\"}": { + ".": {}, + "f:lastProbeTime": {}, + "f:lastTransitionTime": {}, + "f:status": {}, + "f:type": {} + }, + "k:{\"type\":\"Ready\"}": { + ".": {}, + "f:lastProbeTime": {}, + "f:lastTransitionTime": {}, + "f:status": {}, + "f:type": {} + } + }, + "f:containerStatuses": {}, + "f:hostIP": {}, + "f:initContainerStatuses": {}, + "f:phase": {}, + "f:podIP": {}, + "f:podIPs": { + ".": {}, + "k:{\"ip\":\"10.244.2.4\"}": { + ".": {}, + "f:ip": {} + } + }, + "f:startTime": {} + } + }, + "manager": "kubelet", + "operation": "Update", + "subresource": "status", + "time": "2023-05-04T20:31:13+00:00" + } + ], + "name": "test-cluster-2", + "namespace": "cockroach-operator-system", + "owner_references": [ + { + "api_version": "apps/v1", + "block_owner_deletion": true, + "controller": true, + "kind": "StatefulSet", + "name": "test-cluster", + "uid": "f53f5464-2142-4d42-8f5b-bdd30e5c1acf" + } + ], + "resource_version": "1020", + "self_link": null, + "uid": "30cdd852-14b8-4fc7-a7f6-b3dfe6ebaf1d" + }, + "spec": { + "active_deadline_seconds": null, + "affinity": null, + "automount_service_account_token": false, + "containers": [ + { + "args": null, + "command": [ + "/bin/bash", + "-ecx", + "exec /cockroach/cockroach.sh start --advertise-host=$(POD_NAME).test-cluster.cockroach-operator-system --certs-dir=/cockroach/cockroach-certs/ --http-port=8080 --sql-addr=:26257 --listen-addr=:26258 --log=\"{sinks: {stderr: {channels: [OPS, HEALTH], redact: true}}}\" --cache $(expr $MEMORY_LIMIT_MIB / 4)MiB --max-sql-memory $(expr $MEMORY_LIMIT_MIB / 4)MiB --join=test-cluster-0.test-cluster.cockroach-operator-system:26258,test-cluster-1.test-cluster.cockroach-operator-system:26258,test-cluster-2.test-cluster.cockroach-operator-system:26258" + ], + "env": [ + { + "name": "COCKROACH_CHANNEL", + "value": "kubernetes-operator-unknown", + "value_from": null + }, + { + "name": "POD_NAME", + "value": null, + "value_from": { + "config_map_key_ref": null, + "field_ref": { + "api_version": "v1", + "field_path": "metadata.name" + }, + "resource_field_ref": null, + "secret_key_ref": null + } + }, + { + "name": "GOMAXPROCS", + "value": null, + "value_from": { + "config_map_key_ref": null, + "field_ref": null, + "resource_field_ref": { + "container_name": null, + "divisor": "1", + "resource": "limits.cpu" + }, + "secret_key_ref": null + } + }, + { + "name": "MEMORY_LIMIT_MIB", + "value": null, + "value_from": { + "config_map_key_ref": null, + "field_ref": null, + "resource_field_ref": { + "container_name": null, + "divisor": "1Mi", + "resource": "limits.memory" + }, + "secret_key_ref": null + } + } + ], + "env_from": null, + "image": "cockroachdb/cockroach:v21.2.10", + "image_pull_policy": "IfNotPresent", + "lifecycle": { + "post_start": null, + "pre_stop": { + "_exec": { + "command": [ + "sh", + "-c", + "/cockroach/cockroach node drain --certs-dir=/cockroach/cockroach-certs/ || exit 0" + ] + }, + "http_get": null, + "tcp_socket": null + } + }, + "liveness_probe": null, + "name": "db", + "ports": [ + { + "container_port": 26258, + "host_ip": null, + "host_port": null, + "name": "grpc", + "protocol": "TCP" + }, + { + "container_port": 8080, + "host_ip": null, + "host_port": null, + "name": "http", + "protocol": "TCP" + }, + { + "container_port": 26257, + "host_ip": null, + "host_port": null, + "name": "sql", + "protocol": "TCP" + } + ], + "readiness_probe": { + "_exec": null, + "failure_threshold": 2, + "grpc": null, + "http_get": { + "host": null, + "http_headers": null, + "path": "/health?ready=1", + "port": "http", + "scheme": "HTTPS" + }, + "initial_delay_seconds": 10, + "period_seconds": 5, + "success_threshold": 1, + "tcp_socket": null, + "termination_grace_period_seconds": null, + "timeout_seconds": 1 + }, + "resources": { + "limits": { + "cpu": "2", + "memory": "2Gi" + }, + "requests": { + "cpu": "100m", + "memory": "1Gi" + } + }, + "security_context": null, + "startup_probe": null, + "stdin": null, + "stdin_once": null, + "termination_message_path": "/dev/termination-log", + "termination_message_policy": "File", + "tty": null, + "volume_devices": null, + "volume_mounts": [ + { + "mount_path": "/cockroach/cockroach-data/", + "mount_propagation": null, + "name": "datadir", + "read_only": null, + "sub_path": null, + "sub_path_expr": null + }, + { + "mount_path": "/cockroach/cockroach-certs/", + "mount_propagation": null, + "name": "emptydir", + "read_only": null, + "sub_path": null, + "sub_path_expr": null + } + ], + "working_dir": null + } + ], + "dns_config": null, + "dns_policy": "ClusterFirst", + "enable_service_links": true, + "ephemeral_containers": null, + "host_aliases": null, + "host_ipc": null, + "host_network": null, + "host_pid": null, + "host_users": null, + "hostname": "test-cluster-2", + "image_pull_secrets": null, + "init_containers": [ + { + "args": null, + "command": [ + "/bin/sh", + "-c", + ">- cp -p /cockroach/cockroach-certs-prestage/..data/* /cockroach/cockroach-certs/ && chmod 700 /cockroach/cockroach-certs/*.key && chown 1000581000:1000581000 /cockroach/cockroach-certs/*.key" + ], + "env": null, + "env_from": null, + "image": "cockroachdb/cockroach:v21.2.10", + "image_pull_policy": "IfNotPresent", + "lifecycle": null, + "liveness_probe": null, + "name": "db-init", + "ports": null, + "readiness_probe": null, + "resources": { + "limits": null, + "requests": null + }, + "security_context": { + "allow_privilege_escalation": false, + "capabilities": null, + "privileged": null, + "proc_mount": null, + "read_only_root_filesystem": null, + "run_as_group": null, + "run_as_non_root": null, + "run_as_user": 0, + "se_linux_options": null, + "seccomp_profile": null, + "windows_options": null + }, + "startup_probe": null, + "stdin": null, + "stdin_once": null, + "termination_message_path": "/dev/termination-log", + "termination_message_policy": "File", + "tty": null, + "volume_devices": null, + "volume_mounts": [ + { + "mount_path": "/cockroach/cockroach-certs-prestage/", + "mount_propagation": null, + "name": "certs", + "read_only": null, + "sub_path": null, + "sub_path_expr": null + }, + { + "mount_path": "/cockroach/cockroach-certs/", + "mount_propagation": null, + "name": "emptydir", + "read_only": null, + "sub_path": null, + "sub_path_expr": null + } + ], + "working_dir": null + } + ], + "node_name": "acto-cluster-0-worker2", + "node_selector": null, + "os": null, + "overhead": null, + "preemption_policy": "PreemptLowerPriority", + "priority": 0, + "priority_class_name": null, + "readiness_gates": null, + "restart_policy": "Always", + "runtime_class_name": null, + "scheduler_name": "default-scheduler", + "security_context": { + "fs_group": 1000581000, + "fs_group_change_policy": null, + "run_as_group": null, + "run_as_non_root": null, + "run_as_user": 1000581000, + "se_linux_options": null, + "seccomp_profile": null, + "supplemental_groups": null, + "sysctls": null, + "windows_options": null + }, + "service_account": "test-cluster-sa", + "service_account_name": "test-cluster-sa", + "set_hostname_as_fqdn": null, + "share_process_namespace": null, + "subdomain": "test-cluster", + "termination_grace_period_seconds": 300, + "tolerations": [ + { + "effect": "NoExecute", + "key": "node.kubernetes.io/not-ready", + "operator": "Exists", + "toleration_seconds": 300, + "value": null + }, + { + "effect": "NoExecute", + "key": "node.kubernetes.io/unreachable", + "operator": "Exists", + "toleration_seconds": 300, + "value": null + } + ], + "topology_spread_constraints": null, + "volumes": [ + { + "aws_elastic_block_store": null, + "azure_disk": null, + "azure_file": null, + "cephfs": null, + "cinder": null, + "config_map": null, + "csi": null, + "downward_api": null, + "empty_dir": null, + "ephemeral": null, + "fc": null, + "flex_volume": null, + "flocker": null, + "gce_persistent_disk": null, + "git_repo": null, + "glusterfs": null, + "host_path": null, + "iscsi": null, + "name": "datadir", + "nfs": null, + "persistent_volume_claim": { + "claim_name": "datadir-test-cluster-2", + "read_only": null + }, + "photon_persistent_disk": null, + "portworx_volume": null, + "projected": null, + "quobyte": null, + "rbd": null, + "scale_io": null, + "secret": null, + "storageos": null, + "vsphere_volume": null + }, + { + "aws_elastic_block_store": null, + "azure_disk": null, + "azure_file": null, + "cephfs": null, + "cinder": null, + "config_map": null, + "csi": null, + "downward_api": null, + "empty_dir": { + "medium": null, + "size_limit": null + }, + "ephemeral": null, + "fc": null, + "flex_volume": null, + "flocker": null, + "gce_persistent_disk": null, + "git_repo": null, + "glusterfs": null, + "host_path": null, + "iscsi": null, + "name": "emptydir", + "nfs": null, + "persistent_volume_claim": null, + "photon_persistent_disk": null, + "portworx_volume": null, + "projected": null, + "quobyte": null, + "rbd": null, + "scale_io": null, + "secret": null, + "storageos": null, + "vsphere_volume": null + }, + { + "aws_elastic_block_store": null, + "azure_disk": null, + "azure_file": null, + "cephfs": null, + "cinder": null, + "config_map": null, + "csi": null, + "downward_api": null, + "empty_dir": null, + "ephemeral": null, + "fc": null, + "flex_volume": null, + "flocker": null, + "gce_persistent_disk": null, + "git_repo": null, + "glusterfs": null, + "host_path": null, + "iscsi": null, + "name": "certs", + "nfs": null, + "persistent_volume_claim": null, + "photon_persistent_disk": null, + "portworx_volume": null, + "projected": { + "default_mode": 400, + "sources": [ + { + "config_map": null, + "downward_api": null, + "secret": { + "items": [ + { + "key": "ca.crt", + "mode": 504, + "path": "ca.crt" + }, + { + "key": "tls.crt", + "mode": 504, + "path": "node.crt" + }, + { + "key": "tls.key", + "mode": 400, + "path": "node.key" + } + ], + "name": "test-cluster-node", + "optional": null + }, + "service_account_token": null + }, + { + "config_map": null, + "downward_api": null, + "secret": { + "items": [ + { + "key": "tls.crt", + "mode": 504, + "path": "client.root.crt" + }, + { + "key": "tls.key", + "mode": 400, + "path": "client.root.key" + } + ], + "name": "test-cluster-root", + "optional": null + }, + "service_account_token": null + } + ] + }, + "quobyte": null, + "rbd": null, + "scale_io": null, + "secret": null, + "storageos": null, + "vsphere_volume": null + } + ] + }, + "status": { + "conditions": [ + { + "last_probe_time": null, + "last_transition_time": "2023-05-04T20:31:03+00:00", + "message": null, + "reason": null, + "status": "True", + "type": "Initialized" + }, + { + "last_probe_time": null, + "last_transition_time": "2023-05-04T20:31:13+00:00", + "message": null, + "reason": null, + "status": "True", + "type": "Ready" + }, + { + "last_probe_time": null, + "last_transition_time": "2023-05-04T20:31:13+00:00", + "message": null, + "reason": null, + "status": "True", + "type": "ContainersReady" + }, + { + "last_probe_time": null, + "last_transition_time": "2023-05-04T20:31:03+00:00", + "message": null, + "reason": null, + "status": "True", + "type": "PodScheduled" + } + ], + "container_statuses": [ + { + "container_id": "containerd://2f544903b0b636dbca668a30339a5f6d31026753d3566370f99b6d54f5eaed73", + "image": "docker.io/cockroachdb/cockroach:v21.2.10", + "image_id": "docker.io/library/import-2023-05-04@sha256:070cca8c19ddf0ae6bc2bd88819e394fef6131b6cd44edb93847d703a068c29c", + "last_state": { + "running": null, + "terminated": null, + "waiting": null + }, + "name": "db", + "ready": true, + "restart_count": 0, + "started": true, + "state": { + "running": { + "started_at": "2023-05-04T20:31:03+00:00" + }, + "terminated": null, + "waiting": null + } + } + ], + "ephemeral_container_statuses": null, + "host_ip": "172.18.0.6", + "init_container_statuses": [ + { + "container_id": "containerd://f9489fd69bbc0e8097b9546402583a04b9d5ae009a5940ffec5272ca8d642b31", + "image": "docker.io/cockroachdb/cockroach:v21.2.10", + "image_id": "docker.io/library/import-2023-05-04@sha256:070cca8c19ddf0ae6bc2bd88819e394fef6131b6cd44edb93847d703a068c29c", + "last_state": { + "running": null, + "terminated": null, + "waiting": null + }, + "name": "db-init", + "ready": true, + "restart_count": 0, + "started": null, + "state": { + "running": null, + "terminated": { + "container_id": "containerd://f9489fd69bbc0e8097b9546402583a04b9d5ae009a5940ffec5272ca8d642b31", + "exit_code": 0, + "finished_at": "2023-05-04T20:31:03+00:00", + "message": null, + "reason": "Completed", + "signal": null, + "started_at": "2023-05-04T20:31:03+00:00" + }, + "waiting": null + } + } + ], + "message": null, + "nominated_node_name": null, + "phase": "Running", + "pod_ip": "10.244.2.4", + "pod_i_ps": [ + { + "ip": "10.244.2.4" + } + ], + "qos_class": "Burstable", + "reason": null, + "start_time": "2023-05-04T20:31:03+00:00" + } + } + }, + "deployment_pods": { + "cockroach-operator-manager": [ + { + "api_version": null, + "kind": null, + "metadata": { + "annotations": null, + "creation_timestamp": "2023-05-04T20:30:52+00:00", + "deletion_grace_period_seconds": null, + "deletion_timestamp": null, + "finalizers": null, + "generate_name": "cockroach-operator-manager-64c489884-", + "generation": null, + "labels": { + "acto/tag": "operator-pod", + "app": "cockroach-operator", + "pod-template-hash": "64c489884" + }, + "managed_fields": [ + { + "api_version": "v1", + "fields_type": "FieldsV1", + "fields_v1": { + "f:metadata": { + "f:generateName": {}, + "f:labels": { + ".": {}, + "f:acto/tag": {}, + "f:app": {}, + "f:pod-template-hash": {} + }, + "f:ownerReferences": { + ".": {}, + "k:{\"uid\":\"be708d8a-e777-47d2-951f-3826c77ce527\"}": {} + } + }, + "f:spec": { + "f:containers": { + "k:{\"name\":\"cockroach-operator\"}": { + ".": {}, + "f:args": {}, + "f:env": { + ".": {}, + "k:{\"name\":\"NAMESPACE\"}": { + ".": {}, + "f:name": {}, + "f:valueFrom": { + ".": {}, + "f:fieldRef": {} + } + }, + "k:{\"name\":\"OPERATOR_NAME\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"POD_NAME\"}": { + ".": {}, + "f:name": {}, + "f:valueFrom": { + ".": {}, + "f:fieldRef": {} + } + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v20_1_11\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v20_1_12\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v20_1_13\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v20_1_15\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v20_1_16\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v20_1_17\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v20_1_4\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v20_1_5\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v20_1_8\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v20_2_0\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v20_2_1\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v20_2_10\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v20_2_11\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v20_2_12\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v20_2_13\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v20_2_14\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v20_2_15\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v20_2_16\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v20_2_17\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v20_2_18\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v20_2_19\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v20_2_2\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v20_2_3\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v20_2_4\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v20_2_5\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v20_2_6\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v20_2_8\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v20_2_9\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v21_1_0\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v21_1_1\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v21_1_10\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v21_1_11\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v21_1_12\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v21_1_13\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v21_1_14\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v21_1_15\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v21_1_16\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v21_1_17\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v21_1_18\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v21_1_19\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v21_1_2\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v21_1_3\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v21_1_4\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v21_1_5\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v21_1_6\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v21_1_7\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v21_1_9\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v21_2_0\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v21_2_1\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v21_2_10\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v21_2_2\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v21_2_3\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v21_2_4\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v21_2_5\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v21_2_7\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v21_2_8\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v21_2_9\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + } + }, + "f:image": {}, + "f:imagePullPolicy": {}, + "f:name": {}, + "f:resources": { + ".": {}, + "f:requests": { + ".": {}, + "f:cpu": {}, + "f:memory": {} + } + }, + "f:terminationMessagePath": {}, + "f:terminationMessagePolicy": {} + } + }, + "f:dnsPolicy": {}, + "f:enableServiceLinks": {}, + "f:restartPolicy": {}, + "f:schedulerName": {}, + "f:securityContext": {}, + "f:serviceAccount": {}, + "f:serviceAccountName": {}, + "f:terminationGracePeriodSeconds": {} + } + }, + "manager": "kube-controller-manager", + "operation": "Update", + "subresource": null, + "time": "2023-05-04T20:30:52+00:00" + }, + { + "api_version": "v1", + "fields_type": "FieldsV1", + "fields_v1": { + "f:status": { + "f:conditions": { + "k:{\"type\":\"ContainersReady\"}": { + ".": {}, + "f:lastProbeTime": {}, + "f:lastTransitionTime": {}, + "f:status": {}, + "f:type": {} + }, + "k:{\"type\":\"Initialized\"}": { + ".": {}, + "f:lastProbeTime": {}, + "f:lastTransitionTime": {}, + "f:status": {}, + "f:type": {} + }, + "k:{\"type\":\"Ready\"}": { + ".": {}, + "f:lastProbeTime": {}, + "f:lastTransitionTime": {}, + "f:status": {}, + "f:type": {} + } + }, + "f:containerStatuses": {}, + "f:hostIP": {}, + "f:phase": {}, + "f:podIP": {}, + "f:podIPs": { + ".": {}, + "k:{\"ip\":\"10.244.1.2\"}": { + ".": {}, + "f:ip": {} + } + }, + "f:startTime": {} + } + }, + "manager": "kubelet", + "operation": "Update", + "subresource": "status", + "time": "2023-05-04T20:30:52+00:00" + } + ], + "name": "cockroach-operator-manager-64c489884-t4l82", + "namespace": "cockroach-operator-system", + "owner_references": [ + { + "api_version": "apps/v1", + "block_owner_deletion": true, + "controller": true, + "kind": "ReplicaSet", + "name": "cockroach-operator-manager-64c489884", + "uid": "be708d8a-e777-47d2-951f-3826c77ce527" + } + ], + "resource_version": "800", + "self_link": null, + "uid": "2fa41549-7083-45b2-8a85-b2450b8b08b7" + }, + "spec": { + "active_deadline_seconds": null, + "affinity": null, + "automount_service_account_token": null, + "containers": [ + { + "args": [ + "-zap-log-level", + "info", + "-feature-gates", + "TopologySpreadRules=true,AffinityRules=true,TolerationRules=true" + ], + "command": null, + "env": [ + { + "name": "RELATED_IMAGE_COCKROACH_v20_1_4", + "value": "cockroachdb/cockroach:v20.1.4", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v20_1_5", + "value": "cockroachdb/cockroach:v20.1.5", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v20_1_8", + "value": "cockroachdb/cockroach:v20.1.8", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v20_1_11", + "value": "cockroachdb/cockroach:v20.1.11", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v20_1_12", + "value": "cockroachdb/cockroach:v20.1.12", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v20_1_13", + "value": "cockroachdb/cockroach:v20.1.13", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v20_1_15", + "value": "cockroachdb/cockroach:v20.1.15", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v20_1_16", + "value": "cockroachdb/cockroach:v20.1.16", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v20_1_17", + "value": "cockroachdb/cockroach:v20.1.17", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v20_2_0", + "value": "cockroachdb/cockroach:v20.2.0", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v20_2_1", + "value": "cockroachdb/cockroach:v20.2.1", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v20_2_2", + "value": "cockroachdb/cockroach:v20.2.2", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v20_2_3", + "value": "cockroachdb/cockroach:v20.2.3", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v20_2_4", + "value": "cockroachdb/cockroach:v20.2.4", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v20_2_5", + "value": "cockroachdb/cockroach:v20.2.5", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v20_2_6", + "value": "cockroachdb/cockroach:v20.2.6", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v20_2_8", + "value": "cockroachdb/cockroach:v20.2.8", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v20_2_9", + "value": "cockroachdb/cockroach:v20.2.9", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v20_2_10", + "value": "cockroachdb/cockroach:v20.2.10", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v20_2_11", + "value": "cockroachdb/cockroach:v20.2.11", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v20_2_12", + "value": "cockroachdb/cockroach:v20.2.12", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v20_2_13", + "value": "cockroachdb/cockroach:v20.2.13", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v20_2_14", + "value": "cockroachdb/cockroach:v20.2.14", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v20_2_15", + "value": "cockroachdb/cockroach:v20.2.15", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v20_2_16", + "value": "cockroachdb/cockroach:v20.2.16", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v20_2_17", + "value": "cockroachdb/cockroach:v20.2.17", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v20_2_18", + "value": "cockroachdb/cockroach:v20.2.18", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v20_2_19", + "value": "cockroachdb/cockroach:v20.2.19", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v21_1_0", + "value": "cockroachdb/cockroach:v21.1.0", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v21_1_1", + "value": "cockroachdb/cockroach:v21.1.1", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v21_1_2", + "value": "cockroachdb/cockroach:v21.1.2", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v21_1_3", + "value": "cockroachdb/cockroach:v21.1.3", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v21_1_4", + "value": "cockroachdb/cockroach:v21.1.4", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v21_1_5", + "value": "cockroachdb/cockroach:v21.1.5", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v21_1_6", + "value": "cockroachdb/cockroach:v21.1.6", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v21_1_7", + "value": "cockroachdb/cockroach:v21.1.7", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v21_1_9", + "value": "cockroachdb/cockroach:v21.1.9", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v21_1_10", + "value": "cockroachdb/cockroach:v21.1.10", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v21_1_11", + "value": "cockroachdb/cockroach:v21.1.11", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v21_1_12", + "value": "cockroachdb/cockroach:v21.1.12", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v21_1_13", + "value": "cockroachdb/cockroach:v21.1.13", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v21_1_14", + "value": "cockroachdb/cockroach:v21.1.14", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v21_1_15", + "value": "cockroachdb/cockroach:v21.1.15", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v21_1_16", + "value": "cockroachdb/cockroach:v21.1.16", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v21_1_17", + "value": "cockroachdb/cockroach:v21.1.17", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v21_1_18", + "value": "cockroachdb/cockroach:v21.1.18", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v21_1_19", + "value": "cockroachdb/cockroach:v21.1.19", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v21_2_0", + "value": "cockroachdb/cockroach:v21.2.0", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v21_2_1", + "value": "cockroachdb/cockroach:v21.2.1", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v21_2_2", + "value": "cockroachdb/cockroach:v21.2.2", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v21_2_3", + "value": "cockroachdb/cockroach:v21.2.3", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v21_2_4", + "value": "cockroachdb/cockroach:v21.2.4", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v21_2_5", + "value": "cockroachdb/cockroach:v21.2.5", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v21_2_7", + "value": "cockroachdb/cockroach:v21.2.7", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v21_2_8", + "value": "cockroachdb/cockroach:v21.2.8", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v21_2_9", + "value": "cockroachdb/cockroach:v21.2.9", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v21_2_10", + "value": "cockroachdb/cockroach:v21.2.10", + "value_from": null + }, + { + "name": "OPERATOR_NAME", + "value": "cockroachdb", + "value_from": null + }, + { + "name": "POD_NAME", + "value": null, + "value_from": { + "config_map_key_ref": null, + "field_ref": { + "api_version": "v1", + "field_path": "metadata.name" + }, + "resource_field_ref": null, + "secret_key_ref": null + } + }, + { + "name": "NAMESPACE", + "value": null, + "value_from": { + "config_map_key_ref": null, + "field_ref": { + "api_version": "v1", + "field_path": "metadata.namespace" + }, + "resource_field_ref": null, + "secret_key_ref": null + } + } + ], + "env_from": null, + "image": "cockroachdb/cockroach-operator:v2.7.0", + "image_pull_policy": "IfNotPresent", + "lifecycle": null, + "liveness_probe": null, + "name": "cockroach-operator", + "ports": null, + "readiness_probe": null, + "resources": { + "limits": null, + "requests": { + "cpu": "10m", + "memory": "32Mi" + } + }, + "security_context": null, + "startup_probe": null, + "stdin": null, + "stdin_once": null, + "termination_message_path": "/dev/termination-log", + "termination_message_policy": "File", + "tty": null, + "volume_devices": null, + "volume_mounts": [ + { + "mount_path": "/var/run/secrets/kubernetes.io/serviceaccount", + "mount_propagation": null, + "name": "kube-api-access-shxth", + "read_only": true, + "sub_path": null, + "sub_path_expr": null + } + ], + "working_dir": null + } + ], + "dns_config": null, + "dns_policy": "ClusterFirst", + "enable_service_links": true, + "ephemeral_containers": null, + "host_aliases": null, + "host_ipc": null, + "host_network": null, + "host_pid": null, + "host_users": null, + "hostname": null, + "image_pull_secrets": null, + "init_containers": null, + "node_name": "acto-cluster-0-worker3", + "node_selector": null, + "os": null, + "overhead": null, + "preemption_policy": "PreemptLowerPriority", + "priority": 0, + "priority_class_name": null, + "readiness_gates": null, + "restart_policy": "Always", + "runtime_class_name": null, + "scheduler_name": "default-scheduler", + "security_context": { + "fs_group": null, + "fs_group_change_policy": null, + "run_as_group": null, + "run_as_non_root": null, + "run_as_user": null, + "se_linux_options": null, + "seccomp_profile": null, + "supplemental_groups": null, + "sysctls": null, + "windows_options": null + }, + "service_account": "cockroach-operator-sa", + "service_account_name": "cockroach-operator-sa", + "set_hostname_as_fqdn": null, + "share_process_namespace": null, + "subdomain": null, + "termination_grace_period_seconds": 30, + "tolerations": [ + { + "effect": "NoExecute", + "key": "node.kubernetes.io/not-ready", + "operator": "Exists", + "toleration_seconds": 300, + "value": null + }, + { + "effect": "NoExecute", + "key": "node.kubernetes.io/unreachable", + "operator": "Exists", + "toleration_seconds": 300, + "value": null + } + ], + "topology_spread_constraints": null, + "volumes": [ + { + "aws_elastic_block_store": null, + "azure_disk": null, + "azure_file": null, + "cephfs": null, + "cinder": null, + "config_map": null, + "csi": null, + "downward_api": null, + "empty_dir": null, + "ephemeral": null, + "fc": null, + "flex_volume": null, + "flocker": null, + "gce_persistent_disk": null, + "git_repo": null, + "glusterfs": null, + "host_path": null, + "iscsi": null, + "name": "kube-api-access-shxth", + "nfs": null, + "persistent_volume_claim": null, + "photon_persistent_disk": null, + "portworx_volume": null, + "projected": { + "default_mode": 420, + "sources": [ + { + "config_map": null, + "downward_api": null, + "secret": null, + "service_account_token": { + "audience": null, + "expiration_seconds": 3607, + "path": "token" + } + }, + { + "config_map": { + "items": [ + { + "key": "ca.crt", + "mode": null, + "path": "ca.crt" + } + ], + "name": "kube-root-ca.crt", + "optional": null + }, + "downward_api": null, + "secret": null, + "service_account_token": null + }, + { + "config_map": null, + "downward_api": { + "items": [ + { + "field_ref": { + "api_version": "v1", + "field_path": "metadata.namespace" + }, + "mode": null, + "path": "namespace", + "resource_field_ref": null + } + ] + }, + "secret": null, + "service_account_token": null + } + ] + }, + "quobyte": null, + "rbd": null, + "scale_io": null, + "secret": null, + "storageos": null, + "vsphere_volume": null + } + ] + }, + "status": { + "conditions": [ + { + "last_probe_time": null, + "last_transition_time": "2023-05-04T20:30:52+00:00", + "message": null, + "reason": null, + "status": "True", + "type": "Initialized" + }, + { + "last_probe_time": null, + "last_transition_time": "2023-05-04T20:30:52+00:00", + "message": null, + "reason": null, + "status": "True", + "type": "Ready" + }, + { + "last_probe_time": null, + "last_transition_time": "2023-05-04T20:30:52+00:00", + "message": null, + "reason": null, + "status": "True", + "type": "ContainersReady" + }, + { + "last_probe_time": null, + "last_transition_time": "2023-05-04T20:30:52+00:00", + "message": null, + "reason": null, + "status": "True", + "type": "PodScheduled" + } + ], + "container_statuses": [ + { + "container_id": "containerd://047bd91d0f97b407027597509ee9fb3aab2ba0d22f7b2f3f5ce4f752805d99c7", + "image": "docker.io/cockroachdb/cockroach-operator:v2.7.0", + "image_id": "docker.io/library/import-2023-05-04@sha256:5c5b320a3785185e893eefcb40debe5f237dfe8493f73ab573c12da6a5083449", + "last_state": { + "running": null, + "terminated": null, + "waiting": null + }, + "name": "cockroach-operator", + "ready": true, + "restart_count": 0, + "started": true, + "state": { + "running": { + "started_at": "2023-05-04T20:30:52+00:00" + }, + "terminated": null, + "waiting": null + } + } + ], + "ephemeral_container_statuses": null, + "host_ip": "172.18.0.3", + "init_container_statuses": null, + "message": null, + "nominated_node_name": null, + "phase": "Running", + "pod_ip": "10.244.1.2", + "pod_i_ps": [ + { + "ip": "10.244.1.2" + } + ], + "qos_class": "Burstable", + "reason": null, + "start_time": "2023-05-04T20:30:52+00:00" + } + } + ] + }, + "stateful_set": { + "test-cluster": { + "api_version": null, + "kind": null, + "metadata": { + "annotations": { + "crdb.io/containerimage": "cockroachdb/cockroach:v21.2.10", + "crdb.io/last-applied":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hdGFiYXNlIn19fSwidm9sdW1lQ2xhaW1UZW1wbGF0ZXMiOlt7Im1ldGFkYXRhIjp7Im5hbWUiOiJkYXRhZGlyIiwibGFiZWxzIjp7ImFwcC5rdWJlcm5ldGVzLmlvL2luc3RhbmNlIjoidGVzdC1jbHVzdGVyIiwiYXBwLmt1YmVybmV0ZXMuaW8vY29tcG9uZW50IjoiZGF0YWJhc2UiLCJjcmRiIjoiaXMtY29vbCIsImFwcC5rdWJlcm5ldGVzLmlvL25hbWUiOiJjb2Nrcm9hY2hkYiJ9fSwic3BlYyI6eyJyZXNvdXJjZXMiOnsicmVxdWVzdHMiOnsic3RvcmFnZSI6IjFHaSJ9fSwidm9sdW1lTW9kZSI6IkZpbGVzeXN0ZW0iLCJhY2Nlc3NNb2RlcyI6WyJSZWFkV3JpdGVPbmNlIl19LCJzdGF0dXMiOnt9fV0sInNlcnZpY2VOYW1lIjoidGVzdC1jbHVzdGVyIn0sInN0YXR1cyI6eyJyZXBsaWNhcyI6MH19", + "crdb.io/version": "v21.2.10" + }, + "creation_timestamp": "2023-05-04T20:30:58+00:00", + "deletion_grace_period_seconds": null, + "deletion_timestamp": null, + "finalizers": null, + "generate_name": null, + "generation": 1, + "labels": { + "app.kubernetes.io/component": "database", + "app.kubernetes.io/instance": "test-cluster", + "app.kubernetes.io/managed-by": "cockroach-operator", + "app.kubernetes.io/name": "cockroachdb", + "app.kubernetes.io/part-of": "cockroachdb", + "app.kubernetes.io/version": "v21.2.10", + "crdb": "is-cool" + }, + "managed_fields": [ + { + "api_version": "apps/v1", + "fields_type": "FieldsV1", + "fields_v1": { + "f:metadata": { + "f:annotations": { + ".": {}, + "f:crdb.io/containerimage": {}, + "f:crdb.io/last-applied": {}, + "f:crdb.io/version": {} + }, + "f:labels": { + ".": {}, + "f:app.kubernetes.io/component": {}, + "f:app.kubernetes.io/instance": {}, + "f:app.kubernetes.io/managed-by": {}, + "f:app.kubernetes.io/name": {}, + "f:app.kubernetes.io/part-of": {}, + "f:app.kubernetes.io/version": {}, + "f:crdb": {} + }, + "f:ownerReferences": { + ".": {}, + "k:{\"uid\":\"90ad5ef5-9c95-4092-a5e8-1582b92649ff\"}": {} + } + }, + "f:spec": { + "f:podManagementPolicy": {}, + "f:replicas": {}, + "f:revisionHistoryLimit": {}, + "f:selector": {}, + "f:serviceName": {}, + "f:template": { + "f:metadata": { + "f:labels": { + ".": {}, + "f:app.kubernetes.io/component": {}, + "f:app.kubernetes.io/instance": {}, + "f:app.kubernetes.io/name": {}, + "f:crdb": {} + } + }, + "f:spec": { + "f:automountServiceAccountToken": {}, + "f:containers": { + "k:{\"name\":\"db\"}": { + ".": {}, + "f:command": {}, + "f:env": { + ".": {}, + "k:{\"name\":\"COCKROACH_CHANNEL\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"GOMAXPROCS\"}": { + ".": {}, + "f:name": {}, + "f:valueFrom": { + ".": {}, + "f:resourceFieldRef": {} + } + }, + "k:{\"name\":\"MEMORY_LIMIT_MIB\"}": { + ".": {}, + "f:name": {}, + "f:valueFrom": { + ".": {}, + "f:resourceFieldRef": {} + } + }, + "k:{\"name\":\"POD_NAME\"}": { + ".": {}, + "f:name": {}, + "f:valueFrom": { + ".": {}, + "f:fieldRef": {} + } + } + }, + "f:image": {}, + "f:imagePullPolicy": {}, + "f:lifecycle": { + ".": {}, + "f:preStop": { + ".": {}, + "f:exec": { + ".": {}, + "f:command": {} + } + } + }, + "f:name": {}, + "f:ports": { + ".": {}, + "k:{\"containerPort\":8080,\"protocol\":\"TCP\"}": { + ".": {}, + "f:containerPort": {}, + "f:name": {}, + "f:protocol": {} + }, + "k:{\"containerPort\":26257,\"protocol\":\"TCP\"}": { + ".": {}, + "f:containerPort": {}, + "f:name": {}, + "f:protocol": {} + }, + "k:{\"containerPort\":26258,\"protocol\":\"TCP\"}": { + ".": {}, + "f:containerPort": {}, + "f:name": {}, + "f:protocol": {} + } + }, + "f:readinessProbe": { + ".": {}, + "f:failureThreshold": {}, + "f:httpGet": { + ".": {}, + "f:path": {}, + "f:port": {}, + "f:scheme": {} + }, + "f:initialDelaySeconds": {}, + "f:periodSeconds": {}, + "f:successThreshold": {}, + "f:timeoutSeconds": {} + }, + "f:resources": { + ".": {}, + "f:limits": { + ".": {}, + "f:cpu": {}, + "f:memory": {} + }, + "f:requests": { + ".": {}, + "f:cpu": {}, + "f:memory": {} + } + }, + "f:terminationMessagePath": {}, + "f:terminationMessagePolicy": {}, + "f:volumeMounts": { + ".": {}, + "k:{\"mountPath\":\"/cockroach/cockroach-certs/\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + }, + "k:{\"mountPath\":\"/cockroach/cockroach-data/\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + } + } + } + }, + "f:dnsPolicy": {}, + "f:initContainers": { + ".": {}, + "k:{\"name\":\"db-init\"}": { + ".": {}, + "f:command": {}, + "f:image": {}, + "f:imagePullPolicy": {}, + "f:name": {}, + "f:resources": {}, + "f:securityContext": { + ".": {}, + "f:allowPrivilegeEscalation": {}, + "f:runAsUser": {} + }, + "f:terminationMessagePath": {}, + "f:terminationMessagePolicy": {}, + "f:volumeMounts": { + ".": {}, + "k:{\"mountPath\":\"/cockroach/cockroach-certs-prestage/\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + }, + "k:{\"mountPath\":\"/cockroach/cockroach-certs/\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + } + } + } + }, + "f:restartPolicy": {}, + "f:schedulerName": {}, + "f:securityContext": { + ".": {}, + "f:fsGroup": {}, + "f:runAsUser": {} + }, + "f:serviceAccount": {}, + "f:serviceAccountName": {}, + "f:terminationGracePeriodSeconds": {}, + "f:volumes": { + ".": {}, + "k:{\"name\":\"certs\"}": { + ".": {}, + "f:name": {}, + "f:projected": { + ".": {}, + "f:defaultMode": {}, + "f:sources": {} + } + }, + "k:{\"name\":\"datadir\"}": { + ".": {}, + "f:name": {}, + "f:persistentVolumeClaim": { + ".": {}, + "f:claimName": {} + } + }, + "k:{\"name\":\"emptydir\"}": { + ".": {}, + "f:emptyDir": {}, + "f:name": {} + } + } + } + }, + "f:updateStrategy": { + "f:rollingUpdate": { + ".": {}, + "f:partition": {} + }, + "f:type": {} + }, + "f:volumeClaimTemplates": {} + } + }, + "manager": "cockroach-operator", + "operation": "Update", + "subresource": null, + "time": "2023-05-04T20:30:58+00:00" + }, + { + "api_version": "apps/v1", + "fields_type": "FieldsV1", + "fields_v1": { + "f:status": { + "f:availableReplicas": {}, + "f:collisionCount": {}, + "f:currentReplicas": {}, + "f:currentRevision": {}, + "f:observedGeneration": {}, + "f:readyReplicas": {}, + "f:replicas": {}, + "f:updateRevision": {}, + "f:updatedReplicas": {} + } + }, + "manager": "kube-controller-manager", + "operation": "Update", + "subresource": "status", + "time": "2023-05-04T20:31:13+00:00" + } + ], + "name": "test-cluster", + "namespace": "cockroach-operator-system", + "owner_references": [ + { + "api_version": "crdb.cockroachlabs.com/v1alpha1", + "block_owner_deletion": true, + "controller": true, + "kind": "CrdbCluster", + "name": "test-cluster", + "uid": "90ad5ef5-9c95-4092-a5e8-1582b92649ff" + } + ], + "resource_version": "1053", + "self_link": null, + "uid": "f53f5464-2142-4d42-8f5b-bdd30e5c1acf" + }, + "spec": { + "min_ready_seconds": null, + "persistent_volume_claim_retention_policy": null, + "pod_management_policy": "Parallel", + "replicas": 3, + "revision_history_limit": 10, + "selector": { + "match_expressions": null, + "match_labels": { + "app.kubernetes.io/component": "database", + "app.kubernetes.io/instance": "test-cluster", + "app.kubernetes.io/name": "cockroachdb", + "crdb": "is-cool" + } + }, + "service_name": "test-cluster", + "template": { + "metadata": { + "annotations": null, + "creation_timestamp": null, + "deletion_grace_period_seconds": null, + "deletion_timestamp": null, + "finalizers": null, + "generate_name": null, + "generation": null, + "labels": { + "app.kubernetes.io/component": "database", + "app.kubernetes.io/instance": "test-cluster", + "app.kubernetes.io/name": "cockroachdb", + "crdb": "is-cool" + }, + "managed_fields": null, + "name": null, + "namespace": null, + "owner_references": null, + "resource_version": null, + "self_link": null, + "uid": null + }, + "spec": { + "active_deadline_seconds": null, + "affinity": null, + "automount_service_account_token": false, + "containers": [ + { + "args": null, + "command": [ + "/bin/bash", + "-ecx", + "exec /cockroach/cockroach.sh start --advertise-host=$(POD_NAME).test-cluster.cockroach-operator-system --certs-dir=/cockroach/cockroach-certs/ --http-port=8080 --sql-addr=:26257 --listen-addr=:26258 --log=\"{sinks: {stderr: {channels: [OPS, HEALTH], redact: true}}}\" --cache $(expr $MEMORY_LIMIT_MIB / 4)MiB --max-sql-memory $(expr $MEMORY_LIMIT_MIB / 4)MiB --join=test-cluster-0.test-cluster.cockroach-operator-system:26258,test-cluster-1.test-cluster.cockroach-operator-system:26258,test-cluster-2.test-cluster.cockroach-operator-system:26258" + ], + "env": [ + { + "name": "COCKROACH_CHANNEL", + "value": "kubernetes-operator-unknown", + "value_from": null + }, + { + "name": "POD_NAME", + "value": null, + "value_from": { + "config_map_key_ref": null, + "field_ref": { + "api_version": "v1", + "field_path": "metadata.name" + }, + "resource_field_ref": null, + "secret_key_ref": null + } + }, + { + "name": "GOMAXPROCS", + "value": null, + "value_from": { + "config_map_key_ref": null, + "field_ref": null, + "resource_field_ref": { + "container_name": null, + "divisor": "1", + "resource": "limits.cpu" + }, + "secret_key_ref": null + } + }, + { + "name": "MEMORY_LIMIT_MIB", + "value": null, + "value_from": { + "config_map_key_ref": null, + "field_ref": null, + "resource_field_ref": { + "container_name": null, + "divisor": "1Mi", + "resource": "limits.memory" + }, + "secret_key_ref": null + } + } + ], + "env_from": null, + "image": "cockroachdb/cockroach:v21.2.10", + "image_pull_policy": "IfNotPresent", + "lifecycle": { + "post_start": null, + "pre_stop": { + "_exec": { + "command": [ + "sh", + "-c", + "/cockroach/cockroach node drain --certs-dir=/cockroach/cockroach-certs/ || exit 0" + ] + }, + "http_get": null, + "tcp_socket": null + } + }, + "liveness_probe": null, + "name": "db", + "ports": [ + { + "container_port": 26258, + "host_ip": null, + "host_port": null, + "name": "grpc", + "protocol": "TCP" + }, + { + "container_port": 8080, + "host_ip": null, + "host_port": null, + "name": "http", + "protocol": "TCP" + }, + { + "container_port": 26257, + "host_ip": null, + "host_port": null, + "name": "sql", + "protocol": "TCP" + } + ], + "readiness_probe": { + "_exec": null, + "failure_threshold": 2, + "grpc": null, + "http_get": { + "host": null, + "http_headers": null, + "path": "/health?ready=1", + "port": "http", + "scheme": "HTTPS" + }, + "initial_delay_seconds": 10, + "period_seconds": 5, + "success_threshold": 1, + "tcp_socket": null, + "termination_grace_period_seconds": null, + "timeout_seconds": 1 + }, + "resources": { + "limits": { + "cpu": "2", + "memory": "2Gi" + }, + "requests": { + "cpu": "100m", + "memory": "1Gi" + } + }, + "security_context": null, + "startup_probe": null, + "stdin": null, + "stdin_once": null, + "termination_message_path": "/dev/termination-log", + "termination_message_policy": "File", + "tty": null, + "volume_devices": null, + "volume_mounts": [ + { + "mount_path": "/cockroach/cockroach-data/", + "mount_propagation": null, + "name": "datadir", + "read_only": null, + "sub_path": null, + "sub_path_expr": null + }, + { + "mount_path": "/cockroach/cockroach-certs/", + "mount_propagation": null, + "name": "emptydir", + "read_only": null, + "sub_path": null, + "sub_path_expr": null + } + ], + "working_dir": null + } + ], + "dns_config": null, + "dns_policy": "ClusterFirst", + "enable_service_links": null, + "ephemeral_containers": null, + "host_aliases": null, + "host_ipc": null, + "host_network": null, + "host_pid": null, + "host_users": null, + "hostname": null, + "image_pull_secrets": null, + "init_containers": [ + { + "args": null, + "command": [ + "/bin/sh", + "-c", + ">- cp -p /cockroach/cockroach-certs-prestage/..data/* /cockroach/cockroach-certs/ && chmod 700 /cockroach/cockroach-certs/*.key && chown 1000581000:1000581000 /cockroach/cockroach-certs/*.key" + ], + "env": null, + "env_from": null, + "image": "cockroachdb/cockroach:v21.2.10", + "image_pull_policy": "IfNotPresent", + "lifecycle": null, + "liveness_probe": null, + "name": "db-init", + "ports": null, + "readiness_probe": null, + "resources": { + "limits": null, + "requests": null + }, + "security_context": { + "allow_privilege_escalation": false, + "capabilities": null, + "privileged": null, + "proc_mount": null, + "read_only_root_filesystem": null, + "run_as_group": null, + "run_as_non_root": null, + "run_as_user": 0, + "se_linux_options": null, + "seccomp_profile": null, + "windows_options": null + }, + "startup_probe": null, + "stdin": null, + "stdin_once": null, + "termination_message_path": "/dev/termination-log", + "termination_message_policy": "File", + "tty": null, + "volume_devices": null, + "volume_mounts": [ + { + "mount_path": "/cockroach/cockroach-certs-prestage/", + "mount_propagation": null, + "name": "certs", + "read_only": null, + "sub_path": null, + "sub_path_expr": null + }, + { + "mount_path": "/cockroach/cockroach-certs/", + "mount_propagation": null, + "name": "emptydir", + "read_only": null, + "sub_path": null, + "sub_path_expr": null + } + ], + "working_dir": null + } + ], + "node_name": null, + "node_selector": null, + "os": null, + "overhead": null, + "preemption_policy": null, + "priority": null, + "priority_class_name": null, + "readiness_gates": null, + "restart_policy": "Always", + "runtime_class_name": null, + "scheduler_name": "default-scheduler", + "security_context": { + "fs_group": 1000581000, + "fs_group_change_policy": null, + "run_as_group": null, + "run_as_non_root": null, + "run_as_user": 1000581000, + "se_linux_options": null, + "seccomp_profile": null, + "supplemental_groups": null, + "sysctls": null, + "windows_options": null + }, + "service_account": "test-cluster-sa", + "service_account_name": "test-cluster-sa", + "set_hostname_as_fqdn": null, + "share_process_namespace": null, + "subdomain": null, + "termination_grace_period_seconds": 300, + "tolerations": null, + "topology_spread_constraints": null, + "volumes": [ + { + "aws_elastic_block_store": null, + "azure_disk": null, + "azure_file": null, + "cephfs": null, + "cinder": null, + "config_map": null, + "csi": null, + "downward_api": null, + "empty_dir": null, + "ephemeral": null, + "fc": null, + "flex_volume": null, + "flocker": null, + "gce_persistent_disk": null, + "git_repo": null, + "glusterfs": null, + "host_path": null, + "iscsi": null, + "name": "datadir", + "nfs": null, + "persistent_volume_claim": { + "claim_name": "", + "read_only": null + }, + "photon_persistent_disk": null, + "portworx_volume": null, + "projected": null, + "quobyte": null, + "rbd": null, + "scale_io": null, + "secret": null, + "storageos": null, + "vsphere_volume": null + }, + { + "aws_elastic_block_store": null, + "azure_disk": null, + "azure_file": null, + "cephfs": null, + "cinder": null, + "config_map": null, + "csi": null, + "downward_api": null, + "empty_dir": { + "medium": null, + "size_limit": null + }, + "ephemeral": null, + "fc": null, + "flex_volume": null, + "flocker": null, + "gce_persistent_disk": null, + "git_repo": null, + "glusterfs": null, + "host_path": null, + "iscsi": null, + "name": "emptydir", + "nfs": null, + "persistent_volume_claim": null, + "photon_persistent_disk": null, + "portworx_volume": null, + "projected": null, + "quobyte": null, + "rbd": null, + "scale_io": null, + "secret": null, + "storageos": null, + "vsphere_volume": null + }, + { + "aws_elastic_block_store": null, + "azure_disk": null, + "azure_file": null, + "cephfs": null, + "cinder": null, + "config_map": null, + "csi": null, + "downward_api": null, + "empty_dir": null, + "ephemeral": null, + "fc": null, + "flex_volume": null, + "flocker": null, + "gce_persistent_disk": null, + "git_repo": null, + "glusterfs": null, + "host_path": null, + "iscsi": null, + "name": "certs", + "nfs": null, + "persistent_volume_claim": null, + "photon_persistent_disk": null, + "portworx_volume": null, + "projected": { + "default_mode": 400, + "sources": [ + { + "config_map": null, + "downward_api": null, + "secret": { + "items": [ + { + "key": "ca.crt", + "mode": 504, + "path": "ca.crt" + }, + { + "key": "tls.crt", + "mode": 504, + "path": "node.crt" + }, + { + "key": "tls.key", + "mode": 400, + "path": "node.key" + } + ], + "name": "test-cluster-node", + "optional": null + }, + "service_account_token": null + }, + { + "config_map": null, + "downward_api": null, + "secret": { + "items": [ + { + "key": "tls.crt", + "mode": 504, + "path": "client.root.crt" + }, + { + "key": "tls.key", + "mode": 400, + "path": "client.root.key" + } + ], + "name": "test-cluster-root", + "optional": null + }, + "service_account_token": null + } + ] + }, + "quobyte": null, + "rbd": null, + "scale_io": null, + "secret": null, + "storageos": null, + "vsphere_volume": null + } + ] + } + }, + "update_strategy": { + "rolling_update": { + "max_unavailable": null, + "partition": 0 + }, + "type": "RollingUpdate" + }, + "volume_claim_templates": [ + { + "api_version": "v1", + "kind": "PersistentVolumeClaim", + "metadata": { + "annotations": null, + "creation_timestamp": null, + "deletion_grace_period_seconds": null, + "deletion_timestamp": null, + "finalizers": null, + "generate_name": null, + "generation": null, + "labels": { + "app.kubernetes.io/component": "database", + "app.kubernetes.io/instance": "test-cluster", + "app.kubernetes.io/name": "cockroachdb", + "crdb": "is-cool" + }, + "managed_fields": null, + "name": "datadir", + "namespace": null, + "owner_references": null, + "resource_version": null, + "self_link": null, + "uid": null + }, + "spec": { + "access_modes": [ + "ReadWriteOnce" + ], + "data_source": null, + "data_source_ref": null, + "resources": { + "limits": null, + "requests": { + "storage": "1Gi" + } + }, + "selector": null, + "storage_class_name": null, + "volume_mode": "Filesystem", + "volume_name": null + }, + "status": { + "access_modes": null, + "allocated_resources": null, + "capacity": null, + "conditions": null, + "phase": "Pending", + "resize_status": null + } + } + ] + }, + "status": { + "available_replicas": 3, + "collision_count": 0, + "conditions": null, + "current_replicas": 3, + "current_revision": "test-cluster-76f9c78d88", + "observed_generation": 1, + "ready_replicas": 3, + "replicas": 3, + "update_revision": "test-cluster-76f9c78d88", + "updated_replicas": 3 + } + } + }, + "deployment": { + "cockroach-operator-manager": { + "api_version": null, + "kind": null, + "metadata": { + "annotations": { + "deployment.kubernetes.io/revision": "2" + }, + "creation_timestamp": "2023-05-04T20:30:22+00:00", + "deletion_grace_period_seconds": null, + "deletion_timestamp": null, + "finalizers": null, + "generate_name": null, + "generation": 2, + "labels": { + "acto/tag": "operator-deployment", + "app": "cockroach-operator" + }, + "managed_fields": [ + { + "api_version": "apps/v1", + "fields_type": "FieldsV1", + "fields_v1": { + "f:metadata": { + "f:labels": { + "f:app": {} + } + }, + "f:spec": { + "f:replicas": {}, + "f:selector": {}, + "f:template": { + "f:metadata": { + "f:labels": { + "f:app": {} + } + }, + "f:spec": { + "f:containers": { + "k:{\"name\":\"cockroach-operator\"}": { + ".": {}, + "f:args": {}, + "f:env": { + "k:{\"name\":\"NAMESPACE\"}": { + ".": {}, + "f:name": {}, + "f:valueFrom": { + "f:fieldRef": {} + } + }, + "k:{\"name\":\"OPERATOR_NAME\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"POD_NAME\"}": { + ".": {}, + "f:name": {}, + "f:valueFrom": { + "f:fieldRef": {} + } + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v20_1_11\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v20_1_12\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v20_1_13\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v20_1_15\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v20_1_16\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v20_1_17\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v20_1_4\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v20_1_5\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v20_1_8\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v20_2_0\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v20_2_1\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v20_2_10\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v20_2_11\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v20_2_12\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v20_2_13\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v20_2_14\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v20_2_15\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v20_2_16\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v20_2_17\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v20_2_18\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v20_2_19\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v20_2_2\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v20_2_3\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v20_2_4\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v20_2_5\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v20_2_6\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v20_2_8\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v20_2_9\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v21_1_0\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v21_1_1\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v21_1_10\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v21_1_11\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v21_1_12\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v21_1_13\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v21_1_14\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v21_1_15\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v21_1_16\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v21_1_17\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v21_1_18\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v21_1_19\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v21_1_2\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v21_1_3\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v21_1_4\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v21_1_5\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v21_1_6\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v21_1_7\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v21_1_9\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v21_2_0\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v21_2_1\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v21_2_10\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v21_2_2\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v21_2_3\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v21_2_4\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v21_2_5\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v21_2_7\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v21_2_8\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v21_2_9\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + } + }, + "f:image": {}, + "f:imagePullPolicy": {}, + "f:name": {}, + "f:resources": { + "f:requests": { + "f:cpu": {}, + "f:memory": {} + } + } + } + }, + "f:serviceAccountName": {} + } + } + } + }, + "manager": "kubectl", + "operation": "Apply", + "subresource": null, + "time": "2023-05-04T20:30:22+00:00" + }, + { + "api_version": "apps/v1", + "fields_type": "FieldsV1", + "fields_v1": { + "f:metadata": { + "f:labels": { + "f:acto/tag": {} + } + }, + "f:spec": { + "f:template": { + "f:metadata": { + "f:labels": { + "f:acto/tag": {} + } + } + } + } + }, + "manager": "OpenAPI-Generator", + "operation": "Update", + "subresource": null, + "time": "2023-05-04T20:30:52+00:00" + }, + { + "api_version": "apps/v1", + "fields_type": "FieldsV1", + "fields_v1": { + "f:metadata": { + "f:annotations": { + ".": {}, + "f:deployment.kubernetes.io/revision": {} + } + }, + "f:status": { + "f:availableReplicas": {}, + "f:conditions": { + ".": {}, + "k:{\"type\":\"Available\"}": { + ".": {}, + "f:lastTransitionTime": {}, + "f:lastUpdateTime": {}, + "f:message": {}, + "f:reason": {}, + "f:status": {}, + "f:type": {} + }, + "k:{\"type\":\"Progressing\"}": { + ".": {}, + "f:lastTransitionTime": {}, + "f:lastUpdateTime": {}, + "f:message": {}, + "f:reason": {}, + "f:status": {}, + "f:type": {} + } + }, + "f:observedGeneration": {}, + "f:readyReplicas": {}, + "f:replicas": {}, + "f:updatedReplicas": {} + } + }, + "manager": "kube-controller-manager", + "operation": "Update", + "subresource": "status", + "time": "2023-05-04T20:30:52+00:00" + } + ], + "name": "cockroach-operator-manager", + "namespace": "cockroach-operator-system", + "owner_references": null, + "resource_version": "815", + "self_link": null, + "uid": "547fbf16-3bfd-4004-8625-ec4f04413331" + }, + "spec": { + "min_ready_seconds": null, + "paused": null, + "progress_deadline_seconds": 600, + "replicas": 1, + "revision_history_limit": 10, + "selector": { + "match_expressions": null, + "match_labels": { + "app": "cockroach-operator" + } + }, + "strategy": { + "rolling_update": { + "max_surge": "25%", + "max_unavailable": "25%" + }, + "type": "RollingUpdate" + }, + "template": { + "metadata": { + "annotations": null, + "creation_timestamp": null, + "deletion_grace_period_seconds": null, + "deletion_timestamp": null, + "finalizers": null, + "generate_name": null, + "generation": null, + "labels": { + "acto/tag": "operator-pod", + "app": "cockroach-operator" + }, + "managed_fields": null, + "name": null, + "namespace": null, + "owner_references": null, + "resource_version": null, + "self_link": null, + "uid": null + }, + "spec": { + "active_deadline_seconds": null, + "affinity": null, + "automount_service_account_token": null, + "containers": [ + { + "args": [ + "-zap-log-level", + "info", + "-feature-gates", + "TopologySpreadRules=true,AffinityRules=true,TolerationRules=true" + ], + "command": null, + "env": [ + { + "name": "RELATED_IMAGE_COCKROACH_v20_1_4", + "value": "cockroachdb/cockroach:v20.1.4", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v20_1_5", + "value": "cockroachdb/cockroach:v20.1.5", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v20_1_8", + "value": "cockroachdb/cockroach:v20.1.8", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v20_1_11", + "value": "cockroachdb/cockroach:v20.1.11", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v20_1_12", + "value": "cockroachdb/cockroach:v20.1.12", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v20_1_13", + "value": "cockroachdb/cockroach:v20.1.13", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v20_1_15", + "value": "cockroachdb/cockroach:v20.1.15", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v20_1_16", + "value": "cockroachdb/cockroach:v20.1.16", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v20_1_17", + "value": "cockroachdb/cockroach:v20.1.17", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v20_2_0", + "value": "cockroachdb/cockroach:v20.2.0", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v20_2_1", + "value": "cockroachdb/cockroach:v20.2.1", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v20_2_2", + "value": "cockroachdb/cockroach:v20.2.2", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v20_2_3", + "value": "cockroachdb/cockroach:v20.2.3", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v20_2_4", + "value": "cockroachdb/cockroach:v20.2.4", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v20_2_5", + "value": "cockroachdb/cockroach:v20.2.5", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v20_2_6", + "value": "cockroachdb/cockroach:v20.2.6", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v20_2_8", + "value": "cockroachdb/cockroach:v20.2.8", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v20_2_9", + "value": "cockroachdb/cockroach:v20.2.9", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v20_2_10", + "value": "cockroachdb/cockroach:v20.2.10", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v20_2_11", + "value": "cockroachdb/cockroach:v20.2.11", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v20_2_12", + "value": "cockroachdb/cockroach:v20.2.12", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v20_2_13", + "value": "cockroachdb/cockroach:v20.2.13", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v20_2_14", + "value": "cockroachdb/cockroach:v20.2.14", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v20_2_15", + "value": "cockroachdb/cockroach:v20.2.15", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v20_2_16", + "value": "cockroachdb/cockroach:v20.2.16", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v20_2_17", + "value": "cockroachdb/cockroach:v20.2.17", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v20_2_18", + "value": "cockroachdb/cockroach:v20.2.18", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v20_2_19", + "value": "cockroachdb/cockroach:v20.2.19", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v21_1_0", + "value": "cockroachdb/cockroach:v21.1.0", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v21_1_1", + "value": "cockroachdb/cockroach:v21.1.1", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v21_1_2", + "value": "cockroachdb/cockroach:v21.1.2", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v21_1_3", + "value": "cockroachdb/cockroach:v21.1.3", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v21_1_4", + "value": "cockroachdb/cockroach:v21.1.4", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v21_1_5", + "value": "cockroachdb/cockroach:v21.1.5", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v21_1_6", + "value": "cockroachdb/cockroach:v21.1.6", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v21_1_7", + "value": "cockroachdb/cockroach:v21.1.7", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v21_1_9", + "value": "cockroachdb/cockroach:v21.1.9", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v21_1_10", + "value": "cockroachdb/cockroach:v21.1.10", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v21_1_11", + "value": "cockroachdb/cockroach:v21.1.11", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v21_1_12", + "value": "cockroachdb/cockroach:v21.1.12", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v21_1_13", + "value": "cockroachdb/cockroach:v21.1.13", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v21_1_14", + "value": "cockroachdb/cockroach:v21.1.14", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v21_1_15", + "value": "cockroachdb/cockroach:v21.1.15", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v21_1_16", + "value": "cockroachdb/cockroach:v21.1.16", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v21_1_17", + "value": "cockroachdb/cockroach:v21.1.17", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v21_1_18", + "value": "cockroachdb/cockroach:v21.1.18", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v21_1_19", + "value": "cockroachdb/cockroach:v21.1.19", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v21_2_0", + "value": "cockroachdb/cockroach:v21.2.0", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v21_2_1", + "value": "cockroachdb/cockroach:v21.2.1", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v21_2_2", + "value": "cockroachdb/cockroach:v21.2.2", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v21_2_3", + "value": "cockroachdb/cockroach:v21.2.3", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v21_2_4", + "value": "cockroachdb/cockroach:v21.2.4", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v21_2_5", + "value": "cockroachdb/cockroach:v21.2.5", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v21_2_7", + "value": "cockroachdb/cockroach:v21.2.7", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v21_2_8", + "value": "cockroachdb/cockroach:v21.2.8", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v21_2_9", + "value": "cockroachdb/cockroach:v21.2.9", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v21_2_10", + "value": "cockroachdb/cockroach:v21.2.10", + "value_from": null + }, + { + "name": "OPERATOR_NAME", + "value": "cockroachdb", + "value_from": null + }, + { + "name": "POD_NAME", + "value": null, + "value_from": { + "config_map_key_ref": null, + "field_ref": { + "api_version": "v1", + "field_path": "metadata.name" + }, + "resource_field_ref": null, + "secret_key_ref": null + } + }, + { + "name": "NAMESPACE", + "value": null, + "value_from": { + "config_map_key_ref": null, + "field_ref": { + "api_version": "v1", + "field_path": "metadata.namespace" + }, + "resource_field_ref": null, + "secret_key_ref": null + } + } + ], + "env_from": null, + "image": "cockroachdb/cockroach-operator:v2.7.0", + "image_pull_policy": "IfNotPresent", + "lifecycle": null, + "liveness_probe": null, + "name": "cockroach-operator", + "ports": null, + "readiness_probe": null, + "resources": { + "limits": null, + "requests": { + "cpu": "10m", + "memory": "32Mi" + } + }, + "security_context": null, + "startup_probe": null, + "stdin": null, + "stdin_once": null, + "termination_message_path": "/dev/termination-log", + "termination_message_policy": "File", + "tty": null, + "volume_devices": null, + "volume_mounts": null, + "working_dir": null + } + ], + "dns_config": null, + "dns_policy": "ClusterFirst", + "enable_service_links": null, + "ephemeral_containers": null, + "host_aliases": null, + "host_ipc": null, + "host_network": null, + "host_pid": null, + "host_users": null, + "hostname": null, + "image_pull_secrets": null, + "init_containers": null, + "node_name": null, + "node_selector": null, + "os": null, + "overhead": null, + "preemption_policy": null, + "priority": null, + "priority_class_name": null, + "readiness_gates": null, + "restart_policy": "Always", + "runtime_class_name": null, + "scheduler_name": "default-scheduler", + "security_context": { + "fs_group": null, + "fs_group_change_policy": null, + "run_as_group": null, + "run_as_non_root": null, + "run_as_user": null, + "se_linux_options": null, + "seccomp_profile": null, + "supplemental_groups": null, + "sysctls": null, + "windows_options": null + }, + "service_account": "cockroach-operator-sa", + "service_account_name": "cockroach-operator-sa", + "set_hostname_as_fqdn": null, + "share_process_namespace": null, + "subdomain": null, + "termination_grace_period_seconds": 30, + "tolerations": null, + "topology_spread_constraints": null, + "volumes": null + } + } + }, + "status": { + "available_replicas": 1, + "collision_count": null, + "conditions": [ + { + "last_transition_time": "2023-05-04T20:30:22+00:00", + "last_update_time": "2023-05-04T20:30:22+00:00", + "message": "Deployment has minimum availability.", + "reason": "MinimumReplicasAvailable", + "status": "True", + "type": "Available" + }, + { + "last_transition_time": "2023-05-04T20:30:22+00:00", + "last_update_time": "2023-05-04T20:30:52+00:00", + "message": "ReplicaSet \"cockroach-operator-manager-64c489884\" has successfully progressed.", + "reason": "NewReplicaSetAvailable", + "status": "True", + "type": "Progressing" + } + ], + "observed_generation": 2, + "ready_replicas": 1, + "replicas": 1, + "unavailable_replicas": null, + "updated_replicas": 1 + } + } + }, + "config_map": { + "kube-root-ca.crt": { + "api_version": null, + "binary_data": null, + "data": { + "ca.crt": "-----BEGIN CERTIFICATE-----\nMIIC/jCCAeagAwIBAgIBADANBgkqhkiG9w0BAQsFADAVMRMwEQYDVQQDEwprdWJl\ncm5ldGVzMB4XDTIzMDUwNDIwMjkxMFoXDTMzMDUwMTIwMjkxMFowFTETMBEGA1UE\nAxMKa3ViZXJuZXRlczCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAOZZ\nNBiE5imKYNYWQsDL7HJDSm2L+ocFPlh1vTf2uGhktpKbD6ITd2HvJBGnbznEq573\nFR+8KpXqozRTEFDZo+OIs8y6IcVIJSHTD/LhbHE9xP2QFWIEaIHrbFwktet5wuL+\nkfJbYqdompXlzSaORjo0fG6KXA/5UBoeylU4zFRpcP/QSHa2blKko/IBWpuL4OEM\n1NeiOaMGea9kUivd06JFKucvv79dmKL03PA4LF13IDYFAE0YMXpq/Kp7cWXg7oKP\naPEP84rxtVddY3pDEdPR8GhbV/zIfJjjmaV3hqjbbW8sXc/MKMddx+XPZTjYGbgy\n3egJodTUokl3mL4zhQ0CAwEAAaNZMFcwDgYDVR0PAQH/BAQDAgKkMA8GA1UdEwEB\n/wQFMAMBAf8wHQYDVR0OBBYEFHQXllc6/knTcwTAgSM2L8Y9CaKmMBUGA1UdEQQO\nMAyCCmt1YmVybmV0ZXMwDQYJKoZIhvcNAQELBQADggEBAEV0ciRGe77TLxzcTZpA\npid2iF9nHg5alCebrfGZ3gnH6KhKM/otOSoA58JCzEaJxS1cUQOnVIP6i4t7WYVz\nkwEjw+8Bp3vvUpZJDaj/XTgOuztoOpbM6xX7wKHztRdI76I7gH/HPjfIrgiUM7Yo\nSNKCwpZf8tUpWUWfEBDNCtvN4OO3v2A2fREnz1ux61qtKTdR+T/aCvD7GLNB0mbu\nWBTupnmNaAEs/bB87w3OJ4PbvvCGdwm+bX+Q3iDdwqIiu78ZB8NI5RYAYB+CN7Nt\nm2tXdv3t0L7lMcG4eolqa3RXA6g515um0FzDqabtuw5+oak8rs1XfTk87uwhqxUl\nGew=\n-----END CERTIFICATE-----\n" + }, + "immutable": null, + "kind": null, + "metadata": { + "annotations": { + "kubernetes.io/description": "Contains a CA bundle that can be used to verify the kube-apiserver when using internal endpoints such as the internal service IP or kubernetes.default.svc. No other usage is guaranteed across distributions of Kubernetes clusters." + }, + "creation_timestamp": "2023-05-04T20:30:11+00:00", + "deletion_grace_period_seconds": null, + "deletion_timestamp": null, + "finalizers": null, + "generate_name": null, + "generation": null, + "labels": null, + "managed_fields": [ + { + "api_version": "v1", + "fields_type": "FieldsV1", + "fields_v1": { + "f:data": { + ".": {}, + "f:ca.crt": {} + }, + "f:metadata": { + "f:annotations": { + ".": {}, + "f:kubernetes.io/description": {} + } + } + }, + "manager": "kube-controller-manager", + "operation": "Update", + "subresource": null, + "time": "2023-05-04T20:30:11+00:00" + } + ], + "name": "kube-root-ca.crt", + "namespace": "cockroach-operator-system", + "owner_references": null, + "resource_version": "670", + "self_link": null, + "uid": "9eb7a849-3642-42b3-bb70-403ff03e3402" + } + } + }, + "service": { + "cockroach-operator-webhook-service": { + "api_version": null, + "kind": null, + "metadata": { + "annotations": null, + "creation_timestamp": "2023-05-04T20:30:22+00:00", + "deletion_grace_period_seconds": null, + "deletion_timestamp": null, + "finalizers": null, + "generate_name": null, + "generation": null, + "labels": { + "control-plane": "cockroach-operator" + }, + "managed_fields": [ + { + "api_version": "v1", + "fields_type": "FieldsV1", + "fields_v1": { + "f:metadata": { + "f:labels": { + "f:control-plane": {} + } + }, + "f:spec": { + "f:ports": { + "k:{\"port\":443,\"protocol\":\"TCP\"}": { + ".": {}, + "f:port": {}, + "f:targetPort": {} + } + }, + "f:selector": {} + } + }, + "manager": "kubectl", + "operation": "Apply", + "subresource": null, + "time": "2023-05-04T20:30:22+00:00" + } + ], + "name": "cockroach-operator-webhook-service", + "namespace": "cockroach-operator-system", + "owner_references": null, + "resource_version": "707", + "self_link": null, + "uid": "b5d2854e-2cc2-43ce-899b-ae3a86cccf69" + }, + "spec": { + "allocate_load_balancer_node_ports": null, + "cluster_ip": "10.96.203.232", + "cluster_i_ps": [ + "10.96.203.232" + ], + "external_i_ps": null, + "external_name": null, + "external_traffic_policy": null, + "health_check_node_port": null, + "internal_traffic_policy": "Cluster", + "ip_families": [ + "IPv4" + ], + "ip_family_policy": "SingleStack", + "load_balancer_class": null, + "load_balancer_ip": null, + "load_balancer_source_ranges": null, + "ports": [ + { + "app_protocol": null, + "name": null, + "node_port": null, + "port": 443, + "protocol": "TCP", + "target_port": 9443 + } + ], + "publish_not_ready_addresses": null, + "selector": { + "app": "cockroach-operator" + }, + "session_affinity": "None", + "session_affinity_config": null, + "type": "ClusterIP" + }, + "status": { + "conditions": null, + "load_balancer": { + "ingress": null + } + } + }, + "test-cluster": { + "api_version": null, + "kind": null, + "metadata": { + "annotations": { + "crdb.io/last-applied": "eyJzcGVjIjp7InB1Ymxpc2hOb3RSZWFkeUFkZHJlc3NlcyI6dHJ1ZSwicG9ydHMiOlt7InBvcnQiOjI2MjU4LCJuYW1lIjoiZ3JwYyJ9LHsibmFtZSI6Imh0dHAiLCJwb3J0Ijo4MDgwfSx7Im5hbWUiOiJzcWwiLCJwb3J0IjoyNjI1N31dLCJzZWxlY3RvciI6eyJhcHAua3ViZXJuZXRlcy5pby9pbnN0YW5jZSI6InRlc3QtY2x1c3RlciIsImFwcC5rdWJlcm5ldGVzLmlvL2NvbXBvbmVudCI6ImRhdGFiYXNlIiwiY3Jk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prometheus.io/scrape": "true" + }, + "creation_timestamp": "2023-05-04T20:30:57+00:00", + "deletion_grace_period_seconds": null, + "deletion_timestamp": null, + "finalizers": null, + "generate_name": null, + "generation": null, + "labels": { + "app.kubernetes.io/component": "database", + "app.kubernetes.io/instance": "test-cluster", + "app.kubernetes.io/managed-by": "cockroach-operator", + "app.kubernetes.io/name": "cockroachdb", + "app.kubernetes.io/part-of": "cockroachdb", + "app.kubernetes.io/version": "v21.2.10", + "crdb": "is-cool" + }, + "managed_fields": [ + { + "api_version": "v1", + "fields_type": "FieldsV1", + "fields_v1": { + "f:metadata": { + "f:annotations": { + ".": {}, + "f:crdb.io/last-applied": {}, + "f:prometheus.io/path": {}, + "f:prometheus.io/port": {}, + "f:prometheus.io/scrape": {} + }, + "f:labels": { + ".": {}, + "f:app.kubernetes.io/component": {}, + "f:app.kubernetes.io/instance": {}, + "f:app.kubernetes.io/managed-by": {}, + "f:app.kubernetes.io/name": {}, + "f:app.kubernetes.io/part-of": {}, + "f:app.kubernetes.io/version": {}, + "f:crdb": {} + }, + "f:ownerReferences": { + ".": {}, + "k:{\"uid\":\"90ad5ef5-9c95-4092-a5e8-1582b92649ff\"}": {} + } + }, + "f:spec": { + "f:clusterIP": {}, + "f:internalTrafficPolicy": {}, + "f:ports": { + ".": {}, + "k:{\"port\":8080,\"protocol\":\"TCP\"}": { + ".": {}, + "f:name": {}, + "f:port": {}, + "f:protocol": {}, + "f:targetPort": {} + }, + "k:{\"port\":26257,\"protocol\":\"TCP\"}": { + ".": {}, + "f:name": {}, + "f:port": {}, + "f:protocol": {}, + "f:targetPort": {} + }, + "k:{\"port\":26258,\"protocol\":\"TCP\"}": { + ".": {}, + "f:name": {}, + "f:port": {}, + "f:protocol": {}, + "f:targetPort": {} + } + }, + "f:publishNotReadyAddresses": {}, + "f:selector": {}, + "f:sessionAffinity": {}, + "f:type": {} + } + }, + "manager": "cockroach-operator", + "operation": "Update", + "subresource": null, + "time": "2023-05-04T20:30:57+00:00" + } + ], + "name": "test-cluster", + "namespace": "cockroach-operator-system", + "owner_references": [ + { + "api_version": "crdb.cockroachlabs.com/v1alpha1", + "block_owner_deletion": true, + "controller": true, + "kind": "CrdbCluster", + "name": "test-cluster", + "uid": "90ad5ef5-9c95-4092-a5e8-1582b92649ff" + } + ], + "resource_version": "860", + "self_link": null, + "uid": "a616b52c-0291-4bec-bd00-5238bd0c2df7" + }, + "spec": { + "allocate_load_balancer_node_ports": null, + "cluster_ip": "None", + "cluster_i_ps": [ + "None" + ], + "external_i_ps": null, + "external_name": null, + "external_traffic_policy": null, + "health_check_node_port": null, + "internal_traffic_policy": "Cluster", + "ip_families": [ + "IPv4" + ], + "ip_family_policy": "SingleStack", + "load_balancer_class": null, + "load_balancer_ip": null, + "load_balancer_source_ranges": null, + "ports": [ + { + "app_protocol": null, + "name": "grpc", + "node_port": null, + "port": 26258, + "protocol": "TCP", + "target_port": 26258 + }, + { + "app_protocol": null, + "name": "http", + "node_port": null, + "port": 8080, + "protocol": "TCP", + "target_port": 8080 + }, + { + "app_protocol": null, + "name": "sql", + "node_port": null, + "port": 26257, + "protocol": "TCP", + "target_port": 26257 + } + ], + "publish_not_ready_addresses": true, + "selector": { + "app.kubernetes.io/component": "database", + "app.kubernetes.io/instance": "test-cluster", + "app.kubernetes.io/name": "cockroachdb", + "crdb": "is-cool" + }, + "session_affinity": "None", + "session_affinity_config": null, + "type": "ClusterIP" + }, + "status": { + "conditions": null, + "load_balancer": { + "ingress": null + } + } + }, + "test-cluster-public": { + "api_version": null, + "kind": null, + "metadata": { + "annotations": { + "crdb.io/last-applied": "eyJtZXRhZGF0YSI6eyJuYW1lc3BhY2UiOiJjb2Nrcm9hY2gtb3BlcmF0b3Itc3lzdGVtIiwibGFiZWxzIjp7ImNyZGIiOiJpcy1jb29sIiwiYXBwLmt1YmVybmV0ZXMuaW8vcGFydC1vZiI6ImNvY2tyb2FjaGRiIiwiYXBwLmt1YmVybmV0ZXMuaW8vbmFtZSI6ImNvY2tyb2FjaGRiIiwiYXBwLmt1YmVybmV0ZXMuaW8vaW5zdGFuY2UiOiJ0ZXN0LWNsdXN0ZXIiLCJhcHAua3ViZXJuZXRlcy5pby92ZXJzaW9uIjoidjIxLjIuMTAiLCJhcHAua3ViZXJuZXRlcy5pby9jb21wb25lbnQiOiJkYXRhYmFzZSIsImFwcC5rdWJlcm5ldGVzLmlvL21hbmFnZWQtYnkiOiJjb2Nrcm9hY2gtb3BlcmF0b3IifSwib3duZXJSZWZlcmVuY2VzIjpbeyJhcGlWZXJzaW9uIjoiY3JkYi5jb2Nrcm9hY2hsYWJzLmNvbS92MWFscGhhMSIsImtpbmQiOiJDcmRiQ2x1c3RlciIsIm5hbWUiOiJ0ZXN0LWNsdXN0ZXIiLCJ1aWQiOiI5MGFkNWVmNS05Yzk1LTQwOTItYTVlOC0xNTgyYjkyNjQ5ZmYiLCJjb250cm9sbGVyIjp0cnVlLCJibG9ja093bmVyRGVsZXRpb24iOnRydWV9XSwibmFtZSI6InRlc3QtY2x1c3Rlci1wdWJsaWMifSwic3BlYyI6eyJwb3J0cyI6W3sibmFtZSI6ImdycGMiLCJwb3J0IjoyNjI1OH0seyJuYW1lIjoiaHR0cCIsInBvcnQiOjgwODB9LHsibmFtZSI6InNxbCIsInBvcnQiOjI2MjU3fV0sInNlbGVjdG9yIjp7ImFwcC5rdWJlcm5ldGVzLmlvL25hbWUiOiJjb2Nrcm9hY2hkYiIsImFwcC5rdWJlcm5ldGVzLmlvL2luc3RhbmNlIjoidGVzdC1jbHVzdGVyIiwiYXBwLmt1YmVybmV0ZXMuaW8vY29tcG9uZW50IjoiZGF0YWJhc2UiLCJjcmRiIjoiaXMtY29vbCJ9LCJ0eXBlIjoiQ2x1c3RlcklQIn0sInN0YXR1cyI6eyJsb2FkQmFsYW5jZXIiOnt9fX0=" + }, + "creation_timestamp": "2023-05-04T20:30:57+00:00", + "deletion_grace_period_seconds": null, + "deletion_timestamp": null, + "finalizers": null, + "generate_name": null, + "generation": null, + "labels": { + "app.kubernetes.io/component": "database", + "app.kubernetes.io/instance": "test-cluster", + "app.kubernetes.io/managed-by": "cockroach-operator", + "app.kubernetes.io/name": "cockroachdb", + "app.kubernetes.io/part-of": "cockroachdb", + "app.kubernetes.io/version": "v21.2.10", + "crdb": "is-cool" + }, + "managed_fields": [ + { + "api_version": "v1", + "fields_type": "FieldsV1", + "fields_v1": { + "f:metadata": { + "f:annotations": { + ".": {}, + "f:crdb.io/last-applied": {} + }, + "f:labels": { + ".": {}, + "f:app.kubernetes.io/component": {}, + "f:app.kubernetes.io/instance": {}, + "f:app.kubernetes.io/managed-by": {}, + "f:app.kubernetes.io/name": {}, + "f:app.kubernetes.io/part-of": {}, + "f:app.kubernetes.io/version": {}, + "f:crdb": {} + }, + "f:ownerReferences": { + ".": {}, + "k:{\"uid\":\"90ad5ef5-9c95-4092-a5e8-1582b92649ff\"}": {} + } + }, + "f:spec": { + "f:internalTrafficPolicy": {}, + "f:ports": { + ".": {}, + "k:{\"port\":8080,\"protocol\":\"TCP\"}": { + ".": {}, + "f:name": {}, + "f:port": {}, + "f:protocol": {}, + "f:targetPort": {} + }, + "k:{\"port\":26257,\"protocol\":\"TCP\"}": { + ".": {}, + "f:name": {}, + "f:port": {}, + "f:protocol": {}, + "f:targetPort": {} + }, + "k:{\"port\":26258,\"protocol\":\"TCP\"}": { + ".": {}, + "f:name": {}, + "f:port": {}, + "f:protocol": {}, + "f:targetPort": {} + } + }, + "f:selector": {}, + "f:sessionAffinity": {}, + "f:type": {} + } + }, + "manager": "cockroach-operator", + "operation": "Update", + "subresource": null, + "time": "2023-05-04T20:30:57+00:00" + } + ], + "name": "test-cluster-public", + "namespace": "cockroach-operator-system", + "owner_references": [ + { + "api_version": "crdb.cockroachlabs.com/v1alpha1", + "block_owner_deletion": true, + "controller": true, + "kind": "CrdbCluster", + "name": "test-cluster", + "uid": "90ad5ef5-9c95-4092-a5e8-1582b92649ff" + } + ], + "resource_version": "864", + "self_link": null, + "uid": "f0467d46-ca97-42f6-9d3a-87f27dddc7fe" + }, + "spec": { + "allocate_load_balancer_node_ports": null, + "cluster_ip": "10.96.43.219", + "cluster_i_ps": [ + "10.96.43.219" + ], + "external_i_ps": null, + "external_name": null, + "external_traffic_policy": null, + "health_check_node_port": null, + "internal_traffic_policy": "Cluster", + "ip_families": [ + "IPv4" + ], + "ip_family_policy": "SingleStack", + "load_balancer_class": null, + "load_balancer_ip": null, + "load_balancer_source_ranges": null, + "ports": [ + { + "app_protocol": null, + "name": "grpc", + "node_port": null, + "port": 26258, + "protocol": "TCP", + "target_port": 26258 + }, + { + "app_protocol": null, + "name": "http", + "node_port": null, + "port": 8080, + "protocol": "TCP", + "target_port": 8080 + }, + { + "app_protocol": null, + "name": "sql", + "node_port": null, + "port": 26257, + "protocol": "TCP", + "target_port": 26257 + } + ], + "publish_not_ready_addresses": null, + "selector": { + "app.kubernetes.io/component": "database", + "app.kubernetes.io/instance": "test-cluster", + "app.kubernetes.io/name": "cockroachdb", + "crdb": "is-cool" + }, + "session_affinity": "None", + "session_affinity_config": null, + "type": "ClusterIP" + }, + "status": { + "conditions": null, + "load_balancer": { + "ingress": null + } + } + } + }, + "service_account": { + "cockroach-operator-sa": { + "api_version": null, + "automount_service_account_token": null, + "image_pull_secrets": null, + "kind": null, + "metadata": { + "annotations": null, + "creation_timestamp": "2023-05-04T20:30:22+00:00", + "deletion_grace_period_seconds": null, + "deletion_timestamp": null, + "finalizers": null, + "generate_name": null, + "generation": null, + "labels": { + "app": "cockroach-operator" + }, + "managed_fields": [ + { + "api_version": "v1", + "fields_type": "FieldsV1", + "fields_v1": { + "f:metadata": { + "f:labels": { + "f:app": {} + } + } + }, + "manager": "kubectl", + "operation": "Apply", + "subresource": null, + "time": "2023-05-04T20:30:22+00:00" + }, + { + "api_version": "v1", + "fields_type": "FieldsV1", + "fields_v1": { + "f:secrets": { + ".": {}, + "k:{\"name\":\"cockroach-operator-sa-token-wzc2j\"}": {} + } + }, + "manager": "kube-controller-manager", + "operation": "Update", + "subresource": null, + "time": "2023-05-04T20:30:22+00:00" + } + ], + "name": "cockroach-operator-sa", + "namespace": "cockroach-operator-system", + "owner_references": null, + "resource_version": "704", + "self_link": null, + "uid": "aee568de-cb39-4282-8a0c-0ab30d52bfac" + }, + "secrets": [ + { + "api_version": null, + "field_path": null, + "kind": null, + "name": "cockroach-operator-sa-token-wzc2j", + "namespace": null, + "resource_version": null, + "uid": null + } + ] + }, + "default": { + "api_version": null, + "automount_service_account_token": null, + "image_pull_secrets": null, + "kind": null, + "metadata": { + "annotations": null, + "creation_timestamp": "2023-05-04T20:30:11+00:00", + "deletion_grace_period_seconds": null, + "deletion_timestamp": null, + "finalizers": null, + "generate_name": null, + "generation": null, + "labels": null, + "managed_fields": null, + "name": "default", + "namespace": "cockroach-operator-system", + "owner_references": null, + "resource_version": "672", + "self_link": null, + "uid": "be0c4503-0fc2-4746-bef6-f4067b0eb31f" + }, + "secrets": [ + { + "api_version": null, + "field_path": null, + "kind": null, + "name": "default-token-7btwd", + "namespace": null, + "resource_version": null, + "uid": null + } + ] + }, + "test-cluster-sa": { + "api_version": null, + "automount_service_account_token": null, + "image_pull_secrets": null, + "kind": null, + "metadata": { + "annotations": { + "crdb.io/last-applied": "eyJtZXRhZGF0YSI6eyJuYW1lc3BhY2UiOiJjb2Nrcm9hY2gtb3BlcmF0b3Itc3lzdGVtIiwibGFiZWxzIjp7ImFwcC5rdWJlcm5ldGVzLmlvL25hbWUiOiJjb2Nrcm9hY2hkYiIsImFwcC5rdWJlcm5ldGVzLmlvL2luc3RhbmNlIjoidGVzdC1jbHVzdGVyIiwiYXBwLmt1YmVybmV0ZXMuaW8vY29tcG9uZW50IjoiZGF0YWJhc2UiLCJhcHAua3ViZXJuZXRlcy5pby9tYW5hZ2VkLWJ5IjoiY29ja3JvYWNoLW9wZXJhdG9yIiwiY3JkYiI6ImlzLWNvb2wiLCJhcHAua3ViZXJuZXRlcy5pby9wYXJ0LW9mIjoiY29ja3JvYWNoZGIifSwib3duZXJSZWZlcmVuY2VzIjpbeyJjb250cm9sbGVyIjp0cnVlLCJibG9ja093bmVyRGVsZXRpb24iOnRydWUsImFwaVZlcnNpb24iOiJjcmRiLmNvY2tyb2FjaGxhYnMuY29tL3YxYWxwaGExIiwia2luZCI6IkNyZGJDbHVzdGVyIiwibmFtZSI6InRlc3QtY2x1c3RlciIsInVpZCI6IjkwYWQ1ZWY1LTljOTUtNDA5Mi1hNWU4LTE1ODJiOTI2NDlmZiJ9XSwibmFtZSI6InRlc3QtY2x1c3Rlci1zYSJ9fQ==" + }, + "creation_timestamp": "2023-05-04T20:30:56+00:00", + "deletion_grace_period_seconds": null, + "deletion_timestamp": null, + "finalizers": null, + "generate_name": null, + "generation": null, + "labels": { + "app.kubernetes.io/component": "database", + "app.kubernetes.io/instance": "test-cluster", + "app.kubernetes.io/managed-by": "cockroach-operator", + "app.kubernetes.io/name": "cockroachdb", + "app.kubernetes.io/part-of": "cockroachdb", + "crdb": "is-cool" + }, + "managed_fields": [ + { + "api_version": "v1", + "fields_type": "FieldsV1", + "fields_v1": { + "f:metadata": { + "f:annotations": { + ".": {}, + "f:crdb.io/last-applied": {} + }, + "f:labels": { + ".": {}, + "f:app.kubernetes.io/component": {}, + "f:app.kubernetes.io/instance": {}, + "f:app.kubernetes.io/managed-by": {}, + "f:app.kubernetes.io/name": {}, + "f:app.kubernetes.io/part-of": {}, + "f:crdb": {} + }, + "f:ownerReferences": { + ".": {}, + "k:{\"uid\":\"90ad5ef5-9c95-4092-a5e8-1582b92649ff\"}": {} + } + } + }, + "manager": "cockroach-operator", + "operation": "Update", + "subresource": null, + "time": "2023-05-04T20:30:56+00:00" + }, + { + "api_version": "v1", + "fields_type": "FieldsV1", + "fields_v1": { + "f:secrets": { + ".": {}, + "k:{\"name\":\"test-cluster-sa-token-828tt\"}": {} + } + }, + "manager": "kube-controller-manager", + "operation": "Update", + "subresource": null, + "time": "2023-05-04T20:30:56+00:00" + } + ], + "name": "test-cluster-sa", + "namespace": "cockroach-operator-system", + "owner_references": [ + { + "api_version": "crdb.cockroachlabs.com/v1alpha1", + "block_owner_deletion": true, + "controller": true, + "kind": "CrdbCluster", + "name": "test-cluster", + "uid": "90ad5ef5-9c95-4092-a5e8-1582b92649ff" + } + ], + "resource_version": "833", + "self_link": null, + "uid": "c4ce832a-fa0b-4be4-aee9-59d9be6ee164" + }, + "secrets": [ + { + "api_version": null, + "field_path": null, + "kind": null, + "name": "test-cluster-sa-token-828tt", + "namespace": null, + "resource_version": null, + "uid": null + } + ] + } + }, + "pvc": { + "datadir-test-cluster-0": { + "api_version": null, + "kind": null, + "metadata": { + "annotations": { + "pv.kubernetes.io/bind-completed": "yes", + "pv.kubernetes.io/bound-by-controller": "yes", + "volume.beta.kubernetes.io/storage-provisioner": "rancher.io/local-path", + "volume.kubernetes.io/selected-node": "acto-cluster-0-worker" + }, + "creation_timestamp": "2023-05-04T20:30:58+00:00", + "deletion_grace_period_seconds": null, + "deletion_timestamp": null, + "finalizers": [ + "kubernetes.io/pvc-protection" + ], + "generate_name": null, + "generation": null, + "labels": { + "app.kubernetes.io/component": "database", + "app.kubernetes.io/instance": "test-cluster", + "app.kubernetes.io/name": "cockroachdb", + "crdb": "is-cool" + }, + "managed_fields": [ + { + "api_version": "v1", + "fields_type": "FieldsV1", + "fields_v1": { + "f:metadata": { + "f:annotations": { + ".": {}, + "f:volume.kubernetes.io/selected-node": {} + } + } + }, + "manager": "kube-scheduler", + "operation": "Update", + "subresource": null, + "time": "2023-05-04T20:30:58+00:00" + }, + { + "api_version": "v1", + "fields_type": "FieldsV1", + "fields_v1": { + "f:metadata": { + "f:annotations": { + "f:pv.kubernetes.io/bind-completed": {}, + "f:pv.kubernetes.io/bound-by-controller": {}, + "f:volume.beta.kubernetes.io/storage-provisioner": {} + }, + "f:labels": { + ".": {}, + "f:app.kubernetes.io/component": {}, + "f:app.kubernetes.io/instance": {}, + "f:app.kubernetes.io/name": {}, + "f:crdb": {} + } + }, + "f:spec": { + "f:accessModes": {}, + "f:resources": { + "f:requests": { + ".": {}, + "f:storage": {} + } + }, + "f:volumeMode": {}, + "f:volumeName": {} + } + }, + "manager": "kube-controller-manager", + "operation": "Update", + "subresource": null, + "time": "2023-05-04T20:31:01+00:00" + }, + { + "api_version": "v1", + "fields_type": "FieldsV1", + "fields_v1": { + "f:status": { + "f:accessModes": {}, + "f:capacity": { + ".": {}, + "f:storage": {} + }, + "f:phase": {} + } + }, + "manager": "kube-controller-manager", + "operation": "Update", + "subresource": "status", + "time": "2023-05-04T20:31:01+00:00" + } + ], + "name": "datadir-test-cluster-0", + "namespace": "cockroach-operator-system", + "owner_references": null, + "resource_version": "947", + "self_link": null, + "uid": "1ecdb689-a85f-4dbc-9cd3-da9f4303403a" + }, + "spec": { + "access_modes": [ + "ReadWriteOnce" + ], + "data_source": null, + "data_source_ref": null, + "resources": { + "limits": null, + "requests": { + "storage": "1Gi" + } + }, + "selector": null, + "storage_class_name": "standard", + "volume_mode": "Filesystem", + "volume_name": "pvc-1ecdb689-a85f-4dbc-9cd3-da9f4303403a" + }, + "status": { + "access_modes": [ + "ReadWriteOnce" + ], + "allocated_resources": null, + "capacity": { + "storage": "1Gi" + }, + "conditions": null, + "phase": "Bound", + "resize_status": null + } + }, + "datadir-test-cluster-1": { + "api_version": null, + "kind": null, + "metadata": { + "annotations": { + "pv.kubernetes.io/bind-completed": "yes", + "pv.kubernetes.io/bound-by-controller": "yes", + "volume.beta.kubernetes.io/storage-provisioner": "rancher.io/local-path", + "volume.kubernetes.io/selected-node": "acto-cluster-0-worker3" + }, + "creation_timestamp": "2023-05-04T20:30:58+00:00", + "deletion_grace_period_seconds": null, + "deletion_timestamp": null, + "finalizers": [ + "kubernetes.io/pvc-protection" + ], + "generate_name": null, + "generation": null, + "labels": { + "app.kubernetes.io/component": "database", + "app.kubernetes.io/instance": "test-cluster", + "app.kubernetes.io/name": "cockroachdb", + "crdb": "is-cool" + }, + "managed_fields": [ + { + "api_version": "v1", + "fields_type": "FieldsV1", + "fields_v1": { + "f:metadata": { + "f:annotations": { + ".": {}, + "f:volume.kubernetes.io/selected-node": {} + } + } + }, + "manager": "kube-scheduler", + "operation": "Update", + "subresource": null, + "time": "2023-05-04T20:30:58+00:00" + }, + { + "api_version": "v1", + "fields_type": "FieldsV1", + "fields_v1": { + "f:metadata": { + "f:annotations": { + "f:pv.kubernetes.io/bind-completed": {}, + "f:pv.kubernetes.io/bound-by-controller": {}, + "f:volume.beta.kubernetes.io/storage-provisioner": {} + }, + "f:labels": { + ".": {}, + "f:app.kubernetes.io/component": {}, + "f:app.kubernetes.io/instance": {}, + "f:app.kubernetes.io/name": {}, + "f:crdb": {} + } + }, + "f:spec": { + "f:accessModes": {}, + "f:resources": { + "f:requests": { + ".": {}, + "f:storage": {} + } + }, + "f:volumeMode": {}, + "f:volumeName": {} + } + }, + "manager": "kube-controller-manager", + "operation": "Update", + "subresource": null, + "time": "2023-05-04T20:31:00+00:00" + }, + { + "api_version": "v1", + "fields_type": "FieldsV1", + "fields_v1": { + "f:status": { + "f:accessModes": {}, + "f:capacity": { + ".": {}, + "f:storage": {} + }, + "f:phase": {} + } + }, + "manager": "kube-controller-manager", + "operation": "Update", + "subresource": "status", + "time": "2023-05-04T20:31:00+00:00" + } + ], + "name": "datadir-test-cluster-1", + "namespace": "cockroach-operator-system", + "owner_references": null, + "resource_version": "934", + "self_link": null, + "uid": "53bc0e1e-50be-447d-85c6-5159e521a0fb" + }, + "spec": { + "access_modes": [ + "ReadWriteOnce" + ], + "data_source": null, + "data_source_ref": null, + "resources": { + "limits": null, + "requests": { + "storage": "1Gi" + } + }, + "selector": null, + "storage_class_name": "standard", + "volume_mode": "Filesystem", + "volume_name": "pvc-53bc0e1e-50be-447d-85c6-5159e521a0fb" + }, + "status": { + "access_modes": [ + "ReadWriteOnce" + ], + "allocated_resources": null, + "capacity": { + "storage": "1Gi" + }, + "conditions": null, + "phase": "Bound", + "resize_status": null + } + }, + "datadir-test-cluster-2": { + "api_version": null, + "kind": null, + "metadata": { + "annotations": { + "pv.kubernetes.io/bind-completed": "yes", + "pv.kubernetes.io/bound-by-controller": "yes", + "volume.beta.kubernetes.io/storage-provisioner": "rancher.io/local-path", + "volume.kubernetes.io/selected-node": "acto-cluster-0-worker2" + }, + "creation_timestamp": "2023-05-04T20:30:58+00:00", + "deletion_grace_period_seconds": null, + "deletion_timestamp": null, + "finalizers": [ + "kubernetes.io/pvc-protection" + ], + "generate_name": null, + "generation": null, + "labels": { + "app.kubernetes.io/component": "database", + "app.kubernetes.io/instance": "test-cluster", + "app.kubernetes.io/name": "cockroachdb", + "crdb": "is-cool" + }, + "managed_fields": [ + { + "api_version": "v1", + "fields_type": "FieldsV1", + "fields_v1": { + "f:metadata": { + "f:annotations": { + ".": {}, + "f:volume.kubernetes.io/selected-node": {} + } + } + }, + "manager": "kube-scheduler", + "operation": "Update", + "subresource": null, + "time": "2023-05-04T20:30:58+00:00" + }, + { + "api_version": "v1", + "fields_type": "FieldsV1", + "fields_v1": { + "f:metadata": { + "f:annotations": { + "f:pv.kubernetes.io/bind-completed": {}, + "f:pv.kubernetes.io/bound-by-controller": {}, + "f:volume.beta.kubernetes.io/storage-provisioner": {} + }, + "f:labels": { + ".": {}, + "f:app.kubernetes.io/component": {}, + "f:app.kubernetes.io/instance": {}, + "f:app.kubernetes.io/name": {}, + "f:crdb": {} + } + }, + "f:spec": { + "f:accessModes": {}, + "f:resources": { + "f:requests": { + ".": {}, + "f:storage": {} + } + }, + "f:volumeMode": {}, + "f:volumeName": {} + } + }, + "manager": "kube-controller-manager", + "operation": "Update", + "subresource": null, + "time": "2023-05-04T20:31:02+00:00" + }, + { + "api_version": "v1", + "fields_type": "FieldsV1", + "fields_v1": { + "f:status": { + "f:accessModes": {}, + "f:capacity": { + ".": {}, + "f:storage": {} + }, + "f:phase": {} + } + }, + "manager": "kube-controller-manager", + "operation": "Update", + "subresource": "status", + "time": "2023-05-04T20:31:02+00:00" + } + ], + "name": "datadir-test-cluster-2", + "namespace": "cockroach-operator-system", + "owner_references": null, + "resource_version": "968", + "self_link": null, + "uid": "6e344d65-a1cb-44f1-8227-6ae78f90da5d" + }, + "spec": { + "access_modes": [ + "ReadWriteOnce" + ], + "data_source": null, + "data_source_ref": null, + "resources": { + "limits": null, + "requests": { + "storage": "1Gi" + } + }, + "selector": null, + "storage_class_name": "standard", + "volume_mode": "Filesystem", + "volume_name": "pvc-6e344d65-a1cb-44f1-8227-6ae78f90da5d" + }, + "status": { + "access_modes": [ + "ReadWriteOnce" + ], + "allocated_resources": null, + "capacity": { + "storage": "1Gi" + }, + "conditions": null, + "phase": "Bound", + "resize_status": null + } + } + }, + "cronjob": {}, + "ingress": { + "sql-test-cluster": { + "api_version": null, + "kind": null, + "metadata": { + "annotations": { + "crdb.io/last-applied": "eyJtZXRhZGF0YSI6eyJsYWJlbHMiOnsiYXBwLmt1YmVybmV0ZXMuaW8vdmVyc2lvbiI6InYyMS4yLjEwIiwiYXBwLmt1YmVybmV0ZXMuaW8vY29tcG9uZW50IjoiZGF0YWJhc2UiLCJhcHAua3ViZXJuZXRlcy5pby9tYW5hZ2VkLWJ5IjoiY29ja3JvYWNoLW9wZXJhdG9yIiwiY3JkYiI6ImlzLWNvb2wiLCJhcHAua3ViZXJuZXRlcy5pby9wYXJ0LW9mIjoiY29ja3JvYWNoZGIiLCJhcHAua3ViZXJuZXRlcy5pby9uYW1lIjoiY29ja3JvYWNoZGIiLCJhcHAua3ViZXJuZXRlcy5pby9pbnN0YW5jZSI6InRlc3QtY2x1c3RlciJ9LCJvd25lclJlZmVyZW5jZXMiOlt7ImFwaVZlcnNpb24iOiJjcmRiLmNvY2tyb2FjaGxhYnMuY29tL3YxYWxwaGExIiwia2luZCI6IkNyZGJDbHVzdGVyIiwibmFtZSI6InRlc3QtY2x1c3RlciIsInVpZCI6IjkwYWQ1ZWY1LTljOTUtNDA5Mi1hNWU4LTE1ODJiOTI2NDlmZiIsImNvbnRyb2xsZXIiOnRydWUsImJsb2NrT3duZXJEZWxldGlvbiI6dHJ1ZX1dLCJuYW1lIjoic3FsLXRlc3QtY2x1c3RlciIsIm5hbWVzcGFjZSI6ImNvY2tyb2FjaC1vcGVyYXRvci1zeXN0ZW0ifSwic3BlYyI6eyJydWxlcyI6W3siaHR0cCI6eyJwYXRocyI6W3sicGF0aFR5cGUiOiJJbXBsZW1lbnRhdGlvblNwZWNpZmljIiwiYmFja2VuZCI6eyJzZXJ2aWNlIjp7Im5hbWUiOiJ0ZXN0LWNsdXN0ZXItcHVibGljIiwicG9ydCI6eyJuYW1lIjoic3FsIn19fX1dfSwiaG9zdCI6Im15bmJpcXBtemoifV19LCJzdGF0dXMiOnsibG9hZEJhbGFuY2VyIjp7fX19" + }, + "creation_timestamp": "2023-05-04T20:32:16+00:00", + "deletion_grace_period_seconds": null, + "deletion_timestamp": null, + "finalizers": null, + "generate_name": null, + "generation": 1, + "labels": { + "app.kubernetes.io/component": "database", + "app.kubernetes.io/instance": "test-cluster", + "app.kubernetes.io/managed-by": "cockroach-operator", + "app.kubernetes.io/name": "cockroachdb", + "app.kubernetes.io/part-of": "cockroachdb", + "app.kubernetes.io/version": "v21.2.10", + "crdb": "is-cool" + }, + "managed_fields": [ + { + "api_version": "networking.k8s.io/v1", + "fields_type": "FieldsV1", + "fields_v1": { + "f:metadata": { + "f:annotations": { + ".": {}, + "f:crdb.io/last-applied": {} + }, + "f:labels": { + ".": {}, + "f:app.kubernetes.io/component": {}, + "f:app.kubernetes.io/instance": {}, + "f:app.kubernetes.io/managed-by": {}, + "f:app.kubernetes.io/name": {}, + "f:app.kubernetes.io/part-of": {}, + "f:app.kubernetes.io/version": {}, + "f:crdb": {} + }, + "f:ownerReferences": { + ".": {}, + "k:{\"uid\":\"90ad5ef5-9c95-4092-a5e8-1582b92649ff\"}": {} + } + }, + "f:spec": { + "f:rules": {} + } + }, + "manager": "cockroach-operator", + "operation": "Update", + "subresource": null, + "time": "2023-05-04T20:32:16+00:00" + } + ], + "name": "sql-test-cluster", + "namespace": "cockroach-operator-system", + "owner_references": [ + { + "api_version": "crdb.cockroachlabs.com/v1alpha1", + "block_owner_deletion": true, + "controller": true, + "kind": "CrdbCluster", + "name": "test-cluster", + "uid": "90ad5ef5-9c95-4092-a5e8-1582b92649ff" + } + ], + "resource_version": "1148", + "self_link": null, + "uid": "cfc5aaff-c124-41e1-8e46-2d26279e3cec" + }, + "spec": { + "default_backend": null, + "ingress_class_name": null, + "rules": [ + { + "host": "mynbiqpmzj", + "http": { + "paths": [ + { + "backend": { + "resource": null, + "service": { + "name": "test-cluster-public", + "port": { + "name": "sql", + "number": null + } + } + }, + "path": null, + "path_type": "ImplementationSpecific" + } + ] + } + } + ], + "tls": null + }, + "status": { + "load_balancer": { + "ingress": null + } + } + } + }, + "network_policy": {}, + "pod_disruption_budget": { + "test-cluster": { + "api_version": null, + "kind": null, + "metadata": { + "annotations": { + "crdb.io/last-applied": "eyJtZXRhZGF0YSI6eyJsYWJlbHMiOnsiYXBwLmt1YmVybmV0ZXMuaW8vbmFtZSI6ImNvY2tyb2FjaGRiIiwiYXBwLmt1YmVybmV0ZXMuaW8vaW5zdGFuY2UiOiJ0ZXN0LWNsdXN0ZXIiLCJhcHAua3ViZXJuZXRlcy5pby92ZXJzaW9uIjoidjIxLjIuMTAiLCJjcmRiIjoiaXMtY29vbCIsImFwcC5rdWJlcm5ldGVzLmlvL2NvbXBvbmVudCI6ImRhdGFiYXNlIiwiYXBwLmt1YmVybmV0ZXMuaW8vbWFuYWdlZC1ieSI6ImNvY2tyb2FjaC1vcGVyYXRvciIsImFwcC5rdWJlcm5ldGVzLmlvL3BhcnQtb2YiOiJjb2Nrcm9hY2hkYiJ9LCJvd25lclJlZmVyZW5jZXMiOlt7ImFwaVZlcnNpb24iOiJjcmRiLmNvY2tyb2FjaGxhYnMuY29tL3YxYWxwaGExIiwia2luZCI6IkNyZGJDbHVzdGVyIiwibmFtZSI6InRlc3QtY2x1c3RlciIsInVpZCI6IjkwYWQ1ZWY1LTljOTUtNDA5Mi1hNWU4LTE1ODJiOTI2NDlmZiIsImNvbnRyb2xsZXIiOnRydWUsImJsb2NrT3duZXJEZWxldGlvbiI6dHJ1ZX1dLCJuYW1lIjoidGVzdC1jbHVzdGVyIiwibmFtZXNwYWNlIjoiY29ja3JvYWNoLW9wZXJhdG9yLXN5c3RlbSJ9LCJzcGVjIjp7InNlbGVjdG9yIjp7Im1hdGNoTGFiZWxzIjp7ImFwcC5rdWJlcm5ldGVzLmlvL2luc3RhbmNlIjoidGVzdC1jbHVzdGVyIiwiYXBwLmt1YmVybmV0ZXMuaW8vY29tcG9uZW50IjoiZGF0YWJhc2UiLCJjcmRiIjoiaXMtY29vbCIsImFwcC5rdWJlcm5ldGVzLmlvL25hbWUiOiJjb2Nrcm9hY2hkYiJ9fSwibWF4VW5hdmFpbGFibGUiOjF9LCJzdGF0dXMiOnsiY3VycmVudEhlYWx0aHkiOjAsImRlc2lyZWRIZWFsdGh5IjowLCJleHBlY3RlZFBvZHMiOjAsImRpc3J1cHRpb25zQWxsb3dlZCI6MH19" + }, + "creation_timestamp": "2023-05-04T20:30:58+00:00", + "deletion_grace_period_seconds": null, + "deletion_timestamp": null, + "finalizers": null, + "generate_name": null, + "generation": 1, + "labels": { + "app.kubernetes.io/component": "database", + "app.kubernetes.io/instance": "test-cluster", + "app.kubernetes.io/managed-by": "cockroach-operator", + "app.kubernetes.io/name": "cockroachdb", + "app.kubernetes.io/part-of": "cockroachdb", + "app.kubernetes.io/version": "v21.2.10", + "crdb": "is-cool" + }, + "managed_fields": [ + { + "api_version": "policy/v1beta1", + "fields_type": "FieldsV1", + "fields_v1": { + "f:metadata": { + "f:annotations": { + ".": {}, + "f:crdb.io/last-applied": {} + }, + "f:labels": { + ".": {}, + "f:app.kubernetes.io/component": {}, + "f:app.kubernetes.io/instance": {}, + "f:app.kubernetes.io/managed-by": {}, + "f:app.kubernetes.io/name": {}, + "f:app.kubernetes.io/part-of": {}, + "f:app.kubernetes.io/version": {}, + "f:crdb": {} + }, + "f:ownerReferences": { + ".": {}, + "k:{\"uid\":\"90ad5ef5-9c95-4092-a5e8-1582b92649ff\"}": {} + } + }, + "f:spec": { + "f:maxUnavailable": {}, + "f:selector": {} + } + }, + "manager": "cockroach-operator", + "operation": "Update", + "subresource": null, + "time": "2023-05-04T20:30:58+00:00" + }, + { + "api_version": "policy/v1", + "fields_type": "FieldsV1", + "fields_v1": { + "f:status": { + "f:conditions": { + ".": {}, + "k:{\"type\":\"DisruptionAllowed\"}": { + ".": {}, + "f:lastTransitionTime": {}, + "f:message": {}, + "f:observedGeneration": {}, + "f:reason": {}, + "f:status": {}, + "f:type": {} + } + }, + "f:currentHealthy": {}, + "f:desiredHealthy": {}, + "f:disruptionsAllowed": {}, + "f:expectedPods": {}, + "f:observedGeneration": {} + } + }, + "manager": "kube-controller-manager", + "operation": "Update", + "subresource": "status", + "time": "2023-05-04T20:31:21+00:00" + } + ], + "name": "test-cluster", + "namespace": "cockroach-operator-system", + "owner_references": [ + { + "api_version": "crdb.cockroachlabs.com/v1alpha1", + "block_owner_deletion": true, + "controller": true, + "kind": "CrdbCluster", + "name": "test-cluster", + "uid": "90ad5ef5-9c95-4092-a5e8-1582b92649ff" + } + ], + "resource_version": "1052", + "self_link": null, + "uid": "518bb618-fc9f-4d74-a07c-f3340bb37854" + }, + "spec": { + "max_unavailable": 1, + "min_available": null, + "selector": { + "match_expressions": null, + "match_labels": { + "app.kubernetes.io/component": "database", + "app.kubernetes.io/instance": "test-cluster", + "app.kubernetes.io/name": "cockroachdb", + "crdb": "is-cool" + } + } + }, + "status": { + "conditions": [ + { + "last_transition_time": "2023-05-04T20:31:21+00:00", + "message": "", + "observed_generation": 1, + "reason": "SufficientPods", + "status": "True", + "type": "DisruptionAllowed" + } + ], + "current_healthy": 3, + "desired_healthy": 2, + "disrupted_pods": null, + "disruptions_allowed": 1, + "expected_pods": 3, + "observed_generation": 1 + } + } + }, + "secret": { + "cockroach-operator-sa-token-wzc2j": { + "api_version": null, + "data": { + "ca.crt": "-----BEGIN CERTIFICATE-----\nMII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"kubernetes.io/service-account.name": "cockroach-operator-sa", + "kubernetes.io/service-account.uid": "aee568de-cb39-4282-8a0c-0ab30d52bfac" + }, + "creation_timestamp": "2023-05-04T20:30:22+00:00", + "deletion_grace_period_seconds": null, + "deletion_timestamp": null, + "finalizers": null, + "generate_name": null, + "generation": null, + "labels": null, + "managed_fields": [ + { + "api_version": "v1", + "fields_type": "FieldsV1", + "fields_v1": { + "f:data": { + ".": {}, + "f:ca.crt": {}, + "f:namespace": {}, + "f:token": {} + }, + "f:metadata": { + "f:annotations": { + ".": {}, + "f:kubernetes.io/service-account.name": {}, + "f:kubernetes.io/service-account.uid": {} + } + }, + "f:type": {} + }, + "manager": "kube-controller-manager", + "operation": "Update", + "subresource": null, + "time": "2023-05-04T20:30:22+00:00" + } + ], + "name": "cockroach-operator-sa-token-wzc2j", + "namespace": "cockroach-operator-system", + "owner_references": null, + "resource_version": "702", + "self_link": null, + "uid": "dcac6a29-ef3e-4f70-83f5-5e37488bcadd" + }, + "string_data": null, + "type": "kubernetes.io/service-account-token" + }, + "cockroach-operator-webhook-ca": { + "api_version": null, + "data": { + "tls.crt": "-----BEGIN CERTIFICATE-----\nMIIFHDCCAwSgAwIBAgIBATANBgkqhkiG9w0BAQsFADAgMR4wHAYDVQQKExVDb2Nr\ncm9hY2ggREIgT3BlcmF0b3IwHhcNMjMwNTA0MjAzMDIyWhcNMzMwNTAxMjAzMDIy\nWjAgMR4wHAYDVQQKExVDb2Nrcm9hY2ggREIgT3BlcmF0b3IwggIiMA0GCSqGSIb3\nDQEBAQUAA4ICDwAwggIKAoICAQClIdsIRkqd9AB2XImuNceMeR8It9YG0/d1611T\nh2MNuzaGXFVv+rWt9AOl8jC4NfczwuMsyv+NdJ1x3x5j51ZQRZG76gvGSHvS/SNb\n56sTWwI3OU5s32Ltcyb3CiSyE7EojP0ljlgmCOjBmencofVhpJl1QSB4zsFTSSpi\n6MSK175u8st79thJtNzoREcCuju1y1+6V2WC3eKEFhZcRo0oYPawpJwkGzgu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HkA+ec21enkFz+EN6x7o4u6v+3gGCTVBySBOJh10I43X9LXiXcF4zk3HIW0\nqLGKi6/b6exnDp5tXFXLTTxPiVwIwtq9YshgNhqre5wG2zL7g3gBRWSu6WYrM/9v\nfkc7xsdbQP2n4oJNYg6ASUq3iTsZqhpz0dNRnv0W8PC/QjHF4VciDWWiGP8Mom7d\nSVzN3VAkNZHZD9VZtAiYmxBdfZqIquk3PZvIxB0WDBXk6DSmVrPqL8mFUrE5AOom\nDv7v9hOdYP49TTm/fu5iXQSkq5kN4XrF7hibBbmfxNod3CSGI0VpkfHHix5g\n-----END RSA PRIVATE KEY-----\n" + }, + "immutable": null, + "kind": null, + "metadata": { + "annotations": null, + "creation_timestamp": "2023-05-04T20:30:23+00:00", + "deletion_grace_period_seconds": null, + "deletion_timestamp": null, + "finalizers": null, + "generate_name": null, + "generation": null, + "labels": null, + "managed_fields": [ + { + "api_version": "v1", + "fields_type": "FieldsV1", + "fields_v1": { + "f:data": { + ".": {}, + "f:tls.crt": {}, + "f:tls.key": {} + }, + "f:type": {} + }, + "manager": "cockroach-operator", + "operation": "Update", + "subresource": null, + "time": "2023-05-04T20:30:23+00:00" + } + ], + "name": "cockroach-operator-webhook-ca", + "namespace": "cockroach-operator-system", + "owner_references": null, + "resource_version": "736", + "self_link": null, + "uid": "2c751fca-a653-4140-a509-c413fb948dac" + }, + "string_data": null, + "type": "kubernetes.io/tls" + }, + "default-token-7btwd": { + "api_version": null, + "data": { + "ca.crt": "-----BEGIN CERTIFICATE-----\nMIIC/jCCAeagAwIBAgIBADANBgkqhkiG9w0BAQsFADAVMRMwEQYDVQQDEwprdWJl\ncm5ldGVzMB4XDTIzMDUwNDIwMjkxMFoXDTMzMDUwMTIwMjkxMFowFTETMBEGA1UE\nAxMKa3ViZXJuZXRlczCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAOZZ\nNBiE5imKYNYWQsDL7HJDSm2L+ocFPlh1vTf2uGhktpKbD6ITd2HvJBGnbznE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Iiwia3ViZXJuZXRlcy5pby9zZXJ2aWNlYWNjb3VudC9zZWNyZXQubmFtZSI6ImRlZmF1bHQtdG9rZW4tN2J0d2QiLCJrdWJlcm5ldGVzLmlvL3NlcnZpY2VhY2NvdW50L3NlcnZpY2UtYWNjb3VudC5uYW1lIjoiZGVmYXVsdCIsImt1YmVybmV0ZXMuaW8vc2VydmljZWFjY291bnQvc2VydmljZS1hY2NvdW50LnVpZCI6ImJlMGM0NTAzLTBmYzItNDc0Ni1iZWY2LWY0MDY3YjBlYjMxZiIsInN1YiI6InN5c3RlbTpzZXJ2aWNlYWNjb3VudDpjb2Nrcm9hY2gtb3BlcmF0b3Itc3lzdGVtOmRlZmF1bHQifQ.Fd6TbX4C-zakYblFasXmJBHIMaKrK7t3AgTzh0SOnEkjv-bmxuj4r1DGwNlo_5QGXRrVel9yvrYpFjAS-9wQTXpPM2761xz2AXTWiircZqCMpFsxJrAY-oxnctb_7XvVK5Wfs5LrIRFDvsxYyBmVA70QYRrAL4J_YJsZW_-6RsbH0hU5dQUk5dyFqQfjXh_NO3gPvoUqfZ7Eh0wdKxsT9qGjXCGF9106ZBBPZA1sPtMjJzc8ujDy2VrtuOi0hIe-3kPI3826Ny1TaBh7-S0Qr-L88gLzD6AWtlpoaEK86-IeEnJguM3zUZPOBi9QSAESGMxYXyBWWh-S4tevjAMLRg" + }, + "immutable": null, + "kind": null, + "metadata": { + "annotations": { + "kubernetes.io/service-account.name": "default", + "kubernetes.io/service-account.uid": "be0c4503-0fc2-4746-bef6-f4067b0eb31f" + }, + "creation_timestamp": "2023-05-04T20:30:11+00:00", + "deletion_grace_period_seconds": null, + "deletion_timestamp": null, + "finalizers": null, + "generate_name": null, + "generation": null, + "labels": null, + "managed_fields": [ + { + "api_version": "v1", + "fields_type": "FieldsV1", + "fields_v1": { + "f:data": { + ".": {}, + "f:ca.crt": {}, + "f:namespace": {}, + "f:token": {} + }, + "f:metadata": { + "f:annotations": { + ".": {}, + "f:kubernetes.io/service-account.name": {}, + "f:kubernetes.io/service-account.uid": {} + } + }, + "f:type": {} + }, + "manager": "kube-controller-manager", + "operation": "Update", + "subresource": null, + "time": "2023-05-04T20:30:11+00:00" + } + ], + "name": "default-token-7btwd", + "namespace": "cockroach-operator-system", + "owner_references": null, + "resource_version": "671", + "self_link": null, + "uid": "9814d748-cd5f-4ab2-9350-4e6c9eeebd03" + }, + "string_data": null, + "type": "kubernetes.io/service-account-token" + }, + "test-cluster-ca": { + "api_version": null, + "data": { + "ca.key": "-----BEGIN RSA PRIVATE KEY-----\nMIIEowIBAAKCAQEAugozAMz1QFpWfE11F38g3JMPU6eKGYQtXXyq8K5fM6UDfKwE\notCy+0N/V7hufscWF4FoP4NiJL4IR/U8dedXV0GyA8FWvgNFmagc7cqWVqZF1BM9\nBaQGXqX3mucexGZS16FAIKZ3XC6r2ZYuJU/6hBYaejpVWPyQb0dBFeP9g1Xs/SZG\nFwQQfeIiqtrPpEpoPsjEIo3CePKL+XD+LhCwHKLiE5PcXP8mgj7AvghPrJm9T3al\nLcigbqESPdaSEWANW1SCuOyMOWNxo2oXtnpy7tf32u2PPt8/4jjNYSSTMhXFirK2\n+Cjcu8P5qVwYUwEOtqKgFFDm0RQiv3+aka8NgwIDAQABAoIBAHYDZEk8utLAu54M\ncJugHFNvwkg5vkPjcfeczr7wjhmvsp+SazpxEyiKr6wQpZ8sYVo1z9CCYm6WUaB7\n84eDYgdK+EajjYfpgWwwlXFOksGSpjcaoRoD67p8o64SsJS7qA97DbfogUzrmj3j\no5AtxOenMdKZUGyrgl/knmfpgXaepV4Rhh6FRNFFjxAPP5ixPLREQSnsdRSVdV8m\nqDUTAF1S5Y69EYsdb3D7bxbUUS30WCe7qvH52ZbGmXJjXvEGfnwKtmPHHPVNin9O\nnjKofROIiM+Kbq9ckd0dEYtyKK0Jymntz2cf9/5nPagyk8cxj0Twb+WKLltF9Hpa\nvd07ZekCgYEA2KcMBN3skvgH2D1+hhXzbEMhObZ5+hBWDXQWtGg0XqTDj02bidTS\nQ8dxLrd0M6F4V7uKKkAwKuNKMvPINih61G1KU5+/vI990MsZcVr9AOtg46UINSQY\nrfP6ItLajJQ96NdZuzTjfMvQe+9MUz5VbrxYs+lBXBrTUcMUyOv+n10CgYEA29Pb\n004kneQtHJWbMq4UDWHJ56zqYKLsOes1mowGXhCwn3vbRJh5q6hUizHtYTZ9omq1\n3LLIgvCdwPfYBr6NJ+soHVYKzyf5ylGpKNi2MQeZdlRCPEiOwpeEpWRyzWWNLuQa\noIjkcYQCRQKnq/IimQW87WsbovCzlndTklz88l8CgYAw882ra9mAe7qKCZsFAQC3\nfZOMTsbQ0dAfyhM3QDRVDjWBs69pPUUlO3M/cwQ2hk2CxUU6trYrep/RU3PxiMP4\nK5mXu4i/OkzbWIivLDfudUC3LxrjpvxMkcv7AlmPWg+DBOWpfxHHqOW6mx9Lz9HN\n65C/Vf0GqqkE2Gdh3rDxoQKBgQCc8uMFN8qO7GWE/g+jnIP2lfX4sg1Y15m/NH6+\nC/FT4aipBV4k2JQuCe3qv8fS23vRpUyY+RCN5EtNhea30f6oHI40e8UV6F3ApJMY\n9bkGwn0/7aKotckvh8yN5WzN1w55ByU3ruUjYvPX37Bk5GjtRhqAjDNcH2ypJiMF\n4dw7EwKBgEqIZZe8h/ADZzKtJEsJJysz8kg/tY04eWqiog6p4+SyJoFkfQ6LVPFZ\nTWzx2l0uFYrSymbvKKA0UBPN/Mka7TEOZidx+MK++ul3L8R7fnF2i/z7J52uxc4x\nUOHbNT2/FZOqLZ5txaYRrdkZn9GuUSyvUY9ptmfnAGWjmtl5XZsQ\n-----END RSA PRIVATE KEY-----\n" + }, + "immutable": null, + "kind": null, + "metadata": { + "annotations": null, + "creation_timestamp": "2023-05-04T20:30:57+00:00", + "deletion_grace_period_seconds": null, + "deletion_timestamp": null, + "finalizers": null, + "generate_name": null, + "generation": null, + "labels": null, + "managed_fields": [ + { + "api_version": "v1", + "fields_type": "FieldsV1", + "fields_v1": { + "f:data": { + ".": {}, + "f:ca.key": {} + }, + "f:type": {} + }, + "manager": "cockroach-operator", + "operation": "Update", + "subresource": null, + "time": "2023-05-04T20:30:57+00:00" + } + ], + "name": "test-cluster-ca", + "namespace": "cockroach-operator-system", + "owner_references": null, + "resource_version": "853", + "self_link": null, + "uid": "40b99663-90a3-4837-a403-1b14d332aae6" + }, + "string_data": null, + "type": "Opaque" + }, + "test-cluster-node": { + "api_version": null, + "data": { + "ca.crt": "-----BEGIN CERTIFICATE-----\nMIIDJTCCAg2gAwIBAgIQBBA8zpKchJyZpBYQzn5SqTANBgkqhkiG9w0BAQsFADAr\nMRIwEAYDVQQKEwlDb2Nrcm9hY2gxFTATBgNVBAMTDENvY2tyb2FjaCBDQTAeFw0y\nMzA1MDMyMDMwNTdaFw0zMzA1MTEyMDMwNTdaMCsxEjAQBgNVBAoTCUNvY2tyb2Fj\naDEVMBMGA1UEAxMMQ29ja3JvYWNoIENBMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8A\nMIIBCgKCAQEAugozAMz1QFpWfE11F38g3JMPU6eKGYQtXXyq8K5fM6UDfKwEotCy\n+0N/V7hufscWF4FoP4NiJL4IR/U8dedXV0GyA8FWvgNFmagc7cqWVqZF1BM9BaQG\nXqX3mucexGZS16FAIKZ3XC6r2ZYuJU/6hBYaejpVWPyQb0dBFeP9g1Xs/SZGFwQQ\nfeIiqtrPpEpoPsjEIo3CePKL+XD+LhCwHKLiE5PcXP8mgj7AvghPrJm9T3alLcig\nbqESPdaSEWANW1SCuOyMOWNxo2oXtnpy7tf32u2PPt8/4jjNYSSTMhXFirK2+Cjc\nu8P5qVwYUwEOtqKgFFDm0RQiv3+aka8NgwIDAQABo0UwQzAOBgNVHQ8BAf8EBAMC\nAuQwEgYDVR0TAQH/BAgwBgEB/wIBATAdBgNVHQ4EFgQUndwRwgwzXigcHh4e4uJN\nOFdFFNgwDQYJKoZIhvcNAQELBQADggEBAGQqoUMP12xChUk1aRK4uNas00RTUT9t\nRRUCtZz27VivAGdGTHVxi1okZA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en8HONJdNQIcJzaBZxOlXHSvM1A\ncNeXR7XT+JiIiWOsveX5fS8kmenTN4n7qOhwNG+sQCXsJCM2c3ts9NSnrONmhg7g\nNH0XugP9sugRb7iZKI5wJnwRpbskSHcnwYGMzyTQJyt2bmBy4lU2FsPftJUQPD0P\nPI271sECgYEAorkj2FZ0XIz15W3alfrNDsFQdUUDRXcxgzfiyT93Rq+lacz4/2nE\nPsHXdgwoEib8qKZ5F1892s2fl0mooTiWXpAg7gmeN6uFhw3KQHG9JRtVwt0vOMVT\nMxO2JSTxgiDiPVAgvt24iRxXmOgmRVvCfzexiPJvHPe11rgdZ9YUsQo=\n-----END RSA PRIVATE KEY-----\n" + }, + "immutable": null, + "kind": null, + "metadata": { + "annotations": null, + "creation_timestamp": "2023-05-04T20:30:57+00:00", + "deletion_grace_period_seconds": null, + "deletion_timestamp": null, + "finalizers": null, + "generate_name": null, + "generation": null, + "labels": null, + "managed_fields": [ + { + "api_version": "v1", + "fields_type": "FieldsV1", + "fields_v1": { + "f:data": { + ".": {}, + "f:ca.crt": {}, + "f:tls.crt": {}, + "f:tls.key": {} + }, + "f:type": {} + }, + "manager": "cockroach-operator", + "operation": "Update", + "subresource": null, + "time": "2023-05-04T20:30:57+00:00" + } + ], + "name": "test-cluster-node", + "namespace": "cockroach-operator-system", + "owner_references": null, + "resource_version": "1145", + "self_link": null, + "uid": "2d1a5516-2887-49f6-b95c-400844c8b286" + }, + "string_data": null, + "type": "Opaque" + }, + "test-cluster-root": { + "api_version": null, + "data": { + "ca.crt": "-----BEGIN CERTIFICATE-----\nMIIDJTCCAg2gAwIBAgIQBBA8zpKchJyZpBYQzn5SqTANBgkqhkiG9w0BAQsFADAr\nMRIwEAYDVQQKEwlDb2Nrcm9hY2gxFTATBgNVBAMTDENvY2tyb2FjaCBDQTAeFw0y\nMzA1MDMyMDMwNTdaFw0zMzA1MTEyMDMwNTdaMCsxEjAQBgNVBAoTCUNvY2tyb2Fj\naDEVMBMGA1UEAxMMQ29ja3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GCqagufEKD80Swhd0gHLK8Om1L03nv/kut8vCOIobI\nps6fb8a4nUWg2w0vTpBdAUH/RO23lBSQIJ5XudUxSVPAeSMSgc+n7Tv5RdR5+P5Q\nXKn/BaSDgRR0JakkTv9FcTMCgYEAk5MtJYl9vSxCm8J3myLnySCbmhh5zJzhL+ro\nDWzp4LMV0xkIpprA1M8PXQQvj5FFQO7x/km5kUGYbKSTuV4tq0TUoQiH9mIaowUZ\nlYPiPGbVVzNcNElhe/3lVRkEFtpBJBzp2C59sz1XXvqz/v+M6R5Cpo6UU8vEX54s\nxXT2GKkCgYBh1SDkRy3NSKi1rkm30ABxcD7kZzKrQ/S7ebVuIV2hjKM43xV9Tge2\nzv54ma20ZDt1DenBTEc772VpSCWvaljAPdkb9kk3GJVSry9FBaXjM+Z/Tt2qDV6i\nTZR/zbtD3/EApnhy+2lNBECGpuUo2bjtuFb/H+subGCx4AwUjOkr8A==\n-----END RSA PRIVATE KEY-----\n" + }, + "immutable": null, + "kind": null, + "metadata": { + "annotations": null, + "creation_timestamp": "2023-05-04T20:30:57+00:00", + "deletion_grace_period_seconds": null, + "deletion_timestamp": null, + "finalizers": null, + "generate_name": null, + "generation": null, + "labels": null, + "managed_fields": [ + { + "api_version": "v1", + "fields_type": "FieldsV1", + "fields_v1": { + "f:data": { + ".": {}, + "f:ca.crt": {}, + "f:tls.crt": {}, + "f:tls.key": {} + }, + "f:type": {} + }, + "manager": "cockroach-operator", + "operation": "Update", + "subresource": null, + "time": "2023-05-04T20:30:57+00:00" + } + ], + "name": "test-cluster-root", + "namespace": "cockroach-operator-system", + "owner_references": null, + "resource_version": "855", + "self_link": null, + "uid": "76c509d6-5649-4fc6-9335-ef802eeeab2f" + }, + "string_data": null, + "type": "Opaque" + }, + "test-cluster-sa-token-828tt": { + "api_version": null, + "data": { + "ca.crt": "-----BEGIN CERTIFICATE-----\nMIIC/jCCAeagAwIBAgIBADANBgkqhkiG9w0BAQsFADAVMRMwEQYDVQQDEwprdWJl\ncm5ldGVzMB4XDTIzMDUwNDIwMjkxMFoXDTMzMDUwMTIwMjkxMFowFTETMBEGA1UE\nAxMKa3ViZXJuZXRlczCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAOZZ\nNBiE5imKYNYWQsDL7HJDSm2L+ocFPlh1vTf2uGhktpKbD6ITd2HvJBGnbznEq573\nFR+8KpXqozRTEFDZo+OIs8y6IcVIJSHTD/LhbHE9xP2QFWIEaIHrbFwktet5wuL+\nkfJbYqdompXlzSaORjo0fG6KXA/5UBoeylU4zFRpcP/QSHa2blKko/IBWpuL4OEM\n1NeiOaMGea9kUivd06JFKucvv79dmKL03PA4LF13IDYFAE0YMXpq/Kp7cWXg7oKP\naPEP84rxtVddY3pDEdPR8GhbV/zIfJjjmaV3hqjbbW8sXc/MKMddx+XPZTjYGbgy\n3egJodTUokl3mL4zhQ0CAwEAAaNZMFcwDgYDVR0PAQH/BAQDAgKkMA8GA1UdEwEB\n/wQFMAMBAf8wHQYDVR0OBBYEFHQXllc6/knTcwTAgSM2L8Y9CaKmMBUGA1UdEQQO\nMAyCCmt1YmVybmV0ZXMwDQYJKoZIhvcNAQELBQADggEBAEV0ciRGe77TLxzcTZpA\npid2iF9nHg5alCebrfGZ3gnH6KhKM/otOSoA58JCzEaJxS1cUQOnVIP6i4t7WYVz\nkwEjw+8Bp3vvUpZJDaj/XTgOuztoOpbM6xX7wKHztRdI76I7gH/HPjfIrgiUM7Yo\nSNKCwpZf8tUpWUWfEBDNCtvN4OO3v2A2fREnz1ux61qtKTdR+T/aCvD7GLNB0mbu\nWBTupnmNaAEs/bB87w3OJ4PbvvCGdwm+bX+Q3iDdwqIiu78ZB8NI5RYAYB+CN7Nt\nm2tXdv3t0L7lMcG4eolqa3RXA6g515um0FzDqabtuw5+oak8rs1XfTk87uwhqxUl\nGew=\n-----END CERTIFICATE-----\n", + "namespace": "cockroach-operator-system", + "token": "eyJhbGciOiJSUzI1NiIsImtpZCI6IkNWQ0M5T09aTUNGcmVrSURjZ2JIeXJ3cFhMOFVDNU9hZnp6aXNLeTJrcEkifQ.eyJpc3MiOiJrdWJlcm5ldGVzL3NlcnZpY2VhY2NvdW50Iiwia3ViZXJuZXRlcy5pby9zZXJ2aWNlYWNjb3VudC9uYW1lc3BhY2UiOiJjb2Nrcm9hY2gtb3BlcmF0b3Itc3lzdGVtIiwia3ViZXJuZXRlcy5pby9zZXJ2aWNlYWNjb3VudC9zZWNyZXQubmFtZSI6InRlc3QtY2x1c3Rlci1zYS10b2tlbi04Mjh0dCIsImt1YmVybmV0ZXMuaW8vc2VydmljZWFjY291bnQvc2VydmljZS1hY2NvdW50Lm5hbWUiOiJ0ZXN0LWNsdXN0ZXItc2EiLCJrdWJlcm5ldGVzLmlvL3NlcnZpY2VhY2NvdW50L3NlcnZpY2UtYWNjb3VudC51aWQiOiJjNGNlODMyYS1mYTBiLTRiZTQtYWVlOS01OWQ5YmU2ZWUxNjQiLCJzdWIiOiJzeXN0ZW06c2VydmljZWFjY291bnQ6Y29ja3JvYWNoLW9wZXJhdG9yLXN5c3RlbTp0ZXN0LWNsdXN0ZXItc2EifQ.mRb989ZkIHUP4lVKdLsdcRLZSYHkHvwjfX7wvgRNYDUzwi8tQ4eram14vdcfxkK0oyaQRWBKJPUBs0AuiIKvI21eCdFrELM5z3f2ZtvIqpJzPUIE9xHsVG8UG1Q7n5NI2g7FMpF39eO37ioiuOThuBtsIjffepayhbxB2oipGPpeE3VzG0K0DKEiLGDo7XtLQapibUkLprM2rEdummQbFOr9pDXuaD9zEWpViaL659iK2lpNrVmKmqgn1BB-GBIMJec9x0cRtc4pUHUmG8bIpUBzdGpy1Q97lfh6Vb9sXvikXHhGh7GBcX-DQyo2_0Rekq00cPgwsTn1ClN5jEr4ZA" + }, + "immutable": null, + "kind": null, + "metadata": { + "annotations": { + "kubernetes.io/service-account.name": "test-cluster-sa", + "kubernetes.io/service-account.uid": "c4ce832a-fa0b-4be4-aee9-59d9be6ee164" + }, + "creation_timestamp": "2023-05-04T20:30:56+00:00", + "deletion_grace_period_seconds": null, + "deletion_timestamp": null, + "finalizers": null, + "generate_name": null, + "generation": null, + "labels": null, + "managed_fields": [ + { + "api_version": "v1", + "fields_type": "FieldsV1", + "fields_v1": { + "f:data": { + ".": {}, + "f:ca.crt": {}, + "f:namespace": {}, + "f:token": {} + }, + "f:metadata": { + "f:annotations": { + ".": {}, + "f:kubernetes.io/service-account.name": {}, + "f:kubernetes.io/service-account.uid": {} + } + }, + "f:type": {} + }, + "manager": "kube-controller-manager", + "operation": "Update", + "subresource": null, + "time": "2023-05-04T20:30:56+00:00" + } + ], + "name": "test-cluster-sa-token-828tt", + "namespace": "cockroach-operator-system", + "owner_references": null, + "resource_version": "832", + "self_link": null, + "uid": "09d10c26-892e-40cf-832e-e436c05a5ce9" + }, + "string_data": null, + "type": "kubernetes.io/service-account-token" + } + }, + "endpoints": { + "cockroach-operator-webhook-service": { + "api_version": null, + "kind": null, + "metadata": { + "annotations": null, + "creation_timestamp": "2023-05-04T20:30:22+00:00", + "deletion_grace_period_seconds": null, + "deletion_timestamp": null, + "finalizers": null, + "generate_name": null, + "generation": null, + "labels": { + "control-plane": "cockroach-operator" + }, + "managed_fields": [ + { + "api_version": "v1", + "fields_type": "FieldsV1", + "fields_v1": { + "f:metadata": { + "f:labels": { + ".": {}, + "f:control-plane": {} + } + }, + "f:subsets": {} + }, + "manager": "kube-controller-manager", + "operation": "Update", + "subresource": null, + "time": "2023-05-04T20:30:52+00:00" + } + ], + "name": "cockroach-operator-webhook-service", + "namespace": "cockroach-operator-system", + "owner_references": null, + "resource_version": "809", + "self_link": null, + "uid": "b6860b37-06ef-4aa7-868d-ae6e0e727231" + }, + "subsets": [ + { + "addresses": [ + { + "hostname": null, + "ip": "10.244.1.2", + "node_name": "acto-cluster-0-worker3", + "target_ref": { + "api_version": null, + "field_path": null, + "kind": "Pod", + "name": "cockroach-operator-manager-64c489884-t4l82", + "namespace": "cockroach-operator-system", + "resource_version": "800", + "uid": "2fa41549-7083-45b2-8a85-b2450b8b08b7" + } + } + ], + "not_ready_addresses": null, + "ports": [ + { + "app_protocol": null, + "name": null, + "port": 9443, + "protocol": "TCP" + } + ] + } + ] + }, + "test-cluster": { + "api_version": null, + "kind": null, + "metadata": { + "annotations": { + "endpoints.kubernetes.io/last-change-trigger-time": "2023-05-04T20:31:21Z" + }, + "creation_timestamp": "2023-05-04T20:30:57+00:00", + "deletion_grace_period_seconds": null, + "deletion_timestamp": null, + "finalizers": null, + "generate_name": null, + "generation": null, + "labels": { + "app.kubernetes.io/component": "database", + "app.kubernetes.io/instance": "test-cluster", + "app.kubernetes.io/managed-by": "cockroach-operator", + "app.kubernetes.io/name": "cockroachdb", + "app.kubernetes.io/part-of": "cockroachdb", + "app.kubernetes.io/version": "v21.2.10", + "crdb": "is-cool", + "service.kubernetes.io/headless": "" + }, + "managed_fields": [ + { + "api_version": "v1", + "fields_type": "FieldsV1", + "fields_v1": { + "f:metadata": { + "f:annotations": { + ".": {}, + "f:endpoints.kubernetes.io/last-change-trigger-time": {} + }, + "f:labels": { + ".": {}, + "f:app.kubernetes.io/component": {}, + "f:app.kubernetes.io/instance": {}, + "f:app.kubernetes.io/managed-by": {}, + "f:app.kubernetes.io/name": {}, + "f:app.kubernetes.io/part-of": {}, + "f:app.kubernetes.io/version": {}, + "f:crdb": {}, + "f:service.kubernetes.io/headless": {} + } + }, + "f:subsets": {} + }, + "manager": "kube-controller-manager", + "operation": "Update", + "subresource": null, + "time": "2023-05-04T20:31:01+00:00" + } + ], + "name": "test-cluster", + "namespace": "cockroach-operator-system", + "owner_references": null, + "resource_version": "1048", + "self_link": null, + "uid": "01aa7b79-a160-478c-b84f-cce690199fae" + }, + "subsets": [ + { + "addresses": [ + { + "hostname": "test-cluster-1", + "ip": "10.244.1.4", + "node_name": "acto-cluster-0-worker3", + "target_ref": { + "api_version": null, + "field_path": null, + "kind": "Pod", + "name": "test-cluster-1", + "namespace": "cockroach-operator-system", + "resource_version": "1047", + "uid": "cc1555b0-c26a-4b7b-bec4-c44b82760466" + } + }, + { + "hostname": "test-cluster-2", + "ip": "10.244.2.4", + "node_name": "acto-cluster-0-worker2", + "target_ref": { + "api_version": null, + "field_path": null, + "kind": "Pod", + "name": "test-cluster-2", + "namespace": "cockroach-operator-system", + "resource_version": "1020", + "uid": "30cdd852-14b8-4fc7-a7f6-b3dfe6ebaf1d" + } + }, + { + "hostname": "test-cluster-0", + "ip": "10.244.3.4", + "node_name": "acto-cluster-0-worker", + "target_ref": { + "api_version": null, + "field_path": null, + "kind": "Pod", + "name": "test-cluster-0", + "namespace": "cockroach-operator-system", + "resource_version": "1035", + "uid": "3a41326f-04a0-41ef-9b75-7d9930634288" + } + } + ], + "not_ready_addresses": null, + "ports": [ + { + "app_protocol": null, + "name": "grpc", + "port": 26258, + "protocol": "TCP" + }, + { + "app_protocol": null, + "name": "sql", + "port": 26257, + "protocol": "TCP" + }, + { + "app_protocol": null, + "name": "http", + "port": 8080, + "protocol": "TCP" + } + ] + } + ] + }, + "test-cluster-public": { + "api_version": null, + "kind": null, + "metadata": { + "annotations": { + "endpoints.kubernetes.io/last-change-trigger-time": "2023-05-04T20:31:21Z" + }, + "creation_timestamp": "2023-05-04T20:30:57+00:00", + "deletion_grace_period_seconds": null, + "deletion_timestamp": null, + "finalizers": null, + "generate_name": null, + "generation": null, + "labels": { + "app.kubernetes.io/component": "database", + "app.kubernetes.io/instance": "test-cluster", + "app.kubernetes.io/managed-by": "cockroach-operator", + "app.kubernetes.io/name": "cockroachdb", + "app.kubernetes.io/part-of": "cockroachdb", + "app.kubernetes.io/version": "v21.2.10", + "crdb": "is-cool" + }, + "managed_fields": [ + { + "api_version": "v1", + "fields_type": "FieldsV1", + "fields_v1": { + "f:metadata": { + "f:annotations": { + ".": {}, + "f:endpoints.kubernetes.io/last-change-trigger-time": {} + }, + "f:labels": { + ".": {}, + "f:app.kubernetes.io/component": {}, + "f:app.kubernetes.io/instance": {}, + "f:app.kubernetes.io/managed-by": {}, + "f:app.kubernetes.io/name": {}, + "f:app.kubernetes.io/part-of": {}, + "f:app.kubernetes.io/version": {}, + "f:crdb": {} + } + }, + "f:subsets": {} + }, + "manager": "kube-controller-manager", + "operation": "Update", + "subresource": null, + "time": "2023-05-04T20:31:01+00:00" + } + ], + "name": "test-cluster-public", + "namespace": "cockroach-operator-system", + "owner_references": null, + "resource_version": "1049", + "self_link": null, + "uid": "3564ff33-0459-4ca5-b808-21b27dd09d00" + }, + "subsets": [ + { + "addresses": [ + { + "hostname": null, + "ip": "10.244.1.4", + "node_name": "acto-cluster-0-worker3", + "target_ref": { + "api_version": null, + "field_path": null, + "kind": "Pod", + "name": "test-cluster-1", + "namespace": "cockroach-operator-system", + "resource_version": "1047", + "uid": "cc1555b0-c26a-4b7b-bec4-c44b82760466" + } + }, + { + "hostname": null, + "ip": "10.244.2.4", + "node_name": "acto-cluster-0-worker2", + "target_ref": { + "api_version": null, + "field_path": null, + "kind": "Pod", + "name": "test-cluster-2", + "namespace": "cockroach-operator-system", + "resource_version": "1020", + "uid": "30cdd852-14b8-4fc7-a7f6-b3dfe6ebaf1d" + } + }, + { + "hostname": null, + "ip": "10.244.3.4", + "node_name": "acto-cluster-0-worker", + "target_ref": { + "api_version": null, + "field_path": null, + "kind": "Pod", + "name": "test-cluster-0", + "namespace": "cockroach-operator-system", + "resource_version": "1035", + "uid": "3a41326f-04a0-41ef-9b75-7d9930634288" + } + } + ], + "not_ready_addresses": null, + "ports": [ + { + "app_protocol": null, + "name": "grpc", + "port": 26258, + "protocol": "TCP" + }, + { + "app_protocol": null, + "name": "sql", + "port": 26257, + "protocol": "TCP" + }, + { + "app_protocol": null, + "name": "http", + "port": 8080, + "protocol": "TCP" + } + ] + } + ] + } + }, + "job": {}, + "role": { + "test-cluster-role": { + "api_version": null, + "kind": null, + "metadata": { + "annotations": { + "crdb.io/last-applied": "eyJtZXRhZGF0YSI6eyJuYW1lc3BhY2UiOiJjb2Nrcm9hY2gtb3BlcmF0b3Itc3lzdGVtIiwibGFiZWxzIjp7ImFwcC5rdWJlcm5ldGVzLmlvL2luc3RhbmNlIjoidGVzdC1jbHVzdGVyIiwiYXBwLmt1YmVybmV0ZXMuaW8vY29tcG9uZW50IjoiZGF0YWJhc2UiLCJhcHAua3ViZXJuZXRlcy5pby9tYW5hZ2VkLWJ5IjoiY29ja3JvYWNoLW9wZXJhdG9yIiwiY3JkYiI6ImlzLWNvb2wiLCJhcHAua3ViZXJuZXRlcy5pby9wYXJ0LW9mIjoiY29ja3JvYWNoZGIiLCJhcHAua3ViZXJuZXRlcy5pby9uYW1lIjoiY29ja3JvYWNoZGIifSwib3duZXJSZWZlcmVuY2VzIjpbeyJhcGlWZXJzaW9uIjoiY3JkYi5jb2Nrcm9hY2hsYWJzLmNvbS92MWFscGhhMSIsImtpbmQiOiJDcmRiQ2x1c3RlciIsIm5hbWUiOiJ0ZXN0LWNsdXN0ZXIiLCJ1aWQiOiI5MGFkNWVmNS05Yzk1LTQwOTItYTVlOC0xNTgyYjkyNjQ5ZmYiLCJjb250cm9sbGVyIjp0cnVlLCJibG9ja093bmVyRGVsZXRpb24iOnRydWV9XSwibmFtZSI6InRlc3QtY2x1c3Rlci1yb2xlIn0sInJ1bGVzIjpbeyJhcGlHcm91cHMiOlsic2VjdXJpdHkub3BlbnNoaWZ0LmlvIl0sInJlc291cmNlcyI6WyJzZWN1cml0eWNvbnRleHRjb25zdHJhaW50cyJdLCJ2ZXJicyI6WyJ1c2UiXX1dfQ==" + }, + "creation_timestamp": "2023-05-04T20:30:56+00:00", + "deletion_grace_period_seconds": null, + "deletion_timestamp": null, + "finalizers": null, + "generate_name": null, + "generation": null, + "labels": { + "app.kubernetes.io/component": "database", + "app.kubernetes.io/instance": "test-cluster", + "app.kubernetes.io/managed-by": "cockroach-operator", + "app.kubernetes.io/name": "cockroachdb", + "app.kubernetes.io/part-of": "cockroachdb", + "crdb": "is-cool" + }, + "managed_fields": [ + { + "api_version": "rbac.authorization.k8s.io/v1", + "fields_type": "FieldsV1", + "fields_v1": { + "f:metadata": { + "f:annotations": { + ".": {}, + "f:crdb.io/last-applied": {} + }, + "f:labels": { + ".": {}, + "f:app.kubernetes.io/component": {}, + "f:app.kubernetes.io/instance": {}, + "f:app.kubernetes.io/managed-by": {}, + "f:app.kubernetes.io/name": {}, + "f:app.kubernetes.io/part-of": {}, + "f:crdb": {} + }, + "f:ownerReferences": { + ".": {}, + "k:{\"uid\":\"90ad5ef5-9c95-4092-a5e8-1582b92649ff\"}": {} + } + }, + "f:rules": {} + }, + "manager": "cockroach-operator", + "operation": "Update", + "subresource": null, + "time": "2023-05-04T20:30:56+00:00" + } + ], + "name": "test-cluster-role", + "namespace": "cockroach-operator-system", + "owner_references": [ + { + "api_version": "crdb.cockroachlabs.com/v1alpha1", + "block_owner_deletion": true, + "controller": true, + "kind": "CrdbCluster", + "name": "test-cluster", + "uid": "90ad5ef5-9c95-4092-a5e8-1582b92649ff" + } + ], + "resource_version": "834", + "self_link": null, + "uid": "ac048cd6-8cff-40fd-ba91-b2ea7f4a235b" + }, + "rules": [ + { + "api_groups": [ + "security.openshift.io" + ], + "non_resource_ur_ls": null, + "resource_names": null, + "resources": [ + "securitycontextconstraints" + ], + "verbs": [ + "use" + ] + } + ] + } + }, + "role_binding": { + "test-cluster-role-binding": { + "api_version": null, + "kind": null, + "metadata": { + "annotations": { + "crdb.io/last-applied": "eyJyb2xlUmVmIjp7ImFwaUdyb3VwIjoicmJhYy5hdXRob3JpemF0aW9uLms4cy5pbyIsImtpbmQiOiJSb2xlIiwibmFtZSI6InRlc3QtY2x1c3Rlci1yb2xlIn0sIm1ldGFkYXRhIjp7Im5hbWUiOiJ0ZXN0LWNsdXN0ZXItcm9sZS1iaW5kaW5nIiwibmFtZXNwYWNlIjoiY29ja3JvYWNoLW9wZXJhdG9yLXN5c3RlbSIsImxhYmVscyI6eyJhcHAua3ViZXJuZXRlcy5pby9jb21wb25lbnQiOiJkYXRhYmFzZSIsImFwcC5rdWJlcm5ldGVzLmlvL21hbmFnZWQtYnkiOiJjb2Nrcm9hY2gtb3BlcmF0b3IiLCJjcmRiIjoiaXMtY29vbCIsImFwcC5rdWJlcm5ldGVzLmlvL3BhcnQtb2YiOiJjb2Nrcm9hY2hkYiIsImFwcC5rdWJlcm5ldGVzLmlvL25hbWUiOiJjb2Nrcm9hY2hkYiIsImFwcC5rdWJlcm5ldGVzLmlvL2luc3RhbmNlIjoidGVzdC1jbHVzdGVyIn0sIm93bmVyUmVmZXJlbmNlcyI6W3sibmFtZSI6InRlc3QtY2x1c3RlciIsInVpZCI6IjkwYWQ1ZWY1LTljOTUtNDA5Mi1hNWU4LTE1ODJiOTI2NDlmZiIsImNvbnRyb2xsZXIiOnRydWUsImJsb2NrT3duZXJEZWxldGlvbiI6dHJ1ZSwiYXBpVmVyc2lvbiI6ImNyZGIuY29ja3JvYWNobGFicy5jb20vdjFhbHBoYTEiLCJraW5kIjoiQ3JkYkNsdXN0ZXIifV19LCJzdWJqZWN0cyI6W3sia2luZCI6IlNlcnZpY2VBY2NvdW50IiwibmFtZSI6InRlc3QtY2x1c3Rlci1zYSJ9XX0=" + }, + "creation_timestamp": "2023-05-04T20:30:56+00:00", + "deletion_grace_period_seconds": null, + "deletion_timestamp": null, + "finalizers": null, + "generate_name": null, + "generation": null, + "labels": { + "app.kubernetes.io/component": "database", + "app.kubernetes.io/instance": "test-cluster", + "app.kubernetes.io/managed-by": "cockroach-operator", + "app.kubernetes.io/name": "cockroachdb", + "app.kubernetes.io/part-of": "cockroachdb", + "crdb": "is-cool" + }, + "managed_fields": [ + { + "api_version": "rbac.authorization.k8s.io/v1", + "fields_type": "FieldsV1", + "fields_v1": { + "f:metadata": { + "f:annotations": { + ".": {}, + "f:crdb.io/last-applied": {} + }, + "f:labels": { + ".": {}, + "f:app.kubernetes.io/component": {}, + "f:app.kubernetes.io/instance": {}, + "f:app.kubernetes.io/managed-by": {}, + "f:app.kubernetes.io/name": {}, + "f:app.kubernetes.io/part-of": {}, + "f:crdb": {} + }, + "f:ownerReferences": { + ".": {}, + "k:{\"uid\":\"90ad5ef5-9c95-4092-a5e8-1582b92649ff\"}": {} + } + }, + "f:roleRef": {}, + "f:subjects": {} + }, + "manager": "cockroach-operator", + "operation": "Update", + "subresource": null, + "time": "2023-05-04T20:30:56+00:00" + } + ], + "name": "test-cluster-role-binding", + "namespace": "cockroach-operator-system", + "owner_references": [ + { + "api_version": "crdb.cockroachlabs.com/v1alpha1", + "block_owner_deletion": true, + "controller": true, + "kind": "CrdbCluster", + "name": "test-cluster", + "uid": "90ad5ef5-9c95-4092-a5e8-1582b92649ff" + } + ], + "resource_version": "835", + "self_link": null, + "uid": "e2f407b8-9169-4400-b6d2-cf0cbea3853d" + }, + "role_ref": { + "api_group": "rbac.authorization.k8s.io", + "kind": "Role", + "name": "test-cluster-role" + }, + "subjects": [ + { + "api_group": null, + "kind": "ServiceAccount", + "name": "test-cluster-sa", + "namespace": null + } + ] + } + }, + "custom_resource_spec": { + "additionalLabels": { + "crdb": "is-cool" + }, + "dataStore": { + "pvc": { + "source": { + "claimName": "" + }, + "spec": { + "accessModes": [ + "ReadWriteOnce" + ], + "resources": { + "requests": { + "storage": "1Gi" + } + }, + "volumeMode": "Filesystem" + } + }, + "supportsAutoResize": false + }, + "grpcPort": 26258, + "httpPort": 8080, + "image": { + "name": "cockroachdb/cockroach:v21.2.10", + "pullPolicy": "IfNotPresent" + }, + "ingress": { + "sql": { + "host": "mynbiqpmzj", + "tls": [ + { + "secretName": "ACTOKEY" + } + ] + } + }, + "maxUnavailable": 1, + "nodes": 3, + "resources": { + "limits": { + "cpu": "2", + "memory": "2Gi" + }, + "requests": { + "cpu": "100m", + "memory": "1Gi" + } + }, + "sqlPort": 26257, + "tlsEnabled": true + }, + "custom_resource_status": { + "clusterStatus": "Failed", + "conditions": [ + { + "lastTransitionTime": "2023-05-04T20:31:08Z", + "status": "True", + "type": "Initialized" + }, + { + "lastTransitionTime": "2023-05-04T20:30:56Z", + "status": "True", + "type": "CrdbVersionChecked" + }, + { + "lastTransitionTime": "2023-05-04T20:30:57Z", + "status": "True", + "type": "CertificateGenerated" + }, + { + "lastTransitionTime": "2023-05-04T20:32:16Z", + "status": "True", + "type": "SQLIngressExposed" + } + ], + "crdbcontainerimage": "cockroachdb/cockroach:v21.2.10", + "operatorActions": [ + { + "lastTransitionTime": "2023-05-04T20:31:03Z", + "message": "pod is not running", + "status": "Failed", + "type": "Initialize" + } + ], + "sqlHost": "mynbiqpmzj", + "version": "v21.2.10" + } +} \ No newline at end of file diff --git a/test/test_data/crdbop-920/system-state-000.json b/test/test_data/crdbop-920/system-state-000.json new file mode 100644 index 0000000000..bea45e61f9 --- /dev/null +++ b/test/test_data/crdbop-920/system-state-000.json @@ -0,0 +1,7442 @@ +{ + "pod": { + "test-cluster-0": { + "api_version": null, + "kind": null, + "metadata": { + "annotations": null, + "creation_timestamp": "2023-05-04T20:30:58+00:00", + "deletion_grace_period_seconds": null, + "deletion_timestamp": null, + "finalizers": null, + "generate_name": "test-cluster-", + "generation": null, + "labels": { + "app.kubernetes.io/component": "database", + "app.kubernetes.io/instance": "test-cluster", + "app.kubernetes.io/name": "cockroachdb", + "controller-revision-hash": "test-cluster-76f9c78d88", + "crdb": "is-cool", + "statefulset.kubernetes.io/pod-name": "test-cluster-0" + }, + "managed_fields": [ + { + "api_version": "v1", + "fields_type": "FieldsV1", + "fields_v1": { + "f:metadata": { + "f:generateName": {}, + "f:labels": { + ".": {}, + "f:app.kubernetes.io/component": {}, + "f:app.kubernetes.io/instance": {}, + "f:app.kubernetes.io/name": {}, + "f:controller-revision-hash": {}, + "f:crdb": {}, + "f:statefulset.kubernetes.io/pod-name": {} + }, + "f:ownerReferences": { + ".": {}, + "k:{\"uid\":\"f53f5464-2142-4d42-8f5b-bdd30e5c1acf\"}": {} + } + }, + "f:spec": { + "f:automountServiceAccountToken": {}, + "f:containers": { + "k:{\"name\":\"db\"}": { + ".": {}, + "f:command": {}, + "f:env": { + ".": {}, + "k:{\"name\":\"COCKROACH_CHANNEL\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"GOMAXPROCS\"}": { + ".": {}, + "f:name": {}, + "f:valueFrom": { + ".": {}, + "f:resourceFieldRef": {} + } + }, + "k:{\"name\":\"MEMORY_LIMIT_MIB\"}": { + ".": {}, + "f:name": {}, + "f:valueFrom": { + ".": {}, + "f:resourceFieldRef": {} + } + }, + "k:{\"name\":\"POD_NAME\"}": { + ".": {}, + "f:name": {}, + "f:valueFrom": { + ".": {}, + "f:fieldRef": {} + } + } + }, + "f:image": {}, + "f:imagePullPolicy": {}, + "f:lifecycle": { + ".": {}, + "f:preStop": { + ".": {}, + "f:exec": { + ".": {}, + "f:command": {} + } + } + }, + "f:name": {}, + "f:ports": { + ".": {}, + "k:{\"containerPort\":8080,\"protocol\":\"TCP\"}": { + ".": {}, + "f:containerPort": {}, + "f:name": {}, + "f:protocol": {} + }, + "k:{\"containerPort\":26257,\"protocol\":\"TCP\"}": { + ".": {}, + "f:containerPort": {}, + "f:name": {}, + "f:protocol": {} + }, + "k:{\"containerPort\":26258,\"protocol\":\"TCP\"}": { + ".": {}, + "f:containerPort": {}, + "f:name": {}, + "f:protocol": {} + } + }, + "f:readinessProbe": { + ".": {}, + "f:failureThreshold": {}, + "f:httpGet": { + ".": {}, + "f:path": {}, + "f:port": {}, + "f:scheme": {} + }, + "f:initialDelaySeconds": {}, + "f:periodSeconds": {}, + "f:successThreshold": {}, + "f:timeoutSeconds": {} + }, + "f:resources": { + ".": {}, + "f:limits": { + ".": {}, + "f:cpu": {}, + "f:memory": {} + }, + "f:requests": { + ".": {}, + "f:cpu": {}, + "f:memory": {} + } + }, + "f:terminationMessagePath": {}, + "f:terminationMessagePolicy": {}, + "f:volumeMounts": { + ".": {}, + "k:{\"mountPath\":\"/cockroach/cockroach-certs/\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + }, + "k:{\"mountPath\":\"/cockroach/cockroach-data/\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + } + } + } + }, + "f:dnsPolicy": {}, + "f:enableServiceLinks": {}, + "f:hostname": {}, + "f:initContainers": { + ".": {}, + "k:{\"name\":\"db-init\"}": { + ".": {}, + "f:command": {}, + "f:image": {}, + "f:imagePullPolicy": {}, + "f:name": {}, + "f:resources": {}, + "f:securityContext": { + ".": {}, + "f:allowPrivilegeEscalation": {}, + "f:runAsUser": {} + }, + "f:terminationMessagePath": {}, + "f:terminationMessagePolicy": {}, + "f:volumeMounts": { + ".": {}, + "k:{\"mountPath\":\"/cockroach/cockroach-certs-prestage/\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + }, + "k:{\"mountPath\":\"/cockroach/cockroach-certs/\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + } + } + } + }, + "f:restartPolicy": {}, + "f:schedulerName": {}, + "f:securityContext": { + ".": {}, + "f:fsGroup": {}, + "f:runAsUser": {} + }, + "f:serviceAccount": {}, + "f:serviceAccountName": {}, + "f:subdomain": {}, + "f:terminationGracePeriodSeconds": {}, + "f:volumes": { + ".": {}, + "k:{\"name\":\"certs\"}": { + ".": {}, + "f:name": {}, + "f:projected": { + ".": {}, + "f:defaultMode": {}, + "f:sources": {} + } + }, + "k:{\"name\":\"datadir\"}": { + ".": {}, + "f:name": {}, + "f:persistentVolumeClaim": { + ".": {}, + "f:claimName": {} + } + }, + "k:{\"name\":\"emptydir\"}": { + ".": {}, + "f:emptyDir": {}, + "f:name": {} + } + } + } + }, + "manager": "kube-controller-manager", + "operation": "Update", + "subresource": null, + "time": "2023-05-04T20:30:58+00:00" + }, + { + "api_version": "v1", + "fields_type": "FieldsV1", + "fields_v1": { + "f:status": { + "f:conditions": { + "k:{\"type\":\"ContainersReady\"}": { + ".": {}, + "f:lastProbeTime": {}, + "f:lastTransitionTime": {}, + "f:status": {}, + "f:type": {} + }, + "k:{\"type\":\"Initialized\"}": { + ".": {}, + "f:lastProbeTime": {}, + "f:lastTransitionTime": {}, + "f:status": {}, + "f:type": {} + }, + "k:{\"type\":\"Ready\"}": { + ".": {}, + "f:lastProbeTime": {}, + "f:lastTransitionTime": {}, + "f:status": {}, + "f:type": {} + } + }, + "f:containerStatuses": {}, + "f:hostIP": {}, + "f:initContainerStatuses": {}, + "f:phase": {}, + "f:podIP": {}, + "f:podIPs": { + ".": {}, + "k:{\"ip\":\"10.244.3.4\"}": { + ".": {}, + "f:ip": {} + } + }, + "f:startTime": {} + } + }, + "manager": "kubelet", + "operation": "Update", + "subresource": "status", + "time": "2023-05-04T20:31:17+00:00" + } + ], + "name": "test-cluster-0", + "namespace": "cockroach-operator-system", + "owner_references": [ + { + "api_version": "apps/v1", + "block_owner_deletion": true, + "controller": true, + "kind": "StatefulSet", + "name": "test-cluster", + "uid": "f53f5464-2142-4d42-8f5b-bdd30e5c1acf" + } + ], + "resource_version": "1035", + "self_link": null, + "uid": "3a41326f-04a0-41ef-9b75-7d9930634288" + }, + "spec": { + "active_deadline_seconds": null, + "affinity": null, + "automount_service_account_token": false, + "containers": [ + { + "args": null, + "command": [ + "/bin/bash", + "-ecx", + "exec /cockroach/cockroach.sh start --advertise-host=$(POD_NAME).test-cluster.cockroach-operator-system --certs-dir=/cockroach/cockroach-certs/ --http-port=8080 --sql-addr=:26257 --listen-addr=:26258 --log=\"{sinks: {stderr: {channels: [OPS, HEALTH], redact: true}}}\" --cache $(expr $MEMORY_LIMIT_MIB / 4)MiB --max-sql-memory $(expr $MEMORY_LIMIT_MIB / 4)MiB --join=test-cluster-0.test-cluster.cockroach-operator-system:26258,test-cluster-1.test-cluster.cockroach-operator-system:26258,test-cluster-2.test-cluster.cockroach-operator-system:26258" + ], + "env": [ + { + "name": "COCKROACH_CHANNEL", + "value": "kubernetes-operator-unknown", + "value_from": null + }, + { + "name": "POD_NAME", + "value": null, + "value_from": { + "config_map_key_ref": null, + "field_ref": { + "api_version": "v1", + "field_path": "metadata.name" + }, + "resource_field_ref": null, + "secret_key_ref": null + } + }, + { + "name": "GOMAXPROCS", + "value": null, + "value_from": { + "config_map_key_ref": null, + "field_ref": null, + "resource_field_ref": { + "container_name": null, + "divisor": "1", + "resource": "limits.cpu" + }, + "secret_key_ref": null + } + }, + { + "name": "MEMORY_LIMIT_MIB", + "value": null, + "value_from": { + "config_map_key_ref": null, + "field_ref": null, + "resource_field_ref": { + "container_name": null, + "divisor": "1Mi", + "resource": "limits.memory" + }, + "secret_key_ref": null + } + } + ], + "env_from": null, + "image": "cockroachdb/cockroach:v21.2.10", + "image_pull_policy": "IfNotPresent", + "lifecycle": { + "post_start": null, + "pre_stop": { + "_exec": { + "command": [ + "sh", + "-c", + "/cockroach/cockroach node drain --certs-dir=/cockroach/cockroach-certs/ || exit 0" + ] + }, + "http_get": null, + "tcp_socket": null + } + }, + "liveness_probe": null, + "name": "db", + "ports": [ + { + "container_port": 26258, + "host_ip": null, + "host_port": null, + "name": "grpc", + "protocol": "TCP" + }, + { + "container_port": 8080, + "host_ip": null, + "host_port": null, + "name": "http", + "protocol": "TCP" + }, + { + "container_port": 26257, + "host_ip": null, + "host_port": null, + "name": "sql", + "protocol": "TCP" + } + ], + "readiness_probe": { + "_exec": null, + "failure_threshold": 2, + "grpc": null, + "http_get": { + "host": null, + "http_headers": null, + "path": "/health?ready=1", + "port": "http", + "scheme": "HTTPS" + }, + "initial_delay_seconds": 10, + "period_seconds": 5, + "success_threshold": 1, + "tcp_socket": null, + "termination_grace_period_seconds": null, + "timeout_seconds": 1 + }, + "resources": { + "limits": { + "cpu": "2", + "memory": "2Gi" + }, + "requests": { + "cpu": "100m", + "memory": "1Gi" + } + }, + "security_context": null, + "startup_probe": null, + "stdin": null, + "stdin_once": null, + "termination_message_path": "/dev/termination-log", + "termination_message_policy": "File", + "tty": null, + "volume_devices": null, + "volume_mounts": [ + { + "mount_path": "/cockroach/cockroach-data/", + "mount_propagation": null, + "name": "datadir", + "read_only": null, + "sub_path": null, + "sub_path_expr": null + }, + { + "mount_path": "/cockroach/cockroach-certs/", + "mount_propagation": null, + "name": "emptydir", + "read_only": null, + "sub_path": null, + "sub_path_expr": null + } + ], + "working_dir": null + } + ], + "dns_config": null, + "dns_policy": "ClusterFirst", + "enable_service_links": true, + "ephemeral_containers": null, + "host_aliases": null, + "host_ipc": null, + "host_network": null, + "host_pid": null, + "host_users": null, + "hostname": "test-cluster-0", + "image_pull_secrets": null, + "init_containers": [ + { + "args": null, + "command": [ + "/bin/sh", + "-c", + ">- cp -p /cockroach/cockroach-certs-prestage/..data/* /cockroach/cockroach-certs/ && chmod 700 /cockroach/cockroach-certs/*.key && chown 1000581000:1000581000 /cockroach/cockroach-certs/*.key" + ], + "env": null, + "env_from": null, + "image": "cockroachdb/cockroach:v21.2.10", + "image_pull_policy": "IfNotPresent", + "lifecycle": null, + "liveness_probe": null, + "name": "db-init", + "ports": null, + "readiness_probe": null, + "resources": { + "limits": null, + "requests": null + }, + "security_context": { + "allow_privilege_escalation": false, + "capabilities": null, + "privileged": null, + "proc_mount": null, + "read_only_root_filesystem": null, + "run_as_group": null, + "run_as_non_root": null, + "run_as_user": 0, + "se_linux_options": null, + "seccomp_profile": null, + "windows_options": null + }, + "startup_probe": null, + "stdin": null, + "stdin_once": null, + "termination_message_path": "/dev/termination-log", + "termination_message_policy": "File", + "tty": null, + "volume_devices": null, + "volume_mounts": [ + { + "mount_path": "/cockroach/cockroach-certs-prestage/", + "mount_propagation": null, + "name": "certs", + "read_only": null, + "sub_path": null, + "sub_path_expr": null + }, + { + "mount_path": "/cockroach/cockroach-certs/", + "mount_propagation": null, + "name": "emptydir", + "read_only": null, + "sub_path": null, + "sub_path_expr": null + } + ], + "working_dir": null + } + ], + "node_name": "acto-cluster-0-worker", + "node_selector": null, + "os": null, + "overhead": null, + "preemption_policy": "PreemptLowerPriority", + "priority": 0, + "priority_class_name": null, + "readiness_gates": null, + "restart_policy": "Always", + "runtime_class_name": null, + "scheduler_name": "default-scheduler", + "security_context": { + "fs_group": 1000581000, + "fs_group_change_policy": null, + "run_as_group": null, + "run_as_non_root": null, + "run_as_user": 1000581000, + "se_linux_options": null, + "seccomp_profile": null, + "supplemental_groups": null, + "sysctls": null, + "windows_options": null + }, + "service_account": "test-cluster-sa", + "service_account_name": "test-cluster-sa", + "set_hostname_as_fqdn": null, + "share_process_namespace": null, + "subdomain": "test-cluster", + "termination_grace_period_seconds": 300, + "tolerations": [ + { + "effect": "NoExecute", + "key": "node.kubernetes.io/not-ready", + "operator": "Exists", + "toleration_seconds": 300, + "value": null + }, + { + "effect": "NoExecute", + "key": "node.kubernetes.io/unreachable", + "operator": "Exists", + "toleration_seconds": 300, + "value": null + } + ], + "topology_spread_constraints": null, + "volumes": [ + { + "aws_elastic_block_store": null, + "azure_disk": null, + "azure_file": null, + "cephfs": null, + "cinder": null, + "config_map": null, + "csi": null, + "downward_api": null, + "empty_dir": null, + "ephemeral": null, + "fc": null, + "flex_volume": null, + "flocker": null, + "gce_persistent_disk": null, + "git_repo": null, + "glusterfs": null, + "host_path": null, + "iscsi": null, + "name": "datadir", + "nfs": null, + "persistent_volume_claim": { + "claim_name": "datadir-test-cluster-0", + "read_only": null + }, + "photon_persistent_disk": null, + "portworx_volume": null, + "projected": null, + "quobyte": null, + "rbd": null, + "scale_io": null, + "secret": null, + "storageos": null, + "vsphere_volume": null + }, + { + "aws_elastic_block_store": null, + "azure_disk": null, + "azure_file": null, + "cephfs": null, + "cinder": null, + "config_map": null, + "csi": null, + "downward_api": null, + "empty_dir": { + "medium": null, + "size_limit": null + }, + "ephemeral": null, + "fc": null, + "flex_volume": null, + "flocker": null, + "gce_persistent_disk": null, + "git_repo": null, + "glusterfs": null, + "host_path": null, + "iscsi": null, + "name": "emptydir", + "nfs": null, + "persistent_volume_claim": null, + "photon_persistent_disk": null, + "portworx_volume": null, + "projected": null, + "quobyte": null, + "rbd": null, + "scale_io": null, + "secret": null, + "storageos": null, + "vsphere_volume": null + }, + { + "aws_elastic_block_store": null, + "azure_disk": null, + "azure_file": null, + "cephfs": null, + "cinder": null, + "config_map": null, + "csi": null, + "downward_api": null, + "empty_dir": null, + "ephemeral": null, + "fc": null, + "flex_volume": null, + "flocker": null, + "gce_persistent_disk": null, + "git_repo": null, + "glusterfs": null, + "host_path": null, + "iscsi": null, + "name": "certs", + "nfs": null, + "persistent_volume_claim": null, + "photon_persistent_disk": null, + "portworx_volume": null, + "projected": { + "default_mode": 400, + "sources": [ + { + "config_map": null, + "downward_api": null, + "secret": { + "items": [ + { + "key": "ca.crt", + "mode": 504, + "path": "ca.crt" + }, + { + "key": "tls.crt", + "mode": 504, + "path": "node.crt" + }, + { + "key": "tls.key", + "mode": 400, + "path": "node.key" + } + ], + "name": "test-cluster-node", + "optional": null + }, + "service_account_token": null + }, + { + "config_map": null, + "downward_api": null, + "secret": { + "items": [ + { + "key": "tls.crt", + "mode": 504, + "path": "client.root.crt" + }, + { + "key": "tls.key", + "mode": 400, + "path": "client.root.key" + } + ], + "name": "test-cluster-root", + "optional": null + }, + "service_account_token": null + } + ] + }, + "quobyte": null, + "rbd": null, + "scale_io": null, + "secret": null, + "storageos": null, + "vsphere_volume": null + } + ] + }, + "status": { + "conditions": [ + { + "last_probe_time": null, + "last_transition_time": "2023-05-04T20:31:02+00:00", + "message": null, + "reason": null, + "status": "True", + "type": "Initialized" + }, + { + "last_probe_time": null, + "last_transition_time": "2023-05-04T20:31:17+00:00", + "message": null, + "reason": null, + "status": "True", + "type": "Ready" + }, + { + "last_probe_time": null, + "last_transition_time": "2023-05-04T20:31:17+00:00", + "message": null, + "reason": null, + "status": "True", + "type": "ContainersReady" + }, + { + "last_probe_time": null, + "last_transition_time": "2023-05-04T20:31:02+00:00", + "message": null, + "reason": null, + "status": "True", + "type": "PodScheduled" + } + ], + "container_statuses": [ + { + "container_id": "containerd://81e44e3937e2943b153f21478c743b09aaf6729a5556d78fabed4374ea307eab", + "image": "docker.io/cockroachdb/cockroach:v21.2.10", + "image_id": "docker.io/library/import-2023-05-04@sha256:070cca8c19ddf0ae6bc2bd88819e394fef6131b6cd44edb93847d703a068c29c", + "last_state": { + "running": null, + "terminated": null, + "waiting": null + }, + "name": "db", + "ready": true, + "restart_count": 0, + "started": true, + "state": { + "running": { + "started_at": "2023-05-04T20:31:03+00:00" + }, + "terminated": null, + "waiting": null + } + } + ], + "ephemeral_container_statuses": null, + "host_ip": "172.18.0.5", + "init_container_statuses": [ + { + "container_id": "containerd://f6125d79ef93cf40968b0a21344b7b2704bc2357d4618d833121fcd757336057", + "image": "docker.io/cockroachdb/cockroach:v21.2.10", + "image_id": "docker.io/library/import-2023-05-04@sha256:070cca8c19ddf0ae6bc2bd88819e394fef6131b6cd44edb93847d703a068c29c", + "last_state": { + "running": null, + "terminated": null, + "waiting": null + }, + "name": "db-init", + "ready": true, + "restart_count": 0, + "started": null, + "state": { + "running": null, + "terminated": { + "container_id": "containerd://f6125d79ef93cf40968b0a21344b7b2704bc2357d4618d833121fcd757336057", + "exit_code": 0, + "finished_at": "2023-05-04T20:31:02+00:00", + "message": null, + "reason": "Completed", + "signal": null, + "started_at": "2023-05-04T20:31:02+00:00" + }, + "waiting": null + } + } + ], + "message": null, + "nominated_node_name": null, + "phase": "Running", + "pod_ip": "10.244.3.4", + "pod_i_ps": [ + { + "ip": "10.244.3.4" + } + ], + "qos_class": "Burstable", + "reason": null, + "start_time": "2023-05-04T20:31:02+00:00" + } + }, + "test-cluster-1": { + "api_version": null, + "kind": null, + "metadata": { + "annotations": null, + "creation_timestamp": "2023-05-04T20:30:58+00:00", + "deletion_grace_period_seconds": null, + "deletion_timestamp": null, + "finalizers": null, + "generate_name": "test-cluster-", + "generation": null, + "labels": { + "app.kubernetes.io/component": "database", + "app.kubernetes.io/instance": "test-cluster", + "app.kubernetes.io/name": "cockroachdb", + "controller-revision-hash": "test-cluster-76f9c78d88", + "crdb": "is-cool", + "statefulset.kubernetes.io/pod-name": "test-cluster-1" + }, + "managed_fields": [ + { + "api_version": "v1", + "fields_type": "FieldsV1", + "fields_v1": { + "f:metadata": { + "f:generateName": {}, + "f:labels": { + ".": {}, + "f:app.kubernetes.io/component": {}, + "f:app.kubernetes.io/instance": {}, + "f:app.kubernetes.io/name": {}, + "f:controller-revision-hash": {}, + "f:crdb": {}, + "f:statefulset.kubernetes.io/pod-name": {} + }, + "f:ownerReferences": { + ".": {}, + "k:{\"uid\":\"f53f5464-2142-4d42-8f5b-bdd30e5c1acf\"}": {} + } + }, + "f:spec": { + "f:automountServiceAccountToken": {}, + "f:containers": { + "k:{\"name\":\"db\"}": { + ".": {}, + "f:command": {}, + "f:env": { + ".": {}, + "k:{\"name\":\"COCKROACH_CHANNEL\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"GOMAXPROCS\"}": { + ".": {}, + "f:name": {}, + "f:valueFrom": { + ".": {}, + "f:resourceFieldRef": {} + } + }, + "k:{\"name\":\"MEMORY_LIMIT_MIB\"}": { + ".": {}, + "f:name": {}, + "f:valueFrom": { + ".": {}, + "f:resourceFieldRef": {} + } + }, + "k:{\"name\":\"POD_NAME\"}": { + ".": {}, + "f:name": {}, + "f:valueFrom": { + ".": {}, + "f:fieldRef": {} + } + } + }, + "f:image": {}, + "f:imagePullPolicy": {}, + "f:lifecycle": { + ".": {}, + "f:preStop": { + ".": {}, + "f:exec": { + ".": {}, + "f:command": {} + } + } + }, + "f:name": {}, + "f:ports": { + ".": {}, + "k:{\"containerPort\":8080,\"protocol\":\"TCP\"}": { + ".": {}, + "f:containerPort": {}, + "f:name": {}, + "f:protocol": {} + }, + "k:{\"containerPort\":26257,\"protocol\":\"TCP\"}": { + ".": {}, + "f:containerPort": {}, + "f:name": {}, + "f:protocol": {} + }, + "k:{\"containerPort\":26258,\"protocol\":\"TCP\"}": { + ".": {}, + "f:containerPort": {}, + "f:name": {}, + "f:protocol": {} + } + }, + "f:readinessProbe": { + ".": {}, + "f:failureThreshold": {}, + "f:httpGet": { + ".": {}, + "f:path": {}, + "f:port": {}, + "f:scheme": {} + }, + "f:initialDelaySeconds": {}, + "f:periodSeconds": {}, + "f:successThreshold": {}, + "f:timeoutSeconds": {} + }, + "f:resources": { + ".": {}, + "f:limits": { + ".": {}, + "f:cpu": {}, + "f:memory": {} + }, + "f:requests": { + ".": {}, + "f:cpu": {}, + "f:memory": {} + } + }, + "f:terminationMessagePath": {}, + "f:terminationMessagePolicy": {}, + "f:volumeMounts": { + ".": {}, + "k:{\"mountPath\":\"/cockroach/cockroach-certs/\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + }, + "k:{\"mountPath\":\"/cockroach/cockroach-data/\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + } + } + } + }, + "f:dnsPolicy": {}, + "f:enableServiceLinks": {}, + "f:hostname": {}, + "f:initContainers": { + ".": {}, + "k:{\"name\":\"db-init\"}": { + ".": {}, + "f:command": {}, + "f:image": {}, + "f:imagePullPolicy": {}, + "f:name": {}, + "f:resources": {}, + "f:securityContext": { + ".": {}, + "f:allowPrivilegeEscalation": {}, + "f:runAsUser": {} + }, + "f:terminationMessagePath": {}, + "f:terminationMessagePolicy": {}, + "f:volumeMounts": { + ".": {}, + "k:{\"mountPath\":\"/cockroach/cockroach-certs-prestage/\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + }, + "k:{\"mountPath\":\"/cockroach/cockroach-certs/\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + } + } + } + }, + "f:restartPolicy": {}, + "f:schedulerName": {}, + "f:securityContext": { + ".": {}, + "f:fsGroup": {}, + "f:runAsUser": {} + }, + "f:serviceAccount": {}, + "f:serviceAccountName": {}, + "f:subdomain": {}, + "f:terminationGracePeriodSeconds": {}, + "f:volumes": { + ".": {}, + "k:{\"name\":\"certs\"}": { + ".": {}, + "f:name": {}, + "f:projected": { + ".": {}, + "f:defaultMode": {}, + "f:sources": {} + } + }, + "k:{\"name\":\"datadir\"}": { + ".": {}, + "f:name": {}, + "f:persistentVolumeClaim": { + ".": {}, + "f:claimName": {} + } + }, + "k:{\"name\":\"emptydir\"}": { + ".": {}, + "f:emptyDir": {}, + "f:name": {} + } + } + } + }, + "manager": "kube-controller-manager", + "operation": "Update", + "subresource": null, + "time": "2023-05-04T20:30:58+00:00" + }, + { + "api_version": "v1", + "fields_type": "FieldsV1", + "fields_v1": { + "f:status": { + "f:conditions": { + "k:{\"type\":\"ContainersReady\"}": { + ".": {}, + "f:lastProbeTime": {}, + "f:lastTransitionTime": {}, + "f:status": {}, + "f:type": {} + }, + "k:{\"type\":\"Initialized\"}": { + ".": {}, + "f:lastProbeTime": {}, + "f:lastTransitionTime": {}, + "f:status": {}, + "f:type": {} + }, + "k:{\"type\":\"Ready\"}": { + ".": {}, + "f:lastProbeTime": {}, + "f:lastTransitionTime": {}, + "f:status": {}, + "f:type": {} + } + }, + "f:containerStatuses": {}, + "f:hostIP": {}, + "f:initContainerStatuses": {}, + "f:phase": {}, + "f:podIP": {}, + "f:podIPs": { + ".": {}, + "k:{\"ip\":\"10.244.1.4\"}": { + ".": {}, + "f:ip": {} + } + }, + "f:startTime": {} + } + }, + "manager": "kubelet", + "operation": "Update", + "subresource": "status", + "time": "2023-05-04T20:31:21+00:00" + } + ], + "name": "test-cluster-1", + "namespace": "cockroach-operator-system", + "owner_references": [ + { + "api_version": "apps/v1", + "block_owner_deletion": true, + "controller": true, + "kind": "StatefulSet", + "name": "test-cluster", + "uid": "f53f5464-2142-4d42-8f5b-bdd30e5c1acf" + } + ], + "resource_version": "1047", + "self_link": null, + "uid": "cc1555b0-c26a-4b7b-bec4-c44b82760466" + }, + "spec": { + "active_deadline_seconds": null, + "affinity": null, + "automount_service_account_token": false, + "containers": [ + { + "args": null, + "command": [ + "/bin/bash", + "-ecx", + "exec /cockroach/cockroach.sh start --advertise-host=$(POD_NAME).test-cluster.cockroach-operator-system --certs-dir=/cockroach/cockroach-certs/ --http-port=8080 --sql-addr=:26257 --listen-addr=:26258 --log=\"{sinks: {stderr: {channels: [OPS, HEALTH], redact: true}}}\" --cache $(expr $MEMORY_LIMIT_MIB / 4)MiB --max-sql-memory $(expr $MEMORY_LIMIT_MIB / 4)MiB --join=test-cluster-0.test-cluster.cockroach-operator-system:26258,test-cluster-1.test-cluster.cockroach-operator-system:26258,test-cluster-2.test-cluster.cockroach-operator-system:26258" + ], + "env": [ + { + "name": "COCKROACH_CHANNEL", + "value": "kubernetes-operator-unknown", + "value_from": null + }, + { + "name": "POD_NAME", + "value": null, + "value_from": { + "config_map_key_ref": null, + "field_ref": { + "api_version": "v1", + "field_path": "metadata.name" + }, + "resource_field_ref": null, + "secret_key_ref": null + } + }, + { + "name": "GOMAXPROCS", + "value": null, + "value_from": { + "config_map_key_ref": null, + "field_ref": null, + "resource_field_ref": { + "container_name": null, + "divisor": "1", + "resource": "limits.cpu" + }, + "secret_key_ref": null + } + }, + { + "name": "MEMORY_LIMIT_MIB", + "value": null, + "value_from": { + "config_map_key_ref": null, + "field_ref": null, + "resource_field_ref": { + "container_name": null, + "divisor": "1Mi", + "resource": "limits.memory" + }, + "secret_key_ref": null + } + } + ], + "env_from": null, + "image": "cockroachdb/cockroach:v21.2.10", + "image_pull_policy": "IfNotPresent", + "lifecycle": { + "post_start": null, + "pre_stop": { + "_exec": { + "command": [ + "sh", + "-c", + "/cockroach/cockroach node drain --certs-dir=/cockroach/cockroach-certs/ || exit 0" + ] + }, + "http_get": null, + "tcp_socket": null + } + }, + "liveness_probe": null, + "name": "db", + "ports": [ + { + "container_port": 26258, + "host_ip": null, + "host_port": null, + "name": "grpc", + "protocol": "TCP" + }, + { + "container_port": 8080, + "host_ip": null, + "host_port": null, + "name": "http", + "protocol": "TCP" + }, + { + "container_port": 26257, + "host_ip": null, + "host_port": null, + "name": "sql", + "protocol": "TCP" + } + ], + "readiness_probe": { + "_exec": null, + "failure_threshold": 2, + "grpc": null, + "http_get": { + "host": null, + "http_headers": null, + "path": "/health?ready=1", + "port": "http", + "scheme": "HTTPS" + }, + "initial_delay_seconds": 10, + "period_seconds": 5, + "success_threshold": 1, + "tcp_socket": null, + "termination_grace_period_seconds": null, + "timeout_seconds": 1 + }, + "resources": { + "limits": { + "cpu": "2", + "memory": "2Gi" + }, + "requests": { + "cpu": "100m", + "memory": "1Gi" + } + }, + "security_context": null, + "startup_probe": null, + "stdin": null, + "stdin_once": null, + "termination_message_path": "/dev/termination-log", + "termination_message_policy": "File", + "tty": null, + "volume_devices": null, + "volume_mounts": [ + { + "mount_path": "/cockroach/cockroach-data/", + "mount_propagation": null, + "name": "datadir", + "read_only": null, + "sub_path": null, + "sub_path_expr": null + }, + { + "mount_path": "/cockroach/cockroach-certs/", + "mount_propagation": null, + "name": "emptydir", + "read_only": null, + "sub_path": null, + "sub_path_expr": null + } + ], + "working_dir": null + } + ], + "dns_config": null, + "dns_policy": "ClusterFirst", + "enable_service_links": true, + "ephemeral_containers": null, + "host_aliases": null, + "host_ipc": null, + "host_network": null, + "host_pid": null, + "host_users": null, + "hostname": "test-cluster-1", + "image_pull_secrets": null, + "init_containers": [ + { + "args": null, + "command": [ + "/bin/sh", + "-c", + ">- cp -p /cockroach/cockroach-certs-prestage/..data/* /cockroach/cockroach-certs/ && chmod 700 /cockroach/cockroach-certs/*.key && chown 1000581000:1000581000 /cockroach/cockroach-certs/*.key" + ], + "env": null, + "env_from": null, + "image": "cockroachdb/cockroach:v21.2.10", + "image_pull_policy": "IfNotPresent", + "lifecycle": null, + "liveness_probe": null, + "name": "db-init", + "ports": null, + "readiness_probe": null, + "resources": { + "limits": null, + "requests": null + }, + "security_context": { + "allow_privilege_escalation": false, + "capabilities": null, + "privileged": null, + "proc_mount": null, + "read_only_root_filesystem": null, + "run_as_group": null, + "run_as_non_root": null, + "run_as_user": 0, + "se_linux_options": null, + "seccomp_profile": null, + "windows_options": null + }, + "startup_probe": null, + "stdin": null, + "stdin_once": null, + "termination_message_path": "/dev/termination-log", + "termination_message_policy": "File", + "tty": null, + "volume_devices": null, + "volume_mounts": [ + { + "mount_path": "/cockroach/cockroach-certs-prestage/", + "mount_propagation": null, + "name": "certs", + "read_only": null, + "sub_path": null, + "sub_path_expr": null + }, + { + "mount_path": "/cockroach/cockroach-certs/", + "mount_propagation": null, + "name": "emptydir", + "read_only": null, + "sub_path": null, + "sub_path_expr": null + } + ], + "working_dir": null + } + ], + "node_name": "acto-cluster-0-worker3", + "node_selector": null, + "os": null, + "overhead": null, + "preemption_policy": "PreemptLowerPriority", + "priority": 0, + "priority_class_name": null, + "readiness_gates": null, + "restart_policy": "Always", + "runtime_class_name": null, + "scheduler_name": "default-scheduler", + "security_context": { + "fs_group": 1000581000, + "fs_group_change_policy": null, + "run_as_group": null, + "run_as_non_root": null, + "run_as_user": 1000581000, + "se_linux_options": null, + "seccomp_profile": null, + "supplemental_groups": null, + "sysctls": null, + "windows_options": null + }, + "service_account": "test-cluster-sa", + "service_account_name": "test-cluster-sa", + "set_hostname_as_fqdn": null, + "share_process_namespace": null, + "subdomain": "test-cluster", + "termination_grace_period_seconds": 300, + "tolerations": [ + { + "effect": "NoExecute", + "key": "node.kubernetes.io/not-ready", + "operator": "Exists", + "toleration_seconds": 300, + "value": null + }, + { + "effect": "NoExecute", + "key": "node.kubernetes.io/unreachable", + "operator": "Exists", + "toleration_seconds": 300, + "value": null + } + ], + "topology_spread_constraints": null, + "volumes": [ + { + "aws_elastic_block_store": null, + "azure_disk": null, + "azure_file": null, + "cephfs": null, + "cinder": null, + "config_map": null, + "csi": null, + "downward_api": null, + "empty_dir": null, + "ephemeral": null, + "fc": null, + "flex_volume": null, + "flocker": null, + "gce_persistent_disk": null, + "git_repo": null, + "glusterfs": null, + "host_path": null, + "iscsi": null, + "name": "datadir", + "nfs": null, + "persistent_volume_claim": { + "claim_name": "datadir-test-cluster-1", + "read_only": null + }, + "photon_persistent_disk": null, + "portworx_volume": null, + "projected": null, + "quobyte": null, + "rbd": null, + "scale_io": null, + "secret": null, + "storageos": null, + "vsphere_volume": null + }, + { + "aws_elastic_block_store": null, + "azure_disk": null, + "azure_file": null, + "cephfs": null, + "cinder": null, + "config_map": null, + "csi": null, + "downward_api": null, + "empty_dir": { + "medium": null, + "size_limit": null + }, + "ephemeral": null, + "fc": null, + "flex_volume": null, + "flocker": null, + "gce_persistent_disk": null, + "git_repo": null, + "glusterfs": null, + "host_path": null, + "iscsi": null, + "name": "emptydir", + "nfs": null, + "persistent_volume_claim": null, + "photon_persistent_disk": null, + "portworx_volume": null, + "projected": null, + "quobyte": null, + "rbd": null, + "scale_io": null, + "secret": null, + "storageos": null, + "vsphere_volume": null + }, + { + "aws_elastic_block_store": null, + "azure_disk": null, + "azure_file": null, + "cephfs": null, + "cinder": null, + "config_map": null, + "csi": null, + "downward_api": null, + "empty_dir": null, + "ephemeral": null, + "fc": null, + "flex_volume": null, + "flocker": null, + "gce_persistent_disk": null, + "git_repo": null, + "glusterfs": null, + "host_path": null, + "iscsi": null, + "name": "certs", + "nfs": null, + "persistent_volume_claim": null, + "photon_persistent_disk": null, + "portworx_volume": null, + "projected": { + "default_mode": 400, + "sources": [ + { + "config_map": null, + "downward_api": null, + "secret": { + "items": [ + { + "key": "ca.crt", + "mode": 504, + "path": "ca.crt" + }, + { + "key": "tls.crt", + "mode": 504, + "path": "node.crt" + }, + { + "key": "tls.key", + "mode": 400, + "path": "node.key" + } + ], + "name": "test-cluster-node", + "optional": null + }, + "service_account_token": null + }, + { + "config_map": null, + "downward_api": null, + "secret": { + "items": [ + { + "key": "tls.crt", + "mode": 504, + "path": "client.root.crt" + }, + { + "key": "tls.key", + "mode": 400, + "path": "client.root.key" + } + ], + "name": "test-cluster-root", + "optional": null + }, + "service_account_token": null + } + ] + }, + "quobyte": null, + "rbd": null, + "scale_io": null, + "secret": null, + "storageos": null, + "vsphere_volume": null + } + ] + }, + "status": { + "conditions": [ + { + "last_probe_time": null, + "last_transition_time": "2023-05-04T20:31:01+00:00", + "message": null, + "reason": null, + "status": "True", + "type": "Initialized" + }, + { + "last_probe_time": null, + "last_transition_time": "2023-05-04T20:31:21+00:00", + "message": null, + "reason": null, + "status": "True", + "type": "Ready" + }, + { + "last_probe_time": null, + "last_transition_time": "2023-05-04T20:31:21+00:00", + "message": null, + "reason": null, + "status": "True", + "type": "ContainersReady" + }, + { + "last_probe_time": null, + "last_transition_time": "2023-05-04T20:31:01+00:00", + "message": null, + "reason": null, + "status": "True", + "type": "PodScheduled" + } + ], + "container_statuses": [ + { + "container_id": "containerd://ca7b7418474ee28fca7677e704f5a109803bbdb7ce6872353e6e921433be08a8", + "image": "docker.io/cockroachdb/cockroach:v21.2.10", + "image_id": "docker.io/library/import-2023-05-04@sha256:070cca8c19ddf0ae6bc2bd88819e394fef6131b6cd44edb93847d703a068c29c", + "last_state": { + "running": null, + "terminated": null, + "waiting": null + }, + "name": "db", + "ready": true, + "restart_count": 0, + "started": true, + "state": { + "running": { + "started_at": "2023-05-04T20:31:01+00:00" + }, + "terminated": null, + "waiting": null + } + } + ], + "ephemeral_container_statuses": null, + "host_ip": "172.18.0.3", + "init_container_statuses": [ + { + "container_id": "containerd://52c32f9d159a546b0ed1baa3b717c7cff2b21f35e28b5a587e41e92b29323f50", + "image": "docker.io/cockroachdb/cockroach:v21.2.10", + "image_id": "docker.io/library/import-2023-05-04@sha256:070cca8c19ddf0ae6bc2bd88819e394fef6131b6cd44edb93847d703a068c29c", + "last_state": { + "running": null, + "terminated": null, + "waiting": null + }, + "name": "db-init", + "ready": true, + "restart_count": 0, + "started": null, + "state": { + "running": null, + "terminated": { + "container_id": "containerd://52c32f9d159a546b0ed1baa3b717c7cff2b21f35e28b5a587e41e92b29323f50", + "exit_code": 0, + "finished_at": "2023-05-04T20:31:01+00:00", + "message": null, + "reason": "Completed", + "signal": null, + "started_at": "2023-05-04T20:31:01+00:00" + }, + "waiting": null + } + } + ], + "message": null, + "nominated_node_name": null, + "phase": "Running", + "pod_ip": "10.244.1.4", + "pod_i_ps": [ + { + "ip": "10.244.1.4" + } + ], + "qos_class": "Burstable", + "reason": null, + "start_time": "2023-05-04T20:31:01+00:00" + } + }, + "test-cluster-2": { + "api_version": null, + "kind": null, + "metadata": { + "annotations": null, + "creation_timestamp": "2023-05-04T20:30:58+00:00", + "deletion_grace_period_seconds": null, + "deletion_timestamp": null, + "finalizers": null, + "generate_name": "test-cluster-", + "generation": null, + "labels": { + "app.kubernetes.io/component": "database", + "app.kubernetes.io/instance": "test-cluster", + "app.kubernetes.io/name": "cockroachdb", + "controller-revision-hash": "test-cluster-76f9c78d88", + "crdb": "is-cool", + "statefulset.kubernetes.io/pod-name": "test-cluster-2" + }, + "managed_fields": [ + { + "api_version": "v1", + "fields_type": "FieldsV1", + "fields_v1": { + "f:metadata": { + "f:generateName": {}, + "f:labels": { + ".": {}, + "f:app.kubernetes.io/component": {}, + "f:app.kubernetes.io/instance": {}, + "f:app.kubernetes.io/name": {}, + "f:controller-revision-hash": {}, + "f:crdb": {}, + "f:statefulset.kubernetes.io/pod-name": {} + }, + "f:ownerReferences": { + ".": {}, + "k:{\"uid\":\"f53f5464-2142-4d42-8f5b-bdd30e5c1acf\"}": {} + } + }, + "f:spec": { + "f:automountServiceAccountToken": {}, + "f:containers": { + "k:{\"name\":\"db\"}": { + ".": {}, + "f:command": {}, + "f:env": { + ".": {}, + "k:{\"name\":\"COCKROACH_CHANNEL\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"GOMAXPROCS\"}": { + ".": {}, + "f:name": {}, + "f:valueFrom": { + ".": {}, + "f:resourceFieldRef": {} + } + }, + "k:{\"name\":\"MEMORY_LIMIT_MIB\"}": { + ".": {}, + "f:name": {}, + "f:valueFrom": { + ".": {}, + "f:resourceFieldRef": {} + } + }, + "k:{\"name\":\"POD_NAME\"}": { + ".": {}, + "f:name": {}, + "f:valueFrom": { + ".": {}, + "f:fieldRef": {} + } + } + }, + "f:image": {}, + "f:imagePullPolicy": {}, + "f:lifecycle": { + ".": {}, + "f:preStop": { + ".": {}, + "f:exec": { + ".": {}, + "f:command": {} + } + } + }, + "f:name": {}, + "f:ports": { + ".": {}, + "k:{\"containerPort\":8080,\"protocol\":\"TCP\"}": { + ".": {}, + "f:containerPort": {}, + "f:name": {}, + "f:protocol": {} + }, + "k:{\"containerPort\":26257,\"protocol\":\"TCP\"}": { + ".": {}, + "f:containerPort": {}, + "f:name": {}, + "f:protocol": {} + }, + "k:{\"containerPort\":26258,\"protocol\":\"TCP\"}": { + ".": {}, + "f:containerPort": {}, + "f:name": {}, + "f:protocol": {} + } + }, + "f:readinessProbe": { + ".": {}, + "f:failureThreshold": {}, + "f:httpGet": { + ".": {}, + "f:path": {}, + "f:port": {}, + "f:scheme": {} + }, + "f:initialDelaySeconds": {}, + "f:periodSeconds": {}, + "f:successThreshold": {}, + "f:timeoutSeconds": {} + }, + "f:resources": { + ".": {}, + "f:limits": { + ".": {}, + "f:cpu": {}, + "f:memory": {} + }, + "f:requests": { + ".": {}, + "f:cpu": {}, + "f:memory": {} + } + }, + "f:terminationMessagePath": {}, + "f:terminationMessagePolicy": {}, + "f:volumeMounts": { + ".": {}, + "k:{\"mountPath\":\"/cockroach/cockroach-certs/\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + }, + "k:{\"mountPath\":\"/cockroach/cockroach-data/\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + } + } + } + }, + "f:dnsPolicy": {}, + "f:enableServiceLinks": {}, + "f:hostname": {}, + "f:initContainers": { + ".": {}, + "k:{\"name\":\"db-init\"}": { + ".": {}, + "f:command": {}, + "f:image": {}, + "f:imagePullPolicy": {}, + "f:name": {}, + "f:resources": {}, + "f:securityContext": { + ".": {}, + "f:allowPrivilegeEscalation": {}, + "f:runAsUser": {} + }, + "f:terminationMessagePath": {}, + "f:terminationMessagePolicy": {}, + "f:volumeMounts": { + ".": {}, + "k:{\"mountPath\":\"/cockroach/cockroach-certs-prestage/\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + }, + "k:{\"mountPath\":\"/cockroach/cockroach-certs/\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + } + } + } + }, + "f:restartPolicy": {}, + "f:schedulerName": {}, + "f:securityContext": { + ".": {}, + "f:fsGroup": {}, + "f:runAsUser": {} + }, + "f:serviceAccount": {}, + "f:serviceAccountName": {}, + "f:subdomain": {}, + "f:terminationGracePeriodSeconds": {}, + "f:volumes": { + ".": {}, + "k:{\"name\":\"certs\"}": { + ".": {}, + "f:name": {}, + "f:projected": { + ".": {}, + "f:defaultMode": {}, + "f:sources": {} + } + }, + "k:{\"name\":\"datadir\"}": { + ".": {}, + "f:name": {}, + "f:persistentVolumeClaim": { + ".": {}, + "f:claimName": {} + } + }, + "k:{\"name\":\"emptydir\"}": { + ".": {}, + "f:emptyDir": {}, + "f:name": {} + } + } + } + }, + "manager": "kube-controller-manager", + "operation": "Update", + "subresource": null, + "time": "2023-05-04T20:30:58+00:00" + }, + { + "api_version": "v1", + "fields_type": "FieldsV1", + "fields_v1": { + "f:status": { + "f:conditions": { + "k:{\"type\":\"ContainersReady\"}": { + ".": {}, + "f:lastProbeTime": {}, + "f:lastTransitionTime": {}, + "f:status": {}, + "f:type": {} + }, + "k:{\"type\":\"Initialized\"}": { + ".": {}, + "f:lastProbeTime": {}, + "f:lastTransitionTime": {}, + "f:status": {}, + "f:type": {} + }, + "k:{\"type\":\"Ready\"}": { + ".": {}, + "f:lastProbeTime": {}, + "f:lastTransitionTime": {}, + "f:status": {}, + "f:type": {} + } + }, + "f:containerStatuses": {}, + "f:hostIP": {}, + "f:initContainerStatuses": {}, + "f:phase": {}, + "f:podIP": {}, + "f:podIPs": { + ".": {}, + "k:{\"ip\":\"10.244.2.4\"}": { + ".": {}, + "f:ip": {} + } + }, + "f:startTime": {} + } + }, + "manager": "kubelet", + "operation": "Update", + "subresource": "status", + "time": "2023-05-04T20:31:13+00:00" + } + ], + "name": "test-cluster-2", + "namespace": "cockroach-operator-system", + "owner_references": [ + { + "api_version": "apps/v1", + "block_owner_deletion": true, + "controller": true, + "kind": "StatefulSet", + "name": "test-cluster", + "uid": "f53f5464-2142-4d42-8f5b-bdd30e5c1acf" + } + ], + "resource_version": "1020", + "self_link": null, + "uid": "30cdd852-14b8-4fc7-a7f6-b3dfe6ebaf1d" + }, + "spec": { + "active_deadline_seconds": null, + "affinity": null, + "automount_service_account_token": false, + "containers": [ + { + "args": null, + "command": [ + "/bin/bash", + "-ecx", + "exec /cockroach/cockroach.sh start --advertise-host=$(POD_NAME).test-cluster.cockroach-operator-system --certs-dir=/cockroach/cockroach-certs/ --http-port=8080 --sql-addr=:26257 --listen-addr=:26258 --log=\"{sinks: {stderr: {channels: [OPS, HEALTH], redact: true}}}\" --cache $(expr $MEMORY_LIMIT_MIB / 4)MiB --max-sql-memory $(expr $MEMORY_LIMIT_MIB / 4)MiB --join=test-cluster-0.test-cluster.cockroach-operator-system:26258,test-cluster-1.test-cluster.cockroach-operator-system:26258,test-cluster-2.test-cluster.cockroach-operator-system:26258" + ], + "env": [ + { + "name": "COCKROACH_CHANNEL", + "value": "kubernetes-operator-unknown", + "value_from": null + }, + { + "name": "POD_NAME", + "value": null, + "value_from": { + "config_map_key_ref": null, + "field_ref": { + "api_version": "v1", + "field_path": "metadata.name" + }, + "resource_field_ref": null, + "secret_key_ref": null + } + }, + { + "name": "GOMAXPROCS", + "value": null, + "value_from": { + "config_map_key_ref": null, + "field_ref": null, + "resource_field_ref": { + "container_name": null, + "divisor": "1", + "resource": "limits.cpu" + }, + "secret_key_ref": null + } + }, + { + "name": "MEMORY_LIMIT_MIB", + "value": null, + "value_from": { + "config_map_key_ref": null, + "field_ref": null, + "resource_field_ref": { + "container_name": null, + "divisor": "1Mi", + "resource": "limits.memory" + }, + "secret_key_ref": null + } + } + ], + "env_from": null, + "image": "cockroachdb/cockroach:v21.2.10", + "image_pull_policy": "IfNotPresent", + "lifecycle": { + "post_start": null, + "pre_stop": { + "_exec": { + "command": [ + "sh", + "-c", + "/cockroach/cockroach node drain --certs-dir=/cockroach/cockroach-certs/ || exit 0" + ] + }, + "http_get": null, + "tcp_socket": null + } + }, + "liveness_probe": null, + "name": "db", + "ports": [ + { + "container_port": 26258, + "host_ip": null, + "host_port": null, + "name": "grpc", + "protocol": "TCP" + }, + { + "container_port": 8080, + "host_ip": null, + "host_port": null, + "name": "http", + "protocol": "TCP" + }, + { + "container_port": 26257, + "host_ip": null, + "host_port": null, + "name": "sql", + "protocol": "TCP" + } + ], + "readiness_probe": { + "_exec": null, + "failure_threshold": 2, + "grpc": null, + "http_get": { + "host": null, + "http_headers": null, + "path": "/health?ready=1", + "port": "http", + "scheme": "HTTPS" + }, + "initial_delay_seconds": 10, + "period_seconds": 5, + "success_threshold": 1, + "tcp_socket": null, + "termination_grace_period_seconds": null, + "timeout_seconds": 1 + }, + "resources": { + "limits": { + "cpu": "2", + "memory": "2Gi" + }, + "requests": { + "cpu": "100m", + "memory": "1Gi" + } + }, + "security_context": null, + "startup_probe": null, + "stdin": null, + "stdin_once": null, + "termination_message_path": "/dev/termination-log", + "termination_message_policy": "File", + "tty": null, + "volume_devices": null, + "volume_mounts": [ + { + "mount_path": "/cockroach/cockroach-data/", + "mount_propagation": null, + "name": "datadir", + "read_only": null, + "sub_path": null, + "sub_path_expr": null + }, + { + "mount_path": "/cockroach/cockroach-certs/", + "mount_propagation": null, + "name": "emptydir", + "read_only": null, + "sub_path": null, + "sub_path_expr": null + } + ], + "working_dir": null + } + ], + "dns_config": null, + "dns_policy": "ClusterFirst", + "enable_service_links": true, + "ephemeral_containers": null, + "host_aliases": null, + "host_ipc": null, + "host_network": null, + "host_pid": null, + "host_users": null, + "hostname": "test-cluster-2", + "image_pull_secrets": null, + "init_containers": [ + { + "args": null, + "command": [ + "/bin/sh", + "-c", + ">- cp -p /cockroach/cockroach-certs-prestage/..data/* /cockroach/cockroach-certs/ && chmod 700 /cockroach/cockroach-certs/*.key && chown 1000581000:1000581000 /cockroach/cockroach-certs/*.key" + ], + "env": null, + "env_from": null, + "image": "cockroachdb/cockroach:v21.2.10", + "image_pull_policy": "IfNotPresent", + "lifecycle": null, + "liveness_probe": null, + "name": "db-init", + "ports": null, + "readiness_probe": null, + "resources": { + "limits": null, + "requests": null + }, + "security_context": { + "allow_privilege_escalation": false, + "capabilities": null, + "privileged": null, + "proc_mount": null, + "read_only_root_filesystem": null, + "run_as_group": null, + "run_as_non_root": null, + "run_as_user": 0, + "se_linux_options": null, + "seccomp_profile": null, + "windows_options": null + }, + "startup_probe": null, + "stdin": null, + "stdin_once": null, + "termination_message_path": "/dev/termination-log", + "termination_message_policy": "File", + "tty": null, + "volume_devices": null, + "volume_mounts": [ + { + "mount_path": "/cockroach/cockroach-certs-prestage/", + "mount_propagation": null, + "name": "certs", + "read_only": null, + "sub_path": null, + "sub_path_expr": null + }, + { + "mount_path": "/cockroach/cockroach-certs/", + "mount_propagation": null, + "name": "emptydir", + "read_only": null, + "sub_path": null, + "sub_path_expr": null + } + ], + "working_dir": null + } + ], + "node_name": "acto-cluster-0-worker2", + "node_selector": null, + "os": null, + "overhead": null, + "preemption_policy": "PreemptLowerPriority", + "priority": 0, + "priority_class_name": null, + "readiness_gates": null, + "restart_policy": "Always", + "runtime_class_name": null, + "scheduler_name": "default-scheduler", + "security_context": { + "fs_group": 1000581000, + "fs_group_change_policy": null, + "run_as_group": null, + "run_as_non_root": null, + "run_as_user": 1000581000, + "se_linux_options": null, + "seccomp_profile": null, + "supplemental_groups": null, + "sysctls": null, + "windows_options": null + }, + "service_account": "test-cluster-sa", + "service_account_name": "test-cluster-sa", + "set_hostname_as_fqdn": null, + "share_process_namespace": null, + "subdomain": "test-cluster", + "termination_grace_period_seconds": 300, + "tolerations": [ + { + "effect": "NoExecute", + "key": "node.kubernetes.io/not-ready", + "operator": "Exists", + "toleration_seconds": 300, + "value": null + }, + { + "effect": "NoExecute", + "key": "node.kubernetes.io/unreachable", + "operator": "Exists", + "toleration_seconds": 300, + "value": null + } + ], + "topology_spread_constraints": null, + "volumes": [ + { + "aws_elastic_block_store": null, + "azure_disk": null, + "azure_file": null, + "cephfs": null, + "cinder": null, + "config_map": null, + "csi": null, + "downward_api": null, + "empty_dir": null, + "ephemeral": null, + "fc": null, + "flex_volume": null, + "flocker": null, + "gce_persistent_disk": null, + "git_repo": null, + "glusterfs": null, + "host_path": null, + "iscsi": null, + "name": "datadir", + "nfs": null, + "persistent_volume_claim": { + "claim_name": "datadir-test-cluster-2", + "read_only": null + }, + "photon_persistent_disk": null, + "portworx_volume": null, + "projected": null, + "quobyte": null, + "rbd": null, + "scale_io": null, + "secret": null, + "storageos": null, + "vsphere_volume": null + }, + { + "aws_elastic_block_store": null, + "azure_disk": null, + "azure_file": null, + "cephfs": null, + "cinder": null, + "config_map": null, + "csi": null, + "downward_api": null, + "empty_dir": { + "medium": null, + "size_limit": null + }, + "ephemeral": null, + "fc": null, + "flex_volume": null, + "flocker": null, + "gce_persistent_disk": null, + "git_repo": null, + "glusterfs": null, + "host_path": null, + "iscsi": null, + "name": "emptydir", + "nfs": null, + "persistent_volume_claim": null, + "photon_persistent_disk": null, + "portworx_volume": null, + "projected": null, + "quobyte": null, + "rbd": null, + "scale_io": null, + "secret": null, + "storageos": null, + "vsphere_volume": null + }, + { + "aws_elastic_block_store": null, + "azure_disk": null, + "azure_file": null, + "cephfs": null, + "cinder": null, + "config_map": null, + "csi": null, + "downward_api": null, + "empty_dir": null, + "ephemeral": null, + "fc": null, + "flex_volume": null, + "flocker": null, + "gce_persistent_disk": null, + "git_repo": null, + "glusterfs": null, + "host_path": null, + "iscsi": null, + "name": "certs", + "nfs": null, + "persistent_volume_claim": null, + "photon_persistent_disk": null, + "portworx_volume": null, + "projected": { + "default_mode": 400, + "sources": [ + { + "config_map": null, + "downward_api": null, + "secret": { + "items": [ + { + "key": "ca.crt", + "mode": 504, + "path": "ca.crt" + }, + { + "key": "tls.crt", + "mode": 504, + "path": "node.crt" + }, + { + "key": "tls.key", + "mode": 400, + "path": "node.key" + } + ], + "name": "test-cluster-node", + "optional": null + }, + "service_account_token": null + }, + { + "config_map": null, + "downward_api": null, + "secret": { + "items": [ + { + "key": "tls.crt", + "mode": 504, + "path": "client.root.crt" + }, + { + "key": "tls.key", + "mode": 400, + "path": "client.root.key" + } + ], + "name": "test-cluster-root", + "optional": null + }, + "service_account_token": null + } + ] + }, + "quobyte": null, + "rbd": null, + "scale_io": null, + "secret": null, + "storageos": null, + "vsphere_volume": null + } + ] + }, + "status": { + "conditions": [ + { + "last_probe_time": null, + "last_transition_time": "2023-05-04T20:31:03+00:00", + "message": null, + "reason": null, + "status": "True", + "type": "Initialized" + }, + { + "last_probe_time": null, + "last_transition_time": "2023-05-04T20:31:13+00:00", + "message": null, + "reason": null, + "status": "True", + "type": "Ready" + }, + { + "last_probe_time": null, + "last_transition_time": "2023-05-04T20:31:13+00:00", + "message": null, + "reason": null, + "status": "True", + "type": "ContainersReady" + }, + { + "last_probe_time": null, + "last_transition_time": "2023-05-04T20:31:03+00:00", + "message": null, + "reason": null, + "status": "True", + "type": "PodScheduled" + } + ], + "container_statuses": [ + { + "container_id": "containerd://2f544903b0b636dbca668a30339a5f6d31026753d3566370f99b6d54f5eaed73", + "image": "docker.io/cockroachdb/cockroach:v21.2.10", + "image_id": "docker.io/library/import-2023-05-04@sha256:070cca8c19ddf0ae6bc2bd88819e394fef6131b6cd44edb93847d703a068c29c", + "last_state": { + "running": null, + "terminated": null, + "waiting": null + }, + "name": "db", + "ready": true, + "restart_count": 0, + "started": true, + "state": { + "running": { + "started_at": "2023-05-04T20:31:03+00:00" + }, + "terminated": null, + "waiting": null + } + } + ], + "ephemeral_container_statuses": null, + "host_ip": "172.18.0.6", + "init_container_statuses": [ + { + "container_id": "containerd://f9489fd69bbc0e8097b9546402583a04b9d5ae009a5940ffec5272ca8d642b31", + "image": "docker.io/cockroachdb/cockroach:v21.2.10", + "image_id": "docker.io/library/import-2023-05-04@sha256:070cca8c19ddf0ae6bc2bd88819e394fef6131b6cd44edb93847d703a068c29c", + "last_state": { + "running": null, + "terminated": null, + "waiting": null + }, + "name": "db-init", + "ready": true, + "restart_count": 0, + "started": null, + "state": { + "running": null, + "terminated": { + "container_id": "containerd://f9489fd69bbc0e8097b9546402583a04b9d5ae009a5940ffec5272ca8d642b31", + "exit_code": 0, + "finished_at": "2023-05-04T20:31:03+00:00", + "message": null, + "reason": "Completed", + "signal": null, + "started_at": "2023-05-04T20:31:03+00:00" + }, + "waiting": null + } + } + ], + "message": null, + "nominated_node_name": null, + "phase": "Running", + "pod_ip": "10.244.2.4", + "pod_i_ps": [ + { + "ip": "10.244.2.4" + } + ], + "qos_class": "Burstable", + "reason": null, + "start_time": "2023-05-04T20:31:03+00:00" + } + } + }, + "deployment_pods": { + "cockroach-operator-manager": [ + { + "api_version": null, + "kind": null, + "metadata": { + "annotations": null, + "creation_timestamp": "2023-05-04T20:30:52+00:00", + "deletion_grace_period_seconds": null, + "deletion_timestamp": null, + "finalizers": null, + "generate_name": "cockroach-operator-manager-64c489884-", + "generation": null, + "labels": { + "acto/tag": "operator-pod", + "app": "cockroach-operator", + "pod-template-hash": "64c489884" + }, + "managed_fields": [ + { + "api_version": "v1", + "fields_type": "FieldsV1", + "fields_v1": { + "f:metadata": { + "f:generateName": {}, + "f:labels": { + ".": {}, + "f:acto/tag": {}, + "f:app": {}, + "f:pod-template-hash": {} + }, + "f:ownerReferences": { + ".": {}, + "k:{\"uid\":\"be708d8a-e777-47d2-951f-3826c77ce527\"}": {} + } + }, + "f:spec": { + "f:containers": { + "k:{\"name\":\"cockroach-operator\"}": { + ".": {}, + "f:args": {}, + "f:env": { + ".": {}, + "k:{\"name\":\"NAMESPACE\"}": { + ".": {}, + "f:name": {}, + "f:valueFrom": { + ".": {}, + "f:fieldRef": {} + } + }, + "k:{\"name\":\"OPERATOR_NAME\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"POD_NAME\"}": { + ".": {}, + "f:name": {}, + "f:valueFrom": { + ".": {}, + "f:fieldRef": {} + } + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v20_1_11\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v20_1_12\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v20_1_13\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v20_1_15\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v20_1_16\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v20_1_17\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v20_1_4\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v20_1_5\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v20_1_8\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v20_2_0\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v20_2_1\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v20_2_10\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v20_2_11\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v20_2_12\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v20_2_13\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v20_2_14\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v20_2_15\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v20_2_16\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v20_2_17\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v20_2_18\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v20_2_19\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v20_2_2\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v20_2_3\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v20_2_4\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v20_2_5\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v20_2_6\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v20_2_8\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v20_2_9\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v21_1_0\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v21_1_1\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v21_1_10\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v21_1_11\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v21_1_12\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v21_1_13\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v21_1_14\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v21_1_15\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v21_1_16\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v21_1_17\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v21_1_18\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v21_1_19\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v21_1_2\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v21_1_3\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v21_1_4\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v21_1_5\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v21_1_6\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v21_1_7\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v21_1_9\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v21_2_0\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v21_2_1\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v21_2_10\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v21_2_2\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v21_2_3\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v21_2_4\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v21_2_5\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v21_2_7\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v21_2_8\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v21_2_9\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + } + }, + "f:image": {}, + "f:imagePullPolicy": {}, + "f:name": {}, + "f:resources": { + ".": {}, + "f:requests": { + ".": {}, + "f:cpu": {}, + "f:memory": {} + } + }, + "f:terminationMessagePath": {}, + "f:terminationMessagePolicy": {} + } + }, + "f:dnsPolicy": {}, + "f:enableServiceLinks": {}, + "f:restartPolicy": {}, + "f:schedulerName": {}, + "f:securityContext": {}, + "f:serviceAccount": {}, + "f:serviceAccountName": {}, + "f:terminationGracePeriodSeconds": {} + } + }, + "manager": "kube-controller-manager", + "operation": "Update", + "subresource": null, + "time": "2023-05-04T20:30:52+00:00" + }, + { + "api_version": "v1", + "fields_type": "FieldsV1", + "fields_v1": { + "f:status": { + "f:conditions": { + "k:{\"type\":\"ContainersReady\"}": { + ".": {}, + "f:lastProbeTime": {}, + "f:lastTransitionTime": {}, + "f:status": {}, + "f:type": {} + }, + "k:{\"type\":\"Initialized\"}": { + ".": {}, + "f:lastProbeTime": {}, + "f:lastTransitionTime": {}, + "f:status": {}, + "f:type": {} + }, + "k:{\"type\":\"Ready\"}": { + ".": {}, + "f:lastProbeTime": {}, + "f:lastTransitionTime": {}, + "f:status": {}, + "f:type": {} + } + }, + "f:containerStatuses": {}, + "f:hostIP": {}, + "f:phase": {}, + "f:podIP": {}, + "f:podIPs": { + ".": {}, + "k:{\"ip\":\"10.244.1.2\"}": { + ".": {}, + "f:ip": {} + } + }, + "f:startTime": {} + } + }, + "manager": "kubelet", + "operation": "Update", + "subresource": "status", + "time": "2023-05-04T20:30:52+00:00" + } + ], + "name": "cockroach-operator-manager-64c489884-t4l82", + "namespace": "cockroach-operator-system", + "owner_references": [ + { + "api_version": "apps/v1", + "block_owner_deletion": true, + "controller": true, + "kind": "ReplicaSet", + "name": "cockroach-operator-manager-64c489884", + "uid": "be708d8a-e777-47d2-951f-3826c77ce527" + } + ], + "resource_version": "800", + "self_link": null, + "uid": "2fa41549-7083-45b2-8a85-b2450b8b08b7" + }, + "spec": { + "active_deadline_seconds": null, + "affinity": null, + "automount_service_account_token": null, + "containers": [ + { + "args": [ + "-zap-log-level", + "info", + "-feature-gates", + "TopologySpreadRules=true,AffinityRules=true,TolerationRules=true" + ], + "command": null, + "env": [ + { + "name": "RELATED_IMAGE_COCKROACH_v20_1_4", + "value": "cockroachdb/cockroach:v20.1.4", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v20_1_5", + "value": "cockroachdb/cockroach:v20.1.5", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v20_1_8", + "value": "cockroachdb/cockroach:v20.1.8", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v20_1_11", + "value": "cockroachdb/cockroach:v20.1.11", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v20_1_12", + "value": "cockroachdb/cockroach:v20.1.12", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v20_1_13", + "value": "cockroachdb/cockroach:v20.1.13", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v20_1_15", + "value": "cockroachdb/cockroach:v20.1.15", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v20_1_16", + "value": "cockroachdb/cockroach:v20.1.16", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v20_1_17", + "value": "cockroachdb/cockroach:v20.1.17", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v20_2_0", + "value": "cockroachdb/cockroach:v20.2.0", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v20_2_1", + "value": "cockroachdb/cockroach:v20.2.1", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v20_2_2", + "value": "cockroachdb/cockroach:v20.2.2", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v20_2_3", + "value": "cockroachdb/cockroach:v20.2.3", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v20_2_4", + "value": "cockroachdb/cockroach:v20.2.4", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v20_2_5", + "value": "cockroachdb/cockroach:v20.2.5", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v20_2_6", + "value": "cockroachdb/cockroach:v20.2.6", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v20_2_8", + "value": "cockroachdb/cockroach:v20.2.8", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v20_2_9", + "value": "cockroachdb/cockroach:v20.2.9", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v20_2_10", + "value": "cockroachdb/cockroach:v20.2.10", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v20_2_11", + "value": "cockroachdb/cockroach:v20.2.11", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v20_2_12", + "value": "cockroachdb/cockroach:v20.2.12", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v20_2_13", + "value": "cockroachdb/cockroach:v20.2.13", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v20_2_14", + "value": "cockroachdb/cockroach:v20.2.14", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v20_2_15", + "value": "cockroachdb/cockroach:v20.2.15", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v20_2_16", + "value": "cockroachdb/cockroach:v20.2.16", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v20_2_17", + "value": "cockroachdb/cockroach:v20.2.17", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v20_2_18", + "value": "cockroachdb/cockroach:v20.2.18", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v20_2_19", + "value": "cockroachdb/cockroach:v20.2.19", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v21_1_0", + "value": "cockroachdb/cockroach:v21.1.0", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v21_1_1", + "value": "cockroachdb/cockroach:v21.1.1", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v21_1_2", + "value": "cockroachdb/cockroach:v21.1.2", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v21_1_3", + "value": "cockroachdb/cockroach:v21.1.3", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v21_1_4", + "value": "cockroachdb/cockroach:v21.1.4", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v21_1_5", + "value": "cockroachdb/cockroach:v21.1.5", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v21_1_6", + "value": "cockroachdb/cockroach:v21.1.6", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v21_1_7", + "value": "cockroachdb/cockroach:v21.1.7", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v21_1_9", + "value": "cockroachdb/cockroach:v21.1.9", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v21_1_10", + "value": "cockroachdb/cockroach:v21.1.10", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v21_1_11", + "value": "cockroachdb/cockroach:v21.1.11", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v21_1_12", + "value": "cockroachdb/cockroach:v21.1.12", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v21_1_13", + "value": "cockroachdb/cockroach:v21.1.13", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v21_1_14", + "value": "cockroachdb/cockroach:v21.1.14", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v21_1_15", + "value": "cockroachdb/cockroach:v21.1.15", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v21_1_16", + "value": "cockroachdb/cockroach:v21.1.16", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v21_1_17", + "value": "cockroachdb/cockroach:v21.1.17", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v21_1_18", + "value": "cockroachdb/cockroach:v21.1.18", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v21_1_19", + "value": "cockroachdb/cockroach:v21.1.19", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v21_2_0", + "value": "cockroachdb/cockroach:v21.2.0", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v21_2_1", + "value": "cockroachdb/cockroach:v21.2.1", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v21_2_2", + "value": "cockroachdb/cockroach:v21.2.2", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v21_2_3", + "value": "cockroachdb/cockroach:v21.2.3", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v21_2_4", + "value": "cockroachdb/cockroach:v21.2.4", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v21_2_5", + "value": "cockroachdb/cockroach:v21.2.5", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v21_2_7", + "value": "cockroachdb/cockroach:v21.2.7", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v21_2_8", + "value": "cockroachdb/cockroach:v21.2.8", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v21_2_9", + "value": "cockroachdb/cockroach:v21.2.9", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v21_2_10", + "value": "cockroachdb/cockroach:v21.2.10", + "value_from": null + }, + { + "name": "OPERATOR_NAME", + "value": "cockroachdb", + "value_from": null + }, + { + "name": "POD_NAME", + "value": null, + "value_from": { + "config_map_key_ref": null, + "field_ref": { + "api_version": "v1", + "field_path": "metadata.name" + }, + "resource_field_ref": null, + "secret_key_ref": null + } + }, + { + "name": "NAMESPACE", + "value": null, + "value_from": { + "config_map_key_ref": null, + "field_ref": { + "api_version": "v1", + "field_path": "metadata.namespace" + }, + "resource_field_ref": null, + "secret_key_ref": null + } + } + ], + "env_from": null, + "image": "cockroachdb/cockroach-operator:v2.7.0", + "image_pull_policy": "IfNotPresent", + "lifecycle": null, + "liveness_probe": null, + "name": "cockroach-operator", + "ports": null, + "readiness_probe": null, + "resources": { + "limits": null, + "requests": { + "cpu": "10m", + "memory": "32Mi" + } + }, + "security_context": null, + "startup_probe": null, + "stdin": null, + "stdin_once": null, + "termination_message_path": "/dev/termination-log", + "termination_message_policy": "File", + "tty": null, + "volume_devices": null, + "volume_mounts": [ + { + "mount_path": "/var/run/secrets/kubernetes.io/serviceaccount", + "mount_propagation": null, + "name": "kube-api-access-shxth", + "read_only": true, + "sub_path": null, + "sub_path_expr": null + } + ], + "working_dir": null + } + ], + "dns_config": null, + "dns_policy": "ClusterFirst", + "enable_service_links": true, + "ephemeral_containers": null, + "host_aliases": null, + "host_ipc": null, + "host_network": null, + "host_pid": null, + "host_users": null, + "hostname": null, + "image_pull_secrets": null, + "init_containers": null, + "node_name": "acto-cluster-0-worker3", + "node_selector": null, + "os": null, + "overhead": null, + "preemption_policy": "PreemptLowerPriority", + "priority": 0, + "priority_class_name": null, + "readiness_gates": null, + "restart_policy": "Always", + "runtime_class_name": null, + "scheduler_name": "default-scheduler", + "security_context": { + "fs_group": null, + "fs_group_change_policy": null, + "run_as_group": null, + "run_as_non_root": null, + "run_as_user": null, + "se_linux_options": null, + "seccomp_profile": null, + "supplemental_groups": null, + "sysctls": null, + "windows_options": null + }, + "service_account": "cockroach-operator-sa", + "service_account_name": "cockroach-operator-sa", + "set_hostname_as_fqdn": null, + "share_process_namespace": null, + "subdomain": null, + "termination_grace_period_seconds": 30, + "tolerations": [ + { + "effect": "NoExecute", + "key": "node.kubernetes.io/not-ready", + "operator": "Exists", + "toleration_seconds": 300, + "value": null + }, + { + "effect": "NoExecute", + "key": "node.kubernetes.io/unreachable", + "operator": "Exists", + "toleration_seconds": 300, + "value": null + } + ], + "topology_spread_constraints": null, + "volumes": [ + { + "aws_elastic_block_store": null, + "azure_disk": null, + "azure_file": null, + "cephfs": null, + "cinder": null, + "config_map": null, + "csi": null, + "downward_api": null, + "empty_dir": null, + "ephemeral": null, + "fc": null, + "flex_volume": null, + "flocker": null, + "gce_persistent_disk": null, + "git_repo": null, + "glusterfs": null, + "host_path": null, + "iscsi": null, + "name": "kube-api-access-shxth", + "nfs": null, + "persistent_volume_claim": null, + "photon_persistent_disk": null, + "portworx_volume": null, + "projected": { + "default_mode": 420, + "sources": [ + { + "config_map": null, + "downward_api": null, + "secret": null, + "service_account_token": { + "audience": null, + "expiration_seconds": 3607, + "path": "token" + } + }, + { + "config_map": { + "items": [ + { + "key": "ca.crt", + "mode": null, + "path": "ca.crt" + } + ], + "name": "kube-root-ca.crt", + "optional": null + }, + "downward_api": null, + "secret": null, + "service_account_token": null + }, + { + "config_map": null, + "downward_api": { + "items": [ + { + "field_ref": { + "api_version": "v1", + "field_path": "metadata.namespace" + }, + "mode": null, + "path": "namespace", + "resource_field_ref": null + } + ] + }, + "secret": null, + "service_account_token": null + } + ] + }, + "quobyte": null, + "rbd": null, + "scale_io": null, + "secret": null, + "storageos": null, + "vsphere_volume": null + } + ] + }, + "status": { + "conditions": [ + { + "last_probe_time": null, + "last_transition_time": "2023-05-04T20:30:52+00:00", + "message": null, + "reason": null, + "status": "True", + "type": "Initialized" + }, + { + "last_probe_time": null, + "last_transition_time": "2023-05-04T20:30:52+00:00", + "message": null, + "reason": null, + "status": "True", + "type": "Ready" + }, + { + "last_probe_time": null, + "last_transition_time": "2023-05-04T20:30:52+00:00", + "message": null, + "reason": null, + "status": "True", + "type": "ContainersReady" + }, + { + "last_probe_time": null, + "last_transition_time": "2023-05-04T20:30:52+00:00", + "message": null, + "reason": null, + "status": "True", + "type": "PodScheduled" + } + ], + "container_statuses": [ + { + "container_id": "containerd://047bd91d0f97b407027597509ee9fb3aab2ba0d22f7b2f3f5ce4f752805d99c7", + "image": "docker.io/cockroachdb/cockroach-operator:v2.7.0", + "image_id": "docker.io/library/import-2023-05-04@sha256:5c5b320a3785185e893eefcb40debe5f237dfe8493f73ab573c12da6a5083449", + "last_state": { + "running": null, + "terminated": null, + "waiting": null + }, + "name": "cockroach-operator", + "ready": true, + "restart_count": 0, + "started": true, + "state": { + "running": { + "started_at": "2023-05-04T20:30:52+00:00" + }, + "terminated": null, + "waiting": null + } + } + ], + "ephemeral_container_statuses": null, + "host_ip": "172.18.0.3", + "init_container_statuses": null, + "message": null, + "nominated_node_name": null, + "phase": "Running", + "pod_ip": "10.244.1.2", + "pod_i_ps": [ + { + "ip": "10.244.1.2" + } + ], + "qos_class": "Burstable", + "reason": null, + "start_time": "2023-05-04T20:30:52+00:00" + } + } + ] + }, + "stateful_set": { + "test-cluster": { + "api_version": null, + "kind": null, + "metadata": { + "annotations": { + "crdb.io/container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5rdWJlcm5ldGVzLmlvL2NvbXBvbmVudCI6ImRhdGFiYXNlIn19fSwidm9sdW1lQ2xhaW1UZW1wbGF0ZXMiOlt7Im1ldGFkYXRhIjp7Im5hbWUiOiJkYXRhZGlyIiwibGFiZWxzIjp7ImFwcC5rdWJlcm5ldGVzLmlvL2luc3RhbmNlIjoidGVzdC1jbHVzdGVyIiwiYXBwLmt1YmVybmV0ZXMuaW8vY29tcG9uZW50IjoiZGF0YWJhc2UiLCJjcmRiIjoiaXMtY29vbCIsImFwcC5rdWJlcm5ldGVzLmlvL25hbWUiOiJjb2Nrcm9hY2hkYiJ9fSwic3BlYyI6eyJyZXNvdXJjZXMiOnsicmVxdWVzdHMiOnsic3RvcmFnZSI6IjFHaSJ9fSwidm9sdW1lTW9kZSI6IkZpbGVzeXN0ZW0iLCJhY2Nlc3NNb2RlcyI6WyJSZWFkV3JpdGVPbmNlIl19LCJzdGF0dXMiOnt9fV0sInNlcnZpY2VOYW1lIjoidGVzdC1jbHVzdGVyIn0sInN0YXR1cyI6eyJyZXBsaWNhcyI6MH19", + "crdb.io/version": "v21.2.10" + }, + "creation_timestamp": "2023-05-04T20:30:58+00:00", + "deletion_grace_period_seconds": null, + "deletion_timestamp": null, + "finalizers": null, + "generate_name": null, + "generation": 1, + "labels": { + "app.kubernetes.io/component": "database", + "app.kubernetes.io/instance": "test-cluster", + "app.kubernetes.io/managed-by": "cockroach-operator", + "app.kubernetes.io/name": "cockroachdb", + "app.kubernetes.io/part-of": "cockroachdb", + "app.kubernetes.io/version": "v21.2.10", + "crdb": "is-cool" + }, + "managed_fields": [ + { + "api_version": "apps/v1", + "fields_type": "FieldsV1", + "fields_v1": { + "f:metadata": { + "f:annotations": { + ".": {}, + "f:crdb.io/containerimage": {}, + "f:crdb.io/last-applied": {}, + "f:crdb.io/version": {} + }, + "f:labels": { + ".": {}, + "f:app.kubernetes.io/component": {}, + "f:app.kubernetes.io/instance": {}, + "f:app.kubernetes.io/managed-by": {}, + "f:app.kubernetes.io/name": {}, + "f:app.kubernetes.io/part-of": {}, + "f:app.kubernetes.io/version": {}, + "f:crdb": {} + }, + "f:ownerReferences": { + ".": {}, + "k:{\"uid\":\"90ad5ef5-9c95-4092-a5e8-1582b92649ff\"}": {} + } + }, + "f:spec": { + "f:podManagementPolicy": {}, + "f:replicas": {}, + "f:revisionHistoryLimit": {}, + "f:selector": {}, + "f:serviceName": {}, + "f:template": { + "f:metadata": { + "f:labels": { + ".": {}, + "f:app.kubernetes.io/component": {}, + "f:app.kubernetes.io/instance": {}, + "f:app.kubernetes.io/name": {}, + "f:crdb": {} + } + }, + "f:spec": { + "f:automountServiceAccountToken": {}, + "f:containers": { + "k:{\"name\":\"db\"}": { + ".": {}, + "f:command": {}, + "f:env": { + ".": {}, + "k:{\"name\":\"COCKROACH_CHANNEL\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"GOMAXPROCS\"}": { + ".": {}, + "f:name": {}, + "f:valueFrom": { + ".": {}, + "f:resourceFieldRef": {} + } + }, + "k:{\"name\":\"MEMORY_LIMIT_MIB\"}": { + ".": {}, + "f:name": {}, + "f:valueFrom": { + ".": {}, + "f:resourceFieldRef": {} + } + }, + "k:{\"name\":\"POD_NAME\"}": { + ".": {}, + "f:name": {}, + "f:valueFrom": { + ".": {}, + "f:fieldRef": {} + } + } + }, + "f:image": {}, + "f:imagePullPolicy": {}, + "f:lifecycle": { + ".": {}, + "f:preStop": { + ".": {}, + "f:exec": { + ".": {}, + "f:command": {} + } + } + }, + "f:name": {}, + "f:ports": { + ".": {}, + "k:{\"containerPort\":8080,\"protocol\":\"TCP\"}": { + ".": {}, + "f:containerPort": {}, + "f:name": {}, + "f:protocol": {} + }, + "k:{\"containerPort\":26257,\"protocol\":\"TCP\"}": { + ".": {}, + "f:containerPort": {}, + "f:name": {}, + "f:protocol": {} + }, + "k:{\"containerPort\":26258,\"protocol\":\"TCP\"}": { + ".": {}, + "f:containerPort": {}, + "f:name": {}, + "f:protocol": {} + } + }, + "f:readinessProbe": { + ".": {}, + "f:failureThreshold": {}, + "f:httpGet": { + ".": {}, + "f:path": {}, + "f:port": {}, + "f:scheme": {} + }, + "f:initialDelaySeconds": {}, + "f:periodSeconds": {}, + "f:successThreshold": {}, + "f:timeoutSeconds": {} + }, + "f:resources": { + ".": {}, + "f:limits": { + ".": {}, + "f:cpu": {}, + "f:memory": {} + }, + "f:requests": { + ".": {}, + "f:cpu": {}, + "f:memory": {} + } + }, + "f:terminationMessagePath": {}, + "f:terminationMessagePolicy": {}, + "f:volumeMounts": { + ".": {}, + "k:{\"mountPath\":\"/cockroach/cockroach-certs/\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + }, + "k:{\"mountPath\":\"/cockroach/cockroach-data/\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + } + } + } + }, + "f:dnsPolicy": {}, + "f:initContainers": { + ".": {}, + "k:{\"name\":\"db-init\"}": { + ".": {}, + "f:command": {}, + "f:image": {}, + "f:imagePullPolicy": {}, + "f:name": {}, + "f:resources": {}, + "f:securityContext": { + ".": {}, + "f:allowPrivilegeEscalation": {}, + "f:runAsUser": {} + }, + "f:terminationMessagePath": {}, + "f:terminationMessagePolicy": {}, + "f:volumeMounts": { + ".": {}, + "k:{\"mountPath\":\"/cockroach/cockroach-certs-prestage/\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + }, + "k:{\"mountPath\":\"/cockroach/cockroach-certs/\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + } + } + } + }, + "f:restartPolicy": {}, + "f:schedulerName": {}, + "f:securityContext": { + ".": {}, + "f:fsGroup": {}, + "f:runAsUser": {} + }, + "f:serviceAccount": {}, + "f:serviceAccountName": {}, + "f:terminationGracePeriodSeconds": {}, + "f:volumes": { + ".": {}, + "k:{\"name\":\"certs\"}": { + ".": {}, + "f:name": {}, + "f:projected": { + ".": {}, + "f:defaultMode": {}, + "f:sources": {} + } + }, + "k:{\"name\":\"datadir\"}": { + ".": {}, + "f:name": {}, + "f:persistentVolumeClaim": { + ".": {}, + "f:claimName": {} + } + }, + "k:{\"name\":\"emptydir\"}": { + ".": {}, + "f:emptyDir": {}, + "f:name": {} + } + } + } + }, + "f:updateStrategy": { + "f:rollingUpdate": { + ".": {}, + "f:partition": {} + }, + "f:type": {} + }, + "f:volumeClaimTemplates": {} + } + }, + "manager": "cockroach-operator", + "operation": "Update", + "subresource": null, + "time": "2023-05-04T20:30:58+00:00" + }, + { + "api_version": "apps/v1", + "fields_type": "FieldsV1", + "fields_v1": { + "f:status": { + "f:availableReplicas": {}, + "f:collisionCount": {}, + "f:currentReplicas": {}, + "f:currentRevision": {}, + "f:observedGeneration": {}, + "f:readyReplicas": {}, + "f:replicas": {}, + "f:updateRevision": {}, + "f:updatedReplicas": {} + } + }, + "manager": "kube-controller-manager", + "operation": "Update", + "subresource": "status", + "time": "2023-05-04T20:31:13+00:00" + } + ], + "name": "test-cluster", + "namespace": "cockroach-operator-system", + "owner_references": [ + { + "api_version": "crdb.cockroachlabs.com/v1alpha1", + "block_owner_deletion": true, + "controller": true, + "kind": "CrdbCluster", + "name": "test-cluster", + "uid": "90ad5ef5-9c95-4092-a5e8-1582b92649ff" + } + ], + "resource_version": "1053", + "self_link": null, + "uid": "f53f5464-2142-4d42-8f5b-bdd30e5c1acf" + }, + "spec": { + "min_ready_seconds": null, + "persistent_volume_claim_retention_policy": null, + "pod_management_policy": "Parallel", + "replicas": 3, + "revision_history_limit": 10, + "selector": { + "match_expressions": null, + "match_labels": { + "app.kubernetes.io/component": "database", + "app.kubernetes.io/instance": "test-cluster", + "app.kubernetes.io/name": "cockroachdb", + "crdb": "is-cool" + } + }, + "service_name": "test-cluster", + "template": { + "metadata": { + "annotations": null, + "creation_timestamp": null, + "deletion_grace_period_seconds": null, + "deletion_timestamp": null, + "finalizers": null, + "generate_name": null, + "generation": null, + "labels": { + "app.kubernetes.io/component": "database", + "app.kubernetes.io/instance": "test-cluster", + "app.kubernetes.io/name": "cockroachdb", + "crdb": "is-cool" + }, + "managed_fields": null, + "name": null, + "namespace": null, + "owner_references": null, + "resource_version": null, + "self_link": null, + "uid": null + }, + "spec": { + "active_deadline_seconds": null, + "affinity": null, + "automount_service_account_token": false, + "containers": [ + { + "args": null, + "command": [ + "/bin/bash", + "-ecx", + "exec /cockroach/cockroach.sh start --advertise-host=$(POD_NAME).test-cluster.cockroach-operator-system --certs-dir=/cockroach/cockroach-certs/ --http-port=8080 --sql-addr=:26257 --listen-addr=:26258 --log=\"{sinks: {stderr: {channels: [OPS, HEALTH], redact: true}}}\" --cache $(expr $MEMORY_LIMIT_MIB / 4)MiB --max-sql-memory $(expr $MEMORY_LIMIT_MIB / 4)MiB --join=test-cluster-0.test-cluster.cockroach-operator-system:26258,test-cluster-1.test-cluster.cockroach-operator-system:26258,test-cluster-2.test-cluster.cockroach-operator-system:26258" + ], + "env": [ + { + "name": "COCKROACH_CHANNEL", + "value": "kubernetes-operator-unknown", + "value_from": null + }, + { + "name": "POD_NAME", + "value": null, + "value_from": { + "config_map_key_ref": null, + "field_ref": { + "api_version": "v1", + "field_path": "metadata.name" + }, + "resource_field_ref": null, + "secret_key_ref": null + } + }, + { + "name": "GOMAXPROCS", + "value": null, + "value_from": { + "config_map_key_ref": null, + "field_ref": null, + "resource_field_ref": { + "container_name": null, + "divisor": "1", + "resource": "limits.cpu" + }, + "secret_key_ref": null + } + }, + { + "name": "MEMORY_LIMIT_MIB", + "value": null, + "value_from": { + "config_map_key_ref": null, + "field_ref": null, + "resource_field_ref": { + "container_name": null, + "divisor": "1Mi", + "resource": "limits.memory" + }, + "secret_key_ref": null + } + } + ], + "env_from": null, + "image": "cockroachdb/cockroach:v21.2.10", + "image_pull_policy": "IfNotPresent", + "lifecycle": { + "post_start": null, + "pre_stop": { + "_exec": { + "command": [ + "sh", + "-c", + "/cockroach/cockroach node drain --certs-dir=/cockroach/cockroach-certs/ || exit 0" + ] + }, + "http_get": null, + "tcp_socket": null + } + }, + "liveness_probe": null, + "name": "db", + "ports": [ + { + "container_port": 26258, + "host_ip": null, + "host_port": null, + "name": "grpc", + "protocol": "TCP" + }, + { + "container_port": 8080, + "host_ip": null, + "host_port": null, + "name": "http", + "protocol": "TCP" + }, + { + "container_port": 26257, + "host_ip": null, + "host_port": null, + "name": "sql", + "protocol": "TCP" + } + ], + "readiness_probe": { + "_exec": null, + "failure_threshold": 2, + "grpc": null, + "http_get": { + "host": null, + "http_headers": null, + "path": "/health?ready=1", + "port": "http", + "scheme": "HTTPS" + }, + "initial_delay_seconds": 10, + "period_seconds": 5, + "success_threshold": 1, + "tcp_socket": null, + "termination_grace_period_seconds": null, + "timeout_seconds": 1 + }, + "resources": { + "limits": { + "cpu": "2", + "memory": "2Gi" + }, + "requests": { + "cpu": "100m", + "memory": "1Gi" + } + }, + "security_context": null, + "startup_probe": null, + "stdin": null, + "stdin_once": null, + "termination_message_path": "/dev/termination-log", + "termination_message_policy": "File", + "tty": null, + "volume_devices": null, + "volume_mounts": [ + { + "mount_path": "/cockroach/cockroach-data/", + "mount_propagation": null, + "name": "datadir", + "read_only": null, + "sub_path": null, + "sub_path_expr": null + }, + { + "mount_path": "/cockroach/cockroach-certs/", + "mount_propagation": null, + "name": "emptydir", + "read_only": null, + "sub_path": null, + "sub_path_expr": null + } + ], + "working_dir": null + } + ], + "dns_config": null, + "dns_policy": "ClusterFirst", + "enable_service_links": null, + "ephemeral_containers": null, + "host_aliases": null, + "host_ipc": null, + "host_network": null, + "host_pid": null, + "host_users": null, + "hostname": null, + "image_pull_secrets": null, + "init_containers": [ + { + "args": null, + "command": [ + "/bin/sh", + "-c", + ">- cp -p /cockroach/cockroach-certs-prestage/..data/* /cockroach/cockroach-certs/ && chmod 700 /cockroach/cockroach-certs/*.key && chown 1000581000:1000581000 /cockroach/cockroach-certs/*.key" + ], + "env": null, + "env_from": null, + "image": "cockroachdb/cockroach:v21.2.10", + "image_pull_policy": "IfNotPresent", + "lifecycle": null, + "liveness_probe": null, + "name": "db-init", + "ports": null, + "readiness_probe": null, + "resources": { + "limits": null, + "requests": null + }, + "security_context": { + "allow_privilege_escalation": false, + "capabilities": null, + "privileged": null, + "proc_mount": null, + "read_only_root_filesystem": null, + "run_as_group": null, + "run_as_non_root": null, + "run_as_user": 0, + "se_linux_options": null, + "seccomp_profile": null, + "windows_options": null + }, + "startup_probe": null, + "stdin": null, + "stdin_once": null, + "termination_message_path": "/dev/termination-log", + "termination_message_policy": "File", + "tty": null, + "volume_devices": null, + "volume_mounts": [ + { + "mount_path": "/cockroach/cockroach-certs-prestage/", + "mount_propagation": null, + "name": "certs", + "read_only": null, + "sub_path": null, + "sub_path_expr": null + }, + { + "mount_path": "/cockroach/cockroach-certs/", + "mount_propagation": null, + "name": "emptydir", + "read_only": null, + "sub_path": null, + "sub_path_expr": null + } + ], + "working_dir": null + } + ], + "node_name": null, + "node_selector": null, + "os": null, + "overhead": null, + "preemption_policy": null, + "priority": null, + "priority_class_name": null, + "readiness_gates": null, + "restart_policy": "Always", + "runtime_class_name": null, + "scheduler_name": "default-scheduler", + "security_context": { + "fs_group": 1000581000, + "fs_group_change_policy": null, + "run_as_group": null, + "run_as_non_root": null, + "run_as_user": 1000581000, + "se_linux_options": null, + "seccomp_profile": null, + "supplemental_groups": null, + "sysctls": null, + "windows_options": null + }, + "service_account": "test-cluster-sa", + "service_account_name": "test-cluster-sa", + "set_hostname_as_fqdn": null, + "share_process_namespace": null, + "subdomain": null, + "termination_grace_period_seconds": 300, + "tolerations": null, + "topology_spread_constraints": null, + "volumes": [ + { + "aws_elastic_block_store": null, + "azure_disk": null, + "azure_file": null, + "cephfs": null, + "cinder": null, + "config_map": null, + "csi": null, + "downward_api": null, + "empty_dir": null, + "ephemeral": null, + "fc": null, + "flex_volume": null, + "flocker": null, + "gce_persistent_disk": null, + "git_repo": null, + "glusterfs": null, + "host_path": null, + "iscsi": null, + "name": "datadir", + "nfs": null, + "persistent_volume_claim": { + "claim_name": "", + "read_only": null + }, + "photon_persistent_disk": null, + "portworx_volume": null, + "projected": null, + "quobyte": null, + "rbd": null, + "scale_io": null, + "secret": null, + "storageos": null, + "vsphere_volume": null + }, + { + "aws_elastic_block_store": null, + "azure_disk": null, + "azure_file": null, + "cephfs": null, + "cinder": null, + "config_map": null, + "csi": null, + "downward_api": null, + "empty_dir": { + "medium": null, + "size_limit": null + }, + "ephemeral": null, + "fc": null, + "flex_volume": null, + "flocker": null, + "gce_persistent_disk": null, + "git_repo": null, + "glusterfs": null, + "host_path": null, + "iscsi": null, + "name": "emptydir", + "nfs": null, + "persistent_volume_claim": null, + "photon_persistent_disk": null, + "portworx_volume": null, + "projected": null, + "quobyte": null, + "rbd": null, + "scale_io": null, + "secret": null, + "storageos": null, + "vsphere_volume": null + }, + { + "aws_elastic_block_store": null, + "azure_disk": null, + "azure_file": null, + "cephfs": null, + "cinder": null, + "config_map": null, + "csi": null, + "downward_api": null, + "empty_dir": null, + "ephemeral": null, + "fc": null, + "flex_volume": null, + "flocker": null, + "gce_persistent_disk": null, + "git_repo": null, + "glusterfs": null, + "host_path": null, + "iscsi": null, + "name": "certs", + "nfs": null, + "persistent_volume_claim": null, + "photon_persistent_disk": null, + "portworx_volume": null, + "projected": { + "default_mode": 400, + "sources": [ + { + "config_map": null, + "downward_api": null, + "secret": { + "items": [ + { + "key": "ca.crt", + "mode": 504, + "path": "ca.crt" + }, + { + "key": "tls.crt", + "mode": 504, + "path": "node.crt" + }, + { + "key": "tls.key", + "mode": 400, + "path": "node.key" + } + ], + "name": "test-cluster-node", + "optional": null + }, + "service_account_token": null + }, + { + "config_map": null, + "downward_api": null, + "secret": { + "items": [ + { + "key": "tls.crt", + "mode": 504, + "path": "client.root.crt" + }, + { + "key": "tls.key", + "mode": 400, + "path": "client.root.key" + } + ], + "name": "test-cluster-root", + "optional": null + }, + "service_account_token": null + } + ] + }, + "quobyte": null, + "rbd": null, + "scale_io": null, + "secret": null, + "storageos": null, + "vsphere_volume": null + } + ] + } + }, + "update_strategy": { + "rolling_update": { + "max_unavailable": null, + "partition": 0 + }, + "type": "RollingUpdate" + }, + "volume_claim_templates": [ + { + "api_version": "v1", + "kind": "PersistentVolumeClaim", + "metadata": { + "annotations": null, + "creation_timestamp": null, + "deletion_grace_period_seconds": null, + "deletion_timestamp": null, + "finalizers": null, + "generate_name": null, + "generation": null, + "labels": { + "app.kubernetes.io/component": "database", + "app.kubernetes.io/instance": "test-cluster", + "app.kubernetes.io/name": "cockroachdb", + "crdb": "is-cool" + }, + "managed_fields": null, + "name": "datadir", + "namespace": null, + "owner_references": null, + "resource_version": null, + "self_link": null, + "uid": null + }, + "spec": { + "access_modes": [ + "ReadWriteOnce" + ], + "data_source": null, + "data_source_ref": null, + "resources": { + "limits": null, + "requests": { + "storage": "1Gi" + } + }, + "selector": null, + "storage_class_name": null, + "volume_mode": "Filesystem", + "volume_name": null + }, + "status": { + "access_modes": null, + "allocated_resources": null, + "capacity": null, + "conditions": null, + "phase": "Pending", + "resize_status": null + } + } + ] + }, + "status": { + "available_replicas": 3, + "collision_count": 0, + "conditions": null, + "current_replicas": 3, + "current_revision": "test-cluster-76f9c78d88", + "observed_generation": 1, + "ready_replicas": 3, + "replicas": 3, + "update_revision": "test-cluster-76f9c78d88", + "updated_replicas": 3 + } + } + }, + "deployment": { + "cockroach-operator-manager": { + "api_version": null, + "kind": null, + "metadata": { + "annotations": { + "deployment.kubernetes.io/revision": "2" + }, + "creation_timestamp": "2023-05-04T20:30:22+00:00", + "deletion_grace_period_seconds": null, + "deletion_timestamp": null, + "finalizers": null, + "generate_name": null, + "generation": 2, + "labels": { + "acto/tag": "operator-deployment", + "app": "cockroach-operator" + }, + "managed_fields": [ + { + "api_version": "apps/v1", + "fields_type": "FieldsV1", + "fields_v1": { + "f:metadata": { + "f:labels": { + "f:app": {} + } + }, + "f:spec": { + "f:replicas": {}, + "f:selector": {}, + "f:template": { + "f:metadata": { + "f:labels": { + "f:app": {} + } + }, + "f:spec": { + "f:containers": { + "k:{\"name\":\"cockroach-operator\"}": { + ".": {}, + "f:args": {}, + "f:env": { + "k:{\"name\":\"NAMESPACE\"}": { + ".": {}, + "f:name": {}, + "f:valueFrom": { + "f:fieldRef": {} + } + }, + "k:{\"name\":\"OPERATOR_NAME\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"POD_NAME\"}": { + ".": {}, + "f:name": {}, + "f:valueFrom": { + "f:fieldRef": {} + } + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v20_1_11\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v20_1_12\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v20_1_13\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v20_1_15\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v20_1_16\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v20_1_17\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v20_1_4\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v20_1_5\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v20_1_8\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v20_2_0\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v20_2_1\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v20_2_10\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v20_2_11\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v20_2_12\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v20_2_13\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v20_2_14\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v20_2_15\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v20_2_16\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v20_2_17\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v20_2_18\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v20_2_19\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v20_2_2\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v20_2_3\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v20_2_4\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v20_2_5\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v20_2_6\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v20_2_8\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v20_2_9\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v21_1_0\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v21_1_1\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v21_1_10\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v21_1_11\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v21_1_12\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v21_1_13\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v21_1_14\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v21_1_15\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v21_1_16\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v21_1_17\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v21_1_18\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v21_1_19\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v21_1_2\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v21_1_3\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v21_1_4\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v21_1_5\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v21_1_6\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v21_1_7\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v21_1_9\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v21_2_0\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v21_2_1\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v21_2_10\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v21_2_2\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v21_2_3\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v21_2_4\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v21_2_5\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v21_2_7\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v21_2_8\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v21_2_9\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + } + }, + "f:image": {}, + "f:imagePullPolicy": {}, + "f:name": {}, + "f:resources": { + "f:requests": { + "f:cpu": {}, + "f:memory": {} + } + } + } + }, + "f:serviceAccountName": {} + } + } + } + }, + "manager": "kubectl", + "operation": "Apply", + "subresource": null, + "time": "2023-05-04T20:30:22+00:00" + }, + { + "api_version": "apps/v1", + "fields_type": "FieldsV1", + "fields_v1": { + "f:metadata": { + "f:labels": { + "f:acto/tag": {} + } + }, + "f:spec": { + "f:template": { + "f:metadata": { + "f:labels": { + "f:acto/tag": {} + } + } + } + } + }, + "manager": "OpenAPI-Generator", + "operation": "Update", + "subresource": null, + "time": "2023-05-04T20:30:52+00:00" + }, + { + "api_version": "apps/v1", + "fields_type": "FieldsV1", + "fields_v1": { + "f:metadata": { + "f:annotations": { + ".": {}, + "f:deployment.kubernetes.io/revision": {} + } + }, + "f:status": { + "f:availableReplicas": {}, + "f:conditions": { + ".": {}, + "k:{\"type\":\"Available\"}": { + ".": {}, + "f:lastTransitionTime": {}, + "f:lastUpdateTime": {}, + "f:message": {}, + "f:reason": {}, + "f:status": {}, + "f:type": {} + }, + "k:{\"type\":\"Progressing\"}": { + ".": {}, + "f:lastTransitionTime": {}, + "f:lastUpdateTime": {}, + "f:message": {}, + "f:reason": {}, + "f:status": {}, + "f:type": {} + } + }, + "f:observedGeneration": {}, + "f:readyReplicas": {}, + "f:replicas": {}, + "f:updatedReplicas": {} + } + }, + "manager": "kube-controller-manager", + "operation": "Update", + "subresource": "status", + "time": "2023-05-04T20:30:52+00:00" + } + ], + "name": "cockroach-operator-manager", + "namespace": "cockroach-operator-system", + "owner_references": null, + "resource_version": "815", + "self_link": null, + "uid": "547fbf16-3bfd-4004-8625-ec4f04413331" + }, + "spec": { + "min_ready_seconds": null, + "paused": null, + "progress_deadline_seconds": 600, + "replicas": 1, + "revision_history_limit": 10, + "selector": { + "match_expressions": null, + "match_labels": { + "app": "cockroach-operator" + } + }, + "strategy": { + "rolling_update": { + "max_surge": "25%", + "max_unavailable": "25%" + }, + "type": "RollingUpdate" + }, + "template": { + "metadata": { + "annotations": null, + "creation_timestamp": null, + "deletion_grace_period_seconds": null, + "deletion_timestamp": null, + "finalizers": null, + "generate_name": null, + "generation": null, + "labels": { + "acto/tag": "operator-pod", + "app": "cockroach-operator" + }, + "managed_fields": null, + "name": null, + "namespace": null, + "owner_references": null, + "resource_version": null, + "self_link": null, + "uid": null + }, + "spec": { + "active_deadline_seconds": null, + "affinity": null, + "automount_service_account_token": null, + "containers": [ + { + "args": [ + "-zap-log-level", + "info", + "-feature-gates", + "TopologySpreadRules=true,AffinityRules=true,TolerationRules=true" + ], + "command": null, + "env": [ + { + "name": "RELATED_IMAGE_COCKROACH_v20_1_4", + "value": "cockroachdb/cockroach:v20.1.4", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v20_1_5", + "value": "cockroachdb/cockroach:v20.1.5", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v20_1_8", + "value": "cockroachdb/cockroach:v20.1.8", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v20_1_11", + "value": "cockroachdb/cockroach:v20.1.11", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v20_1_12", + "value": "cockroachdb/cockroach:v20.1.12", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v20_1_13", + "value": "cockroachdb/cockroach:v20.1.13", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v20_1_15", + "value": "cockroachdb/cockroach:v20.1.15", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v20_1_16", + "value": "cockroachdb/cockroach:v20.1.16", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v20_1_17", + "value": "cockroachdb/cockroach:v20.1.17", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v20_2_0", + "value": "cockroachdb/cockroach:v20.2.0", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v20_2_1", + "value": "cockroachdb/cockroach:v20.2.1", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v20_2_2", + "value": "cockroachdb/cockroach:v20.2.2", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v20_2_3", + "value": "cockroachdb/cockroach:v20.2.3", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v20_2_4", + "value": "cockroachdb/cockroach:v20.2.4", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v20_2_5", + "value": "cockroachdb/cockroach:v20.2.5", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v20_2_6", + "value": "cockroachdb/cockroach:v20.2.6", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v20_2_8", + "value": "cockroachdb/cockroach:v20.2.8", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v20_2_9", + "value": "cockroachdb/cockroach:v20.2.9", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v20_2_10", + "value": "cockroachdb/cockroach:v20.2.10", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v20_2_11", + "value": "cockroachdb/cockroach:v20.2.11", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v20_2_12", + "value": "cockroachdb/cockroach:v20.2.12", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v20_2_13", + "value": "cockroachdb/cockroach:v20.2.13", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v20_2_14", + "value": "cockroachdb/cockroach:v20.2.14", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v20_2_15", + "value": "cockroachdb/cockroach:v20.2.15", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v20_2_16", + "value": "cockroachdb/cockroach:v20.2.16", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v20_2_17", + "value": "cockroachdb/cockroach:v20.2.17", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v20_2_18", + "value": "cockroachdb/cockroach:v20.2.18", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v20_2_19", + "value": "cockroachdb/cockroach:v20.2.19", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v21_1_0", + "value": "cockroachdb/cockroach:v21.1.0", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v21_1_1", + "value": "cockroachdb/cockroach:v21.1.1", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v21_1_2", + "value": "cockroachdb/cockroach:v21.1.2", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v21_1_3", + "value": "cockroachdb/cockroach:v21.1.3", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v21_1_4", + "value": "cockroachdb/cockroach:v21.1.4", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v21_1_5", + "value": "cockroachdb/cockroach:v21.1.5", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v21_1_6", + "value": "cockroachdb/cockroach:v21.1.6", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v21_1_7", + "value": "cockroachdb/cockroach:v21.1.7", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v21_1_9", + "value": "cockroachdb/cockroach:v21.1.9", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v21_1_10", + "value": "cockroachdb/cockroach:v21.1.10", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v21_1_11", + "value": "cockroachdb/cockroach:v21.1.11", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v21_1_12", + "value": "cockroachdb/cockroach:v21.1.12", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v21_1_13", + "value": "cockroachdb/cockroach:v21.1.13", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v21_1_14", + "value": "cockroachdb/cockroach:v21.1.14", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v21_1_15", + "value": "cockroachdb/cockroach:v21.1.15", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v21_1_16", + "value": "cockroachdb/cockroach:v21.1.16", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v21_1_17", + "value": "cockroachdb/cockroach:v21.1.17", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v21_1_18", + "value": "cockroachdb/cockroach:v21.1.18", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v21_1_19", + "value": "cockroachdb/cockroach:v21.1.19", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v21_2_0", + "value": "cockroachdb/cockroach:v21.2.0", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v21_2_1", + "value": "cockroachdb/cockroach:v21.2.1", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v21_2_2", + "value": "cockroachdb/cockroach:v21.2.2", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v21_2_3", + "value": "cockroachdb/cockroach:v21.2.3", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v21_2_4", + "value": "cockroachdb/cockroach:v21.2.4", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v21_2_5", + "value": "cockroachdb/cockroach:v21.2.5", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v21_2_7", + "value": "cockroachdb/cockroach:v21.2.7", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v21_2_8", + "value": "cockroachdb/cockroach:v21.2.8", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v21_2_9", + "value": "cockroachdb/cockroach:v21.2.9", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v21_2_10", + "value": "cockroachdb/cockroach:v21.2.10", + "value_from": null + }, + { + "name": "OPERATOR_NAME", + "value": "cockroachdb", + "value_from": null + }, + { + "name": "POD_NAME", + "value": null, + "value_from": { + "config_map_key_ref": null, + "field_ref": { + "api_version": "v1", + "field_path": "metadata.name" + }, + "resource_field_ref": null, + "secret_key_ref": null + } + }, + { + "name": "NAMESPACE", + "value": null, + "value_from": { + "config_map_key_ref": null, + "field_ref": { + "api_version": "v1", + "field_path": "metadata.namespace" + }, + "resource_field_ref": null, + "secret_key_ref": null + } + } + ], + "env_from": null, + "image": "cockroachdb/cockroach-operator:v2.7.0", + "image_pull_policy": "IfNotPresent", + "lifecycle": null, + "liveness_probe": null, + "name": "cockroach-operator", + "ports": null, + "readiness_probe": null, + "resources": { + "limits": null, + "requests": { + "cpu": "10m", + "memory": "32Mi" + } + }, + "security_context": null, + "startup_probe": null, + "stdin": null, + "stdin_once": null, + "termination_message_path": "/dev/termination-log", + "termination_message_policy": "File", + "tty": null, + "volume_devices": null, + "volume_mounts": null, + "working_dir": null + } + ], + "dns_config": null, + "dns_policy": "ClusterFirst", + "enable_service_links": null, + "ephemeral_containers": null, + "host_aliases": null, + "host_ipc": null, + "host_network": null, + "host_pid": null, + "host_users": null, + "hostname": null, + "image_pull_secrets": null, + "init_containers": null, + "node_name": null, + "node_selector": null, + "os": null, + "overhead": null, + "preemption_policy": null, + "priority": null, + "priority_class_name": null, + "readiness_gates": null, + "restart_policy": "Always", + "runtime_class_name": null, + "scheduler_name": "default-scheduler", + "security_context": { + "fs_group": null, + "fs_group_change_policy": null, + "run_as_group": null, + "run_as_non_root": null, + "run_as_user": null, + "se_linux_options": null, + "seccomp_profile": null, + "supplemental_groups": null, + "sysctls": null, + "windows_options": null + }, + "service_account": "cockroach-operator-sa", + "service_account_name": "cockroach-operator-sa", + "set_hostname_as_fqdn": null, + "share_process_namespace": null, + "subdomain": null, + "termination_grace_period_seconds": 30, + "tolerations": null, + "topology_spread_constraints": null, + "volumes": null + } + } + }, + "status": { + "available_replicas": 1, + "collision_count": null, + "conditions": [ + { + "last_transition_time": "2023-05-04T20:30:22+00:00", + "last_update_time": "2023-05-04T20:30:22+00:00", + "message": "Deployment has minimum availability.", + "reason": "MinimumReplicasAvailable", + "status": "True", + "type": "Available" + }, + { + "last_transition_time": "2023-05-04T20:30:22+00:00", + "last_update_time": "2023-05-04T20:30:52+00:00", + "message": "ReplicaSet \"cockroach-operator-manager-64c489884\" has successfully progressed.", + "reason": "NewReplicaSetAvailable", + "status": "True", + "type": "Progressing" + } + ], + "observed_generation": 2, + "ready_replicas": 1, + "replicas": 1, + "unavailable_replicas": null, + "updated_replicas": 1 + } + } + }, + "config_map": { + "kube-root-ca.crt": { + "api_version": null, + "binary_data": null, + "data": { + "ca.crt": "-----BEGIN CERTIFICATE-----\nMIIC/jCCAeagAwIBAgIBADANBgkqhkiG9w0BAQsFADAVMRMwEQYDVQQDEwprdWJl\ncm5ldGVzMB4XDTIzMDUwNDIwMjkxMFoXDTMzMDUwMTIwMjkxMFowFTETMBEGA1UE\nAxMKa3ViZXJuZXRlczCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAOZZ\nNBiE5imKYNYWQsDL7HJDSm2L+ocFPlh1vTf2uGhktpKbD6ITd2HvJBGnbznEq573\nFR+8KpXqozRTEFDZo+OIs8y6IcVIJSHTD/LhbHE9xP2QFWIEaIHrbFwktet5wuL+\nkfJbYqdompXlzSaORjo0fG6KXA/5UBoeylU4zFRpcP/QSHa2blKko/IBWpuL4OEM\n1NeiOaMGea9kUivd06JFKucvv79dmKL03PA4LF13IDYFAE0YMXpq/Kp7cWXg7oKP\naPEP84rxtVddY3pDEdPR8GhbV/zIfJjjmaV3hqjbbW8sXc/MKMddx+XPZTjYGbgy\n3egJodTUokl3mL4zhQ0CAwEAAaNZMFcwDgYDVR0PAQH/BAQDAgKkMA8GA1UdEwEB\n/wQFMAMBAf8wHQYDVR0OBBYEFHQXllc6/knTcwTAgSM2L8Y9CaKmMBUGA1UdEQQO\nMAyCCmt1YmVybmV0ZXMwDQYJKoZIhvcNAQELBQADggEBAEV0ciRGe77TLxzcTZpA\npid2iF9nHg5alCebrfGZ3gnH6KhKM/otOSoA58JCzEaJxS1cUQOnVIP6i4t7WYVz\nkwEjw+8Bp3vvUpZJDaj/XTgOuztoOpbM6xX7wKHztRdI76I7gH/HPjfIrgiUM7Yo\nSNKCwpZf8tUpWUWfEBDNCtvN4OO3v2A2fREnz1ux61qtKTdR+T/aCvD7GLNB0mbu\nWBTupnmNaAEs/bB87w3OJ4PbvvCGdwm+bX+Q3iDdwqIiu78ZB8NI5RYAYB+CN7Nt\nm2tXdv3t0L7lMcG4eolqa3RXA6g515um0FzDqabtuw5+oak8rs1XfTk87uwhqxUl\nGew=\n-----END CERTIFICATE-----\n" + }, + "immutable": null, + "kind": null, + "metadata": { + "annotations": { + "kubernetes.io/description": "Contains a CA bundle that can be used to verify the kube-apiserver when using internal endpoints such as the internal service IP or kubernetes.default.svc. No other usage is guaranteed across distributions of Kubernetes clusters." + }, + "creation_timestamp": "2023-05-04T20:30:11+00:00", + "deletion_grace_period_seconds": null, + "deletion_timestamp": null, + "finalizers": null, + "generate_name": null, + "generation": null, + "labels": null, + "managed_fields": [ + { + "api_version": "v1", + "fields_type": "FieldsV1", + "fields_v1": { + "f:data": { + ".": {}, + "f:ca.crt": {} + }, + "f:metadata": { + "f:annotations": { + ".": {}, + "f:kubernetes.io/description": {} + } + } + }, + "manager": "kube-controller-manager", + "operation": "Update", + "subresource": null, + "time": "2023-05-04T20:30:11+00:00" + } + ], + "name": "kube-root-ca.crt", + "namespace": "cockroach-operator-system", + "owner_references": null, + "resource_version": "670", + "self_link": null, + "uid": "9eb7a849-3642-42b3-bb70-403ff03e3402" + } + } + }, + "service": { + "cockroach-operator-webhook-service": { + "api_version": null, + "kind": null, + "metadata": { + "annotations": null, + "creation_timestamp": "2023-05-04T20:30:22+00:00", + "deletion_grace_period_seconds": null, + "deletion_timestamp": null, + "finalizers": null, + "generate_name": null, + "generation": null, + "labels": { + "control-plane": "cockroach-operator" + }, + "managed_fields": [ + { + "api_version": "v1", + "fields_type": "FieldsV1", + "fields_v1": { + "f:metadata": { + "f:labels": { + "f:control-plane": {} + } + }, + "f:spec": { + "f:ports": { + "k:{\"port\":443,\"protocol\":\"TCP\"}": { + ".": {}, + "f:port": {}, + "f:targetPort": {} + } + }, + "f:selector": {} + } + }, + "manager": "kubectl", + "operation": "Apply", + "subresource": null, + "time": "2023-05-04T20:30:22+00:00" + } + ], + "name": "cockroach-operator-webhook-service", + "namespace": "cockroach-operator-system", + "owner_references": null, + "resource_version": "707", + "self_link": null, + "uid": "b5d2854e-2cc2-43ce-899b-ae3a86cccf69" + }, + "spec": { + "allocate_load_balancer_node_ports": null, + "cluster_ip": "10.96.203.232", + "cluster_i_ps": [ + "10.96.203.232" + ], + "external_i_ps": null, + "external_name": null, + "external_traffic_policy": null, + "health_check_node_port": null, + "internal_traffic_policy": "Cluster", + "ip_families": [ + "IPv4" + ], + "ip_family_policy": "SingleStack", + "load_balancer_class": null, + "load_balancer_ip": null, + "load_balancer_source_ranges": null, + "ports": [ + { + "app_protocol": null, + "name": null, + "node_port": null, + "port": 443, + "protocol": "TCP", + "target_port": 9443 + } + ], + "publish_not_ready_addresses": null, + "selector": { + "app": "cockroach-operator" + }, + "session_affinity": "None", + "session_affinity_config": null, + "type": "ClusterIP" + }, + "status": { + "conditions": null, + "load_balancer": { + "ingress": null + } + } + }, + "test-cluster": { + "api_version": null, + "kind": null, + "metadata": { + "annotations": { + "crdb.io/last-applied": "eyJzcGVjIjp7InB1Ymxpc2hOb3RSZWFkeUFkZHJlc3NlcyI6dHJ1ZSwicG9ydHMiOlt7InBvcnQiOjI2MjU4LCJuYW1lIjoiZ3JwYyJ9LHsibmFtZSI6Imh0dHAiLCJwb3J0Ijo4MDgwfSx7Im5hbWUiOiJzcWwiLCJwb3J0IjoyNjI1N31dLCJzZWxlY3RvciI6eyJhcHAua3ViZXJuZXRlcy5pby9pbnN0YW5jZSI6InRlc3QtY2x1c3RlciIsImFwcC5rdWJlcm5ldGVzLml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", + "prometheus.io/path": "_status/vars", + "prometheus.io/port": "8080", + "prometheus.io/scrape": "true" + }, + "creation_timestamp": "2023-05-04T20:30:57+00:00", + "deletion_grace_period_seconds": null, + "deletion_timestamp": null, + "finalizers": null, + "generate_name": null, + "generation": null, + "labels": { + "app.kubernetes.io/component": "database", + "app.kubernetes.io/instance": "test-cluster", + "app.kubernetes.io/managed-by": "cockroach-operator", + "app.kubernetes.io/name": "cockroachdb", + "app.kubernetes.io/part-of": "cockroachdb", + "app.kubernetes.io/version": "v21.2.10", + "crdb": "is-cool" + }, + "managed_fields": [ + { + "api_version": "v1", + "fields_type": "FieldsV1", + "fields_v1": { + "f:metadata": { + "f:annotations": { + ".": {}, + "f:crdb.io/last-applied": {}, + "f:prometheus.io/path": {}, + "f:prometheus.io/port": {}, + "f:prometheus.io/scrape": {} + }, + "f:labels": { + ".": {}, + "f:app.kubernetes.io/component": {}, + "f:app.kubernetes.io/instance": {}, + "f:app.kubernetes.io/managed-by": {}, + "f:app.kubernetes.io/name": {}, + "f:app.kubernetes.io/part-of": {}, + "f:app.kubernetes.io/version": {}, + "f:crdb": {} + }, + "f:ownerReferences": { + ".": {}, + "k:{\"uid\":\"90ad5ef5-9c95-4092-a5e8-1582b92649ff\"}": {} + } + }, + "f:spec": { + "f:clusterIP": {}, + "f:internalTrafficPolicy": {}, + "f:ports": { + ".": {}, + "k:{\"port\":8080,\"protocol\":\"TCP\"}": { + ".": {}, + "f:name": {}, + "f:port": {}, + "f:protocol": {}, + "f:targetPort": {} + }, + "k:{\"port\":26257,\"protocol\":\"TCP\"}": { + ".": {}, + "f:name": {}, + "f:port": {}, + "f:protocol": {}, + "f:targetPort": {} + }, + "k:{\"port\":26258,\"protocol\":\"TCP\"}": { + ".": {}, + "f:name": {}, + "f:port": {}, + "f:protocol": {}, + "f:targetPort": {} + } + }, + "f:publishNotReadyAddresses": {}, + "f:selector": {}, + "f:sessionAffinity": {}, + "f:type": {} + } + }, + "manager": "cockroach-operator", + "operation": "Update", + "subresource": null, + "time": "2023-05-04T20:30:57+00:00" + } + ], + "name": "test-cluster", + "namespace": "cockroach-operator-system", + "owner_references": [ + { + "api_version": "crdb.cockroachlabs.com/v1alpha1", + "block_owner_deletion": true, + "controller": true, + "kind": "CrdbCluster", + "name": "test-cluster", + "uid": "90ad5ef5-9c95-4092-a5e8-1582b92649ff" + } + ], + "resource_version": "860", + "self_link": null, + "uid": "a616b52c-0291-4bec-bd00-5238bd0c2df7" + }, + "spec": { + "allocate_load_balancer_node_ports": null, + "cluster_ip": "None", + "cluster_i_ps": [ + "None" + ], + "external_i_ps": null, + "external_name": null, + "external_traffic_policy": null, + "health_check_node_port": null, + "internal_traffic_policy": "Cluster", + "ip_families": [ + "IPv4" + ], + "ip_family_policy": "SingleStack", + "load_balancer_class": null, + "load_balancer_ip": null, + "load_balancer_source_ranges": null, + "ports": [ + { + "app_protocol": null, + "name": "grpc", + "node_port": null, + "port": 26258, + "protocol": "TCP", + "target_port": 26258 + }, + { + "app_protocol": null, + "name": "http", + "node_port": null, + "port": 8080, + "protocol": "TCP", + "target_port": 8080 + }, + { + "app_protocol": null, + "name": "sql", + "node_port": null, + "port": 26257, + "protocol": "TCP", + "target_port": 26257 + } + ], + "publish_not_ready_addresses": true, + "selector": { + "app.kubernetes.io/component": "database", + "app.kubernetes.io/instance": "test-cluster", + "app.kubernetes.io/name": "cockroachdb", + "crdb": "is-cool" + }, + "session_affinity": "None", + "session_affinity_config": null, + "type": "ClusterIP" + }, + "status": { + "conditions": null, + "load_balancer": { + "ingress": null + } + } + }, + "test-cluster-public": { + "api_version": null, + "kind": null, + "metadata": { + "annotations": { + "crdb.io/last-applied": "eyJtZXRhZGF0YSI6eyJuYW1lc3BhY2UiOiJjb2Nrcm9hY2gtb3BlcmF0b3Itc3lzdGVtIiwibGFiZWxzIjp7ImNyZGIiOiJpcy1jb29sIiwiYXBwLmt1YmVybmV0ZXMuaW8vcGFydC1vZiI6ImNvY2tyb2FjaGRiIiwiYXBwLmt1Ym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null, + "finalizers": null, + "generate_name": null, + "generation": null, + "labels": { + "app.kubernetes.io/component": "database", + "app.kubernetes.io/instance": "test-cluster", + "app.kubernetes.io/managed-by": "cockroach-operator", + "app.kubernetes.io/name": "cockroachdb", + "app.kubernetes.io/part-of": "cockroachdb", + "app.kubernetes.io/version": "v21.2.10", + "crdb": "is-cool" + }, + "managed_fields": [ + { + "api_version": "v1", + "fields_type": "FieldsV1", + "fields_v1": { + "f:metadata": { + "f:annotations": { + ".": {}, + "f:crdb.io/last-applied": {} + }, + "f:labels": { + ".": {}, + "f:app.kubernetes.io/component": {}, + "f:app.kubernetes.io/instance": {}, + "f:app.kubernetes.io/managed-by": {}, + "f:app.kubernetes.io/name": {}, + "f:app.kubernetes.io/part-of": {}, + "f:app.kubernetes.io/version": {}, + "f:crdb": {} + }, + "f:ownerReferences": { + ".": {}, + "k:{\"uid\":\"90ad5ef5-9c95-4092-a5e8-1582b92649ff\"}": {} + } + }, + "f:spec": { + "f:internalTrafficPolicy": {}, + "f:ports": { + ".": {}, + "k:{\"port\":8080,\"protocol\":\"TCP\"}": { + ".": {}, + "f:name": {}, + "f:port": {}, + "f:protocol": {}, + "f:targetPort": {} + }, + "k:{\"port\":26257,\"protocol\":\"TCP\"}": { + ".": {}, + "f:name": {}, + "f:port": {}, + "f:protocol": {}, + "f:targetPort": {} + }, + "k:{\"port\":26258,\"protocol\":\"TCP\"}": { + ".": {}, + "f:name": {}, + "f:port": {}, + "f:protocol": {}, + "f:targetPort": {} + } + }, + "f:selector": {}, + "f:sessionAffinity": {}, + "f:type": {} + } + }, + "manager": "cockroach-operator", + "operation": "Update", + "subresource": null, + "time": "2023-05-04T20:30:57+00:00" + } + ], + "name": "test-cluster-public", + "namespace": "cockroach-operator-system", + "owner_references": [ + { + "api_version": "crdb.cockroachlabs.com/v1alpha1", + "block_owner_deletion": true, + "controller": true, + "kind": "CrdbCluster", + "name": "test-cluster", + "uid": "90ad5ef5-9c95-4092-a5e8-1582b92649ff" + } + ], + "resource_version": "864", + "self_link": null, + "uid": "f0467d46-ca97-42f6-9d3a-87f27dddc7fe" + }, + "spec": { + "allocate_load_balancer_node_ports": null, + "cluster_ip": "10.96.43.219", + "cluster_i_ps": [ + "10.96.43.219" + ], + "external_i_ps": null, + "external_name": null, + "external_traffic_policy": null, + "health_check_node_port": null, + "internal_traffic_policy": "Cluster", + "ip_families": [ + "IPv4" + ], + "ip_family_policy": "SingleStack", + "load_balancer_class": null, + "load_balancer_ip": null, + "load_balancer_source_ranges": null, + "ports": [ + { + "app_protocol": null, + "name": "grpc", + "node_port": null, + "port": 26258, + "protocol": "TCP", + "target_port": 26258 + }, + { + "app_protocol": null, + "name": "http", + "node_port": null, + "port": 8080, + "protocol": "TCP", + "target_port": 8080 + }, + { + "app_protocol": null, + "name": "sql", + "node_port": null, + "port": 26257, + "protocol": "TCP", + "target_port": 26257 + } + ], + "publish_not_ready_addresses": null, + "selector": { + "app.kubernetes.io/component": "database", + "app.kubernetes.io/instance": "test-cluster", + "app.kubernetes.io/name": "cockroachdb", + "crdb": "is-cool" + }, + "session_affinity": "None", + "session_affinity_config": null, + "type": "ClusterIP" + }, + "status": { + "conditions": null, + "load_balancer": { + "ingress": null + } + } + } + }, + "service_account": { + "cockroach-operator-sa": { + "api_version": null, + "automount_service_account_token": null, + "image_pull_secrets": null, + "kind": null, + "metadata": { + "annotations": null, + "creation_timestamp": "2023-05-04T20:30:22+00:00", + "deletion_grace_period_seconds": null, + "deletion_timestamp": null, + "finalizers": null, + "generate_name": null, + "generation": null, + "labels": { + "app": "cockroach-operator" + }, + "managed_fields": [ + { + "api_version": "v1", + "fields_type": "FieldsV1", + "fields_v1": { + "f:metadata": { + "f:labels": { + "f:app": {} + } + } + }, + "manager": "kubectl", + "operation": "Apply", + "subresource": null, + "time": "2023-05-04T20:30:22+00:00" + }, + { + "api_version": "v1", + "fields_type": "FieldsV1", + "fields_v1": { + "f:secrets": { + ".": {}, + "k:{\"name\":\"cockroach-operator-sa-token-wzc2j\"}": {} + } + }, + "manager": "kube-controller-manager", + "operation": "Update", + "subresource": null, + "time": "2023-05-04T20:30:22+00:00" + } + ], + "name": "cockroach-operator-sa", + "namespace": "cockroach-operator-system", + "owner_references": null, + "resource_version": "704", + "self_link": null, + "uid": "aee568de-cb39-4282-8a0c-0ab30d52bfac" + }, + "secrets": [ + { + "api_version": null, + "field_path": null, + "kind": null, + "name": "cockroach-operator-sa-token-wzc2j", + "namespace": null, + "resource_version": null, + "uid": null + } + ] + }, + "default": { + "api_version": null, + "automount_service_account_token": null, + "image_pull_secrets": null, + "kind": null, + "metadata": { + "annotations": null, + "creation_timestamp": "2023-05-04T20:30:11+00:00", + "deletion_grace_period_seconds": null, + "deletion_timestamp": null, + "finalizers": null, + "generate_name": null, + "generation": null, + "labels": null, + "managed_fields": null, + "name": "default", + "namespace": "cockroach-operator-system", + "owner_references": null, + "resource_version": "672", + "self_link": null, + "uid": "be0c4503-0fc2-4746-bef6-f4067b0eb31f" + }, + "secrets": [ + { + "api_version": null, + "field_path": null, + "kind": null, + "name": "default-token-7btwd", + "namespace": null, + "resource_version": null, + "uid": null + } + ] + }, + "test-cluster-sa": { + "api_version": null, + "automount_service_account_token": null, + "image_pull_secrets": null, + "kind": null, + "metadata": { + "annotations": { + "crdb.io/last-applied": "eyJtZXRhZGF0YSI6eyJuYW1lc3BhY2UiOiJjb2Nrcm9hY2gtb3BlcmF0b3Itc3lzdGVtIiwibGFiZWxzIjp7ImFwcC5rdWJlcm5ldGVzLmlvL25hbWUiOiJjb2Nrcm9hY2hkYiIsImFwcC5rdWJlcm5ldGVzLmlvL2luc3RhbmNlIjoidGVzdC1jbHVzdGVyIiwiYXBwLmt1YmVybmV0ZXMuaW8vY29tcG9uZW50IjoiZGF0YWJhc2UiLCJhcHAua3ViZXJuZXRlcy5pby9tYW5hZ2VkLWJ5IjoiY29ja3JvYWNoLW9wZXJhdG9yIiwiY3JkYiI6ImlzLWNvb2wiLCJhcHAua3ViZXJuZXRlcy5pby9wYXJ0LW9mIjoiY29ja3JvYWNoZGIifSwib3duZXJSZWZlcmVuY2VzIjpbeyJjb250cm9sbGVyIjp0cnVlLCJibG9ja093bmVyRGVsZXRpb24iOnRydWUsImFwaVZlcnNpb24iOiJjcmRiLmNvY2tyb2FjaGxhYnMuY29tL3YxYWxwaGExIiwia2luZCI6IkNyZGJDbHVzdGVyIiwibmFtZSI6InRlc3QtY2x1c3RlciIsInVpZCI6IjkwYWQ1ZWY1LTljOTUtNDA5Mi1hNWU4LTE1ODJiOTI2NDlmZiJ9XSwibmFtZSI6InRlc3QtY2x1c3Rlci1zYSJ9fQ==" + }, + "creation_timestamp": "2023-05-04T20:30:56+00:00", + "deletion_grace_period_seconds": null, + "deletion_timestamp": null, + "finalizers": null, + "generate_name": null, + "generation": null, + "labels": { + "app.kubernetes.io/component": "database", + "app.kubernetes.io/instance": "test-cluster", + "app.kubernetes.io/managed-by": "cockroach-operator", + "app.kubernetes.io/name": "cockroachdb", + "app.kubernetes.io/part-of": "cockroachdb", + "crdb": "is-cool" + }, + "managed_fields": [ + { + "api_version": "v1", + "fields_type": "FieldsV1", + "fields_v1": { + "f:metadata": { + "f:annotations": { + ".": {}, + "f:crdb.io/last-applied": {} + }, + "f:labels": { + ".": {}, + "f:app.kubernetes.io/component": {}, + "f:app.kubernetes.io/instance": {}, + "f:app.kubernetes.io/managed-by": {}, + "f:app.kubernetes.io/name": {}, + "f:app.kubernetes.io/part-of": {}, + "f:crdb": {} + }, + "f:ownerReferences": { + ".": {}, + "k:{\"uid\":\"90ad5ef5-9c95-4092-a5e8-1582b92649ff\"}": {} + } + } + }, + "manager": "cockroach-operator", + "operation": "Update", + "subresource": null, + "time": "2023-05-04T20:30:56+00:00" + }, + { + "api_version": "v1", + "fields_type": "FieldsV1", + "fields_v1": { + "f:secrets": { + ".": {}, + "k:{\"name\":\"test-cluster-sa-token-828tt\"}": {} + } + }, + "manager": "kube-controller-manager", + "operation": "Update", + "subresource": null, + "time": "2023-05-04T20:30:56+00:00" + } + ], + "name": "test-cluster-sa", + "namespace": "cockroach-operator-system", + "owner_references": [ + { + "api_version": "crdb.cockroachlabs.com/v1alpha1", + "block_owner_deletion": true, + "controller": true, + "kind": "CrdbCluster", + "name": "test-cluster", + "uid": "90ad5ef5-9c95-4092-a5e8-1582b92649ff" + } + ], + "resource_version": "833", + "self_link": null, + "uid": "c4ce832a-fa0b-4be4-aee9-59d9be6ee164" + }, + "secrets": [ + { + "api_version": null, + "field_path": null, + "kind": null, + "name": "test-cluster-sa-token-828tt", + "namespace": null, + "resource_version": null, + "uid": null + } + ] + } + }, + "pvc": { + "datadir-test-cluster-0": { + "api_version": null, + "kind": null, + "metadata": { + "annotations": { + "pv.kubernetes.io/bind-completed": "yes", + "pv.kubernetes.io/bound-by-controller": "yes", + "volume.beta.kubernetes.io/storage-provisioner": "rancher.io/local-path", + "volume.kubernetes.io/selected-node": "acto-cluster-0-worker" + }, + "creation_timestamp": "2023-05-04T20:30:58+00:00", + "deletion_grace_period_seconds": null, + "deletion_timestamp": null, + "finalizers": [ + "kubernetes.io/pvc-protection" + ], + "generate_name": null, + "generation": null, + "labels": { + "app.kubernetes.io/component": "database", + "app.kubernetes.io/instance": "test-cluster", + "app.kubernetes.io/name": "cockroachdb", + "crdb": "is-cool" + }, + "managed_fields": [ + { + "api_version": "v1", + "fields_type": "FieldsV1", + "fields_v1": { + "f:metadata": { + "f:annotations": { + ".": {}, + "f:volume.kubernetes.io/selected-node": {} + } + } + }, + "manager": "kube-scheduler", + "operation": "Update", + "subresource": null, + "time": "2023-05-04T20:30:58+00:00" + }, + { + "api_version": "v1", + "fields_type": "FieldsV1", + "fields_v1": { + "f:metadata": { + "f:annotations": { + "f:pv.kubernetes.io/bind-completed": {}, + "f:pv.kubernetes.io/bound-by-controller": {}, + "f:volume.beta.kubernetes.io/storage-provisioner": {} + }, + "f:labels": { + ".": {}, + "f:app.kubernetes.io/component": {}, + "f:app.kubernetes.io/instance": {}, + "f:app.kubernetes.io/name": {}, + "f:crdb": {} + } + }, + "f:spec": { + "f:accessModes": {}, + "f:resources": { + "f:requests": { + ".": {}, + "f:storage": {} + } + }, + "f:volumeMode": {}, + "f:volumeName": {} + } + }, + "manager": "kube-controller-manager", + "operation": "Update", + "subresource": null, + "time": "2023-05-04T20:31:01+00:00" + }, + { + "api_version": "v1", + "fields_type": "FieldsV1", + "fields_v1": { + "f:status": { + "f:accessModes": {}, + "f:capacity": { + ".": {}, + "f:storage": {} + }, + "f:phase": {} + } + }, + "manager": "kube-controller-manager", + "operation": "Update", + "subresource": "status", + "time": "2023-05-04T20:31:01+00:00" + } + ], + "name": "datadir-test-cluster-0", + "namespace": "cockroach-operator-system", + "owner_references": null, + "resource_version": "947", + "self_link": null, + "uid": "1ecdb689-a85f-4dbc-9cd3-da9f4303403a" + }, + "spec": { + "access_modes": [ + "ReadWriteOnce" + ], + "data_source": null, + "data_source_ref": null, + "resources": { + "limits": null, + "requests": { + "storage": "1Gi" + } + }, + "selector": null, + "storage_class_name": "standard", + "volume_mode": "Filesystem", + "volume_name": "pvc-1ecdb689-a85f-4dbc-9cd3-da9f4303403a" + }, + "status": { + "access_modes": [ + "ReadWriteOnce" + ], + "allocated_resources": null, + "capacity": { + "storage": "1Gi" + }, + "conditions": null, + "phase": "Bound", + "resize_status": null + } + }, + "datadir-test-cluster-1": { + "api_version": null, + "kind": null, + "metadata": { + "annotations": { + "pv.kubernetes.io/bind-completed": "yes", + "pv.kubernetes.io/bound-by-controller": "yes", + "volume.beta.kubernetes.io/storage-provisioner": "rancher.io/local-path", + "volume.kubernetes.io/selected-node": "acto-cluster-0-worker3" + }, + "creation_timestamp": "2023-05-04T20:30:58+00:00", + "deletion_grace_period_seconds": null, + "deletion_timestamp": null, + "finalizers": [ + "kubernetes.io/pvc-protection" + ], + "generate_name": null, + "generation": null, + "labels": { + "app.kubernetes.io/component": "database", + "app.kubernetes.io/instance": "test-cluster", + "app.kubernetes.io/name": "cockroachdb", + "crdb": "is-cool" + }, + "managed_fields": [ + { + "api_version": "v1", + "fields_type": "FieldsV1", + "fields_v1": { + "f:metadata": { + "f:annotations": { + ".": {}, + "f:volume.kubernetes.io/selected-node": {} + } + } + }, + "manager": "kube-scheduler", + "operation": "Update", + "subresource": null, + "time": "2023-05-04T20:30:58+00:00" + }, + { + "api_version": "v1", + "fields_type": "FieldsV1", + "fields_v1": { + "f:metadata": { + "f:annotations": { + "f:pv.kubernetes.io/bind-completed": {}, + "f:pv.kubernetes.io/bound-by-controller": {}, + "f:volume.beta.kubernetes.io/storage-provisioner": {} + }, + "f:labels": { + ".": {}, + "f:app.kubernetes.io/component": {}, + "f:app.kubernetes.io/instance": {}, + "f:app.kubernetes.io/name": {}, + "f:crdb": {} + } + }, + "f:spec": { + "f:accessModes": {}, + "f:resources": { + "f:requests": { + ".": {}, + "f:storage": {} + } + }, + "f:volumeMode": {}, + "f:volumeName": {} + } + }, + "manager": "kube-controller-manager", + "operation": "Update", + "subresource": null, + "time": "2023-05-04T20:31:00+00:00" + }, + { + "api_version": "v1", + "fields_type": "FieldsV1", + "fields_v1": { + "f:status": { + "f:accessModes": {}, + "f:capacity": { + ".": {}, + "f:storage": {} + }, + "f:phase": {} + } + }, + "manager": "kube-controller-manager", + "operation": "Update", + "subresource": "status", + "time": "2023-05-04T20:31:00+00:00" + } + ], + "name": "datadir-test-cluster-1", + "namespace": "cockroach-operator-system", + "owner_references": null, + "resource_version": "934", + "self_link": null, + "uid": "53bc0e1e-50be-447d-85c6-5159e521a0fb" + }, + "spec": { + "access_modes": [ + "ReadWriteOnce" + ], + "data_source": null, + "data_source_ref": null, + "resources": { + "limits": null, + "requests": { + "storage": "1Gi" + } + }, + "selector": null, + "storage_class_name": "standard", + "volume_mode": "Filesystem", + "volume_name": "pvc-53bc0e1e-50be-447d-85c6-5159e521a0fb" + }, + "status": { + "access_modes": [ + "ReadWriteOnce" + ], + "allocated_resources": null, + "capacity": { + "storage": "1Gi" + }, + "conditions": null, + "phase": "Bound", + "resize_status": null + } + }, + "datadir-test-cluster-2": { + "api_version": null, + "kind": null, + "metadata": { + "annotations": { + "pv.kubernetes.io/bind-completed": "yes", + "pv.kubernetes.io/bound-by-controller": "yes", + "volume.beta.kubernetes.io/storage-provisioner": "rancher.io/local-path", + "volume.kubernetes.io/selected-node": "acto-cluster-0-worker2" + }, + "creation_timestamp": "2023-05-04T20:30:58+00:00", + "deletion_grace_period_seconds": null, + "deletion_timestamp": null, + "finalizers": [ + "kubernetes.io/pvc-protection" + ], + "generate_name": null, + "generation": null, + "labels": { + "app.kubernetes.io/component": "database", + "app.kubernetes.io/instance": "test-cluster", + "app.kubernetes.io/name": "cockroachdb", + "crdb": "is-cool" + }, + "managed_fields": [ + { + "api_version": "v1", + "fields_type": "FieldsV1", + "fields_v1": { + "f:metadata": { + "f:annotations": { + ".": {}, + "f:volume.kubernetes.io/selected-node": {} + } + } + }, + "manager": "kube-scheduler", + "operation": "Update", + "subresource": null, + "time": "2023-05-04T20:30:58+00:00" + }, + { + "api_version": "v1", + "fields_type": "FieldsV1", + "fields_v1": { + "f:metadata": { + "f:annotations": { + "f:pv.kubernetes.io/bind-completed": {}, + "f:pv.kubernetes.io/bound-by-controller": {}, + "f:volume.beta.kubernetes.io/storage-provisioner": {} + }, + "f:labels": { + ".": {}, + "f:app.kubernetes.io/component": {}, + "f:app.kubernetes.io/instance": {}, + "f:app.kubernetes.io/name": {}, + "f:crdb": {} + } + }, + "f:spec": { + "f:accessModes": {}, + "f:resources": { + "f:requests": { + ".": {}, + "f:storage": {} + } + }, + "f:volumeMode": {}, + "f:volumeName": {} + } + }, + "manager": "kube-controller-manager", + "operation": "Update", + "subresource": null, + "time": "2023-05-04T20:31:02+00:00" + }, + { + "api_version": "v1", + "fields_type": "FieldsV1", + "fields_v1": { + "f:status": { + "f:accessModes": {}, + "f:capacity": { + ".": {}, + "f:storage": {} + }, + "f:phase": {} + } + }, + "manager": "kube-controller-manager", + "operation": "Update", + "subresource": "status", + "time": "2023-05-04T20:31:02+00:00" + } + ], + "name": "datadir-test-cluster-2", + "namespace": "cockroach-operator-system", + "owner_references": null, + "resource_version": "968", + "self_link": null, + "uid": "6e344d65-a1cb-44f1-8227-6ae78f90da5d" + }, + "spec": { + "access_modes": [ + "ReadWriteOnce" + ], + "data_source": null, + "data_source_ref": null, + "resources": { + "limits": null, + "requests": { + "storage": "1Gi" + } + }, + "selector": null, + "storage_class_name": "standard", + "volume_mode": "Filesystem", + "volume_name": "pvc-6e344d65-a1cb-44f1-8227-6ae78f90da5d" + }, + "status": { + "access_modes": [ + "ReadWriteOnce" + ], + "allocated_resources": null, + "capacity": { + "storage": "1Gi" + }, + "conditions": null, + "phase": "Bound", + "resize_status": null + } + } + }, + "cronjob": {}, + "ingress": {}, + "network_policy": {}, + "pod_disruption_budget": { + "test-cluster": { + "api_version": null, + "kind": null, + "metadata": { + "annotations": { + "crdb.io/last-applied": "eyJtZXRhZGF0YSI6eyJsYWJlbHMiOnsiYXBwLmt1YmVybmV0ZXMuaW8vbmFtZSI6ImNvY2tyb2FjaGRiIiwiYXBwLmt1YmVybmV0ZXMuaW8vaW5zdGFuY2UiOiJ0ZXN0LWNsdXN0ZXIiLCJhcHAua3ViZXJuZXRlcy5pby92ZXJzaW9uIjoidjIxLjIuMTAiLCJjcmRiIjoiaXMtY29vbCIsImFwcC5rdWJlcm5ldGVzLmlvL2NvbXBvbmVudCI6ImRhdGFiYXNlIiwiYXBwLmt1YmVybmV0ZXMuaW8vbWFuYWdlZC1ieSI6ImNvY2tyb2FjaC1vcGVyYXRvciIsImFwcC5rdWJlcm5ldGVzLmlvL3BhcnQtb2YiOiJjb2Nrcm9hY2hkYiJ9LCJvd25lclJlZmVyZW5jZXMiOlt7ImFwaVZlcnNpb24iOiJjcmRiLmNvY2tyb2FjaGxhYnMuY29tL3YxYWxwaGExIiwia2luZCI6IkNyZGJDbHVzdGVyIiwibmFtZSI6InRlc3QtY2x1c3RlciIsInVpZCI6IjkwYWQ1ZWY1LTljOTUtNDA5Mi1hNWU4LTE1ODJiOTI2NDlmZiIsImNvbnRyb2xsZXIiOnRydWUsImJsb2NrT3duZXJEZWxldGlvbiI6dHJ1ZX1dLCJuYW1lIjoidGVzdC1jbHVzdGVyIiwibmFtZXNwYWNlIjoiY29ja3JvYWNoLW9wZXJhdG9yLXN5c3RlbSJ9LCJzcGVjIjp7InNlbGVjdG9yIjp7Im1hdGNoTGFiZWxzIjp7ImFwcC5rdWJlcm5ldGVzLmlvL2luc3RhbmNlIjoidGVzdC1jbHVzdGVyIiwiYXBwLmt1YmVybmV0ZXMuaW8vY29tcG9uZW50IjoiZGF0YWJhc2UiLCJjcmRiIjoiaXMtY29vbCIsImFwcC5rdWJlcm5ldGVzLmlvL25hbWUiOiJjb2Nrcm9hY2hkYiJ9fSwibWF4VW5hdmFpbGFibGUiOjF9LCJzdGF0dXMiOnsiY3VycmVudEhlYWx0aHkiOjAsImRlc2lyZWRIZWFsdGh5IjowLCJleHBlY3RlZFBvZHMiOjAsImRpc3J1cHRpb25zQWxsb3dlZCI6MH19" + }, + "creation_timestamp": "2023-05-04T20:30:58+00:00", + "deletion_grace_period_seconds": null, + "deletion_timestamp": null, + "finalizers": null, + "generate_name": null, + "generation": 1, + "labels": { + "app.kubernetes.io/component": "database", + "app.kubernetes.io/instance": "test-cluster", + "app.kubernetes.io/managed-by": "cockroach-operator", + "app.kubernetes.io/name": "cockroachdb", + "app.kubernetes.io/part-of": "cockroachdb", + "app.kubernetes.io/version": "v21.2.10", + "crdb": "is-cool" + }, + "managed_fields": [ + { + "api_version": "policy/v1beta1", + "fields_type": "FieldsV1", + "fields_v1": { + "f:metadata": { + "f:annotations": { + ".": {}, + "f:crdb.io/last-applied": {} + }, + "f:labels": { + ".": {}, + "f:app.kubernetes.io/component": {}, + "f:app.kubernetes.io/instance": {}, + "f:app.kubernetes.io/managed-by": {}, + "f:app.kubernetes.io/name": {}, + "f:app.kubernetes.io/part-of": {}, + "f:app.kubernetes.io/version": {}, + "f:crdb": {} + }, + "f:ownerReferences": { + ".": {}, + "k:{\"uid\":\"90ad5ef5-9c95-4092-a5e8-1582b92649ff\"}": {} + } + }, + "f:spec": { + "f:maxUnavailable": {}, + "f:selector": {} + } + }, + "manager": "cockroach-operator", + "operation": "Update", + "subresource": null, + "time": "2023-05-04T20:30:58+00:00" + }, + { + "api_version": "policy/v1", + "fields_type": "FieldsV1", + "fields_v1": { + "f:status": { + "f:conditions": { + ".": {}, + "k:{\"type\":\"DisruptionAllowed\"}": { + ".": {}, + "f:lastTransitionTime": {}, + "f:message": {}, + "f:observedGeneration": {}, + "f:reason": {}, + "f:status": {}, + "f:type": {} + } + }, + "f:currentHealthy": {}, + "f:desiredHealthy": {}, + "f:disruptionsAllowed": {}, + "f:expectedPods": {}, + "f:observedGeneration": {} + } + }, + "manager": "kube-controller-manager", + "operation": "Update", + "subresource": "status", + "time": "2023-05-04T20:31:21+00:00" + } + ], + "name": "test-cluster", + "namespace": "cockroach-operator-system", + "owner_references": [ + { + "api_version": "crdb.cockroachlabs.com/v1alpha1", + "block_owner_deletion": true, + "controller": true, + "kind": "CrdbCluster", + "name": "test-cluster", + "uid": "90ad5ef5-9c95-4092-a5e8-1582b92649ff" + } + ], + "resource_version": "1052", + "self_link": null, + "uid": "518bb618-fc9f-4d74-a07c-f3340bb37854" + }, + "spec": { + "max_unavailable": 1, + "min_available": null, + "selector": { + "match_expressions": null, + "match_labels": { + "app.kubernetes.io/component": "database", + "app.kubernetes.io/instance": "test-cluster", + "app.kubernetes.io/name": "cockroachdb", + "crdb": "is-cool" + } + } + }, + "status": { + "conditions": [ + { + "last_transition_time": "2023-05-04T20:31:21+00:00", + "message": "", + "observed_generation": 1, + "reason": "SufficientPods", + "status": "True", + "type": "DisruptionAllowed" + } + ], + "current_healthy": 3, + "desired_healthy": 2, + "disrupted_pods": null, + "disruptions_allowed": 1, + "expected_pods": 3, + "observed_generation": 1 + } + } + }, + "secret": { + "cockroach-operator-sa-token-wzc2j": { + "api_version": null, + "data": { + "ca.crt": "-----BEGIN CERTIFICATE-----\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ations": { + "kubernetes.io/service-account.name": "cockroach-operator-sa", + "kubernetes.io/service-account.uid": "aee568de-cb39-4282-8a0c-0ab30d52bfac" + }, + "creation_timestamp": "2023-05-04T20:30:22+00:00", + "deletion_grace_period_seconds": null, + "deletion_timestamp": null, + "finalizers": null, + "generate_name": null, + "generation": null, + "labels": null, + "managed_fields": [ + { + "api_version": "v1", + "fields_type": "FieldsV1", + "fields_v1": { + "f:data": { + ".": {}, + "f:ca.crt": {}, + "f:namespace": {}, + "f:token": {} + }, + "f:metadata": { + "f:annotations": { + ".": {}, + "f:kubernetes.io/service-account.name": {}, + "f:kubernetes.io/service-account.uid": {} + } + }, + "f:type": {} + }, + "manager": "kube-controller-manager", + "operation": "Update", + "subresource": null, + "time": "2023-05-04T20:30:22+00:00" + } + ], + "name": "cockroach-operator-sa-token-wzc2j", + "namespace": "cockroach-operator-system", + "owner_references": null, + "resource_version": "702", + "self_link": null, + "uid": "dcac6a29-ef3e-4f70-83f5-5e37488bcadd" + }, + "string_data": null, + "type": "kubernetes.io/service-account-token" + }, + "cockroach-operator-webhook-ca": { + "api_version": null, + "data": { + "tls.crt": "-----BEGIN CERTIFICATE-----\nMIIFHDCCAwSgAwIBAgIBATANBgkqhkiG9w0BAQsFADAgMR4wHAYDVQQKExVDb2Nr\ncm9hY2ggREIgT3BlcmF0b3IwHhcNMjMwNTA0MjAzMDIyWhcNMzMwNTAxMjAzMDIy\nWjAgMR4wHAYDVQQKExVDb2Nrcm9hY2ggREIgT3BlcmF0b3IwggIiMA0GCSqGSIb3\nDQEBAQUAA4ICDwAwggIKAoICAQClIdsIRkqd9AB2XImuNceMeR8It9YG0/d1611T\nh2MNuzaGXFVv+rWt9AOl8jC4NfczwuMsyv+NdJ1x3x5j51ZQRZG76gvGSHvS/SNb\n56sTWwI3OU5s32Ltcyb3CiSyE7EojP0ljlgmCOjBmencofVhpJl1QSB4zsFTSSpi\n6MSK175u8st79thJtNzoREcCuju1y1+6V2WC3eKEFhZcRo0oYPawpJw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njavKYHkA+ec21enkFz+EN6x7o4u6v+3gGCTVBySBOJh10I43X9LXiXcF4zk3HIW0\nqLGKi6/b6exnDp5tXFXLTTxPiVwIwtq9YshgNhqre5wG2zL7g3gBRWSu6WYrM/9v\nfkc7xsdbQP2n4oJNYg6ASUq3iTsZqhpz0dNRnv0W8PC/QjHF4VciDWWiGP8Mom7d\nSVzN3VAkNZHZD9VZtAiYmxBdfZqIquk3PZvIxB0WDBXk6DSmVrPqL8mFUrE5AOom\nDv7v9hOdYP49TTm/fu5iXQSkq5kN4XrF7hibBbmfxNod3CSGI0VpkfHHix5g\n-----END RSA PRIVATE KEY-----\n" + }, + "immutable": null, + "kind": null, + "metadata": { + "annotations": null, + "creation_timestamp": "2023-05-04T20:30:23+00:00", + "deletion_grace_period_seconds": null, + "deletion_timestamp": null, + "finalizers": null, + "generate_name": null, + "generation": null, + "labels": null, + "managed_fields": [ + { + "api_version": "v1", + "fields_type": "FieldsV1", + "fields_v1": { + "f:data": { + ".": {}, + "f:tls.crt": {}, + "f:tls.key": {} + }, + "f:type": {} + }, + "manager": "cockroach-operator", + "operation": "Update", + "subresource": null, + "time": "2023-05-04T20:30:23+00:00" + } + ], + "name": "cockroach-operator-webhook-ca", + "namespace": "cockroach-operator-system", + "owner_references": null, + "resource_version": "736", + "self_link": null, + "uid": "2c751fca-a653-4140-a509-c413fb948dac" + }, + "string_data": null, + "type": "kubernetes.io/tls" + }, + "default-token-7btwd": { + "api_version": null, + "data": { + "ca.crt": "-----BEGIN CERTIFICATE-----\nMIIC/jCCAeagAwIBAgIBADANBgkqhkiG9w0BAQsFADAVMRMwEQYDVQQDEwprdWJl\ncm5ldGVzMB4XDTIzMDUwNDIwMjkxMFoXDTMzMDUwMTIwMjkxMFowFTETMBEGA1UE\nAxMKa3ViZXJuZXRlczCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAOZZ\nNBiE5imKYNYWQsDL7HJDSm2L+ocFPlh1vTf2uGhktpKbD6ITd2HvJBG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dGVtIiwia3ViZXJuZXRlcy5pby9zZXJ2aWNlYWNjb3VudC9zZWNyZXQubmFtZSI6ImRlZmF1bHQtdG9rZW4tN2J0d2QiLCJrdWJlcm5ldGVzLmlvL3NlcnZpY2VhY2NvdW50L3NlcnZpY2UtYWNjb3VudC5uYW1lIjoiZGVmYXVsdCIsImt1YmVybmV0ZXMuaW8vc2VydmljZWFjY291bnQvc2VydmljZS1hY2NvdW50LnVpZCI6ImJlMGM0NTAzLTBmYzItNDc0Ni1iZWY2LWY0MDY3YjBlYjMxZiIsInN1YiI6InN5c3RlbTpzZXJ2aWNlYWNjb3VudDpjb2Nrcm9hY2gtb3BlcmF0b3Itc3lzdGVtOmRlZmF1bHQifQ.Fd6TbX4C-zakYblFasXmJBHIMaKrK7t3AgTzh0SOnEkjv-bmxuj4r1DGwNlo_5QGXRrVel9yvrYpFjAS-9wQTXpPM2761xz2AXTWiircZqCMpFsxJrAY-oxnctb_7XvVK5Wfs5LrIRFDvsxYyBmVA70QYRrAL4J_YJsZW_-6RsbH0hU5dQUk5dyFqQfjXh_NO3gPvoUqfZ7Eh0wdKxsT9qGjXCGF9106ZBBPZA1sPtMjJzc8ujDy2VrtuOi0hIe-3kPI3826Ny1TaBh7-S0Qr-L88gLzD6AWtlpoaEK86-IeEnJguM3zUZPOBi9QSAESGMxYXyBWWh-S4tevjAMLRg" + }, + "immutable": null, + "kind": null, + "metadata": { + "annotations": { + "kubernetes.io/service-account.name": "default", + "kubernetes.io/service-account.uid": "be0c4503-0fc2-4746-bef6-f4067b0eb31f" + }, + "creation_timestamp": "2023-05-04T20:30:11+00:00", + "deletion_grace_period_seconds": null, + "deletion_timestamp": null, + "finalizers": null, + "generate_name": null, + "generation": null, + "labels": null, + "managed_fields": [ + { + "api_version": "v1", + "fields_type": "FieldsV1", + "fields_v1": { + "f:data": { + ".": {}, + "f:ca.crt": {}, + "f:namespace": {}, + "f:token": {} + }, + "f:metadata": { + "f:annotations": { + ".": {}, + "f:kubernetes.io/service-account.name": {}, + "f:kubernetes.io/service-account.uid": {} + } + }, + "f:type": {} + }, + "manager": "kube-controller-manager", + "operation": "Update", + "subresource": null, + "time": "2023-05-04T20:30:11+00:00" + } + ], + "name": "default-token-7btwd", + "namespace": "cockroach-operator-system", + "owner_references": null, + "resource_version": "671", + "self_link": null, + "uid": "9814d748-cd5f-4ab2-9350-4e6c9eeebd03" + }, + "string_data": null, + "type": "kubernetes.io/service-account-token" + }, + "test-cluster-ca": { + "api_version": null, + "data": { + "ca.key": "-----BEGIN RSA PRIVATE KEY-----\nMIIEowIBAAKCAQEAugozAMz1QFpWfE11F38g3JMPU6eKGYQtXXyq8K5fM6UDfKwE\notCy+0N/V7hufscWF4FoP4NiJL4IR/U8dedXV0GyA8FWvgNFmagc7cqWVqZF1BM9\nBaQGXqX3mucexGZS16FAIKZ3XC6r2ZYuJU/6hBYaejpVWPyQb0dBFeP9g1Xs/SZG\nFwQQfeIiqtrPpEpoPsjEIo3CePKL+XD+LhCwHKLiE5PcXP8mgj7AvghPrJm9T3al\nLcigbqESPdaSEWANW1SCuOyMOWNxo2oXtnpy7tf32u2PPt8/4jjNYSSTMhXFirK2\n+Cjcu8P5qVwYUwEOtqKgFFDm0RQiv3+aka8NgwIDAQABAoIBAHYDZEk8utLAu54M\ncJugHFNvwkg5vkPjcfeczr7wjhmvsp+SazpxEyiKr6wQpZ8sYVo1z9CCYm6WUaB7\n84eDYgdK+EajjYfpgWwwlXFOksGSpjcaoRoD67p8o64SsJS7qA97DbfogUzrmj3j\no5AtxOenMdKZUGyrgl/knmfpgXaepV4Rhh6FRNFFjxAPP5ixPLREQSnsdRSVdV8m\nqDUTAF1S5Y69EYsdb3D7bxbUUS30WCe7qvH52ZbGmXJjXvEGfnwKtmPHHPVNin9O\nnjKofROIiM+Kbq9ckd0dEYtyKK0Jymntz2cf9/5nPagyk8cxj0Twb+WKLltF9Hpa\nvd07ZekCgYEA2KcMBN3skvgH2D1+hhXzbEMhObZ5+hBWDXQWtGg0XqTDj02bidTS\nQ8dxLrd0M6F4V7uKKkAwKuNKMvPINih61G1KU5+/vI990MsZcVr9AOtg46UINSQY\nrfP6ItLajJQ96NdZuzTjfMvQe+9MUz5VbrxYs+lBXBrTUcMUyOv+n10CgYEA29Pb\n004kneQtHJWbMq4UDWHJ56zqYKLsOes1mowGXhCwn3vbRJh5q6hUizHtYTZ9omq1\n3LLIgvCdwPfYBr6NJ+soHVYKzyf5ylGpKNi2MQeZdlRCPEiOwpeEpWRyzWWNLuQa\noIjkcYQCRQKnq/IimQW87WsbovCzlndTklz88l8CgYAw882ra9mAe7qKCZsFAQC3\nfZOMTsbQ0dAfyhM3QDRVDjWBs69pPUUlO3M/cwQ2hk2CxUU6trYrep/RU3PxiMP4\nK5mXu4i/OkzbWIivLDfudUC3LxrjpvxMkcv7AlmPWg+DBOWpfxHHqOW6mx9Lz9HN\n65C/Vf0GqqkE2Gdh3rDxoQKBgQCc8uMFN8qO7GWE/g+jnIP2lfX4sg1Y15m/NH6+\nC/FT4aipBV4k2JQuCe3qv8fS23vRpUyY+RCN5EtNhea30f6oHI40e8UV6F3ApJMY\n9bkGwn0/7aKotckvh8yN5WzN1w55ByU3ruUjYvPX37Bk5GjtRhqAjDNcH2ypJiMF\n4dw7EwKBgEqIZZe8h/ADZzKtJEsJJysz8kg/tY04eWqiog6p4+SyJoFkfQ6LVPFZ\nTWzx2l0uFYrSymbvKKA0UBPN/Mka7TEOZidx+MK++ul3L8R7fnF2i/z7J52uxc4x\nUOHbNT2/FZOqLZ5txaYRrdkZn9GuUSyvUY9ptmfnAGWjmtl5XZsQ\n-----END RSA PRIVATE KEY-----\n" + }, + "immutable": null, + "kind": null, + "metadata": { + "annotations": null, + "creation_timestamp": "2023-05-04T20:30:57+00:00", + "deletion_grace_period_seconds": null, + "deletion_timestamp": null, + "finalizers": null, + "generate_name": null, + "generation": null, + "labels": null, + "managed_fields": [ + { + "api_version": "v1", + "fields_type": "FieldsV1", + "fields_v1": { + "f:data": { + ".": {}, + "f:ca.key": {} + }, + "f:type": {} + }, + "manager": "cockroach-operator", + "operation": "Update", + "subresource": null, + "time": "2023-05-04T20:30:57+00:00" + } + ], + "name": "test-cluster-ca", + "namespace": "cockroach-operator-system", + "owner_references": null, + "resource_version": "853", + "self_link": null, + "uid": "40b99663-90a3-4837-a403-1b14d332aae6" + }, + "string_data": null, + "type": "Opaque" + }, + "test-cluster-node": { + "api_version": null, + "data": { + "ca.crt": "-----BEGIN CERTIFICATE-----\nMIIDJTCCAg2gAwIBAgIQBBA8zpKchJyZpBYQzn5SqTANBgkqhkiG9w0BAQsFADAr\nMRIwEAYDVQQKEwlDb2Nrcm9hY2gxFTATBgNVBAMTDENvY2tyb2FjaCBDQTAeFw0y\nMzA1MDMyMDMwNTdaFw0zMzA1MTEyMDMwNTdaMCsxEjAQBgNVBAoTCUNvY2tyb2Fj\naDEVMBMGA1UEAxMMQ29ja3JvYWNoIENBMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8A\nMIIBCgKCAQEAugozAMz1QFpWfE11F38g3JMPU6eKGYQtXXyq8K5fM6UDfKwEotCy\n+0N/V7hufscWF4FoP4NiJL4IR/U8dedXV0GyA8FWvgNFmagc7cqWVqZF1BM9BaQG\nXqX3mucexGZS16FAIKZ3XC6r2ZYuJU/6hBYaejpVWPyQb0dBFeP9g1Xs/SZGFwQQ\nfeIiqtrPpEpoPsjEIo3CePKL+XD+LhCwHKLiE5PcXP8mgj7AvghPrJm9T3alLcig\nbqESPdaSEWANW1SCuOyMOWNxo2oXtnpy7tf32u2PPt8/4jjNYSSTMhXFirK2+Cjc\nu8P5qVwYUwEOtqKgFFDm0RQiv3+aka8NgwIDAQABo0UwQzAOBgNVHQ8BAf8EBAMC\nAuQwEgYDVR0TAQH/BAgwBgEB/wIBATAdBgNVHQ4EFgQUndwRwgwzXigcHh4e4uJN\nOFdFFNgwDQYJKoZIhvcNAQELBQADggEBAGQqoUMP12xChUk1aRK4uNas00RTUT9t\nRRUCtZz27VivAGdGTHVxi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\natseyBucti526pPDa6H2UyRhcwK2rM09ZZhWttouqJGR92Yx66e3UMqYO6BrXQGf\n1NEnIs6a2ogVvx5EuORZzqJN4ItLzgOGTgaYCeCQ9GC83c/f41vNBlUy5W4pV3+S\n2JFNAoGAVC7TEjSnWR+gYmQ3n2B6gVq2qhbTXjFwjTwZPa3+Hq7YRIoh293IOGye\neimGFfWNmVK8QfechqaykH0oiAXeodtk4nBLdltPjveCVUma4oc97lIxeMt0jU5i\ngTaO+9N+FUx80fBJ0k+GRk8yADQDZs8Q5GGmK1g4maMJqTMjbVQ=\n-----END RSA PRIVATE KEY-----\n" + }, + "immutable": null, + "kind": null, + "metadata": { + "annotations": null, + "creation_timestamp": "2023-05-04T20:30:57+00:00", + "deletion_grace_period_seconds": null, + "deletion_timestamp": null, + "finalizers": null, + "generate_name": null, + "generation": null, + "labels": null, + "managed_fields": [ + { + "api_version": "v1", + "fields_type": "FieldsV1", + "fields_v1": { + "f:data": { + ".": {}, + "f:ca.crt": {}, + "f:tls.crt": {}, + "f:tls.key": {} + }, + "f:type": {} + }, + "manager": "cockroach-operator", + "operation": "Update", + "subresource": null, + "time": "2023-05-04T20:30:57+00:00" + } + ], + "name": "test-cluster-node", + "namespace": "cockroach-operator-system", + "owner_references": null, + "resource_version": "854", + "self_link": null, + "uid": "2d1a5516-2887-49f6-b95c-400844c8b286" + }, + "string_data": null, + "type": "Opaque" + }, + "test-cluster-root": { + "api_version": null, + "data": { + "ca.crt": "-----BEGIN CERTIFICATE-----\nMIIDJTCCAg2gAwIBAgIQBBA8zpKchJyZpBYQzn5SqTANBgkqhkiG9w0BAQsFADAr\nMRIwEAYDVQQKEwlDb2Nrcm9hY2gxFTATBgNVBAMTDENvY2tyb2FjaCBDQTAeFw0y\nMzA1MDMyMDMwNTdaFw0zMzA1MTEyMDMwNTdaMCsxEjAQBgNVBAoTCUNvY2tyb2Fj\naDEVMBMGA1UEAxMMQ29ja3JvYWNoIENBMIIBIjANBgkqhkiG9w0BAQEFAAO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I\nps6fb8a4nUWg2w0vTpBdAUH/RO23lBSQIJ5XudUxSVPAeSMSgc+n7Tv5RdR5+P5Q\nXKn/BaSDgRR0JakkTv9FcTMCgYEAk5MtJYl9vSxCm8J3myLnySCbmhh5zJzhL+ro\nDWzp4LMV0xkIpprA1M8PXQQvj5FFQO7x/km5kUGYbKSTuV4tq0TUoQiH9mIaowUZ\nlYPiPGbVVzNcNElhe/3lVRkEFtpBJBzp2C59sz1XXvqz/v+M6R5Cpo6UU8vEX54s\nxXT2GKkCgYBh1SDkRy3NSKi1rkm30ABxcD7kZzKrQ/S7ebVuIV2hjKM43xV9Tge2\nzv54ma20ZDt1DenBTEc772VpSCWvaljAPdkb9kk3GJVSry9FBaXjM+Z/Tt2qDV6i\nTZR/zbtD3/EApnhy+2lNBECGpuUo2bjtuFb/H+subGCx4AwUjOkr8A==\n-----END RSA PRIVATE KEY-----\n" + }, + "immutable": null, + "kind": null, + "metadata": { + "annotations": null, + "creation_timestamp": "2023-05-04T20:30:57+00:00", + "deletion_grace_period_seconds": null, + "deletion_timestamp": null, + "finalizers": null, + "generate_name": null, + "generation": null, + "labels": null, + "managed_fields": [ + { + "api_version": "v1", + "fields_type": "FieldsV1", + "fields_v1": { + "f:data": { + ".": {}, + "f:ca.crt": {}, + "f:tls.crt": {}, + "f:tls.key": {} + }, + "f:type": {} + }, + "manager": "cockroach-operator", + "operation": "Update", + "subresource": null, + "time": "2023-05-04T20:30:57+00:00" + } + ], + "name": "test-cluster-root", + "namespace": "cockroach-operator-system", + "owner_references": null, + "resource_version": "855", + "self_link": null, + "uid": "76c509d6-5649-4fc6-9335-ef802eeeab2f" + }, + "string_data": null, + "type": "Opaque" + }, + "test-cluster-sa-token-828tt": { + "api_version": null, + "data": { + "ca.crt": "-----BEGIN CERTIFICATE-----\nMIIC/jCCAeagAwIBAgIBADANBgkqhkiG9w0BAQsFADAVMRMwEQYDVQQDEwprdWJl\ncm5ldGVzMB4XDTIzMDUwNDIwMjkxMFoXDTMzMD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JrcEkifQ.eyJpc3MiOiJrdWJlcm5ldGVzL3NlcnZpY2VhY2NvdW50Iiwia3ViZXJuZXRlcy5pby9zZXJ2aWNlYWNjb3VudC9uYW1lc3BhY2UiOiJjb2Nrcm9hY2gtb3BlcmF0b3Itc3lzdGVtIiwia3ViZXJuZXRlcy5pby9zZXJ2aWNlYWNjb3VudC9zZWNyZXQubmFtZSI6InRlc3QtY2x1c3Rlci1zYS10b2tlbi04Mjh0dCIsImt1YmVybmV0ZXMuaW8vc2VydmljZWFjY291bnQvc2VydmljZS1hY2NvdW50Lm5hbWUiOiJ0ZXN0LWNsdXN0ZXItc2EiLCJrdWJlcm5ldGVzLmlvL3NlcnZpY2VhY2NvdW50L3NlcnZpY2UtYWNjb3VudC51aWQiOiJjNGNlODMyYS1mYTBiLTRiZTQtYWVlOS01OWQ5YmU2ZWUxNjQiLCJzdWIiOiJzeXN0ZW06c2VydmljZWFjY291bnQ6Y29ja3JvYWNoLW9wZXJhdG9yLXN5c3RlbTp0ZXN0LWNsdXN0ZXItc2EifQ.mRb989ZkIHUP4lVKdLsdcRLZSYHkHvwjfX7wvgRNYDUzwi8tQ4eram14vdcfxkK0oyaQRWBKJPUBs0AuiIKvI21eCdFrELM5z3f2ZtvIqpJzPUIE9xHsVG8UG1Q7n5NI2g7FMpF39eO37ioiuOThuBtsIjffepayhbxB2oipGPpeE3VzG0K0DKEiLGDo7XtLQapibUkLprM2rEdummQbFOr9pDXuaD9zEWpViaL659iK2lpNrVmKmqgn1BB-GBIMJec9x0cRtc4pUHUmG8bIpUBzdGpy1Q97lfh6Vb9sXvikXHhGh7GBcX-DQyo2_0Rekq00cPgwsTn1ClN5jEr4ZA" + }, + "immutable": null, + "kind": null, + "metadata": { + "annotations": { + "kubernetes.io/service-account.name": "test-cluster-sa", + "kubernetes.io/service-account.uid": "c4ce832a-fa0b-4be4-aee9-59d9be6ee164" + }, + "creation_timestamp": "2023-05-04T20:30:56+00:00", + "deletion_grace_period_seconds": null, + "deletion_timestamp": null, + "finalizers": null, + "generate_name": null, + "generation": null, + "labels": null, + "managed_fields": [ + { + "api_version": "v1", + "fields_type": "FieldsV1", + "fields_v1": { + "f:data": { + ".": {}, + "f:ca.crt": {}, + "f:namespace": {}, + "f:token": {} + }, + "f:metadata": { + "f:annotations": { + ".": {}, + "f:kubernetes.io/service-account.name": {}, + "f:kubernetes.io/service-account.uid": {} + } + }, + "f:type": {} + }, + "manager": "kube-controller-manager", + "operation": "Update", + "subresource": null, + "time": "2023-05-04T20:30:56+00:00" + } + ], + "name": "test-cluster-sa-token-828tt", + "namespace": "cockroach-operator-system", + "owner_references": null, + "resource_version": "832", + "self_link": null, + "uid": "09d10c26-892e-40cf-832e-e436c05a5ce9" + }, + "string_data": null, + "type": "kubernetes.io/service-account-token" + } + }, + "endpoints": { + "cockroach-operator-webhook-service": { + "api_version": null, + "kind": null, + "metadata": { + "annotations": null, + "creation_timestamp": "2023-05-04T20:30:22+00:00", + "deletion_grace_period_seconds": null, + "deletion_timestamp": null, + "finalizers": null, + "generate_name": null, + "generation": null, + "labels": { + "control-plane": "cockroach-operator" + }, + "managed_fields": [ + { + "api_version": "v1", + "fields_type": "FieldsV1", + "fields_v1": { + "f:metadata": { + "f:labels": { + ".": {}, + "f:control-plane": {} + } + }, + "f:subsets": {} + }, + "manager": "kube-controller-manager", + "operation": "Update", + "subresource": null, + "time": "2023-05-04T20:30:52+00:00" + } + ], + "name": "cockroach-operator-webhook-service", + "namespace": "cockroach-operator-system", + "owner_references": null, + "resource_version": "809", + "self_link": null, + "uid": "b6860b37-06ef-4aa7-868d-ae6e0e727231" + }, + "subsets": [ + { + "addresses": [ + { + "hostname": null, + "ip": "10.244.1.2", + "node_name": "acto-cluster-0-worker3", + "target_ref": { + "api_version": null, + "field_path": null, + "kind": "Pod", + "name": "cockroach-operator-manager-64c489884-t4l82", + "namespace": "cockroach-operator-system", + "resource_version": "800", + "uid": "2fa41549-7083-45b2-8a85-b2450b8b08b7" + } + } + ], + "not_ready_addresses": null, + "ports": [ + { + "app_protocol": null, + "name": null, + "port": 9443, + "protocol": "TCP" + } + ] + } + ] + }, + "test-cluster": { + "api_version": null, + "kind": null, + "metadata": { + "annotations": { + "endpoints.kubernetes.io/last-change-trigger-time": "2023-05-04T20:31:21Z" + }, + "creation_timestamp": "2023-05-04T20:30:57+00:00", + "deletion_grace_period_seconds": null, + "deletion_timestamp": null, + "finalizers": null, + "generate_name": null, + "generation": null, + "labels": { + "app.kubernetes.io/component": "database", + "app.kubernetes.io/instance": "test-cluster", + "app.kubernetes.io/managed-by": "cockroach-operator", + "app.kubernetes.io/name": "cockroachdb", + "app.kubernetes.io/part-of": "cockroachdb", + "app.kubernetes.io/version": "v21.2.10", + "crdb": "is-cool", + "service.kubernetes.io/headless": "" + }, + "managed_fields": [ + { + "api_version": "v1", + "fields_type": "FieldsV1", + "fields_v1": { + "f:metadata": { + "f:annotations": { + ".": {}, + "f:endpoints.kubernetes.io/last-change-trigger-time": {} + }, + "f:labels": { + ".": {}, + "f:app.kubernetes.io/component": {}, + "f:app.kubernetes.io/instance": {}, + "f:app.kubernetes.io/managed-by": {}, + "f:app.kubernetes.io/name": {}, + "f:app.kubernetes.io/part-of": {}, + "f:app.kubernetes.io/version": {}, + "f:crdb": {}, + "f:service.kubernetes.io/headless": {} + } + }, + "f:subsets": {} + }, + "manager": "kube-controller-manager", + "operation": "Update", + "subresource": null, + "time": "2023-05-04T20:31:01+00:00" + } + ], + "name": "test-cluster", + "namespace": "cockroach-operator-system", + "owner_references": null, + "resource_version": "1048", + "self_link": null, + "uid": "01aa7b79-a160-478c-b84f-cce690199fae" + }, + "subsets": [ + { + "addresses": [ + { + "hostname": "test-cluster-1", + "ip": "10.244.1.4", + "node_name": "acto-cluster-0-worker3", + "target_ref": { + "api_version": null, + "field_path": null, + "kind": "Pod", + "name": "test-cluster-1", + "namespace": "cockroach-operator-system", + "resource_version": "1047", + "uid": "cc1555b0-c26a-4b7b-bec4-c44b82760466" + } + }, + { + "hostname": "test-cluster-2", + "ip": "10.244.2.4", + "node_name": "acto-cluster-0-worker2", + "target_ref": { + "api_version": null, + "field_path": null, + "kind": "Pod", + "name": "test-cluster-2", + "namespace": "cockroach-operator-system", + "resource_version": "1020", + "uid": "30cdd852-14b8-4fc7-a7f6-b3dfe6ebaf1d" + } + }, + { + "hostname": "test-cluster-0", + "ip": "10.244.3.4", + "node_name": "acto-cluster-0-worker", + "target_ref": { + "api_version": null, + "field_path": null, + "kind": "Pod", + "name": "test-cluster-0", + "namespace": "cockroach-operator-system", + "resource_version": "1035", + "uid": "3a41326f-04a0-41ef-9b75-7d9930634288" + } + } + ], + "not_ready_addresses": null, + "ports": [ + { + "app_protocol": null, + "name": "grpc", + "port": 26258, + "protocol": "TCP" + }, + { + "app_protocol": null, + "name": "sql", + "port": 26257, + "protocol": "TCP" + }, + { + "app_protocol": null, + "name": "http", + "port": 8080, + "protocol": "TCP" + } + ] + } + ] + }, + "test-cluster-public": { + "api_version": null, + "kind": null, + "metadata": { + "annotations": { + "endpoints.kubernetes.io/last-change-trigger-time": "2023-05-04T20:31:21Z" + }, + "creation_timestamp": "2023-05-04T20:30:57+00:00", + "deletion_grace_period_seconds": null, + "deletion_timestamp": null, + "finalizers": null, + "generate_name": null, + "generation": null, + "labels": { + "app.kubernetes.io/component": "database", + "app.kubernetes.io/instance": "test-cluster", + "app.kubernetes.io/managed-by": "cockroach-operator", + "app.kubernetes.io/name": "cockroachdb", + "app.kubernetes.io/part-of": "cockroachdb", + "app.kubernetes.io/version": "v21.2.10", + "crdb": "is-cool" + }, + "managed_fields": [ + { + "api_version": "v1", + "fields_type": "FieldsV1", + "fields_v1": { + "f:metadata": { + "f:annotations": { + ".": {}, + "f:endpoints.kubernetes.io/last-change-trigger-time": {} + }, + "f:labels": { + ".": {}, + "f:app.kubernetes.io/component": {}, + "f:app.kubernetes.io/instance": {}, + "f:app.kubernetes.io/managed-by": {}, + "f:app.kubernetes.io/name": {}, + "f:app.kubernetes.io/part-of": {}, + "f:app.kubernetes.io/version": {}, + "f:crdb": {} + } + }, + "f:subsets": {} + }, + "manager": "kube-controller-manager", + "operation": "Update", + "subresource": null, + "time": "2023-05-04T20:31:01+00:00" + } + ], + "name": "test-cluster-public", + "namespace": "cockroach-operator-system", + "owner_references": null, + "resource_version": "1049", + "self_link": null, + "uid": "3564ff33-0459-4ca5-b808-21b27dd09d00" + }, + "subsets": [ + { + "addresses": [ + { + "hostname": null, + "ip": "10.244.1.4", + "node_name": "acto-cluster-0-worker3", + "target_ref": { + "api_version": null, + "field_path": null, + "kind": "Pod", + "name": "test-cluster-1", + "namespace": "cockroach-operator-system", + "resource_version": "1047", + "uid": "cc1555b0-c26a-4b7b-bec4-c44b82760466" + } + }, + { + "hostname": null, + "ip": "10.244.2.4", + "node_name": "acto-cluster-0-worker2", + "target_ref": { + "api_version": null, + "field_path": null, + "kind": "Pod", + "name": "test-cluster-2", + "namespace": "cockroach-operator-system", + "resource_version": "1020", + "uid": "30cdd852-14b8-4fc7-a7f6-b3dfe6ebaf1d" + } + }, + { + "hostname": null, + "ip": "10.244.3.4", + "node_name": "acto-cluster-0-worker", + "target_ref": { + "api_version": null, + "field_path": null, + "kind": "Pod", + "name": "test-cluster-0", + "namespace": "cockroach-operator-system", + "resource_version": "1035", + "uid": "3a41326f-04a0-41ef-9b75-7d9930634288" + } + } + ], + "not_ready_addresses": null, + "ports": [ + { + "app_protocol": null, + "name": "grpc", + "port": 26258, + "protocol": "TCP" + }, + { + "app_protocol": null, + "name": "sql", + "port": 26257, + "protocol": "TCP" + }, + { + "app_protocol": null, + "name": "http", + "port": 8080, + "protocol": "TCP" + } + ] + } + ] + } + }, + "job": {}, + "role": { + "test-cluster-role": { + "api_version": null, + "kind": null, + "metadata": { + "annotations": { + "crdb.io/last-applied": "eyJtZXRhZGF0YSI6eyJuYW1lc3BhY2UiOiJjb2Nrcm9hY2gtb3BlcmF0b3Itc3lzdGVtIiwibGFiZWxzIjp7ImFwcC5rdWJlcm5ldGVzLmlvL2luc3RhbmNlIjoidGVzdC1jbHVzdGVyIiwiYXBwLmt1YmVybmV0ZXMuaW8vY29tcG9uZW50IjoiZGF0YWJhc2UiLCJhcHAua3ViZXJuZXRlcy5pby9tYW5hZ2VkLWJ5IjoiY29ja3JvYWNoLW9wZXJhdG9yIiwiY3JkYiI6ImlzLWNvb2wiLCJhcHAua3ViZXJuZXRlcy5pby9wYXJ0LW9mIjoiY29ja3JvYWNoZGIiLCJhcHAua3ViZXJuZXRlcy5pby9uYW1lIjoiY29ja3JvYWNoZGIifSwib3duZXJSZWZlcmVuY2VzIjpbeyJhcGlWZXJzaW9uIjoiY3JkYi5jb2Nrcm9hY2hsYWJzLmNvbS92MWFscGhhMSIsImtpbmQiOiJDcmRiQ2x1c3RlciIsIm5hbWUiOiJ0ZXN0LWNsdXN0ZXIiLCJ1aWQiOiI5MGFkNWVmNS05Yzk1LTQwOTItYTVlOC0xNTgyYjkyNjQ5ZmYiLCJjb250cm9sbGVyIjp0cnVlLCJibG9ja093bmVyRGVsZXRpb24iOnRydWV9XSwibmFtZSI6InRlc3QtY2x1c3Rlci1yb2xlIn0sInJ1bGVzIjpbeyJhcGlHcm91cHMiOlsic2VjdXJpdHkub3BlbnNoaWZ0LmlvIl0sInJlc291cmNlcyI6WyJzZWN1cml0eWNvbnRleHRjb25zdHJhaW50cyJdLCJ2ZXJicyI6WyJ1c2UiXX1dfQ==" + }, + "creation_timestamp": "2023-05-04T20:30:56+00:00", + "deletion_grace_period_seconds": null, + "deletion_timestamp": null, + "finalizers": null, + "generate_name": null, + "generation": null, + "labels": { + "app.kubernetes.io/component": "database", + "app.kubernetes.io/instance": "test-cluster", + "app.kubernetes.io/managed-by": "cockroach-operator", + "app.kubernetes.io/name": "cockroachdb", + "app.kubernetes.io/part-of": "cockroachdb", + "crdb": "is-cool" + }, + "managed_fields": [ + { + "api_version": "rbac.authorization.k8s.io/v1", + "fields_type": "FieldsV1", + "fields_v1": { + "f:metadata": { + "f:annotations": { + ".": {}, + "f:crdb.io/last-applied": {} + }, + "f:labels": { + ".": {}, + "f:app.kubernetes.io/component": {}, + "f:app.kubernetes.io/instance": {}, + "f:app.kubernetes.io/managed-by": {}, + "f:app.kubernetes.io/name": {}, + "f:app.kubernetes.io/part-of": {}, + "f:crdb": {} + }, + "f:ownerReferences": { + ".": {}, + "k:{\"uid\":\"90ad5ef5-9c95-4092-a5e8-1582b92649ff\"}": {} + } + }, + "f:rules": {} + }, + "manager": "cockroach-operator", + "operation": "Update", + "subresource": null, + "time": "2023-05-04T20:30:56+00:00" + } + ], + "name": "test-cluster-role", + "namespace": "cockroach-operator-system", + "owner_references": [ + { + "api_version": "crdb.cockroachlabs.com/v1alpha1", + "block_owner_deletion": true, + "controller": true, + "kind": "CrdbCluster", + "name": "test-cluster", + "uid": "90ad5ef5-9c95-4092-a5e8-1582b92649ff" + } + ], + "resource_version": "834", + "self_link": null, + "uid": "ac048cd6-8cff-40fd-ba91-b2ea7f4a235b" + }, + "rules": [ + { + "api_groups": [ + "security.openshift.io" + ], + "non_resource_ur_ls": null, + "resource_names": null, + "resources": [ + "securitycontextconstraints" + ], + "verbs": [ + "use" + ] + } + ] + } + }, + "role_binding": { + "test-cluster-role-binding": { + "api_version": null, + "kind": null, + "metadata": { + "annotations": { + "crdb.io/last-applied": "eyJyb2xlUmVmIjp7ImFwaUdyb3VwIjoicmJhYy5hdXRob3JpemF0aW9uLms4cy5pbyIsImtpbmQiOiJSb2xlIiwibmFtZSI6InRlc3QtY2x1c3Rlci1yb2xlIn0sIm1ldGFkYXRhIjp7Im5hbWUiOiJ0ZXN0LWNsdXN0ZXItcm9sZS1iaW5kaW5nIiwibmFtZXNwYWNlIjoiY29ja3JvYWNoLW9wZXJhdG9yLXN5c3RlbSIsImxhYmVscyI6eyJhcHAua3ViZXJuZXRlcy5pby9jb21wb25lbnQiOiJkYXRhYmFzZSIsImFwcC5rdWJlcm5ldGVzLmlvL21hbmFnZWQtYnkiOiJjb2Nrcm9hY2gtb3BlcmF0b3IiLCJjcmRiIjoiaXMtY29vbCIsImFwcC5rdWJlcm5ldGVzLmlvL3BhcnQtb2YiOiJjb2Nrcm9hY2hkYiIsImFwcC5rdWJlcm5ldGVzLmlvL25hbWUiOiJjb2Nrcm9hY2hkYiIsImFwcC5rdWJlcm5ldGVzLmlvL2luc3RhbmNlIjoidGVzdC1jbHVzdGVyIn0sIm93bmVyUmVmZXJlbmNlcyI6W3sibmFtZSI6InRlc3QtY2x1c3RlciIsInVpZCI6IjkwYWQ1ZWY1LTljOTUtNDA5Mi1hNWU4LTE1ODJiOTI2NDlmZiIsImNvbnRyb2xsZXIiOnRydWUsImJsb2NrT3duZXJEZWxldGlvbiI6dHJ1ZSwiYXBpVmVyc2lvbiI6ImNyZGIuY29ja3JvYWNobGFicy5jb20vdjFhbHBoYTEiLCJraW5kIjoiQ3JkYkNsdXN0ZXIifV19LCJzdWJqZWN0cyI6W3sia2luZCI6IlNlcnZpY2VBY2NvdW50IiwibmFtZSI6InRlc3QtY2x1c3Rlci1zYSJ9XX0=" + }, + "creation_timestamp": "2023-05-04T20:30:56+00:00", + "deletion_grace_period_seconds": null, + "deletion_timestamp": null, + "finalizers": null, + "generate_name": null, + "generation": null, + "labels": { + "app.kubernetes.io/component": "database", + "app.kubernetes.io/instance": "test-cluster", + "app.kubernetes.io/managed-by": "cockroach-operator", + "app.kubernetes.io/name": "cockroachdb", + "app.kubernetes.io/part-of": "cockroachdb", + "crdb": "is-cool" + }, + "managed_fields": [ + { + "api_version": "rbac.authorization.k8s.io/v1", + "fields_type": "FieldsV1", + "fields_v1": { + "f:metadata": { + "f:annotations": { + ".": {}, + "f:crdb.io/last-applied": {} + }, + "f:labels": { + ".": {}, + "f:app.kubernetes.io/component": {}, + "f:app.kubernetes.io/instance": {}, + "f:app.kubernetes.io/managed-by": {}, + "f:app.kubernetes.io/name": {}, + "f:app.kubernetes.io/part-of": {}, + "f:crdb": {} + }, + "f:ownerReferences": { + ".": {}, + "k:{\"uid\":\"90ad5ef5-9c95-4092-a5e8-1582b92649ff\"}": {} + } + }, + "f:roleRef": {}, + "f:subjects": {} + }, + "manager": "cockroach-operator", + "operation": "Update", + "subresource": null, + "time": "2023-05-04T20:30:56+00:00" + } + ], + "name": "test-cluster-role-binding", + "namespace": "cockroach-operator-system", + "owner_references": [ + { + "api_version": "crdb.cockroachlabs.com/v1alpha1", + "block_owner_deletion": true, + "controller": true, + "kind": "CrdbCluster", + "name": "test-cluster", + "uid": "90ad5ef5-9c95-4092-a5e8-1582b92649ff" + } + ], + "resource_version": "835", + "self_link": null, + "uid": "e2f407b8-9169-4400-b6d2-cf0cbea3853d" + }, + "role_ref": { + "api_group": "rbac.authorization.k8s.io", + "kind": "Role", + "name": "test-cluster-role" + }, + "subjects": [ + { + "api_group": null, + "kind": "ServiceAccount", + "name": "test-cluster-sa", + "namespace": null + } + ] + } + }, + "custom_resource_spec": { + "additionalLabels": { + "crdb": "is-cool" + }, + "dataStore": { + "pvc": { + "source": { + "claimName": "" + }, + "spec": { + "accessModes": [ + "ReadWriteOnce" + ], + "resources": { + "requests": { + "storage": "1Gi" + } + }, + "volumeMode": "Filesystem" + } + }, + "supportsAutoResize": false + }, + "grpcPort": 26258, + "httpPort": 8080, + "image": { + "name": "cockroachdb/cockroach:v21.2.10", + "pullPolicy": "IfNotPresent" + }, + "maxUnavailable": 1, + "nodes": 3, + "resources": { + "limits": { + "cpu": "2", + "memory": "2Gi" + }, + "requests": { + "cpu": "100m", + "memory": "1Gi" + } + }, + "sqlPort": 26257, + "tlsEnabled": true + }, + "custom_resource_status": { + "clusterStatus": "Failed", + "conditions": [ + { + "lastTransitionTime": "2023-05-04T20:31:08Z", + "status": "True", + "type": "Initialized" + }, + { + "lastTransitionTime": "2023-05-04T20:30:56Z", + "status": "True", + "type": "CrdbVersionChecked" + }, + { + "lastTransitionTime": "2023-05-04T20:30:57Z", + "status": "True", + "type": "CertificateGenerated" + } + ], + "crdbcontainerimage": "cockroachdb/cockroach:v21.2.10", + "operatorActions": [ + { + "lastTransitionTime": "2023-05-04T20:31:03Z", + "message": "pod is not running", + "status": "Failed", + "type": "Initialize" + } + ], + "version": "v21.2.10" + } +} \ No newline at end of file diff --git a/test/test_data/crdbop-920/system-state-001.json b/test/test_data/crdbop-920/system-state-001.json new file mode 100644 index 0000000000..c1492dd606 --- /dev/null +++ b/test/test_data/crdbop-920/system-state-001.json @@ -0,0 +1,7566 @@ +{ + "pod": { + "test-cluster-0": { + "api_version": null, + "kind": null, + "metadata": { + "annotations": null, + "creation_timestamp": "2023-05-04T20:30:58+00:00", + "deletion_grace_period_seconds": null, + "deletion_timestamp": null, + "finalizers": null, + "generate_name": "test-cluster-", + "generation": null, + "labels": { + "app.kubernetes.io/component": "database", + "app.kubernetes.io/instance": "test-cluster", + "app.kubernetes.io/name": "cockroachdb", + "controller-revision-hash": "test-cluster-76f9c78d88", + "crdb": "is-cool", + "statefulset.kubernetes.io/pod-name": "test-cluster-0" + }, + "managed_fields": [ + { + "api_version": "v1", + "fields_type": "FieldsV1", + "fields_v1": { + "f:metadata": { + "f:generateName": {}, + "f:labels": { + ".": {}, + "f:app.kubernetes.io/component": {}, + "f:app.kubernetes.io/instance": {}, + "f:app.kubernetes.io/name": {}, + "f:controller-revision-hash": {}, + "f:crdb": {}, + "f:statefulset.kubernetes.io/pod-name": {} + }, + "f:ownerReferences": { + ".": {}, + "k:{\"uid\":\"f53f5464-2142-4d42-8f5b-bdd30e5c1acf\"}": {} + } + }, + "f:spec": { + "f:automountServiceAccountToken": {}, + "f:containers": { + "k:{\"name\":\"db\"}": { + ".": {}, + "f:command": {}, + "f:env": { + ".": {}, + "k:{\"name\":\"COCKROACH_CHANNEL\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"GOMAXPROCS\"}": { + ".": {}, + "f:name": {}, + "f:valueFrom": { + ".": {}, + "f:resourceFieldRef": {} + } + }, + "k:{\"name\":\"MEMORY_LIMIT_MIB\"}": { + ".": {}, + "f:name": {}, + "f:valueFrom": { + ".": {}, + "f:resourceFieldRef": {} + } + }, + "k:{\"name\":\"POD_NAME\"}": { + ".": {}, + "f:name": {}, + "f:valueFrom": { + ".": {}, + "f:fieldRef": {} + } + } + }, + "f:image": {}, + "f:imagePullPolicy": {}, + "f:lifecycle": { + ".": {}, + "f:preStop": { + ".": {}, + "f:exec": { + ".": {}, + "f:command": {} + } + } + }, + "f:name": {}, + "f:ports": { + ".": {}, + "k:{\"containerPort\":8080,\"protocol\":\"TCP\"}": { + ".": {}, + "f:containerPort": {}, + "f:name": {}, + "f:protocol": {} + }, + "k:{\"containerPort\":26257,\"protocol\":\"TCP\"}": { + ".": {}, + "f:containerPort": {}, + "f:name": {}, + "f:protocol": {} + }, + "k:{\"containerPort\":26258,\"protocol\":\"TCP\"}": { + ".": {}, + "f:containerPort": {}, + "f:name": {}, + "f:protocol": {} + } + }, + "f:readinessProbe": { + ".": {}, + "f:failureThreshold": {}, + "f:httpGet": { + ".": {}, + "f:path": {}, + "f:port": {}, + "f:scheme": {} + }, + "f:initialDelaySeconds": {}, + "f:periodSeconds": {}, + "f:successThreshold": {}, + "f:timeoutSeconds": {} + }, + "f:resources": { + ".": {}, + "f:limits": { + ".": {}, + "f:cpu": {}, + "f:memory": {} + }, + "f:requests": { + ".": {}, + "f:cpu": {}, + "f:memory": {} + } + }, + "f:terminationMessagePath": {}, + "f:terminationMessagePolicy": {}, + "f:volumeMounts": { + ".": {}, + "k:{\"mountPath\":\"/cockroach/cockroach-certs/\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + }, + "k:{\"mountPath\":\"/cockroach/cockroach-data/\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + } + } + } + }, + "f:dnsPolicy": {}, + "f:enableServiceLinks": {}, + "f:hostname": {}, + "f:initContainers": { + ".": {}, + "k:{\"name\":\"db-init\"}": { + ".": {}, + "f:command": {}, + "f:image": {}, + "f:imagePullPolicy": {}, + "f:name": {}, + "f:resources": {}, + "f:securityContext": { + ".": {}, + "f:allowPrivilegeEscalation": {}, + "f:runAsUser": {} + }, + "f:terminationMessagePath": {}, + "f:terminationMessagePolicy": {}, + "f:volumeMounts": { + ".": {}, + "k:{\"mountPath\":\"/cockroach/cockroach-certs-prestage/\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + }, + "k:{\"mountPath\":\"/cockroach/cockroach-certs/\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + } + } + } + }, + "f:restartPolicy": {}, + "f:schedulerName": {}, + "f:securityContext": { + ".": {}, + "f:fsGroup": {}, + "f:runAsUser": {} + }, + "f:serviceAccount": {}, + "f:serviceAccountName": {}, + "f:subdomain": {}, + "f:terminationGracePeriodSeconds": {}, + "f:volumes": { + ".": {}, + "k:{\"name\":\"certs\"}": { + ".": {}, + "f:name": {}, + "f:projected": { + ".": {}, + "f:defaultMode": {}, + "f:sources": {} + } + }, + "k:{\"name\":\"datadir\"}": { + ".": {}, + "f:name": {}, + "f:persistentVolumeClaim": { + ".": {}, + "f:claimName": {} + } + }, + "k:{\"name\":\"emptydir\"}": { + ".": {}, + "f:emptyDir": {}, + "f:name": {} + } + } + } + }, + "manager": "kube-controller-manager", + "operation": "Update", + "subresource": null, + "time": "2023-05-04T20:30:58+00:00" + }, + { + "api_version": "v1", + "fields_type": "FieldsV1", + "fields_v1": { + "f:status": { + "f:conditions": { + "k:{\"type\":\"ContainersReady\"}": { + ".": {}, + "f:lastProbeTime": {}, + "f:lastTransitionTime": {}, + "f:status": {}, + "f:type": {} + }, + "k:{\"type\":\"Initialized\"}": { + ".": {}, + "f:lastProbeTime": {}, + "f:lastTransitionTime": {}, + "f:status": {}, + "f:type": {} + }, + "k:{\"type\":\"Ready\"}": { + ".": {}, + "f:lastProbeTime": {}, + "f:lastTransitionTime": {}, + "f:status": {}, + "f:type": {} + } + }, + "f:containerStatuses": {}, + "f:hostIP": {}, + "f:initContainerStatuses": {}, + "f:phase": {}, + "f:podIP": {}, + "f:podIPs": { + ".": {}, + "k:{\"ip\":\"10.244.3.4\"}": { + ".": {}, + "f:ip": {} + } + }, + "f:startTime": {} + } + }, + "manager": "kubelet", + "operation": "Update", + "subresource": "status", + "time": "2023-05-04T20:31:17+00:00" + } + ], + "name": "test-cluster-0", + "namespace": "cockroach-operator-system", + "owner_references": [ + { + "api_version": "apps/v1", + "block_owner_deletion": true, + "controller": true, + "kind": "StatefulSet", + "name": "test-cluster", + "uid": "f53f5464-2142-4d42-8f5b-bdd30e5c1acf" + } + ], + "resource_version": "1035", + "self_link": null, + "uid": "3a41326f-04a0-41ef-9b75-7d9930634288" + }, + "spec": { + "active_deadline_seconds": null, + "affinity": null, + "automount_service_account_token": false, + "containers": [ + { + "args": null, + "command": [ + "/bin/bash", + "-ecx", + "exec /cockroach/cockroach.sh start --advertise-host=$(POD_NAME).test-cluster.cockroach-operator-system --certs-dir=/cockroach/cockroach-certs/ --http-port=8080 --sql-addr=:26257 --listen-addr=:26258 --log=\"{sinks: {stderr: {channels: [OPS, HEALTH], redact: true}}}\" --cache $(expr $MEMORY_LIMIT_MIB / 4)MiB --max-sql-memory $(expr $MEMORY_LIMIT_MIB / 4)MiB --join=test-cluster-0.test-cluster.cockroach-operator-system:26258,test-cluster-1.test-cluster.cockroach-operator-system:26258,test-cluster-2.test-cluster.cockroach-operator-system:26258" + ], + "env": [ + { + "name": "COCKROACH_CHANNEL", + "value": "kubernetes-operator-unknown", + "value_from": null + }, + { + "name": "POD_NAME", + "value": null, + "value_from": { + "config_map_key_ref": null, + "field_ref": { + "api_version": "v1", + "field_path": "metadata.name" + }, + "resource_field_ref": null, + "secret_key_ref": null + } + }, + { + "name": "GOMAXPROCS", + "value": null, + "value_from": { + "config_map_key_ref": null, + "field_ref": null, + "resource_field_ref": { + "container_name": null, + "divisor": "1", + "resource": "limits.cpu" + }, + "secret_key_ref": null + } + }, + { + "name": "MEMORY_LIMIT_MIB", + "value": null, + "value_from": { + "config_map_key_ref": null, + "field_ref": null, + "resource_field_ref": { + "container_name": null, + "divisor": "1Mi", + "resource": "limits.memory" + }, + "secret_key_ref": null + } + } + ], + "env_from": null, + "image": "cockroachdb/cockroach:v21.2.10", + "image_pull_policy": "IfNotPresent", + "lifecycle": { + "post_start": null, + "pre_stop": { + "_exec": { + "command": [ + "sh", + "-c", + "/cockroach/cockroach node drain --certs-dir=/cockroach/cockroach-certs/ || exit 0" + ] + }, + "http_get": null, + "tcp_socket": null + } + }, + "liveness_probe": null, + "name": "db", + "ports": [ + { + "container_port": 26258, + "host_ip": null, + "host_port": null, + "name": "grpc", + "protocol": "TCP" + }, + { + "container_port": 8080, + "host_ip": null, + "host_port": null, + "name": "http", + "protocol": "TCP" + }, + { + "container_port": 26257, + "host_ip": null, + "host_port": null, + "name": "sql", + "protocol": "TCP" + } + ], + "readiness_probe": { + "_exec": null, + "failure_threshold": 2, + "grpc": null, + "http_get": { + "host": null, + "http_headers": null, + "path": "/health?ready=1", + "port": "http", + "scheme": "HTTPS" + }, + "initial_delay_seconds": 10, + "period_seconds": 5, + "success_threshold": 1, + "tcp_socket": null, + "termination_grace_period_seconds": null, + "timeout_seconds": 1 + }, + "resources": { + "limits": { + "cpu": "2", + "memory": "2Gi" + }, + "requests": { + "cpu": "100m", + "memory": "1Gi" + } + }, + "security_context": null, + "startup_probe": null, + "stdin": null, + "stdin_once": null, + "termination_message_path": "/dev/termination-log", + "termination_message_policy": "File", + "tty": null, + "volume_devices": null, + "volume_mounts": [ + { + "mount_path": "/cockroach/cockroach-data/", + "mount_propagation": null, + "name": "datadir", + "read_only": null, + "sub_path": null, + "sub_path_expr": null + }, + { + "mount_path": "/cockroach/cockroach-certs/", + "mount_propagation": null, + "name": "emptydir", + "read_only": null, + "sub_path": null, + "sub_path_expr": null + } + ], + "working_dir": null + } + ], + "dns_config": null, + "dns_policy": "ClusterFirst", + "enable_service_links": true, + "ephemeral_containers": null, + "host_aliases": null, + "host_ipc": null, + "host_network": null, + "host_pid": null, + "host_users": null, + "hostname": "test-cluster-0", + "image_pull_secrets": null, + "init_containers": [ + { + "args": null, + "command": [ + "/bin/sh", + "-c", + ">- cp -p /cockroach/cockroach-certs-prestage/..data/* /cockroach/cockroach-certs/ && chmod 700 /cockroach/cockroach-certs/*.key && chown 1000581000:1000581000 /cockroach/cockroach-certs/*.key" + ], + "env": null, + "env_from": null, + "image": "cockroachdb/cockroach:v21.2.10", + "image_pull_policy": "IfNotPresent", + "lifecycle": null, + "liveness_probe": null, + "name": "db-init", + "ports": null, + "readiness_probe": null, + "resources": { + "limits": null, + "requests": null + }, + "security_context": { + "allow_privilege_escalation": false, + "capabilities": null, + "privileged": null, + "proc_mount": null, + "read_only_root_filesystem": null, + "run_as_group": null, + "run_as_non_root": null, + "run_as_user": 0, + "se_linux_options": null, + "seccomp_profile": null, + "windows_options": null + }, + "startup_probe": null, + "stdin": null, + "stdin_once": null, + "termination_message_path": "/dev/termination-log", + "termination_message_policy": "File", + "tty": null, + "volume_devices": null, + "volume_mounts": [ + { + "mount_path": "/cockroach/cockroach-certs-prestage/", + "mount_propagation": null, + "name": "certs", + "read_only": null, + "sub_path": null, + "sub_path_expr": null + }, + { + "mount_path": "/cockroach/cockroach-certs/", + "mount_propagation": null, + "name": "emptydir", + "read_only": null, + "sub_path": null, + "sub_path_expr": null + } + ], + "working_dir": null + } + ], + "node_name": "acto-cluster-0-worker", + "node_selector": null, + "os": null, + "overhead": null, + "preemption_policy": "PreemptLowerPriority", + "priority": 0, + "priority_class_name": null, + "readiness_gates": null, + "restart_policy": "Always", + "runtime_class_name": null, + "scheduler_name": "default-scheduler", + "security_context": { + "fs_group": 1000581000, + "fs_group_change_policy": null, + "run_as_group": null, + "run_as_non_root": null, + "run_as_user": 1000581000, + "se_linux_options": null, + "seccomp_profile": null, + "supplemental_groups": null, + "sysctls": null, + "windows_options": null + }, + "service_account": "test-cluster-sa", + "service_account_name": "test-cluster-sa", + "set_hostname_as_fqdn": null, + "share_process_namespace": null, + "subdomain": "test-cluster", + "termination_grace_period_seconds": 300, + "tolerations": [ + { + "effect": "NoExecute", + "key": "node.kubernetes.io/not-ready", + "operator": "Exists", + "toleration_seconds": 300, + "value": null + }, + { + "effect": "NoExecute", + "key": "node.kubernetes.io/unreachable", + "operator": "Exists", + "toleration_seconds": 300, + "value": null + } + ], + "topology_spread_constraints": null, + "volumes": [ + { + "aws_elastic_block_store": null, + "azure_disk": null, + "azure_file": null, + "cephfs": null, + "cinder": null, + "config_map": null, + "csi": null, + "downward_api": null, + "empty_dir": null, + "ephemeral": null, + "fc": null, + "flex_volume": null, + "flocker": null, + "gce_persistent_disk": null, + "git_repo": null, + "glusterfs": null, + "host_path": null, + "iscsi": null, + "name": "datadir", + "nfs": null, + "persistent_volume_claim": { + "claim_name": "datadir-test-cluster-0", + "read_only": null + }, + "photon_persistent_disk": null, + "portworx_volume": null, + "projected": null, + "quobyte": null, + "rbd": null, + "scale_io": null, + "secret": null, + "storageos": null, + "vsphere_volume": null + }, + { + "aws_elastic_block_store": null, + "azure_disk": null, + "azure_file": null, + "cephfs": null, + "cinder": null, + "config_map": null, + "csi": null, + "downward_api": null, + "empty_dir": { + "medium": null, + "size_limit": null + }, + "ephemeral": null, + "fc": null, + "flex_volume": null, + "flocker": null, + "gce_persistent_disk": null, + "git_repo": null, + "glusterfs": null, + "host_path": null, + "iscsi": null, + "name": "emptydir", + "nfs": null, + "persistent_volume_claim": null, + "photon_persistent_disk": null, + "portworx_volume": null, + "projected": null, + "quobyte": null, + "rbd": null, + "scale_io": null, + "secret": null, + "storageos": null, + "vsphere_volume": null + }, + { + "aws_elastic_block_store": null, + "azure_disk": null, + "azure_file": null, + "cephfs": null, + "cinder": null, + "config_map": null, + "csi": null, + "downward_api": null, + "empty_dir": null, + "ephemeral": null, + "fc": null, + "flex_volume": null, + "flocker": null, + "gce_persistent_disk": null, + "git_repo": null, + "glusterfs": null, + "host_path": null, + "iscsi": null, + "name": "certs", + "nfs": null, + "persistent_volume_claim": null, + "photon_persistent_disk": null, + "portworx_volume": null, + "projected": { + "default_mode": 400, + "sources": [ + { + "config_map": null, + "downward_api": null, + "secret": { + "items": [ + { + "key": "ca.crt", + "mode": 504, + "path": "ca.crt" + }, + { + "key": "tls.crt", + "mode": 504, + "path": "node.crt" + }, + { + "key": "tls.key", + "mode": 400, + "path": "node.key" + } + ], + "name": "test-cluster-node", + "optional": null + }, + "service_account_token": null + }, + { + "config_map": null, + "downward_api": null, + "secret": { + "items": [ + { + "key": "tls.crt", + "mode": 504, + "path": "client.root.crt" + }, + { + "key": "tls.key", + "mode": 400, + "path": "client.root.key" + } + ], + "name": "test-cluster-root", + "optional": null + }, + "service_account_token": null + } + ] + }, + "quobyte": null, + "rbd": null, + "scale_io": null, + "secret": null, + "storageos": null, + "vsphere_volume": null + } + ] + }, + "status": { + "conditions": [ + { + "last_probe_time": null, + "last_transition_time": "2023-05-04T20:31:02+00:00", + "message": null, + "reason": null, + "status": "True", + "type": "Initialized" + }, + { + "last_probe_time": null, + "last_transition_time": "2023-05-04T20:31:17+00:00", + "message": null, + "reason": null, + "status": "True", + "type": "Ready" + }, + { + "last_probe_time": null, + "last_transition_time": "2023-05-04T20:31:17+00:00", + "message": null, + "reason": null, + "status": "True", + "type": "ContainersReady" + }, + { + "last_probe_time": null, + "last_transition_time": "2023-05-04T20:31:02+00:00", + "message": null, + "reason": null, + "status": "True", + "type": "PodScheduled" + } + ], + "container_statuses": [ + { + "container_id": "containerd://81e44e3937e2943b153f21478c743b09aaf6729a5556d78fabed4374ea307eab", + "image": "docker.io/cockroachdb/cockroach:v21.2.10", + "image_id": "docker.io/library/import-2023-05-04@sha256:070cca8c19ddf0ae6bc2bd88819e394fef6131b6cd44edb93847d703a068c29c", + "last_state": { + "running": null, + "terminated": null, + "waiting": null + }, + "name": "db", + "ready": true, + "restart_count": 0, + "started": true, + "state": { + "running": { + "started_at": "2023-05-04T20:31:03+00:00" + }, + "terminated": null, + "waiting": null + } + } + ], + "ephemeral_container_statuses": null, + "host_ip": "172.18.0.5", + "init_container_statuses": [ + { + "container_id": "containerd://f6125d79ef93cf40968b0a21344b7b2704bc2357d4618d833121fcd757336057", + "image": "docker.io/cockroachdb/cockroach:v21.2.10", + "image_id": "docker.io/library/import-2023-05-04@sha256:070cca8c19ddf0ae6bc2bd88819e394fef6131b6cd44edb93847d703a068c29c", + "last_state": { + "running": null, + "terminated": null, + "waiting": null + }, + "name": "db-init", + "ready": true, + "restart_count": 0, + "started": null, + "state": { + "running": null, + "terminated": { + "container_id": "containerd://f6125d79ef93cf40968b0a21344b7b2704bc2357d4618d833121fcd757336057", + "exit_code": 0, + "finished_at": "2023-05-04T20:31:02+00:00", + "message": null, + "reason": "Completed", + "signal": null, + "started_at": "2023-05-04T20:31:02+00:00" + }, + "waiting": null + } + } + ], + "message": null, + "nominated_node_name": null, + "phase": "Running", + "pod_ip": "10.244.3.4", + "pod_i_ps": [ + { + "ip": "10.244.3.4" + } + ], + "qos_class": "Burstable", + "reason": null, + "start_time": "2023-05-04T20:31:02+00:00" + } + }, + "test-cluster-1": { + "api_version": null, + "kind": null, + "metadata": { + "annotations": null, + "creation_timestamp": "2023-05-04T20:30:58+00:00", + "deletion_grace_period_seconds": null, + "deletion_timestamp": null, + "finalizers": null, + "generate_name": "test-cluster-", + "generation": null, + "labels": { + "app.kubernetes.io/component": "database", + "app.kubernetes.io/instance": "test-cluster", + "app.kubernetes.io/name": "cockroachdb", + "controller-revision-hash": "test-cluster-76f9c78d88", + "crdb": "is-cool", + "statefulset.kubernetes.io/pod-name": "test-cluster-1" + }, + "managed_fields": [ + { + "api_version": "v1", + "fields_type": "FieldsV1", + "fields_v1": { + "f:metadata": { + "f:generateName": {}, + "f:labels": { + ".": {}, + "f:app.kubernetes.io/component": {}, + "f:app.kubernetes.io/instance": {}, + "f:app.kubernetes.io/name": {}, + "f:controller-revision-hash": {}, + "f:crdb": {}, + "f:statefulset.kubernetes.io/pod-name": {} + }, + "f:ownerReferences": { + ".": {}, + "k:{\"uid\":\"f53f5464-2142-4d42-8f5b-bdd30e5c1acf\"}": {} + } + }, + "f:spec": { + "f:automountServiceAccountToken": {}, + "f:containers": { + "k:{\"name\":\"db\"}": { + ".": {}, + "f:command": {}, + "f:env": { + ".": {}, + "k:{\"name\":\"COCKROACH_CHANNEL\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"GOMAXPROCS\"}": { + ".": {}, + "f:name": {}, + "f:valueFrom": { + ".": {}, + "f:resourceFieldRef": {} + } + }, + "k:{\"name\":\"MEMORY_LIMIT_MIB\"}": { + ".": {}, + "f:name": {}, + "f:valueFrom": { + ".": {}, + "f:resourceFieldRef": {} + } + }, + "k:{\"name\":\"POD_NAME\"}": { + ".": {}, + "f:name": {}, + "f:valueFrom": { + ".": {}, + "f:fieldRef": {} + } + } + }, + "f:image": {}, + "f:imagePullPolicy": {}, + "f:lifecycle": { + ".": {}, + "f:preStop": { + ".": {}, + "f:exec": { + ".": {}, + "f:command": {} + } + } + }, + "f:name": {}, + "f:ports": { + ".": {}, + "k:{\"containerPort\":8080,\"protocol\":\"TCP\"}": { + ".": {}, + "f:containerPort": {}, + "f:name": {}, + "f:protocol": {} + }, + "k:{\"containerPort\":26257,\"protocol\":\"TCP\"}": { + ".": {}, + "f:containerPort": {}, + "f:name": {}, + "f:protocol": {} + }, + "k:{\"containerPort\":26258,\"protocol\":\"TCP\"}": { + ".": {}, + "f:containerPort": {}, + "f:name": {}, + "f:protocol": {} + } + }, + "f:readinessProbe": { + ".": {}, + "f:failureThreshold": {}, + "f:httpGet": { + ".": {}, + "f:path": {}, + "f:port": {}, + "f:scheme": {} + }, + "f:initialDelaySeconds": {}, + "f:periodSeconds": {}, + "f:successThreshold": {}, + "f:timeoutSeconds": {} + }, + "f:resources": { + ".": {}, + "f:limits": { + ".": {}, + "f:cpu": {}, + "f:memory": {} + }, + "f:requests": { + ".": {}, + "f:cpu": {}, + "f:memory": {} + } + }, + "f:terminationMessagePath": {}, + "f:terminationMessagePolicy": {}, + "f:volumeMounts": { + ".": {}, + "k:{\"mountPath\":\"/cockroach/cockroach-certs/\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + }, + "k:{\"mountPath\":\"/cockroach/cockroach-data/\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + } + } + } + }, + "f:dnsPolicy": {}, + "f:enableServiceLinks": {}, + "f:hostname": {}, + "f:initContainers": { + ".": {}, + "k:{\"name\":\"db-init\"}": { + ".": {}, + "f:command": {}, + "f:image": {}, + "f:imagePullPolicy": {}, + "f:name": {}, + "f:resources": {}, + "f:securityContext": { + ".": {}, + "f:allowPrivilegeEscalation": {}, + "f:runAsUser": {} + }, + "f:terminationMessagePath": {}, + "f:terminationMessagePolicy": {}, + "f:volumeMounts": { + ".": {}, + "k:{\"mountPath\":\"/cockroach/cockroach-certs-prestage/\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + }, + "k:{\"mountPath\":\"/cockroach/cockroach-certs/\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + } + } + } + }, + "f:restartPolicy": {}, + "f:schedulerName": {}, + "f:securityContext": { + ".": {}, + "f:fsGroup": {}, + "f:runAsUser": {} + }, + "f:serviceAccount": {}, + "f:serviceAccountName": {}, + "f:subdomain": {}, + "f:terminationGracePeriodSeconds": {}, + "f:volumes": { + ".": {}, + "k:{\"name\":\"certs\"}": { + ".": {}, + "f:name": {}, + "f:projected": { + ".": {}, + "f:defaultMode": {}, + "f:sources": {} + } + }, + "k:{\"name\":\"datadir\"}": { + ".": {}, + "f:name": {}, + "f:persistentVolumeClaim": { + ".": {}, + "f:claimName": {} + } + }, + "k:{\"name\":\"emptydir\"}": { + ".": {}, + "f:emptyDir": {}, + "f:name": {} + } + } + } + }, + "manager": "kube-controller-manager", + "operation": "Update", + "subresource": null, + "time": "2023-05-04T20:30:58+00:00" + }, + { + "api_version": "v1", + "fields_type": "FieldsV1", + "fields_v1": { + "f:status": { + "f:conditions": { + "k:{\"type\":\"ContainersReady\"}": { + ".": {}, + "f:lastProbeTime": {}, + "f:lastTransitionTime": {}, + "f:status": {}, + "f:type": {} + }, + "k:{\"type\":\"Initialized\"}": { + ".": {}, + "f:lastProbeTime": {}, + "f:lastTransitionTime": {}, + "f:status": {}, + "f:type": {} + }, + "k:{\"type\":\"Ready\"}": { + ".": {}, + "f:lastProbeTime": {}, + "f:lastTransitionTime": {}, + "f:status": {}, + "f:type": {} + } + }, + "f:containerStatuses": {}, + "f:hostIP": {}, + "f:initContainerStatuses": {}, + "f:phase": {}, + "f:podIP": {}, + "f:podIPs": { + ".": {}, + "k:{\"ip\":\"10.244.1.4\"}": { + ".": {}, + "f:ip": {} + } + }, + "f:startTime": {} + } + }, + "manager": "kubelet", + "operation": "Update", + "subresource": "status", + "time": "2023-05-04T20:31:21+00:00" + } + ], + "name": "test-cluster-1", + "namespace": "cockroach-operator-system", + "owner_references": [ + { + "api_version": "apps/v1", + "block_owner_deletion": true, + "controller": true, + "kind": "StatefulSet", + "name": "test-cluster", + "uid": "f53f5464-2142-4d42-8f5b-bdd30e5c1acf" + } + ], + "resource_version": "1047", + "self_link": null, + "uid": "cc1555b0-c26a-4b7b-bec4-c44b82760466" + }, + "spec": { + "active_deadline_seconds": null, + "affinity": null, + "automount_service_account_token": false, + "containers": [ + { + "args": null, + "command": [ + "/bin/bash", + "-ecx", + "exec /cockroach/cockroach.sh start --advertise-host=$(POD_NAME).test-cluster.cockroach-operator-system --certs-dir=/cockroach/cockroach-certs/ --http-port=8080 --sql-addr=:26257 --listen-addr=:26258 --log=\"{sinks: {stderr: {channels: [OPS, HEALTH], redact: true}}}\" --cache $(expr $MEMORY_LIMIT_MIB / 4)MiB --max-sql-memory $(expr $MEMORY_LIMIT_MIB / 4)MiB --join=test-cluster-0.test-cluster.cockroach-operator-system:26258,test-cluster-1.test-cluster.cockroach-operator-system:26258,test-cluster-2.test-cluster.cockroach-operator-system:26258" + ], + "env": [ + { + "name": "COCKROACH_CHANNEL", + "value": "kubernetes-operator-unknown", + "value_from": null + }, + { + "name": "POD_NAME", + "value": null, + "value_from": { + "config_map_key_ref": null, + "field_ref": { + "api_version": "v1", + "field_path": "metadata.name" + }, + "resource_field_ref": null, + "secret_key_ref": null + } + }, + { + "name": "GOMAXPROCS", + "value": null, + "value_from": { + "config_map_key_ref": null, + "field_ref": null, + "resource_field_ref": { + "container_name": null, + "divisor": "1", + "resource": "limits.cpu" + }, + "secret_key_ref": null + } + }, + { + "name": "MEMORY_LIMIT_MIB", + "value": null, + "value_from": { + "config_map_key_ref": null, + "field_ref": null, + "resource_field_ref": { + "container_name": null, + "divisor": "1Mi", + "resource": "limits.memory" + }, + "secret_key_ref": null + } + } + ], + "env_from": null, + "image": "cockroachdb/cockroach:v21.2.10", + "image_pull_policy": "IfNotPresent", + "lifecycle": { + "post_start": null, + "pre_stop": { + "_exec": { + "command": [ + "sh", + "-c", + "/cockroach/cockroach node drain --certs-dir=/cockroach/cockroach-certs/ || exit 0" + ] + }, + "http_get": null, + "tcp_socket": null + } + }, + "liveness_probe": null, + "name": "db", + "ports": [ + { + "container_port": 26258, + "host_ip": null, + "host_port": null, + "name": "grpc", + "protocol": "TCP" + }, + { + "container_port": 8080, + "host_ip": null, + "host_port": null, + "name": "http", + "protocol": "TCP" + }, + { + "container_port": 26257, + "host_ip": null, + "host_port": null, + "name": "sql", + "protocol": "TCP" + } + ], + "readiness_probe": { + "_exec": null, + "failure_threshold": 2, + "grpc": null, + "http_get": { + "host": null, + "http_headers": null, + "path": "/health?ready=1", + "port": "http", + "scheme": "HTTPS" + }, + "initial_delay_seconds": 10, + "period_seconds": 5, + "success_threshold": 1, + "tcp_socket": null, + "termination_grace_period_seconds": null, + "timeout_seconds": 1 + }, + "resources": { + "limits": { + "cpu": "2", + "memory": "2Gi" + }, + "requests": { + "cpu": "100m", + "memory": "1Gi" + } + }, + "security_context": null, + "startup_probe": null, + "stdin": null, + "stdin_once": null, + "termination_message_path": "/dev/termination-log", + "termination_message_policy": "File", + "tty": null, + "volume_devices": null, + "volume_mounts": [ + { + "mount_path": "/cockroach/cockroach-data/", + "mount_propagation": null, + "name": "datadir", + "read_only": null, + "sub_path": null, + "sub_path_expr": null + }, + { + "mount_path": "/cockroach/cockroach-certs/", + "mount_propagation": null, + "name": "emptydir", + "read_only": null, + "sub_path": null, + "sub_path_expr": null + } + ], + "working_dir": null + } + ], + "dns_config": null, + "dns_policy": "ClusterFirst", + "enable_service_links": true, + "ephemeral_containers": null, + "host_aliases": null, + "host_ipc": null, + "host_network": null, + "host_pid": null, + "host_users": null, + "hostname": "test-cluster-1", + "image_pull_secrets": null, + "init_containers": [ + { + "args": null, + "command": [ + "/bin/sh", + "-c", + ">- cp -p /cockroach/cockroach-certs-prestage/..data/* /cockroach/cockroach-certs/ && chmod 700 /cockroach/cockroach-certs/*.key && chown 1000581000:1000581000 /cockroach/cockroach-certs/*.key" + ], + "env": null, + "env_from": null, + "image": "cockroachdb/cockroach:v21.2.10", + "image_pull_policy": "IfNotPresent", + "lifecycle": null, + "liveness_probe": null, + "name": "db-init", + "ports": null, + "readiness_probe": null, + "resources": { + "limits": null, + "requests": null + }, + "security_context": { + "allow_privilege_escalation": false, + "capabilities": null, + "privileged": null, + "proc_mount": null, + "read_only_root_filesystem": null, + "run_as_group": null, + "run_as_non_root": null, + "run_as_user": 0, + "se_linux_options": null, + "seccomp_profile": null, + "windows_options": null + }, + "startup_probe": null, + "stdin": null, + "stdin_once": null, + "termination_message_path": "/dev/termination-log", + "termination_message_policy": "File", + "tty": null, + "volume_devices": null, + "volume_mounts": [ + { + "mount_path": "/cockroach/cockroach-certs-prestage/", + "mount_propagation": null, + "name": "certs", + "read_only": null, + "sub_path": null, + "sub_path_expr": null + }, + { + "mount_path": "/cockroach/cockroach-certs/", + "mount_propagation": null, + "name": "emptydir", + "read_only": null, + "sub_path": null, + "sub_path_expr": null + } + ], + "working_dir": null + } + ], + "node_name": "acto-cluster-0-worker3", + "node_selector": null, + "os": null, + "overhead": null, + "preemption_policy": "PreemptLowerPriority", + "priority": 0, + "priority_class_name": null, + "readiness_gates": null, + "restart_policy": "Always", + "runtime_class_name": null, + "scheduler_name": "default-scheduler", + "security_context": { + "fs_group": 1000581000, + "fs_group_change_policy": null, + "run_as_group": null, + "run_as_non_root": null, + "run_as_user": 1000581000, + "se_linux_options": null, + "seccomp_profile": null, + "supplemental_groups": null, + "sysctls": null, + "windows_options": null + }, + "service_account": "test-cluster-sa", + "service_account_name": "test-cluster-sa", + "set_hostname_as_fqdn": null, + "share_process_namespace": null, + "subdomain": "test-cluster", + "termination_grace_period_seconds": 300, + "tolerations": [ + { + "effect": "NoExecute", + "key": "node.kubernetes.io/not-ready", + "operator": "Exists", + "toleration_seconds": 300, + "value": null + }, + { + "effect": "NoExecute", + "key": "node.kubernetes.io/unreachable", + "operator": "Exists", + "toleration_seconds": 300, + "value": null + } + ], + "topology_spread_constraints": null, + "volumes": [ + { + "aws_elastic_block_store": null, + "azure_disk": null, + "azure_file": null, + "cephfs": null, + "cinder": null, + "config_map": null, + "csi": null, + "downward_api": null, + "empty_dir": null, + "ephemeral": null, + "fc": null, + "flex_volume": null, + "flocker": null, + "gce_persistent_disk": null, + "git_repo": null, + "glusterfs": null, + "host_path": null, + "iscsi": null, + "name": "datadir", + "nfs": null, + "persistent_volume_claim": { + "claim_name": "datadir-test-cluster-1", + "read_only": null + }, + "photon_persistent_disk": null, + "portworx_volume": null, + "projected": null, + "quobyte": null, + "rbd": null, + "scale_io": null, + "secret": null, + "storageos": null, + "vsphere_volume": null + }, + { + "aws_elastic_block_store": null, + "azure_disk": null, + "azure_file": null, + "cephfs": null, + "cinder": null, + "config_map": null, + "csi": null, + "downward_api": null, + "empty_dir": { + "medium": null, + "size_limit": null + }, + "ephemeral": null, + "fc": null, + "flex_volume": null, + "flocker": null, + "gce_persistent_disk": null, + "git_repo": null, + "glusterfs": null, + "host_path": null, + "iscsi": null, + "name": "emptydir", + "nfs": null, + "persistent_volume_claim": null, + "photon_persistent_disk": null, + "portworx_volume": null, + "projected": null, + "quobyte": null, + "rbd": null, + "scale_io": null, + "secret": null, + "storageos": null, + "vsphere_volume": null + }, + { + "aws_elastic_block_store": null, + "azure_disk": null, + "azure_file": null, + "cephfs": null, + "cinder": null, + "config_map": null, + "csi": null, + "downward_api": null, + "empty_dir": null, + "ephemeral": null, + "fc": null, + "flex_volume": null, + "flocker": null, + "gce_persistent_disk": null, + "git_repo": null, + "glusterfs": null, + "host_path": null, + "iscsi": null, + "name": "certs", + "nfs": null, + "persistent_volume_claim": null, + "photon_persistent_disk": null, + "portworx_volume": null, + "projected": { + "default_mode": 400, + "sources": [ + { + "config_map": null, + "downward_api": null, + "secret": { + "items": [ + { + "key": "ca.crt", + "mode": 504, + "path": "ca.crt" + }, + { + "key": "tls.crt", + "mode": 504, + "path": "node.crt" + }, + { + "key": "tls.key", + "mode": 400, + "path": "node.key" + } + ], + "name": "test-cluster-node", + "optional": null + }, + "service_account_token": null + }, + { + "config_map": null, + "downward_api": null, + "secret": { + "items": [ + { + "key": "tls.crt", + "mode": 504, + "path": "client.root.crt" + }, + { + "key": "tls.key", + "mode": 400, + "path": "client.root.key" + } + ], + "name": "test-cluster-root", + "optional": null + }, + "service_account_token": null + } + ] + }, + "quobyte": null, + "rbd": null, + "scale_io": null, + "secret": null, + "storageos": null, + "vsphere_volume": null + } + ] + }, + "status": { + "conditions": [ + { + "last_probe_time": null, + "last_transition_time": "2023-05-04T20:31:01+00:00", + "message": null, + "reason": null, + "status": "True", + "type": "Initialized" + }, + { + "last_probe_time": null, + "last_transition_time": "2023-05-04T20:31:21+00:00", + "message": null, + "reason": null, + "status": "True", + "type": "Ready" + }, + { + "last_probe_time": null, + "last_transition_time": "2023-05-04T20:31:21+00:00", + "message": null, + "reason": null, + "status": "True", + "type": "ContainersReady" + }, + { + "last_probe_time": null, + "last_transition_time": "2023-05-04T20:31:01+00:00", + "message": null, + "reason": null, + "status": "True", + "type": "PodScheduled" + } + ], + "container_statuses": [ + { + "container_id": "containerd://ca7b7418474ee28fca7677e704f5a109803bbdb7ce6872353e6e921433be08a8", + "image": "docker.io/cockroachdb/cockroach:v21.2.10", + "image_id": "docker.io/library/import-2023-05-04@sha256:070cca8c19ddf0ae6bc2bd88819e394fef6131b6cd44edb93847d703a068c29c", + "last_state": { + "running": null, + "terminated": null, + "waiting": null + }, + "name": "db", + "ready": true, + "restart_count": 0, + "started": true, + "state": { + "running": { + "started_at": "2023-05-04T20:31:01+00:00" + }, + "terminated": null, + "waiting": null + } + } + ], + "ephemeral_container_statuses": null, + "host_ip": "172.18.0.3", + "init_container_statuses": [ + { + "container_id": "containerd://52c32f9d159a546b0ed1baa3b717c7cff2b21f35e28b5a587e41e92b29323f50", + "image": "docker.io/cockroachdb/cockroach:v21.2.10", + "image_id": "docker.io/library/import-2023-05-04@sha256:070cca8c19ddf0ae6bc2bd88819e394fef6131b6cd44edb93847d703a068c29c", + "last_state": { + "running": null, + "terminated": null, + "waiting": null + }, + "name": "db-init", + "ready": true, + "restart_count": 0, + "started": null, + "state": { + "running": null, + "terminated": { + "container_id": "containerd://52c32f9d159a546b0ed1baa3b717c7cff2b21f35e28b5a587e41e92b29323f50", + "exit_code": 0, + "finished_at": "2023-05-04T20:31:01+00:00", + "message": null, + "reason": "Completed", + "signal": null, + "started_at": "2023-05-04T20:31:01+00:00" + }, + "waiting": null + } + } + ], + "message": null, + "nominated_node_name": null, + "phase": "Running", + "pod_ip": "10.244.1.4", + "pod_i_ps": [ + { + "ip": "10.244.1.4" + } + ], + "qos_class": "Burstable", + "reason": null, + "start_time": "2023-05-04T20:31:01+00:00" + } + }, + "test-cluster-2": { + "api_version": null, + "kind": null, + "metadata": { + "annotations": null, + "creation_timestamp": "2023-05-04T20:30:58+00:00", + "deletion_grace_period_seconds": null, + "deletion_timestamp": null, + "finalizers": null, + "generate_name": "test-cluster-", + "generation": null, + "labels": { + "app.kubernetes.io/component": "database", + "app.kubernetes.io/instance": "test-cluster", + "app.kubernetes.io/name": "cockroachdb", + "controller-revision-hash": "test-cluster-76f9c78d88", + "crdb": "is-cool", + "statefulset.kubernetes.io/pod-name": "test-cluster-2" + }, + "managed_fields": [ + { + "api_version": "v1", + "fields_type": "FieldsV1", + "fields_v1": { + "f:metadata": { + "f:generateName": {}, + "f:labels": { + ".": {}, + "f:app.kubernetes.io/component": {}, + "f:app.kubernetes.io/instance": {}, + "f:app.kubernetes.io/name": {}, + "f:controller-revision-hash": {}, + "f:crdb": {}, + "f:statefulset.kubernetes.io/pod-name": {} + }, + "f:ownerReferences": { + ".": {}, + "k:{\"uid\":\"f53f5464-2142-4d42-8f5b-bdd30e5c1acf\"}": {} + } + }, + "f:spec": { + "f:automountServiceAccountToken": {}, + "f:containers": { + "k:{\"name\":\"db\"}": { + ".": {}, + "f:command": {}, + "f:env": { + ".": {}, + "k:{\"name\":\"COCKROACH_CHANNEL\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"GOMAXPROCS\"}": { + ".": {}, + "f:name": {}, + "f:valueFrom": { + ".": {}, + "f:resourceFieldRef": {} + } + }, + "k:{\"name\":\"MEMORY_LIMIT_MIB\"}": { + ".": {}, + "f:name": {}, + "f:valueFrom": { + ".": {}, + "f:resourceFieldRef": {} + } + }, + "k:{\"name\":\"POD_NAME\"}": { + ".": {}, + "f:name": {}, + "f:valueFrom": { + ".": {}, + "f:fieldRef": {} + } + } + }, + "f:image": {}, + "f:imagePullPolicy": {}, + "f:lifecycle": { + ".": {}, + "f:preStop": { + ".": {}, + "f:exec": { + ".": {}, + "f:command": {} + } + } + }, + "f:name": {}, + "f:ports": { + ".": {}, + "k:{\"containerPort\":8080,\"protocol\":\"TCP\"}": { + ".": {}, + "f:containerPort": {}, + "f:name": {}, + "f:protocol": {} + }, + "k:{\"containerPort\":26257,\"protocol\":\"TCP\"}": { + ".": {}, + "f:containerPort": {}, + "f:name": {}, + "f:protocol": {} + }, + "k:{\"containerPort\":26258,\"protocol\":\"TCP\"}": { + ".": {}, + "f:containerPort": {}, + "f:name": {}, + "f:protocol": {} + } + }, + "f:readinessProbe": { + ".": {}, + "f:failureThreshold": {}, + "f:httpGet": { + ".": {}, + "f:path": {}, + "f:port": {}, + "f:scheme": {} + }, + "f:initialDelaySeconds": {}, + "f:periodSeconds": {}, + "f:successThreshold": {}, + "f:timeoutSeconds": {} + }, + "f:resources": { + ".": {}, + "f:limits": { + ".": {}, + "f:cpu": {}, + "f:memory": {} + }, + "f:requests": { + ".": {}, + "f:cpu": {}, + "f:memory": {} + } + }, + "f:terminationMessagePath": {}, + "f:terminationMessagePolicy": {}, + "f:volumeMounts": { + ".": {}, + "k:{\"mountPath\":\"/cockroach/cockroach-certs/\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + }, + "k:{\"mountPath\":\"/cockroach/cockroach-data/\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + } + } + } + }, + "f:dnsPolicy": {}, + "f:enableServiceLinks": {}, + "f:hostname": {}, + "f:initContainers": { + ".": {}, + "k:{\"name\":\"db-init\"}": { + ".": {}, + "f:command": {}, + "f:image": {}, + "f:imagePullPolicy": {}, + "f:name": {}, + "f:resources": {}, + "f:securityContext": { + ".": {}, + "f:allowPrivilegeEscalation": {}, + "f:runAsUser": {} + }, + "f:terminationMessagePath": {}, + "f:terminationMessagePolicy": {}, + "f:volumeMounts": { + ".": {}, + "k:{\"mountPath\":\"/cockroach/cockroach-certs-prestage/\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + }, + "k:{\"mountPath\":\"/cockroach/cockroach-certs/\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + } + } + } + }, + "f:restartPolicy": {}, + "f:schedulerName": {}, + "f:securityContext": { + ".": {}, + "f:fsGroup": {}, + "f:runAsUser": {} + }, + "f:serviceAccount": {}, + "f:serviceAccountName": {}, + "f:subdomain": {}, + "f:terminationGracePeriodSeconds": {}, + "f:volumes": { + ".": {}, + "k:{\"name\":\"certs\"}": { + ".": {}, + "f:name": {}, + "f:projected": { + ".": {}, + "f:defaultMode": {}, + "f:sources": {} + } + }, + "k:{\"name\":\"datadir\"}": { + ".": {}, + "f:name": {}, + "f:persistentVolumeClaim": { + ".": {}, + "f:claimName": {} + } + }, + "k:{\"name\":\"emptydir\"}": { + ".": {}, + "f:emptyDir": {}, + "f:name": {} + } + } + } + }, + "manager": "kube-controller-manager", + "operation": "Update", + "subresource": null, + "time": "2023-05-04T20:30:58+00:00" + }, + { + "api_version": "v1", + "fields_type": "FieldsV1", + "fields_v1": { + "f:status": { + "f:conditions": { + "k:{\"type\":\"ContainersReady\"}": { + ".": {}, + "f:lastProbeTime": {}, + "f:lastTransitionTime": {}, + "f:status": {}, + "f:type": {} + }, + "k:{\"type\":\"Initialized\"}": { + ".": {}, + "f:lastProbeTime": {}, + "f:lastTransitionTime": {}, + "f:status": {}, + "f:type": {} + }, + "k:{\"type\":\"Ready\"}": { + ".": {}, + "f:lastProbeTime": {}, + "f:lastTransitionTime": {}, + "f:status": {}, + "f:type": {} + } + }, + "f:containerStatuses": {}, + "f:hostIP": {}, + "f:initContainerStatuses": {}, + "f:phase": {}, + "f:podIP": {}, + "f:podIPs": { + ".": {}, + "k:{\"ip\":\"10.244.2.4\"}": { + ".": {}, + "f:ip": {} + } + }, + "f:startTime": {} + } + }, + "manager": "kubelet", + "operation": "Update", + "subresource": "status", + "time": "2023-05-04T20:31:13+00:00" + } + ], + "name": "test-cluster-2", + "namespace": "cockroach-operator-system", + "owner_references": [ + { + "api_version": "apps/v1", + "block_owner_deletion": true, + "controller": true, + "kind": "StatefulSet", + "name": "test-cluster", + "uid": "f53f5464-2142-4d42-8f5b-bdd30e5c1acf" + } + ], + "resource_version": "1020", + "self_link": null, + "uid": "30cdd852-14b8-4fc7-a7f6-b3dfe6ebaf1d" + }, + "spec": { + "active_deadline_seconds": null, + "affinity": null, + "automount_service_account_token": false, + "containers": [ + { + "args": null, + "command": [ + "/bin/bash", + "-ecx", + "exec /cockroach/cockroach.sh start --advertise-host=$(POD_NAME).test-cluster.cockroach-operator-system --certs-dir=/cockroach/cockroach-certs/ --http-port=8080 --sql-addr=:26257 --listen-addr=:26258 --log=\"{sinks: {stderr: {channels: [OPS, HEALTH], redact: true}}}\" --cache $(expr $MEMORY_LIMIT_MIB / 4)MiB --max-sql-memory $(expr $MEMORY_LIMIT_MIB / 4)MiB --join=test-cluster-0.test-cluster.cockroach-operator-system:26258,test-cluster-1.test-cluster.cockroach-operator-system:26258,test-cluster-2.test-cluster.cockroach-operator-system:26258" + ], + "env": [ + { + "name": "COCKROACH_CHANNEL", + "value": "kubernetes-operator-unknown", + "value_from": null + }, + { + "name": "POD_NAME", + "value": null, + "value_from": { + "config_map_key_ref": null, + "field_ref": { + "api_version": "v1", + "field_path": "metadata.name" + }, + "resource_field_ref": null, + "secret_key_ref": null + } + }, + { + "name": "GOMAXPROCS", + "value": null, + "value_from": { + "config_map_key_ref": null, + "field_ref": null, + "resource_field_ref": { + "container_name": null, + "divisor": "1", + "resource": "limits.cpu" + }, + "secret_key_ref": null + } + }, + { + "name": "MEMORY_LIMIT_MIB", + "value": null, + "value_from": { + "config_map_key_ref": null, + "field_ref": null, + "resource_field_ref": { + "container_name": null, + "divisor": "1Mi", + "resource": "limits.memory" + }, + "secret_key_ref": null + } + } + ], + "env_from": null, + "image": "cockroachdb/cockroach:v21.2.10", + "image_pull_policy": "IfNotPresent", + "lifecycle": { + "post_start": null, + "pre_stop": { + "_exec": { + "command": [ + "sh", + "-c", + "/cockroach/cockroach node drain --certs-dir=/cockroach/cockroach-certs/ || exit 0" + ] + }, + "http_get": null, + "tcp_socket": null + } + }, + "liveness_probe": null, + "name": "db", + "ports": [ + { + "container_port": 26258, + "host_ip": null, + "host_port": null, + "name": "grpc", + "protocol": "TCP" + }, + { + "container_port": 8080, + "host_ip": null, + "host_port": null, + "name": "http", + "protocol": "TCP" + }, + { + "container_port": 26257, + "host_ip": null, + "host_port": null, + "name": "sql", + "protocol": "TCP" + } + ], + "readiness_probe": { + "_exec": null, + "failure_threshold": 2, + "grpc": null, + "http_get": { + "host": null, + "http_headers": null, + "path": "/health?ready=1", + "port": "http", + "scheme": "HTTPS" + }, + "initial_delay_seconds": 10, + "period_seconds": 5, + "success_threshold": 1, + "tcp_socket": null, + "termination_grace_period_seconds": null, + "timeout_seconds": 1 + }, + "resources": { + "limits": { + "cpu": "2", + "memory": "2Gi" + }, + "requests": { + "cpu": "100m", + "memory": "1Gi" + } + }, + "security_context": null, + "startup_probe": null, + "stdin": null, + "stdin_once": null, + "termination_message_path": "/dev/termination-log", + "termination_message_policy": "File", + "tty": null, + "volume_devices": null, + "volume_mounts": [ + { + "mount_path": "/cockroach/cockroach-data/", + "mount_propagation": null, + "name": "datadir", + "read_only": null, + "sub_path": null, + "sub_path_expr": null + }, + { + "mount_path": "/cockroach/cockroach-certs/", + "mount_propagation": null, + "name": "emptydir", + "read_only": null, + "sub_path": null, + "sub_path_expr": null + } + ], + "working_dir": null + } + ], + "dns_config": null, + "dns_policy": "ClusterFirst", + "enable_service_links": true, + "ephemeral_containers": null, + "host_aliases": null, + "host_ipc": null, + "host_network": null, + "host_pid": null, + "host_users": null, + "hostname": "test-cluster-2", + "image_pull_secrets": null, + "init_containers": [ + { + "args": null, + "command": [ + "/bin/sh", + "-c", + ">- cp -p /cockroach/cockroach-certs-prestage/..data/* /cockroach/cockroach-certs/ && chmod 700 /cockroach/cockroach-certs/*.key && chown 1000581000:1000581000 /cockroach/cockroach-certs/*.key" + ], + "env": null, + "env_from": null, + "image": "cockroachdb/cockroach:v21.2.10", + "image_pull_policy": "IfNotPresent", + "lifecycle": null, + "liveness_probe": null, + "name": "db-init", + "ports": null, + "readiness_probe": null, + "resources": { + "limits": null, + "requests": null + }, + "security_context": { + "allow_privilege_escalation": false, + "capabilities": null, + "privileged": null, + "proc_mount": null, + "read_only_root_filesystem": null, + "run_as_group": null, + "run_as_non_root": null, + "run_as_user": 0, + "se_linux_options": null, + "seccomp_profile": null, + "windows_options": null + }, + "startup_probe": null, + "stdin": null, + "stdin_once": null, + "termination_message_path": "/dev/termination-log", + "termination_message_policy": "File", + "tty": null, + "volume_devices": null, + "volume_mounts": [ + { + "mount_path": "/cockroach/cockroach-certs-prestage/", + "mount_propagation": null, + "name": "certs", + "read_only": null, + "sub_path": null, + "sub_path_expr": null + }, + { + "mount_path": "/cockroach/cockroach-certs/", + "mount_propagation": null, + "name": "emptydir", + "read_only": null, + "sub_path": null, + "sub_path_expr": null + } + ], + "working_dir": null + } + ], + "node_name": "acto-cluster-0-worker2", + "node_selector": null, + "os": null, + "overhead": null, + "preemption_policy": "PreemptLowerPriority", + "priority": 0, + "priority_class_name": null, + "readiness_gates": null, + "restart_policy": "Always", + "runtime_class_name": null, + "scheduler_name": "default-scheduler", + "security_context": { + "fs_group": 1000581000, + "fs_group_change_policy": null, + "run_as_group": null, + "run_as_non_root": null, + "run_as_user": 1000581000, + "se_linux_options": null, + "seccomp_profile": null, + "supplemental_groups": null, + "sysctls": null, + "windows_options": null + }, + "service_account": "test-cluster-sa", + "service_account_name": "test-cluster-sa", + "set_hostname_as_fqdn": null, + "share_process_namespace": null, + "subdomain": "test-cluster", + "termination_grace_period_seconds": 300, + "tolerations": [ + { + "effect": "NoExecute", + "key": "node.kubernetes.io/not-ready", + "operator": "Exists", + "toleration_seconds": 300, + "value": null + }, + { + "effect": "NoExecute", + "key": "node.kubernetes.io/unreachable", + "operator": "Exists", + "toleration_seconds": 300, + "value": null + } + ], + "topology_spread_constraints": null, + "volumes": [ + { + "aws_elastic_block_store": null, + "azure_disk": null, + "azure_file": null, + "cephfs": null, + "cinder": null, + "config_map": null, + "csi": null, + "downward_api": null, + "empty_dir": null, + "ephemeral": null, + "fc": null, + "flex_volume": null, + "flocker": null, + "gce_persistent_disk": null, + "git_repo": null, + "glusterfs": null, + "host_path": null, + "iscsi": null, + "name": "datadir", + "nfs": null, + "persistent_volume_claim": { + "claim_name": "datadir-test-cluster-2", + "read_only": null + }, + "photon_persistent_disk": null, + "portworx_volume": null, + "projected": null, + "quobyte": null, + "rbd": null, + "scale_io": null, + "secret": null, + "storageos": null, + "vsphere_volume": null + }, + { + "aws_elastic_block_store": null, + "azure_disk": null, + "azure_file": null, + "cephfs": null, + "cinder": null, + "config_map": null, + "csi": null, + "downward_api": null, + "empty_dir": { + "medium": null, + "size_limit": null + }, + "ephemeral": null, + "fc": null, + "flex_volume": null, + "flocker": null, + "gce_persistent_disk": null, + "git_repo": null, + "glusterfs": null, + "host_path": null, + "iscsi": null, + "name": "emptydir", + "nfs": null, + "persistent_volume_claim": null, + "photon_persistent_disk": null, + "portworx_volume": null, + "projected": null, + "quobyte": null, + "rbd": null, + "scale_io": null, + "secret": null, + "storageos": null, + "vsphere_volume": null + }, + { + "aws_elastic_block_store": null, + "azure_disk": null, + "azure_file": null, + "cephfs": null, + "cinder": null, + "config_map": null, + "csi": null, + "downward_api": null, + "empty_dir": null, + "ephemeral": null, + "fc": null, + "flex_volume": null, + "flocker": null, + "gce_persistent_disk": null, + "git_repo": null, + "glusterfs": null, + "host_path": null, + "iscsi": null, + "name": "certs", + "nfs": null, + "persistent_volume_claim": null, + "photon_persistent_disk": null, + "portworx_volume": null, + "projected": { + "default_mode": 400, + "sources": [ + { + "config_map": null, + "downward_api": null, + "secret": { + "items": [ + { + "key": "ca.crt", + "mode": 504, + "path": "ca.crt" + }, + { + "key": "tls.crt", + "mode": 504, + "path": "node.crt" + }, + { + "key": "tls.key", + "mode": 400, + "path": "node.key" + } + ], + "name": "test-cluster-node", + "optional": null + }, + "service_account_token": null + }, + { + "config_map": null, + "downward_api": null, + "secret": { + "items": [ + { + "key": "tls.crt", + "mode": 504, + "path": "client.root.crt" + }, + { + "key": "tls.key", + "mode": 400, + "path": "client.root.key" + } + ], + "name": "test-cluster-root", + "optional": null + }, + "service_account_token": null + } + ] + }, + "quobyte": null, + "rbd": null, + "scale_io": null, + "secret": null, + "storageos": null, + "vsphere_volume": null + } + ] + }, + "status": { + "conditions": [ + { + "last_probe_time": null, + "last_transition_time": "2023-05-04T20:31:03+00:00", + "message": null, + "reason": null, + "status": "True", + "type": "Initialized" + }, + { + "last_probe_time": null, + "last_transition_time": "2023-05-04T20:31:13+00:00", + "message": null, + "reason": null, + "status": "True", + "type": "Ready" + }, + { + "last_probe_time": null, + "last_transition_time": "2023-05-04T20:31:13+00:00", + "message": null, + "reason": null, + "status": "True", + "type": "ContainersReady" + }, + { + "last_probe_time": null, + "last_transition_time": "2023-05-04T20:31:03+00:00", + "message": null, + "reason": null, + "status": "True", + "type": "PodScheduled" + } + ], + "container_statuses": [ + { + "container_id": "containerd://2f544903b0b636dbca668a30339a5f6d31026753d3566370f99b6d54f5eaed73", + "image": "docker.io/cockroachdb/cockroach:v21.2.10", + "image_id": "docker.io/library/import-2023-05-04@sha256:070cca8c19ddf0ae6bc2bd88819e394fef6131b6cd44edb93847d703a068c29c", + "last_state": { + "running": null, + "terminated": null, + "waiting": null + }, + "name": "db", + "ready": true, + "restart_count": 0, + "started": true, + "state": { + "running": { + "started_at": "2023-05-04T20:31:03+00:00" + }, + "terminated": null, + "waiting": null + } + } + ], + "ephemeral_container_statuses": null, + "host_ip": "172.18.0.6", + "init_container_statuses": [ + { + "container_id": "containerd://f9489fd69bbc0e8097b9546402583a04b9d5ae009a5940ffec5272ca8d642b31", + "image": "docker.io/cockroachdb/cockroach:v21.2.10", + "image_id": "docker.io/library/import-2023-05-04@sha256:070cca8c19ddf0ae6bc2bd88819e394fef6131b6cd44edb93847d703a068c29c", + "last_state": { + "running": null, + "terminated": null, + "waiting": null + }, + "name": "db-init", + "ready": true, + "restart_count": 0, + "started": null, + "state": { + "running": null, + "terminated": { + "container_id": "containerd://f9489fd69bbc0e8097b9546402583a04b9d5ae009a5940ffec5272ca8d642b31", + "exit_code": 0, + "finished_at": "2023-05-04T20:31:03+00:00", + "message": null, + "reason": "Completed", + "signal": null, + "started_at": "2023-05-04T20:31:03+00:00" + }, + "waiting": null + } + } + ], + "message": null, + "nominated_node_name": null, + "phase": "Running", + "pod_ip": "10.244.2.4", + "pod_i_ps": [ + { + "ip": "10.244.2.4" + } + ], + "qos_class": "Burstable", + "reason": null, + "start_time": "2023-05-04T20:31:03+00:00" + } + } + }, + "deployment_pods": { + "cockroach-operator-manager": [ + { + "api_version": null, + "kind": null, + "metadata": { + "annotations": null, + "creation_timestamp": "2023-05-04T20:30:52+00:00", + "deletion_grace_period_seconds": null, + "deletion_timestamp": null, + "finalizers": null, + "generate_name": "cockroach-operator-manager-64c489884-", + "generation": null, + "labels": { + "acto/tag": "operator-pod", + "app": "cockroach-operator", + "pod-template-hash": "64c489884" + }, + "managed_fields": [ + { + "api_version": "v1", + "fields_type": "FieldsV1", + "fields_v1": { + "f:metadata": { + "f:generateName": {}, + "f:labels": { + ".": {}, + "f:acto/tag": {}, + "f:app": {}, + "f:pod-template-hash": {} + }, + "f:ownerReferences": { + ".": {}, + "k:{\"uid\":\"be708d8a-e777-47d2-951f-3826c77ce527\"}": {} + } + }, + "f:spec": { + "f:containers": { + "k:{\"name\":\"cockroach-operator\"}": { + ".": {}, + "f:args": {}, + "f:env": { + ".": {}, + "k:{\"name\":\"NAMESPACE\"}": { + ".": {}, + "f:name": {}, + "f:valueFrom": { + ".": {}, + "f:fieldRef": {} + } + }, + "k:{\"name\":\"OPERATOR_NAME\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"POD_NAME\"}": { + ".": {}, + "f:name": {}, + "f:valueFrom": { + ".": {}, + "f:fieldRef": {} + } + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v20_1_11\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v20_1_12\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v20_1_13\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v20_1_15\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v20_1_16\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v20_1_17\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v20_1_4\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v20_1_5\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v20_1_8\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v20_2_0\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v20_2_1\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v20_2_10\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v20_2_11\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v20_2_12\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v20_2_13\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v20_2_14\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v20_2_15\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v20_2_16\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v20_2_17\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v20_2_18\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v20_2_19\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v20_2_2\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v20_2_3\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v20_2_4\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v20_2_5\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v20_2_6\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v20_2_8\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v20_2_9\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v21_1_0\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v21_1_1\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v21_1_10\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v21_1_11\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v21_1_12\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v21_1_13\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v21_1_14\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v21_1_15\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v21_1_16\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v21_1_17\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v21_1_18\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v21_1_19\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v21_1_2\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v21_1_3\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v21_1_4\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v21_1_5\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v21_1_6\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v21_1_7\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v21_1_9\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v21_2_0\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v21_2_1\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v21_2_10\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v21_2_2\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v21_2_3\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v21_2_4\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v21_2_5\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v21_2_7\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v21_2_8\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v21_2_9\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + } + }, + "f:image": {}, + "f:imagePullPolicy": {}, + "f:name": {}, + "f:resources": { + ".": {}, + "f:requests": { + ".": {}, + "f:cpu": {}, + "f:memory": {} + } + }, + "f:terminationMessagePath": {}, + "f:terminationMessagePolicy": {} + } + }, + "f:dnsPolicy": {}, + "f:enableServiceLinks": {}, + "f:restartPolicy": {}, + "f:schedulerName": {}, + "f:securityContext": {}, + "f:serviceAccount": {}, + "f:serviceAccountName": {}, + "f:terminationGracePeriodSeconds": {} + } + }, + "manager": "kube-controller-manager", + "operation": "Update", + "subresource": null, + "time": "2023-05-04T20:30:52+00:00" + }, + { + "api_version": "v1", + "fields_type": "FieldsV1", + "fields_v1": { + "f:status": { + "f:conditions": { + "k:{\"type\":\"ContainersReady\"}": { + ".": {}, + "f:lastProbeTime": {}, + "f:lastTransitionTime": {}, + "f:status": {}, + "f:type": {} + }, + "k:{\"type\":\"Initialized\"}": { + ".": {}, + "f:lastProbeTime": {}, + "f:lastTransitionTime": {}, + "f:status": {}, + "f:type": {} + }, + "k:{\"type\":\"Ready\"}": { + ".": {}, + "f:lastProbeTime": {}, + "f:lastTransitionTime": {}, + "f:status": {}, + "f:type": {} + } + }, + "f:containerStatuses": {}, + "f:hostIP": {}, + "f:phase": {}, + "f:podIP": {}, + "f:podIPs": { + ".": {}, + "k:{\"ip\":\"10.244.1.2\"}": { + ".": {}, + "f:ip": {} + } + }, + "f:startTime": {} + } + }, + "manager": "kubelet", + "operation": "Update", + "subresource": "status", + "time": "2023-05-04T20:30:52+00:00" + } + ], + "name": "cockroach-operator-manager-64c489884-t4l82", + "namespace": "cockroach-operator-system", + "owner_references": [ + { + "api_version": "apps/v1", + "block_owner_deletion": true, + "controller": true, + "kind": "ReplicaSet", + "name": "cockroach-operator-manager-64c489884", + "uid": "be708d8a-e777-47d2-951f-3826c77ce527" + } + ], + "resource_version": "800", + "self_link": null, + "uid": "2fa41549-7083-45b2-8a85-b2450b8b08b7" + }, + "spec": { + "active_deadline_seconds": null, + "affinity": null, + "automount_service_account_token": null, + "containers": [ + { + "args": [ + "-zap-log-level", + "info", + "-feature-gates", + "TopologySpreadRules=true,AffinityRules=true,TolerationRules=true" + ], + "command": null, + "env": [ + { + "name": "RELATED_IMAGE_COCKROACH_v20_1_4", + "value": "cockroachdb/cockroach:v20.1.4", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v20_1_5", + "value": "cockroachdb/cockroach:v20.1.5", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v20_1_8", + "value": "cockroachdb/cockroach:v20.1.8", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v20_1_11", + "value": "cockroachdb/cockroach:v20.1.11", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v20_1_12", + "value": "cockroachdb/cockroach:v20.1.12", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v20_1_13", + "value": "cockroachdb/cockroach:v20.1.13", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v20_1_15", + "value": "cockroachdb/cockroach:v20.1.15", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v20_1_16", + "value": "cockroachdb/cockroach:v20.1.16", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v20_1_17", + "value": "cockroachdb/cockroach:v20.1.17", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v20_2_0", + "value": "cockroachdb/cockroach:v20.2.0", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v20_2_1", + "value": "cockroachdb/cockroach:v20.2.1", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v20_2_2", + "value": "cockroachdb/cockroach:v20.2.2", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v20_2_3", + "value": "cockroachdb/cockroach:v20.2.3", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v20_2_4", + "value": "cockroachdb/cockroach:v20.2.4", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v20_2_5", + "value": "cockroachdb/cockroach:v20.2.5", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v20_2_6", + "value": "cockroachdb/cockroach:v20.2.6", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v20_2_8", + "value": "cockroachdb/cockroach:v20.2.8", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v20_2_9", + "value": "cockroachdb/cockroach:v20.2.9", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v20_2_10", + "value": "cockroachdb/cockroach:v20.2.10", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v20_2_11", + "value": "cockroachdb/cockroach:v20.2.11", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v20_2_12", + "value": "cockroachdb/cockroach:v20.2.12", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v20_2_13", + "value": "cockroachdb/cockroach:v20.2.13", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v20_2_14", + "value": "cockroachdb/cockroach:v20.2.14", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v20_2_15", + "value": "cockroachdb/cockroach:v20.2.15", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v20_2_16", + "value": "cockroachdb/cockroach:v20.2.16", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v20_2_17", + "value": "cockroachdb/cockroach:v20.2.17", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v20_2_18", + "value": "cockroachdb/cockroach:v20.2.18", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v20_2_19", + "value": "cockroachdb/cockroach:v20.2.19", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v21_1_0", + "value": "cockroachdb/cockroach:v21.1.0", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v21_1_1", + "value": "cockroachdb/cockroach:v21.1.1", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v21_1_2", + "value": "cockroachdb/cockroach:v21.1.2", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v21_1_3", + "value": "cockroachdb/cockroach:v21.1.3", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v21_1_4", + "value": "cockroachdb/cockroach:v21.1.4", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v21_1_5", + "value": "cockroachdb/cockroach:v21.1.5", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v21_1_6", + "value": "cockroachdb/cockroach:v21.1.6", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v21_1_7", + "value": "cockroachdb/cockroach:v21.1.7", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v21_1_9", + "value": "cockroachdb/cockroach:v21.1.9", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v21_1_10", + "value": "cockroachdb/cockroach:v21.1.10", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v21_1_11", + "value": "cockroachdb/cockroach:v21.1.11", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v21_1_12", + "value": "cockroachdb/cockroach:v21.1.12", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v21_1_13", + "value": "cockroachdb/cockroach:v21.1.13", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v21_1_14", + "value": "cockroachdb/cockroach:v21.1.14", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v21_1_15", + "value": "cockroachdb/cockroach:v21.1.15", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v21_1_16", + "value": "cockroachdb/cockroach:v21.1.16", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v21_1_17", + "value": "cockroachdb/cockroach:v21.1.17", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v21_1_18", + "value": "cockroachdb/cockroach:v21.1.18", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v21_1_19", + "value": "cockroachdb/cockroach:v21.1.19", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v21_2_0", + "value": "cockroachdb/cockroach:v21.2.0", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v21_2_1", + "value": "cockroachdb/cockroach:v21.2.1", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v21_2_2", + "value": "cockroachdb/cockroach:v21.2.2", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v21_2_3", + "value": "cockroachdb/cockroach:v21.2.3", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v21_2_4", + "value": "cockroachdb/cockroach:v21.2.4", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v21_2_5", + "value": "cockroachdb/cockroach:v21.2.5", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v21_2_7", + "value": "cockroachdb/cockroach:v21.2.7", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v21_2_8", + "value": "cockroachdb/cockroach:v21.2.8", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v21_2_9", + "value": "cockroachdb/cockroach:v21.2.9", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v21_2_10", + "value": "cockroachdb/cockroach:v21.2.10", + "value_from": null + }, + { + "name": "OPERATOR_NAME", + "value": "cockroachdb", + "value_from": null + }, + { + "name": "POD_NAME", + "value": null, + "value_from": { + "config_map_key_ref": null, + "field_ref": { + "api_version": "v1", + "field_path": "metadata.name" + }, + "resource_field_ref": null, + "secret_key_ref": null + } + }, + { + "name": "NAMESPACE", + "value": null, + "value_from": { + "config_map_key_ref": null, + "field_ref": { + "api_version": "v1", + "field_path": "metadata.namespace" + }, + "resource_field_ref": null, + "secret_key_ref": null + } + } + ], + "env_from": null, + "image": "cockroachdb/cockroach-operator:v2.7.0", + "image_pull_policy": "IfNotPresent", + "lifecycle": null, + "liveness_probe": null, + "name": "cockroach-operator", + "ports": null, + "readiness_probe": null, + "resources": { + "limits": null, + "requests": { + "cpu": "10m", + "memory": "32Mi" + } + }, + "security_context": null, + "startup_probe": null, + "stdin": null, + "stdin_once": null, + "termination_message_path": "/dev/termination-log", + "termination_message_policy": "File", + "tty": null, + "volume_devices": null, + "volume_mounts": [ + { + "mount_path": "/var/run/secrets/kubernetes.io/serviceaccount", + "mount_propagation": null, + "name": "kube-api-access-shxth", + "read_only": true, + "sub_path": null, + "sub_path_expr": null + } + ], + "working_dir": null + } + ], + "dns_config": null, + "dns_policy": "ClusterFirst", + "enable_service_links": true, + "ephemeral_containers": null, + "host_aliases": null, + "host_ipc": null, + "host_network": null, + "host_pid": null, + "host_users": null, + "hostname": null, + "image_pull_secrets": null, + "init_containers": null, + "node_name": "acto-cluster-0-worker3", + "node_selector": null, + "os": null, + "overhead": null, + "preemption_policy": "PreemptLowerPriority", + "priority": 0, + "priority_class_name": null, + "readiness_gates": null, + "restart_policy": "Always", + "runtime_class_name": null, + "scheduler_name": "default-scheduler", + "security_context": { + "fs_group": null, + "fs_group_change_policy": null, + "run_as_group": null, + "run_as_non_root": null, + "run_as_user": null, + "se_linux_options": null, + "seccomp_profile": null, + "supplemental_groups": null, + "sysctls": null, + "windows_options": null + }, + "service_account": "cockroach-operator-sa", + "service_account_name": "cockroach-operator-sa", + "set_hostname_as_fqdn": null, + "share_process_namespace": null, + "subdomain": null, + "termination_grace_period_seconds": 30, + "tolerations": [ + { + "effect": "NoExecute", + "key": "node.kubernetes.io/not-ready", + "operator": "Exists", + "toleration_seconds": 300, + "value": null + }, + { + "effect": "NoExecute", + "key": "node.kubernetes.io/unreachable", + "operator": "Exists", + "toleration_seconds": 300, + "value": null + } + ], + "topology_spread_constraints": null, + "volumes": [ + { + "aws_elastic_block_store": null, + "azure_disk": null, + "azure_file": null, + "cephfs": null, + "cinder": null, + "config_map": null, + "csi": null, + "downward_api": null, + "empty_dir": null, + "ephemeral": null, + "fc": null, + "flex_volume": null, + "flocker": null, + "gce_persistent_disk": null, + "git_repo": null, + "glusterfs": null, + "host_path": null, + "iscsi": null, + "name": "kube-api-access-shxth", + "nfs": null, + "persistent_volume_claim": null, + "photon_persistent_disk": null, + "portworx_volume": null, + "projected": { + "default_mode": 420, + "sources": [ + { + "config_map": null, + "downward_api": null, + "secret": null, + "service_account_token": { + "audience": null, + "expiration_seconds": 3607, + "path": "token" + } + }, + { + "config_map": { + "items": [ + { + "key": "ca.crt", + "mode": null, + "path": "ca.crt" + } + ], + "name": "kube-root-ca.crt", + "optional": null + }, + "downward_api": null, + "secret": null, + "service_account_token": null + }, + { + "config_map": null, + "downward_api": { + "items": [ + { + "field_ref": { + "api_version": "v1", + "field_path": "metadata.namespace" + }, + "mode": null, + "path": "namespace", + "resource_field_ref": null + } + ] + }, + "secret": null, + "service_account_token": null + } + ] + }, + "quobyte": null, + "rbd": null, + "scale_io": null, + "secret": null, + "storageos": null, + "vsphere_volume": null + } + ] + }, + "status": { + "conditions": [ + { + "last_probe_time": null, + "last_transition_time": "2023-05-04T20:30:52+00:00", + "message": null, + "reason": null, + "status": "True", + "type": "Initialized" + }, + { + "last_probe_time": null, + "last_transition_time": "2023-05-04T20:30:52+00:00", + "message": null, + "reason": null, + "status": "True", + "type": "Ready" + }, + { + "last_probe_time": null, + "last_transition_time": "2023-05-04T20:30:52+00:00", + "message": null, + "reason": null, + "status": "True", + "type": "ContainersReady" + }, + { + "last_probe_time": null, + "last_transition_time": "2023-05-04T20:30:52+00:00", + "message": null, + "reason": null, + "status": "True", + "type": "PodScheduled" + } + ], + "container_statuses": [ + { + "container_id": "containerd://047bd91d0f97b407027597509ee9fb3aab2ba0d22f7b2f3f5ce4f752805d99c7", + "image": "docker.io/cockroachdb/cockroach-operator:v2.7.0", + "image_id": "docker.io/library/import-2023-05-04@sha256:5c5b320a3785185e893eefcb40debe5f237dfe8493f73ab573c12da6a5083449", + "last_state": { + "running": null, + "terminated": null, + "waiting": null + }, + "name": "cockroach-operator", + "ready": true, + "restart_count": 0, + "started": true, + "state": { + "running": { + "started_at": "2023-05-04T20:30:52+00:00" + }, + "terminated": null, + "waiting": null + } + } + ], + "ephemeral_container_statuses": null, + "host_ip": "172.18.0.3", + "init_container_statuses": null, + "message": null, + "nominated_node_name": null, + "phase": "Running", + "pod_ip": "10.244.1.2", + "pod_i_ps": [ + { + "ip": "10.244.1.2" + } + ], + "qos_class": "Burstable", + "reason": null, + "start_time": "2023-05-04T20:30:52+00:00" + } + } + ] + }, + "stateful_set": { + "test-cluster": { + "api_version": null, + "kind": null, + "metadata": { + "annotations": { + "crdb.io/containerimage": "cockroachdb/cockroach:v21.2.10", + "crdb.io/last-applied": "eyJtZXRhZGF0YSI6eyJsYWJlbHMiOnsiYXBwLmt1YmVybmV0ZXMuaW8vcGFydC1vZiI6ImNvY2tyb2FjaGRiIiwiYXBwLmt1YmVybmV0ZXMuaW8vbmFtZSI6ImNvY2tyb2FjaGR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IjoidGVzdC1jbHVzdGVyIiwiYXBwLmt1YmVybmV0ZXMuaW8vY29tcG9uZW50IjoiZGF0YWJhc2UiLCJjcmRiIjoiaXMtY29vbCIsImFwcC5rdWJlcm5ldGVzLmlvL25hbWUiOiJjb2Nrcm9hY2hkYiJ9fSwic3BlYyI6eyJyZXNvdXJjZXMiOnsicmVxdWVzdHMiOnsic3RvcmFnZSI6IjFHaSJ9fSwidm9sdW1lTW9kZSI6IkZpbGVzeXN0ZW0iLCJhY2Nlc3NNb2RlcyI6WyJSZWFkV3JpdGVPbmNlIl19LCJzdGF0dXMiOnt9fV0sInNlcnZpY2VOYW1lIjoidGVzdC1jbHVzdGVyIn0sInN0YXR1cyI6eyJyZXBsaWNhcyI6MH19", + "crdb.io/version": "v21.2.10" + }, + "creation_timestamp": "2023-05-04T20:30:58+00:00", + "deletion_grace_period_seconds": null, + "deletion_timestamp": null, + "finalizers": null, + "generate_name": null, + "generation": 1, + "labels": { + "app.kubernetes.io/component": "database", + "app.kubernetes.io/instance": "test-cluster", + "app.kubernetes.io/managed-by": "cockroach-operator", + "app.kubernetes.io/name": "cockroachdb", + "app.kubernetes.io/part-of": "cockroachdb", + "app.kubernetes.io/version": "v21.2.10", + "crdb": "is-cool" + }, + "managed_fields": [ + { + "api_version": "apps/v1", + "fields_type": "FieldsV1", + "fields_v1": { + "f:metadata": { + "f:annotations": { + ".": {}, + "f:crdb.io/containerimage": {}, + "f:crdb.io/last-applied": {}, + "f:crdb.io/version": {} + }, + "f:labels": { + ".": {}, + "f:app.kubernetes.io/component": {}, + "f:app.kubernetes.io/instance": {}, + "f:app.kubernetes.io/managed-by": {}, + "f:app.kubernetes.io/name": {}, + "f:app.kubernetes.io/part-of": {}, + "f:app.kubernetes.io/version": {}, + "f:crdb": {} + }, + "f:ownerReferences": { + ".": {}, + "k:{\"uid\":\"90ad5ef5-9c95-4092-a5e8-1582b92649ff\"}": {} + } + }, + "f:spec": { + "f:podManagementPolicy": {}, + "f:replicas": {}, + "f:revisionHistoryLimit": {}, + "f:selector": {}, + "f:serviceName": {}, + "f:template": { + "f:metadata": { + "f:labels": { + ".": {}, + "f:app.kubernetes.io/component": {}, + "f:app.kubernetes.io/instance": {}, + "f:app.kubernetes.io/name": {}, + "f:crdb": {} + } + }, + "f:spec": { + "f:automountServiceAccountToken": {}, + "f:containers": { + "k:{\"name\":\"db\"}": { + ".": {}, + "f:command": {}, + "f:env": { + ".": {}, + "k:{\"name\":\"COCKROACH_CHANNEL\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"GOMAXPROCS\"}": { + ".": {}, + "f:name": {}, + "f:valueFrom": { + ".": {}, + "f:resourceFieldRef": {} + } + }, + "k:{\"name\":\"MEMORY_LIMIT_MIB\"}": { + ".": {}, + "f:name": {}, + "f:valueFrom": { + ".": {}, + "f:resourceFieldRef": {} + } + }, + "k:{\"name\":\"POD_NAME\"}": { + ".": {}, + "f:name": {}, + "f:valueFrom": { + ".": {}, + "f:fieldRef": {} + } + } + }, + "f:image": {}, + "f:imagePullPolicy": {}, + "f:lifecycle": { + ".": {}, + "f:preStop": { + ".": {}, + "f:exec": { + ".": {}, + "f:command": {} + } + } + }, + "f:name": {}, + "f:ports": { + ".": {}, + "k:{\"containerPort\":8080,\"protocol\":\"TCP\"}": { + ".": {}, + "f:containerPort": {}, + "f:name": {}, + "f:protocol": {} + }, + "k:{\"containerPort\":26257,\"protocol\":\"TCP\"}": { + ".": {}, + "f:containerPort": {}, + "f:name": {}, + "f:protocol": {} + }, + "k:{\"containerPort\":26258,\"protocol\":\"TCP\"}": { + ".": {}, + "f:containerPort": {}, + "f:name": {}, + "f:protocol": {} + } + }, + "f:readinessProbe": { + ".": {}, + "f:failureThreshold": {}, + "f:httpGet": { + ".": {}, + "f:path": {}, + "f:port": {}, + "f:scheme": {} + }, + "f:initialDelaySeconds": {}, + "f:periodSeconds": {}, + "f:successThreshold": {}, + "f:timeoutSeconds": {} + }, + "f:resources": { + ".": {}, + "f:limits": { + ".": {}, + "f:cpu": {}, + "f:memory": {} + }, + "f:requests": { + ".": {}, + "f:cpu": {}, + "f:memory": {} + } + }, + "f:terminationMessagePath": {}, + "f:terminationMessagePolicy": {}, + "f:volumeMounts": { + ".": {}, + "k:{\"mountPath\":\"/cockroach/cockroach-certs/\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + }, + "k:{\"mountPath\":\"/cockroach/cockroach-data/\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + } + } + } + }, + "f:dnsPolicy": {}, + "f:initContainers": { + ".": {}, + "k:{\"name\":\"db-init\"}": { + ".": {}, + "f:command": {}, + "f:image": {}, + "f:imagePullPolicy": {}, + "f:name": {}, + "f:resources": {}, + "f:securityContext": { + ".": {}, + "f:allowPrivilegeEscalation": {}, + "f:runAsUser": {} + }, + "f:terminationMessagePath": {}, + "f:terminationMessagePolicy": {}, + "f:volumeMounts": { + ".": {}, + "k:{\"mountPath\":\"/cockroach/cockroach-certs-prestage/\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + }, + "k:{\"mountPath\":\"/cockroach/cockroach-certs/\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + } + } + } + }, + "f:restartPolicy": {}, + "f:schedulerName": {}, + "f:securityContext": { + ".": {}, + "f:fsGroup": {}, + "f:runAsUser": {} + }, + "f:serviceAccount": {}, + "f:serviceAccountName": {}, + "f:terminationGracePeriodSeconds": {}, + "f:volumes": { + ".": {}, + "k:{\"name\":\"certs\"}": { + ".": {}, + "f:name": {}, + "f:projected": { + ".": {}, + "f:defaultMode": {}, + "f:sources": {} + } + }, + "k:{\"name\":\"datadir\"}": { + ".": {}, + "f:name": {}, + "f:persistentVolumeClaim": { + ".": {}, + "f:claimName": {} + } + }, + "k:{\"name\":\"emptydir\"}": { + ".": {}, + "f:emptyDir": {}, + "f:name": {} + } + } + } + }, + "f:updateStrategy": { + "f:rollingUpdate": { + ".": {}, + "f:partition": {} + }, + "f:type": {} + }, + "f:volumeClaimTemplates": {} + } + }, + "manager": "cockroach-operator", + "operation": "Update", + "subresource": null, + "time": "2023-05-04T20:30:58+00:00" + }, + { + "api_version": "apps/v1", + "fields_type": "FieldsV1", + "fields_v1": { + "f:status": { + "f:availableReplicas": {}, + "f:collisionCount": {}, + "f:currentReplicas": {}, + "f:currentRevision": {}, + "f:observedGeneration": {}, + "f:readyReplicas": {}, + "f:replicas": {}, + "f:updateRevision": {}, + "f:updatedReplicas": {} + } + }, + "manager": "kube-controller-manager", + "operation": "Update", + "subresource": "status", + "time": "2023-05-04T20:31:13+00:00" + } + ], + "name": "test-cluster", + "namespace": "cockroach-operator-system", + "owner_references": [ + { + "api_version": "crdb.cockroachlabs.com/v1alpha1", + "block_owner_deletion": true, + "controller": true, + "kind": "CrdbCluster", + "name": "test-cluster", + "uid": "90ad5ef5-9c95-4092-a5e8-1582b92649ff" + } + ], + "resource_version": "1053", + "self_link": null, + "uid": "f53f5464-2142-4d42-8f5b-bdd30e5c1acf" + }, + "spec": { + "min_ready_seconds": null, + "persistent_volume_claim_retention_policy": null, + "pod_management_policy": "Parallel", + "replicas": 3, + "revision_history_limit": 10, + "selector": { + "match_expressions": null, + "match_labels": { + "app.kubernetes.io/component": "database", + "app.kubernetes.io/instance": "test-cluster", + "app.kubernetes.io/name": "cockroachdb", + "crdb": "is-cool" + } + }, + "service_name": "test-cluster", + "template": { + "metadata": { + "annotations": null, + "creation_timestamp": null, + "deletion_grace_period_seconds": null, + "deletion_timestamp": null, + "finalizers": null, + "generate_name": null, + "generation": null, + "labels": { + "app.kubernetes.io/component": "database", + "app.kubernetes.io/instance": "test-cluster", + "app.kubernetes.io/name": "cockroachdb", + "crdb": "is-cool" + }, + "managed_fields": null, + "name": null, + "namespace": null, + "owner_references": null, + "resource_version": null, + "self_link": null, + "uid": null + }, + "spec": { + "active_deadline_seconds": null, + "affinity": null, + "automount_service_account_token": false, + "containers": [ + { + "args": null, + "command": [ + "/bin/bash", + "-ecx", + "exec /cockroach/cockroach.sh start --advertise-host=$(POD_NAME).test-cluster.cockroach-operator-system --certs-dir=/cockroach/cockroach-certs/ --http-port=8080 --sql-addr=:26257 --listen-addr=:26258 --log=\"{sinks: {stderr: {channels: [OPS, HEALTH], redact: true}}}\" --cache $(expr $MEMORY_LIMIT_MIB / 4)MiB --max-sql-memory $(expr $MEMORY_LIMIT_MIB / 4)MiB --join=test-cluster-0.test-cluster.cockroach-operator-system:26258,test-cluster-1.test-cluster.cockroach-operator-system:26258,test-cluster-2.test-cluster.cockroach-operator-system:26258" + ], + "env": [ + { + "name": "COCKROACH_CHANNEL", + "value": "kubernetes-operator-unknown", + "value_from": null + }, + { + "name": "POD_NAME", + "value": null, + "value_from": { + "config_map_key_ref": null, + "field_ref": { + "api_version": "v1", + "field_path": "metadata.name" + }, + "resource_field_ref": null, + "secret_key_ref": null + } + }, + { + "name": "GOMAXPROCS", + "value": null, + "value_from": { + "config_map_key_ref": null, + "field_ref": null, + "resource_field_ref": { + "container_name": null, + "divisor": "1", + "resource": "limits.cpu" + }, + "secret_key_ref": null + } + }, + { + "name": "MEMORY_LIMIT_MIB", + "value": null, + "value_from": { + "config_map_key_ref": null, + "field_ref": null, + "resource_field_ref": { + "container_name": null, + "divisor": "1Mi", + "resource": "limits.memory" + }, + "secret_key_ref": null + } + } + ], + "env_from": null, + "image": "cockroachdb/cockroach:v21.2.10", + "image_pull_policy": "IfNotPresent", + "lifecycle": { + "post_start": null, + "pre_stop": { + "_exec": { + "command": [ + "sh", + "-c", + "/cockroach/cockroach node drain --certs-dir=/cockroach/cockroach-certs/ || exit 0" + ] + }, + "http_get": null, + "tcp_socket": null + } + }, + "liveness_probe": null, + "name": "db", + "ports": [ + { + "container_port": 26258, + "host_ip": null, + "host_port": null, + "name": "grpc", + "protocol": "TCP" + }, + { + "container_port": 8080, + "host_ip": null, + "host_port": null, + "name": "http", + "protocol": "TCP" + }, + { + "container_port": 26257, + "host_ip": null, + "host_port": null, + "name": "sql", + "protocol": "TCP" + } + ], + "readiness_probe": { + "_exec": null, + "failure_threshold": 2, + "grpc": null, + "http_get": { + "host": null, + "http_headers": null, + "path": "/health?ready=1", + "port": "http", + "scheme": "HTTPS" + }, + "initial_delay_seconds": 10, + "period_seconds": 5, + "success_threshold": 1, + "tcp_socket": null, + "termination_grace_period_seconds": null, + "timeout_seconds": 1 + }, + "resources": { + "limits": { + "cpu": "2", + "memory": "2Gi" + }, + "requests": { + "cpu": "100m", + "memory": "1Gi" + } + }, + "security_context": null, + "startup_probe": null, + "stdin": null, + "stdin_once": null, + "termination_message_path": "/dev/termination-log", + "termination_message_policy": "File", + "tty": null, + "volume_devices": null, + "volume_mounts": [ + { + "mount_path": "/cockroach/cockroach-data/", + "mount_propagation": null, + "name": "datadir", + "read_only": null, + "sub_path": null, + "sub_path_expr": null + }, + { + "mount_path": "/cockroach/cockroach-certs/", + "mount_propagation": null, + "name": "emptydir", + "read_only": null, + "sub_path": null, + "sub_path_expr": null + } + ], + "working_dir": null + } + ], + "dns_config": null, + "dns_policy": "ClusterFirst", + "enable_service_links": null, + "ephemeral_containers": null, + "host_aliases": null, + "host_ipc": null, + "host_network": null, + "host_pid": null, + "host_users": null, + "hostname": null, + "image_pull_secrets": null, + "init_containers": [ + { + "args": null, + "command": [ + "/bin/sh", + "-c", + ">- cp -p /cockroach/cockroach-certs-prestage/..data/* /cockroach/cockroach-certs/ && chmod 700 /cockroach/cockroach-certs/*.key && chown 1000581000:1000581000 /cockroach/cockroach-certs/*.key" + ], + "env": null, + "env_from": null, + "image": "cockroachdb/cockroach:v21.2.10", + "image_pull_policy": "IfNotPresent", + "lifecycle": null, + "liveness_probe": null, + "name": "db-init", + "ports": null, + "readiness_probe": null, + "resources": { + "limits": null, + "requests": null + }, + "security_context": { + "allow_privilege_escalation": false, + "capabilities": null, + "privileged": null, + "proc_mount": null, + "read_only_root_filesystem": null, + "run_as_group": null, + "run_as_non_root": null, + "run_as_user": 0, + "se_linux_options": null, + "seccomp_profile": null, + "windows_options": null + }, + "startup_probe": null, + "stdin": null, + "stdin_once": null, + "termination_message_path": "/dev/termination-log", + "termination_message_policy": "File", + "tty": null, + "volume_devices": null, + "volume_mounts": [ + { + "mount_path": "/cockroach/cockroach-certs-prestage/", + "mount_propagation": null, + "name": "certs", + "read_only": null, + "sub_path": null, + "sub_path_expr": null + }, + { + "mount_path": "/cockroach/cockroach-certs/", + "mount_propagation": null, + "name": "emptydir", + "read_only": null, + "sub_path": null, + "sub_path_expr": null + } + ], + "working_dir": null + } + ], + "node_name": null, + "node_selector": null, + "os": null, + "overhead": null, + "preemption_policy": null, + "priority": null, + "priority_class_name": null, + "readiness_gates": null, + "restart_policy": "Always", + "runtime_class_name": null, + "scheduler_name": "default-scheduler", + "security_context": { + "fs_group": 1000581000, + "fs_group_change_policy": null, + "run_as_group": null, + "run_as_non_root": null, + "run_as_user": 1000581000, + "se_linux_options": null, + "seccomp_profile": null, + "supplemental_groups": null, + "sysctls": null, + "windows_options": null + }, + "service_account": "test-cluster-sa", + "service_account_name": "test-cluster-sa", + "set_hostname_as_fqdn": null, + "share_process_namespace": null, + "subdomain": null, + "termination_grace_period_seconds": 300, + "tolerations": null, + "topology_spread_constraints": null, + "volumes": [ + { + "aws_elastic_block_store": null, + "azure_disk": null, + "azure_file": null, + "cephfs": null, + "cinder": null, + "config_map": null, + "csi": null, + "downward_api": null, + "empty_dir": null, + "ephemeral": null, + "fc": null, + "flex_volume": null, + "flocker": null, + "gce_persistent_disk": null, + "git_repo": null, + "glusterfs": null, + "host_path": null, + "iscsi": null, + "name": "datadir", + "nfs": null, + "persistent_volume_claim": { + "claim_name": "", + "read_only": null + }, + "photon_persistent_disk": null, + "portworx_volume": null, + "projected": null, + "quobyte": null, + "rbd": null, + "scale_io": null, + "secret": null, + "storageos": null, + "vsphere_volume": null + }, + { + "aws_elastic_block_store": null, + "azure_disk": null, + "azure_file": null, + "cephfs": null, + "cinder": null, + "config_map": null, + "csi": null, + "downward_api": null, + "empty_dir": { + "medium": null, + "size_limit": null + }, + "ephemeral": null, + "fc": null, + "flex_volume": null, + "flocker": null, + "gce_persistent_disk": null, + "git_repo": null, + "glusterfs": null, + "host_path": null, + "iscsi": null, + "name": "emptydir", + "nfs": null, + "persistent_volume_claim": null, + "photon_persistent_disk": null, + "portworx_volume": null, + "projected": null, + "quobyte": null, + "rbd": null, + "scale_io": null, + "secret": null, + "storageos": null, + "vsphere_volume": null + }, + { + "aws_elastic_block_store": null, + "azure_disk": null, + "azure_file": null, + "cephfs": null, + "cinder": null, + "config_map": null, + "csi": null, + "downward_api": null, + "empty_dir": null, + "ephemeral": null, + "fc": null, + "flex_volume": null, + "flocker": null, + "gce_persistent_disk": null, + "git_repo": null, + "glusterfs": null, + "host_path": null, + "iscsi": null, + "name": "certs", + "nfs": null, + "persistent_volume_claim": null, + "photon_persistent_disk": null, + "portworx_volume": null, + "projected": { + "default_mode": 400, + "sources": [ + { + "config_map": null, + "downward_api": null, + "secret": { + "items": [ + { + "key": "ca.crt", + "mode": 504, + "path": "ca.crt" + }, + { + "key": "tls.crt", + "mode": 504, + "path": "node.crt" + }, + { + "key": "tls.key", + "mode": 400, + "path": "node.key" + } + ], + "name": "test-cluster-node", + "optional": null + }, + "service_account_token": null + }, + { + "config_map": null, + "downward_api": null, + "secret": { + "items": [ + { + "key": "tls.crt", + "mode": 504, + "path": "client.root.crt" + }, + { + "key": "tls.key", + "mode": 400, + "path": "client.root.key" + } + ], + "name": "test-cluster-root", + "optional": null + }, + "service_account_token": null + } + ] + }, + "quobyte": null, + "rbd": null, + "scale_io": null, + "secret": null, + "storageos": null, + "vsphere_volume": null + } + ] + } + }, + "update_strategy": { + "rolling_update": { + "max_unavailable": null, + "partition": 0 + }, + "type": "RollingUpdate" + }, + "volume_claim_templates": [ + { + "api_version": "v1", + "kind": "PersistentVolumeClaim", + "metadata": { + "annotations": null, + "creation_timestamp": null, + "deletion_grace_period_seconds": null, + "deletion_timestamp": null, + "finalizers": null, + "generate_name": null, + "generation": null, + "labels": { + "app.kubernetes.io/component": "database", + "app.kubernetes.io/instance": "test-cluster", + "app.kubernetes.io/name": "cockroachdb", + "crdb": "is-cool" + }, + "managed_fields": null, + "name": "datadir", + "namespace": null, + "owner_references": null, + "resource_version": null, + "self_link": null, + "uid": null + }, + "spec": { + "access_modes": [ + "ReadWriteOnce" + ], + "data_source": null, + "data_source_ref": null, + "resources": { + "limits": null, + "requests": { + "storage": "1Gi" + } + }, + "selector": null, + "storage_class_name": null, + "volume_mode": "Filesystem", + "volume_name": null + }, + "status": { + "access_modes": null, + "allocated_resources": null, + "capacity": null, + "conditions": null, + "phase": "Pending", + "resize_status": null + } + } + ] + }, + "status": { + "available_replicas": 3, + "collision_count": 0, + "conditions": null, + "current_replicas": 3, + "current_revision": "test-cluster-76f9c78d88", + "observed_generation": 1, + "ready_replicas": 3, + "replicas": 3, + "update_revision": "test-cluster-76f9c78d88", + "updated_replicas": 3 + } + } + }, + "deployment": { + "cockroach-operator-manager": { + "api_version": null, + "kind": null, + "metadata": { + "annotations": { + "deployment.kubernetes.io/revision": "2" + }, + "creation_timestamp": "2023-05-04T20:30:22+00:00", + "deletion_grace_period_seconds": null, + "deletion_timestamp": null, + "finalizers": null, + "generate_name": null, + "generation": 2, + "labels": { + "acto/tag": "operator-deployment", + "app": "cockroach-operator" + }, + "managed_fields": [ + { + "api_version": "apps/v1", + "fields_type": "FieldsV1", + "fields_v1": { + "f:metadata": { + "f:labels": { + "f:app": {} + } + }, + "f:spec": { + "f:replicas": {}, + "f:selector": {}, + "f:template": { + "f:metadata": { + "f:labels": { + "f:app": {} + } + }, + "f:spec": { + "f:containers": { + "k:{\"name\":\"cockroach-operator\"}": { + ".": {}, + "f:args": {}, + "f:env": { + "k:{\"name\":\"NAMESPACE\"}": { + ".": {}, + "f:name": {}, + "f:valueFrom": { + "f:fieldRef": {} + } + }, + "k:{\"name\":\"OPERATOR_NAME\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"POD_NAME\"}": { + ".": {}, + "f:name": {}, + "f:valueFrom": { + "f:fieldRef": {} + } + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v20_1_11\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v20_1_12\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v20_1_13\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v20_1_15\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v20_1_16\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v20_1_17\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v20_1_4\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v20_1_5\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v20_1_8\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v20_2_0\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v20_2_1\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v20_2_10\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v20_2_11\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v20_2_12\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v20_2_13\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v20_2_14\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v20_2_15\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v20_2_16\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v20_2_17\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v20_2_18\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v20_2_19\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v20_2_2\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v20_2_3\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v20_2_4\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v20_2_5\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v20_2_6\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v20_2_8\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v20_2_9\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v21_1_0\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v21_1_1\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v21_1_10\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v21_1_11\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v21_1_12\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v21_1_13\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v21_1_14\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v21_1_15\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v21_1_16\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v21_1_17\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v21_1_18\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v21_1_19\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v21_1_2\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v21_1_3\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v21_1_4\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v21_1_5\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v21_1_6\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v21_1_7\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v21_1_9\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v21_2_0\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v21_2_1\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v21_2_10\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v21_2_2\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v21_2_3\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v21_2_4\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v21_2_5\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v21_2_7\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v21_2_8\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v21_2_9\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + } + }, + "f:image": {}, + "f:imagePullPolicy": {}, + "f:name": {}, + "f:resources": { + "f:requests": { + "f:cpu": {}, + "f:memory": {} + } + } + } + }, + "f:serviceAccountName": {} + } + } + } + }, + "manager": "kubectl", + "operation": "Apply", + "subresource": null, + "time": "2023-05-04T20:30:22+00:00" + }, + { + "api_version": "apps/v1", + "fields_type": "FieldsV1", + "fields_v1": { + "f:metadata": { + "f:labels": { + "f:acto/tag": {} + } + }, + "f:spec": { + "f:template": { + "f:metadata": { + "f:labels": { + "f:acto/tag": {} + } + } + } + } + }, + "manager": "OpenAPI-Generator", + "operation": "Update", + "subresource": null, + "time": "2023-05-04T20:30:52+00:00" + }, + { + "api_version": "apps/v1", + "fields_type": "FieldsV1", + "fields_v1": { + "f:metadata": { + "f:annotations": { + ".": {}, + "f:deployment.kubernetes.io/revision": {} + } + }, + "f:status": { + "f:availableReplicas": {}, + "f:conditions": { + ".": {}, + "k:{\"type\":\"Available\"}": { + ".": {}, + "f:lastTransitionTime": {}, + "f:lastUpdateTime": {}, + "f:message": {}, + "f:reason": {}, + "f:status": {}, + "f:type": {} + }, + "k:{\"type\":\"Progressing\"}": { + ".": {}, + "f:lastTransitionTime": {}, + "f:lastUpdateTime": {}, + "f:message": {}, + "f:reason": {}, + "f:status": {}, + "f:type": {} + } + }, + "f:observedGeneration": {}, + "f:readyReplicas": {}, + "f:replicas": {}, + "f:updatedReplicas": {} + } + }, + "manager": "kube-controller-manager", + "operation": "Update", + "subresource": "status", + "time": "2023-05-04T20:30:52+00:00" + } + ], + "name": "cockroach-operator-manager", + "namespace": "cockroach-operator-system", + "owner_references": null, + "resource_version": "815", + "self_link": null, + "uid": "547fbf16-3bfd-4004-8625-ec4f04413331" + }, + "spec": { + "min_ready_seconds": null, + "paused": null, + "progress_deadline_seconds": 600, + "replicas": 1, + "revision_history_limit": 10, + "selector": { + "match_expressions": null, + "match_labels": { + "app": "cockroach-operator" + } + }, + "strategy": { + "rolling_update": { + "max_surge": "25%", + "max_unavailable": "25%" + }, + "type": "RollingUpdate" + }, + "template": { + "metadata": { + "annotations": null, + "creation_timestamp": null, + "deletion_grace_period_seconds": null, + "deletion_timestamp": null, + "finalizers": null, + "generate_name": null, + "generation": null, + "labels": { + "acto/tag": "operator-pod", + "app": "cockroach-operator" + }, + "managed_fields": null, + "name": null, + "namespace": null, + "owner_references": null, + "resource_version": null, + "self_link": null, + "uid": null + }, + "spec": { + "active_deadline_seconds": null, + "affinity": null, + "automount_service_account_token": null, + "containers": [ + { + "args": [ + "-zap-log-level", + "info", + "-feature-gates", + "TopologySpreadRules=true,AffinityRules=true,TolerationRules=true" + ], + "command": null, + "env": [ + { + "name": "RELATED_IMAGE_COCKROACH_v20_1_4", + "value": "cockroachdb/cockroach:v20.1.4", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v20_1_5", + "value": "cockroachdb/cockroach:v20.1.5", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v20_1_8", + "value": "cockroachdb/cockroach:v20.1.8", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v20_1_11", + "value": "cockroachdb/cockroach:v20.1.11", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v20_1_12", + "value": "cockroachdb/cockroach:v20.1.12", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v20_1_13", + "value": "cockroachdb/cockroach:v20.1.13", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v20_1_15", + "value": "cockroachdb/cockroach:v20.1.15", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v20_1_16", + "value": "cockroachdb/cockroach:v20.1.16", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v20_1_17", + "value": "cockroachdb/cockroach:v20.1.17", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v20_2_0", + "value": "cockroachdb/cockroach:v20.2.0", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v20_2_1", + "value": "cockroachdb/cockroach:v20.2.1", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v20_2_2", + "value": "cockroachdb/cockroach:v20.2.2", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v20_2_3", + "value": "cockroachdb/cockroach:v20.2.3", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v20_2_4", + "value": "cockroachdb/cockroach:v20.2.4", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v20_2_5", + "value": "cockroachdb/cockroach:v20.2.5", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v20_2_6", + "value": "cockroachdb/cockroach:v20.2.6", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v20_2_8", + "value": "cockroachdb/cockroach:v20.2.8", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v20_2_9", + "value": "cockroachdb/cockroach:v20.2.9", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v20_2_10", + "value": "cockroachdb/cockroach:v20.2.10", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v20_2_11", + "value": "cockroachdb/cockroach:v20.2.11", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v20_2_12", + "value": "cockroachdb/cockroach:v20.2.12", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v20_2_13", + "value": "cockroachdb/cockroach:v20.2.13", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v20_2_14", + "value": "cockroachdb/cockroach:v20.2.14", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v20_2_15", + "value": "cockroachdb/cockroach:v20.2.15", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v20_2_16", + "value": "cockroachdb/cockroach:v20.2.16", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v20_2_17", + "value": "cockroachdb/cockroach:v20.2.17", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v20_2_18", + "value": "cockroachdb/cockroach:v20.2.18", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v20_2_19", + "value": "cockroachdb/cockroach:v20.2.19", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v21_1_0", + "value": "cockroachdb/cockroach:v21.1.0", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v21_1_1", + "value": "cockroachdb/cockroach:v21.1.1", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v21_1_2", + "value": "cockroachdb/cockroach:v21.1.2", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v21_1_3", + "value": "cockroachdb/cockroach:v21.1.3", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v21_1_4", + "value": "cockroachdb/cockroach:v21.1.4", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v21_1_5", + "value": "cockroachdb/cockroach:v21.1.5", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v21_1_6", + "value": "cockroachdb/cockroach:v21.1.6", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v21_1_7", + "value": "cockroachdb/cockroach:v21.1.7", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v21_1_9", + "value": "cockroachdb/cockroach:v21.1.9", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v21_1_10", + "value": "cockroachdb/cockroach:v21.1.10", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v21_1_11", + "value": "cockroachdb/cockroach:v21.1.11", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v21_1_12", + "value": "cockroachdb/cockroach:v21.1.12", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v21_1_13", + "value": "cockroachdb/cockroach:v21.1.13", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v21_1_14", + "value": "cockroachdb/cockroach:v21.1.14", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v21_1_15", + "value": "cockroachdb/cockroach:v21.1.15", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v21_1_16", + "value": "cockroachdb/cockroach:v21.1.16", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v21_1_17", + "value": "cockroachdb/cockroach:v21.1.17", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v21_1_18", + "value": "cockroachdb/cockroach:v21.1.18", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v21_1_19", + "value": "cockroachdb/cockroach:v21.1.19", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v21_2_0", + "value": "cockroachdb/cockroach:v21.2.0", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v21_2_1", + "value": "cockroachdb/cockroach:v21.2.1", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v21_2_2", + "value": "cockroachdb/cockroach:v21.2.2", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v21_2_3", + "value": "cockroachdb/cockroach:v21.2.3", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v21_2_4", + "value": "cockroachdb/cockroach:v21.2.4", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v21_2_5", + "value": "cockroachdb/cockroach:v21.2.5", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v21_2_7", + "value": "cockroachdb/cockroach:v21.2.7", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v21_2_8", + "value": "cockroachdb/cockroach:v21.2.8", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v21_2_9", + "value": "cockroachdb/cockroach:v21.2.9", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v21_2_10", + "value": "cockroachdb/cockroach:v21.2.10", + "value_from": null + }, + { + "name": "OPERATOR_NAME", + "value": "cockroachdb", + "value_from": null + }, + { + "name": "POD_NAME", + "value": null, + "value_from": { + "config_map_key_ref": null, + "field_ref": { + "api_version": "v1", + "field_path": "metadata.name" + }, + "resource_field_ref": null, + "secret_key_ref": null + } + }, + { + "name": "NAMESPACE", + "value": null, + "value_from": { + "config_map_key_ref": null, + "field_ref": { + "api_version": "v1", + "field_path": "metadata.namespace" + }, + "resource_field_ref": null, + "secret_key_ref": null + } + } + ], + "env_from": null, + "image": "cockroachdb/cockroach-operator:v2.7.0", + "image_pull_policy": "IfNotPresent", + "lifecycle": null, + "liveness_probe": null, + "name": "cockroach-operator", + "ports": null, + "readiness_probe": null, + "resources": { + "limits": null, + "requests": { + "cpu": "10m", + "memory": "32Mi" + } + }, + "security_context": null, + "startup_probe": null, + "stdin": null, + "stdin_once": null, + "termination_message_path": "/dev/termination-log", + "termination_message_policy": "File", + "tty": null, + "volume_devices": null, + "volume_mounts": null, + "working_dir": null + } + ], + "dns_config": null, + "dns_policy": "ClusterFirst", + "enable_service_links": null, + "ephemeral_containers": null, + "host_aliases": null, + "host_ipc": null, + "host_network": null, + "host_pid": null, + "host_users": null, + "hostname": null, + "image_pull_secrets": null, + "init_containers": null, + "node_name": null, + "node_selector": null, + "os": null, + "overhead": null, + "preemption_policy": null, + "priority": null, + "priority_class_name": null, + "readiness_gates": null, + "restart_policy": "Always", + "runtime_class_name": null, + "scheduler_name": "default-scheduler", + "security_context": { + "fs_group": null, + "fs_group_change_policy": null, + "run_as_group": null, + "run_as_non_root": null, + "run_as_user": null, + "se_linux_options": null, + "seccomp_profile": null, + "supplemental_groups": null, + "sysctls": null, + "windows_options": null + }, + "service_account": "cockroach-operator-sa", + "service_account_name": "cockroach-operator-sa", + "set_hostname_as_fqdn": null, + "share_process_namespace": null, + "subdomain": null, + "termination_grace_period_seconds": 30, + "tolerations": null, + "topology_spread_constraints": null, + "volumes": null + } + } + }, + "status": { + "available_replicas": 1, + "collision_count": null, + "conditions": [ + { + "last_transition_time": "2023-05-04T20:30:22+00:00", + "last_update_time": "2023-05-04T20:30:22+00:00", + "message": "Deployment has minimum availability.", + "reason": "MinimumReplicasAvailable", + "status": "True", + "type": "Available" + }, + { + "last_transition_time": "2023-05-04T20:30:22+00:00", + "last_update_time": "2023-05-04T20:30:52+00:00", + "message": "ReplicaSet \"cockroach-operator-manager-64c489884\" has successfully progressed.", + "reason": "NewReplicaSetAvailable", + "status": "True", + "type": "Progressing" + } + ], + "observed_generation": 2, + "ready_replicas": 1, + "replicas": 1, + "unavailable_replicas": null, + "updated_replicas": 1 + } + } + }, + "config_map": { + "kube-root-ca.crt": { + "api_version": null, + "binary_data": null, + "data": { + "ca.crt": "-----BEGIN CERTIFICATE-----\nMIIC/jCCAeagAwIBAgIBADANBgkqhkiG9w0BAQsFADAVMRMwEQYDVQQDEwprdWJl\ncm5ldGVzMB4XDTIzMDUwNDIwMjkxMFoXDTMzMDUwMTIwMjkxMFowFTETMBEGA1UE\nAxMKa3ViZXJuZXRlczCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAOZZ\nNBiE5imKYNYWQsDL7HJDSm2L+ocFPlh1vTf2uGhktpKbD6ITd2HvJBGnbznEq573\nFR+8KpXqozRTEFDZo+OIs8y6IcVIJSHTD/LhbHE9xP2QFWIEaIHrbFwktet5wuL+\nkfJbYqdompXlzSaORjo0fG6KXA/5UBoeylU4zFRpcP/QSHa2blKko/IBWpuL4OEM\n1NeiOaMGea9kUivd06JFKucvv79dmKL03PA4LF13IDYFAE0YMXpq/Kp7cWXg7oKP\naPEP84rxtVddY3pDEdPR8GhbV/zIfJjjmaV3hqjbbW8sXc/MKMddx+XPZTjYGbgy\n3egJodTUokl3mL4zhQ0CAwEAAaNZMFcwDgYDVR0PAQH/BAQDAgKkMA8GA1UdEwEB\n/wQFMAMBAf8wHQYDVR0OBBYEFHQXllc6/knTcwTAgSM2L8Y9CaKmMBUGA1UdEQQO\nMAyCCmt1YmVybmV0ZXMwDQYJKoZIhvcNAQELBQADggEBAEV0ciRGe77TLxzcTZpA\npid2iF9nHg5alCebrfGZ3gnH6KhKM/otOSoA58JCzEaJxS1cUQOnVIP6i4t7WYVz\nkwEjw+8Bp3vvUpZJDaj/XTgOuztoOpbM6xX7wKHztRdI76I7gH/HPjfIrgiUM7Yo\nSNKCwpZf8tUpWUWfEBDNCtvN4OO3v2A2fREnz1ux61qtKTdR+T/aCvD7GLNB0mbu\nWBTupnmNaAEs/bB87w3OJ4PbvvCGdwm+bX+Q3iDdwqIiu78ZB8NI5RYAYB+CN7Nt\nm2tXdv3t0L7lMcG4eolqa3RXA6g515um0FzDqabtuw5+oak8rs1XfTk87uwhqxUl\nGew=\n-----END CERTIFICATE-----\n" + }, + "immutable": null, + "kind": null, + "metadata": { + "annotations": { + "kubernetes.io/description": "Contains a CA bundle that can be used to verify the kube-apiserver when using internal endpoints such as the internal service IP or kubernetes.default.svc. No other usage is guaranteed across distributions of Kubernetes clusters." + }, + "creation_timestamp": "2023-05-04T20:30:11+00:00", + "deletion_grace_period_seconds": null, + "deletion_timestamp": null, + "finalizers": null, + "generate_name": null, + "generation": null, + "labels": null, + "managed_fields": [ + { + "api_version": "v1", + "fields_type": "FieldsV1", + "fields_v1": { + "f:data": { + ".": {}, + "f:ca.crt": {} + }, + "f:metadata": { + "f:annotations": { + ".": {}, + "f:kubernetes.io/description": {} + } + } + }, + "manager": "kube-controller-manager", + "operation": "Update", + "subresource": null, + "time": "2023-05-04T20:30:11+00:00" + } + ], + "name": "kube-root-ca.crt", + "namespace": "cockroach-operator-system", + "owner_references": null, + "resource_version": "670", + "self_link": null, + "uid": "9eb7a849-3642-42b3-bb70-403ff03e3402" + } + } + }, + "service": { + "cockroach-operator-webhook-service": { + "api_version": null, + "kind": null, + "metadata": { + "annotations": null, + "creation_timestamp": "2023-05-04T20:30:22+00:00", + "deletion_grace_period_seconds": null, + "deletion_timestamp": null, + "finalizers": null, + "generate_name": null, + "generation": null, + "labels": { + "control-plane": "cockroach-operator" + }, + "managed_fields": [ + { + "api_version": "v1", + "fields_type": "FieldsV1", + "fields_v1": { + "f:metadata": { + "f:labels": { + "f:control-plane": {} + } + }, + "f:spec": { + "f:ports": { + "k:{\"port\":443,\"protocol\":\"TCP\"}": { + ".": {}, + "f:port": {}, + "f:targetPort": {} + } + }, + "f:selector": {} + } + }, + "manager": "kubectl", + "operation": "Apply", + "subresource": null, + "time": "2023-05-04T20:30:22+00:00" + } + ], + "name": "cockroach-operator-webhook-service", + "namespace": "cockroach-operator-system", + "owner_references": null, + "resource_version": "707", + "self_link": null, + "uid": "b5d2854e-2cc2-43ce-899b-ae3a86cccf69" + }, + "spec": { + "allocate_load_balancer_node_ports": null, + "cluster_ip": "10.96.203.232", + "cluster_i_ps": [ + "10.96.203.232" + ], + "external_i_ps": null, + "external_name": null, + "external_traffic_policy": null, + "health_check_node_port": null, + "internal_traffic_policy": "Cluster", + "ip_families": [ + "IPv4" + ], + "ip_family_policy": "SingleStack", + "load_balancer_class": null, + "load_balancer_ip": null, + "load_balancer_source_ranges": null, + "ports": [ + { + "app_protocol": null, + "name": null, + "node_port": null, + "port": 443, + "protocol": "TCP", + "target_port": 9443 + } + ], + "publish_not_ready_addresses": null, + "selector": { + "app": "cockroach-operator" + }, + "session_affinity": "None", + "session_affinity_config": null, + "type": "ClusterIP" + }, + "status": { + "conditions": null, + "load_balancer": { + "ingress": null + } + } + }, + "test-cluster": { + "api_version": null, + "kind": null, + "metadata": { + "annotations": { + "crdb.io/last-applied": "eyJzcGVjIjp7InB1Ymxpc2hOb3RSZWFkeUFkZHJlc3NlcyI6dHJ1ZSwicG9ydHMiOlt7InBvcnQiOjI2MjU4LCJuYW1lIjoiZ3JwYyJ9LHsibmFtZSI6Imh0dHAiLCJwb3J0Ijo4MDgwfSx7Im5hbWUiOiJzcWwiLCJwb3J0IjoyNjI1N31dLCJzZWxlY3RvciI6eyJhcHAua3ViZXJuZXRlcy5pby9pbnN0YW5jZSI6InRlc3QtY2x1c3RlciIsImFwcC5rdWJlcm5ldGVzLmlvL2NvbXBvbmVudCI6ImRhdGFiYXNlIiwiY3JkYiI6ImlzLWNvb2wiLCJhcHAua3ViZXJuZXRlcy5pby9uYW1lIjoiY29ja3JvYWNoZGIifSwiY2x1c3RlcklQIjoiTm9uZSJ9LCJzdGF0dXMiOnsibG9hZEJhbGFuY2VyIjp7fX0sIm1ldGFkYXRhIjp7ImxhYmVscyI6eyJhcHAua3ViZXJuZXRlcy5pby9jb21wb25lbnQiOiJkYXRhYmFzZSIsImFwcC5rdWJlcm5ldGVzLmlvL21hbmFnZWQtYnkiOiJjb2Nrcm9hY2gtb3BlcmF0b3IiLCJjcmRiIjoiaXMtY29vbCIsImFwcC5rdWJlcm5ldGVzLmlvL3BhcnQtb2YiOiJjb2Nrcm9hY2hkYiIsImFwcC5rdWJlcm5ldGVzLmlvL25hbWUiOiJjb2Nrcm9hY2hkYiIsImFwcC5rdWJlcm5ldGVzLmlvL2luc3RhbmNlIjoidGVzdC1jbHVzdGVyIiwiYXBwLmt1YmVybmV0ZXMuaW8vdmVyc2lvbiI6InYyMS4yLjEwIn0sImFubm90YXRpb25zIjp7InByb21ldGhldXMuaW8vc2NyYXBlIjoidHJ1ZSIsInByb21ldGhldXMuaW8vcGF0aCI6Il9zdGF0dXMvdmFycyIsInByb21ldGhldXMuaW8vcG9ydCI6IjgwODAifSwib3duZXJSZWZlcmVuY2VzIjpbeyJraW5kIjoiQ3JkYkNsdXN0ZXIiLCJuYW1lIjoidGVzdC1jbHVzdGVyIiwidWlkIjoiOTBhZDVlZjUtOWM5NS00MDkyLWE1ZTgtMTU4MmI5MjY0OWZmIiwiY29udHJvbGxlciI6dHJ1ZSwiYmxvY2tPd25lckRlbGV0aW9uIjp0cnVlLCJhcGlWZXJzaW9uIjoiY3JkYi5jb2Nrcm9hY2hsYWJzLmNvbS92MWFscGhhMSJ9XSwibmFtZSI6InRlc3QtY2x1c3RlciIsIm5hbWVzcGFjZSI6ImNvY2tyb2FjaC1vcGVyYXRvci1zeXN0ZW0ifX0=", + "prometheus.io/path": "_status/vars", + "prometheus.io/port": "8080", + "prometheus.io/scrape": "true" + }, + "creation_timestamp": "2023-05-04T20:30:57+00:00", + "deletion_grace_period_seconds": null, + "deletion_timestamp": null, + "finalizers": null, + "generate_name": null, + "generation": null, + "labels": { + "app.kubernetes.io/component": "database", + "app.kubernetes.io/instance": "test-cluster", + "app.kubernetes.io/managed-by": "cockroach-operator", + "app.kubernetes.io/name": "cockroachdb", + "app.kubernetes.io/part-of": "cockroachdb", + "app.kubernetes.io/version": "v21.2.10", + "crdb": "is-cool" + }, + "managed_fields": [ + { + "api_version": "v1", + "fields_type": "FieldsV1", + "fields_v1": { + "f:metadata": { + "f:annotations": { + ".": {}, + "f:crdb.io/last-applied": {}, + "f:prometheus.io/path": {}, + "f:prometheus.io/port": {}, + "f:prometheus.io/scrape": {} + }, + "f:labels": { + ".": {}, + "f:app.kubernetes.io/component": {}, + "f:app.kubernetes.io/instance": {}, + "f:app.kubernetes.io/managed-by": {}, + "f:app.kubernetes.io/name": {}, + "f:app.kubernetes.io/part-of": {}, + "f:app.kubernetes.io/version": {}, + "f:crdb": {} + }, + "f:ownerReferences": { + ".": {}, + "k:{\"uid\":\"90ad5ef5-9c95-4092-a5e8-1582b92649ff\"}": {} + } + }, + "f:spec": { + "f:clusterIP": {}, + "f:internalTrafficPolicy": {}, + "f:ports": { + ".": {}, + "k:{\"port\":8080,\"protocol\":\"TCP\"}": { + ".": {}, + "f:name": {}, + "f:port": {}, + "f:protocol": {}, + "f:targetPort": {} + }, + "k:{\"port\":26257,\"protocol\":\"TCP\"}": { + ".": {}, + "f:name": {}, + "f:port": {}, + "f:protocol": {}, + "f:targetPort": {} + }, + "k:{\"port\":26258,\"protocol\":\"TCP\"}": { + ".": {}, + "f:name": {}, + "f:port": {}, + "f:protocol": {}, + "f:targetPort": {} + } + }, + "f:publishNotReadyAddresses": {}, + "f:selector": {}, + "f:sessionAffinity": {}, + "f:type": {} + } + }, + "manager": "cockroach-operator", + "operation": "Update", + "subresource": null, + "time": "2023-05-04T20:30:57+00:00" + } + ], + "name": "test-cluster", + "namespace": "cockroach-operator-system", + "owner_references": [ + { + "api_version": "crdb.cockroachlabs.com/v1alpha1", + "block_owner_deletion": true, + "controller": true, + "kind": "CrdbCluster", + "name": "test-cluster", + "uid": "90ad5ef5-9c95-4092-a5e8-1582b92649ff" + } + ], + "resource_version": "860", + "self_link": null, + "uid": "a616b52c-0291-4bec-bd00-5238bd0c2df7" + }, + "spec": { + "allocate_load_balancer_node_ports": null, + "cluster_ip": "None", + "cluster_i_ps": [ + "None" + ], + "external_i_ps": null, + "external_name": null, + "external_traffic_policy": null, + "health_check_node_port": null, + "internal_traffic_policy": "Cluster", + "ip_families": [ + "IPv4" + ], + "ip_family_policy": "SingleStack", + "load_balancer_class": null, + "load_balancer_ip": null, + "load_balancer_source_ranges": null, + "ports": [ + { + "app_protocol": null, + "name": "grpc", + "node_port": null, + "port": 26258, + "protocol": "TCP", + "target_port": 26258 + }, + { + "app_protocol": null, + "name": "http", + "node_port": null, + "port": 8080, + "protocol": "TCP", + "target_port": 8080 + }, + { + "app_protocol": null, + "name": "sql", + "node_port": null, + "port": 26257, + "protocol": "TCP", + "target_port": 26257 + } + ], + "publish_not_ready_addresses": true, + "selector": { + "app.kubernetes.io/component": "database", + "app.kubernetes.io/instance": "test-cluster", + "app.kubernetes.io/name": "cockroachdb", + "crdb": "is-cool" + }, + "session_affinity": "None", + "session_affinity_config": null, + "type": "ClusterIP" + }, + "status": { + "conditions": null, + "load_balancer": { + "ingress": null + } + } + }, + "test-cluster-public": { + "api_version": null, + "kind": null, + "metadata": { + "annotations": { + "crdb.io/last-applied": "eyJtZXRhZGF0YSI6eyJuYW1lc3BhY2UiOiJjb2Nrcm9hY2gtb3BlcmF0b3Itc3lzdGVtIiwibGFiZWxzIjp7ImNyZGIiOiJpcy1jb29sIiwiYXBwLmt1YmVybmV0ZXMuaW8vcGFydC1vZiI6ImNvY2tyb2FjaGRiIiwiYXBwLmt1YmVybmV0ZXMuaW8vbmFtZSI6ImNvY2tyb2FjaGRiIiwiYXBwLmt1YmVybmV0ZXMuaW8vaW5zdGFuY2UiOiJ0ZXN0LWNsdXN0ZXIiLCJhcHAua3ViZXJuZXRlcy5pby92ZXJzaW9uIjoidjIxLjIuMTAiLCJhcHAua3ViZXJuZXRlcy5pby9jb21wb25lbnQiOiJkYXRhYmFzZSIsImFwcC5rdWJlcm5ldGVzLmlvL21hbmFnZWQtYnkiOiJjb2Nrcm9hY2gtb3BlcmF0b3IifSwib3duZXJSZWZlcmVuY2VzIjpbeyJhcGlWZXJzaW9uIjoiY3JkYi5jb2Nrcm9hY2hsYWJzLmNvbS92MWFscGhhMSIsImtpbmQiOiJDcmRiQ2x1c3RlciIsIm5hbWUiOiJ0ZXN0LWNsdXN0ZXIiLCJ1aWQiOiI5MGFkNWVmNS05Yzk1LTQwOTItYTVlOC0xNTgyYjkyNjQ5ZmYiLCJjb250cm9sbGVyIjp0cnVlLCJibG9ja093bmVyRGVsZXRpb24iOnRydWV9XSwibmFtZSI6InRlc3QtY2x1c3Rlci1wdWJsaWMifSwic3BlYyI6eyJwb3J0cyI6W3sibmFtZSI6ImdycGMiLCJwb3J0IjoyNjI1OH0seyJuYW1lIjoiaHR0cCIsInBvcnQiOjgwODB9LHsibmFtZSI6InNxbCIsInBvcnQiOjI2MjU3fV0sInNlbGVjdG9yIjp7ImFwcC5rdWJlcm5ldGVzLmlvL25hbWUiOiJjb2Nrcm9hY2hkYiIsImFwcC5rdWJlcm5ldGVzLmlvL2luc3RhbmNlIjoidGVzdC1jbHVzdGVyIiwiYXBwLmt1YmVybmV0ZXMuaW8vY29tcG9uZW50IjoiZGF0YWJhc2UiLCJjcmRiIjoiaXMtY29vbCJ9LCJ0eXBlIjoiQ2x1c3RlcklQIn0sInN0YXR1cyI6eyJsb2FkQmFsYW5jZXIiOnt9fX0=" + }, + "creation_timestamp": "2023-05-04T20:30:57+00:00", + "deletion_grace_period_seconds": null, + "deletion_timestamp": null, + "finalizers": null, + "generate_name": null, + "generation": null, + "labels": { + "app.kubernetes.io/component": "database", + "app.kubernetes.io/instance": "test-cluster", + "app.kubernetes.io/managed-by": "cockroach-operator", + "app.kubernetes.io/name": "cockroachdb", + "app.kubernetes.io/part-of": "cockroachdb", + "app.kubernetes.io/version": "v21.2.10", + "crdb": "is-cool" + }, + "managed_fields": [ + { + "api_version": "v1", + "fields_type": "FieldsV1", + "fields_v1": { + "f:metadata": { + "f:annotations": { + ".": {}, + "f:crdb.io/last-applied": {} + }, + "f:labels": { + ".": {}, + "f:app.kubernetes.io/component": {}, + "f:app.kubernetes.io/instance": {}, + "f:app.kubernetes.io/managed-by": {}, + "f:app.kubernetes.io/name": {}, + "f:app.kubernetes.io/part-of": {}, + "f:app.kubernetes.io/version": {}, + "f:crdb": {} + }, + "f:ownerReferences": { + ".": {}, + "k:{\"uid\":\"90ad5ef5-9c95-4092-a5e8-1582b92649ff\"}": {} + } + }, + "f:spec": { + "f:internalTrafficPolicy": {}, + "f:ports": { + ".": {}, + "k:{\"port\":8080,\"protocol\":\"TCP\"}": { + ".": {}, + "f:name": {}, + "f:port": {}, + "f:protocol": {}, + "f:targetPort": {} + }, + "k:{\"port\":26257,\"protocol\":\"TCP\"}": { + ".": {}, + "f:name": {}, + "f:port": {}, + "f:protocol": {}, + "f:targetPort": {} + }, + "k:{\"port\":26258,\"protocol\":\"TCP\"}": { + ".": {}, + "f:name": {}, + "f:port": {}, + "f:protocol": {}, + "f:targetPort": {} + } + }, + "f:selector": {}, + "f:sessionAffinity": {}, + "f:type": {} + } + }, + "manager": "cockroach-operator", + "operation": "Update", + "subresource": null, + "time": "2023-05-04T20:30:57+00:00" + } + ], + "name": "test-cluster-public", + "namespace": "cockroach-operator-system", + "owner_references": [ + { + "api_version": "crdb.cockroachlabs.com/v1alpha1", + "block_owner_deletion": true, + "controller": true, + "kind": "CrdbCluster", + "name": "test-cluster", + "uid": "90ad5ef5-9c95-4092-a5e8-1582b92649ff" + } + ], + "resource_version": "864", + "self_link": null, + "uid": "f0467d46-ca97-42f6-9d3a-87f27dddc7fe" + }, + "spec": { + "allocate_load_balancer_node_ports": null, + "cluster_ip": "10.96.43.219", + "cluster_i_ps": [ + "10.96.43.219" + ], + "external_i_ps": null, + "external_name": null, + "external_traffic_policy": null, + "health_check_node_port": null, + "internal_traffic_policy": "Cluster", + "ip_families": [ + "IPv4" + ], + "ip_family_policy": "SingleStack", + "load_balancer_class": null, + "load_balancer_ip": null, + "load_balancer_source_ranges": null, + "ports": [ + { + "app_protocol": null, + "name": "grpc", + "node_port": null, + "port": 26258, + "protocol": "TCP", + "target_port": 26258 + }, + { + "app_protocol": null, + "name": "http", + "node_port": null, + "port": 8080, + "protocol": "TCP", + "target_port": 8080 + }, + { + "app_protocol": null, + "name": "sql", + "node_port": null, + "port": 26257, + "protocol": "TCP", + "target_port": 26257 + } + ], + "publish_not_ready_addresses": null, + "selector": { + "app.kubernetes.io/component": "database", + "app.kubernetes.io/instance": "test-cluster", + "app.kubernetes.io/name": "cockroachdb", + "crdb": "is-cool" + }, + "session_affinity": "None", + "session_affinity_config": null, + "type": "ClusterIP" + }, + "status": { + "conditions": null, + "load_balancer": { + "ingress": null + } + } + } + }, + "service_account": { + "cockroach-operator-sa": { + "api_version": null, + "automount_service_account_token": null, + "image_pull_secrets": null, + "kind": null, + "metadata": { + "annotations": null, + "creation_timestamp": "2023-05-04T20:30:22+00:00", + "deletion_grace_period_seconds": null, + "deletion_timestamp": null, + "finalizers": null, + "generate_name": null, + "generation": null, + "labels": { + "app": "cockroach-operator" + }, + "managed_fields": [ + { + "api_version": "v1", + "fields_type": "FieldsV1", + "fields_v1": { + "f:metadata": { + "f:labels": { + "f:app": {} + } + } + }, + "manager": "kubectl", + "operation": "Apply", + "subresource": null, + "time": "2023-05-04T20:30:22+00:00" + }, + { + "api_version": "v1", + "fields_type": "FieldsV1", + "fields_v1": { + "f:secrets": { + ".": {}, + "k:{\"name\":\"cockroach-operator-sa-token-wzc2j\"}": {} + } + }, + "manager": "kube-controller-manager", + "operation": "Update", + "subresource": null, + "time": "2023-05-04T20:30:22+00:00" + } + ], + "name": "cockroach-operator-sa", + "namespace": "cockroach-operator-system", + "owner_references": null, + "resource_version": "704", + "self_link": null, + "uid": "aee568de-cb39-4282-8a0c-0ab30d52bfac" + }, + "secrets": [ + { + "api_version": null, + "field_path": null, + "kind": null, + "name": "cockroach-operator-sa-token-wzc2j", + "namespace": null, + "resource_version": null, + "uid": null + } + ] + }, + "default": { + "api_version": null, + "automount_service_account_token": null, + "image_pull_secrets": null, + "kind": null, + "metadata": { + "annotations": null, + "creation_timestamp": "2023-05-04T20:30:11+00:00", + "deletion_grace_period_seconds": null, + "deletion_timestamp": null, + "finalizers": null, + "generate_name": null, + "generation": null, + "labels": null, + "managed_fields": null, + "name": "default", + "namespace": "cockroach-operator-system", + "owner_references": null, + "resource_version": "672", + "self_link": null, + "uid": "be0c4503-0fc2-4746-bef6-f4067b0eb31f" + }, + "secrets": [ + { + "api_version": null, + "field_path": null, + "kind": null, + "name": "default-token-7btwd", + "namespace": null, + "resource_version": null, + "uid": null + } + ] + }, + "test-cluster-sa": { + "api_version": null, + "automount_service_account_token": null, + "image_pull_secrets": null, + "kind": null, + "metadata": { + "annotations": { + "crdb.io/last-applied": "eyJtZXRhZGF0YSI6eyJuYW1lc3BhY2UiOiJjb2Nrcm9hY2gtb3BlcmF0b3Itc3lzdGVtIiwibGFiZWxzIjp7ImFwcC5rdWJlcm5ldGVzLmlvL25hbWUiOiJjb2Nrcm9hY2hkYiIsImFwcC5rdWJlcm5ldGVzLmlvL2luc3RhbmNlIjoidGVzdC1jbHVzdGVyIiwiYXBwLmt1YmVybmV0ZXMuaW8vY29tcG9uZW50IjoiZGF0YWJhc2UiLCJhcHAua3ViZXJuZXRlcy5pby9tYW5hZ2VkLWJ5IjoiY29ja3JvYWNoLW9wZXJhdG9yIiwiY3JkYiI6ImlzLWNvb2wiLCJhcHAua3ViZXJuZXRlcy5pby9wYXJ0LW9mIjoiY29ja3JvYWNoZGIifSwib3duZXJSZWZlcmVuY2VzIjpbeyJjb250cm9sbGVyIjp0cnVlLCJibG9ja093bmVyRGVsZXRpb24iOnRydWUsImFwaVZlcnNpb24iOiJjcmRiLmNvY2tyb2FjaGxhYnMuY29tL3YxYWxwaGExIiwia2luZCI6IkNyZGJDbHVzdGVyIiwibmFtZSI6InRlc3QtY2x1c3RlciIsInVpZCI6IjkwYWQ1ZWY1LTljOTUtNDA5Mi1hNWU4LTE1ODJiOTI2NDlmZiJ9XSwibmFtZSI6InRlc3QtY2x1c3Rlci1zYSJ9fQ==" + }, + "creation_timestamp": "2023-05-04T20:30:56+00:00", + "deletion_grace_period_seconds": null, + "deletion_timestamp": null, + "finalizers": null, + "generate_name": null, + "generation": null, + "labels": { + "app.kubernetes.io/component": "database", + "app.kubernetes.io/instance": "test-cluster", + "app.kubernetes.io/managed-by": "cockroach-operator", + "app.kubernetes.io/name": "cockroachdb", + "app.kubernetes.io/part-of": "cockroachdb", + "crdb": "is-cool" + }, + "managed_fields": [ + { + "api_version": "v1", + "fields_type": "FieldsV1", + "fields_v1": { + "f:metadata": { + "f:annotations": { + ".": {}, + "f:crdb.io/last-applied": {} + }, + "f:labels": { + ".": {}, + "f:app.kubernetes.io/component": {}, + "f:app.kubernetes.io/instance": {}, + "f:app.kubernetes.io/managed-by": {}, + "f:app.kubernetes.io/name": {}, + "f:app.kubernetes.io/part-of": {}, + "f:crdb": {} + }, + "f:ownerReferences": { + ".": {}, + "k:{\"uid\":\"90ad5ef5-9c95-4092-a5e8-1582b92649ff\"}": {} + } + } + }, + "manager": "cockroach-operator", + "operation": "Update", + "subresource": null, + "time": "2023-05-04T20:30:56+00:00" + }, + { + "api_version": "v1", + "fields_type": "FieldsV1", + "fields_v1": { + "f:secrets": { + ".": {}, + "k:{\"name\":\"test-cluster-sa-token-828tt\"}": {} + } + }, + "manager": "kube-controller-manager", + "operation": "Update", + "subresource": null, + "time": "2023-05-04T20:30:56+00:00" + } + ], + "name": "test-cluster-sa", + "namespace": "cockroach-operator-system", + "owner_references": [ + { + "api_version": "crdb.cockroachlabs.com/v1alpha1", + "block_owner_deletion": true, + "controller": true, + "kind": "CrdbCluster", + "name": "test-cluster", + "uid": "90ad5ef5-9c95-4092-a5e8-1582b92649ff" + } + ], + "resource_version": "833", + "self_link": null, + "uid": "c4ce832a-fa0b-4be4-aee9-59d9be6ee164" + }, + "secrets": [ + { + "api_version": null, + "field_path": null, + "kind": null, + "name": "test-cluster-sa-token-828tt", + "namespace": null, + "resource_version": null, + "uid": null + } + ] + } + }, + "pvc": { + "datadir-test-cluster-0": { + "api_version": null, + "kind": null, + "metadata": { + "annotations": { + "pv.kubernetes.io/bind-completed": "yes", + "pv.kubernetes.io/bound-by-controller": "yes", + "volume.beta.kubernetes.io/storage-provisioner": "rancher.io/local-path", + "volume.kubernetes.io/selected-node": "acto-cluster-0-worker" + }, + "creation_timestamp": "2023-05-04T20:30:58+00:00", + "deletion_grace_period_seconds": null, + "deletion_timestamp": null, + "finalizers": [ + "kubernetes.io/pvc-protection" + ], + "generate_name": null, + "generation": null, + "labels": { + "app.kubernetes.io/component": "database", + "app.kubernetes.io/instance": "test-cluster", + "app.kubernetes.io/name": "cockroachdb", + "crdb": "is-cool" + }, + "managed_fields": [ + { + "api_version": "v1", + "fields_type": "FieldsV1", + "fields_v1": { + "f:metadata": { + "f:annotations": { + ".": {}, + "f:volume.kubernetes.io/selected-node": {} + } + } + }, + "manager": "kube-scheduler", + "operation": "Update", + "subresource": null, + "time": "2023-05-04T20:30:58+00:00" + }, + { + "api_version": "v1", + "fields_type": "FieldsV1", + "fields_v1": { + "f:metadata": { + "f:annotations": { + "f:pv.kubernetes.io/bind-completed": {}, + "f:pv.kubernetes.io/bound-by-controller": {}, + "f:volume.beta.kubernetes.io/storage-provisioner": {} + }, + "f:labels": { + ".": {}, + "f:app.kubernetes.io/component": {}, + "f:app.kubernetes.io/instance": {}, + "f:app.kubernetes.io/name": {}, + "f:crdb": {} + } + }, + "f:spec": { + "f:accessModes": {}, + "f:resources": { + "f:requests": { + ".": {}, + "f:storage": {} + } + }, + "f:volumeMode": {}, + "f:volumeName": {} + } + }, + "manager": "kube-controller-manager", + "operation": "Update", + "subresource": null, + "time": "2023-05-04T20:31:01+00:00" + }, + { + "api_version": "v1", + "fields_type": "FieldsV1", + "fields_v1": { + "f:status": { + "f:accessModes": {}, + "f:capacity": { + ".": {}, + "f:storage": {} + }, + "f:phase": {} + } + }, + "manager": "kube-controller-manager", + "operation": "Update", + "subresource": "status", + "time": "2023-05-04T20:31:01+00:00" + } + ], + "name": "datadir-test-cluster-0", + "namespace": "cockroach-operator-system", + "owner_references": null, + "resource_version": "947", + "self_link": null, + "uid": "1ecdb689-a85f-4dbc-9cd3-da9f4303403a" + }, + "spec": { + "access_modes": [ + "ReadWriteOnce" + ], + "data_source": null, + "data_source_ref": null, + "resources": { + "limits": null, + "requests": { + "storage": "1Gi" + } + }, + "selector": null, + "storage_class_name": "standard", + "volume_mode": "Filesystem", + "volume_name": "pvc-1ecdb689-a85f-4dbc-9cd3-da9f4303403a" + }, + "status": { + "access_modes": [ + "ReadWriteOnce" + ], + "allocated_resources": null, + "capacity": { + "storage": "1Gi" + }, + "conditions": null, + "phase": "Bound", + "resize_status": null + } + }, + "datadir-test-cluster-1": { + "api_version": null, + "kind": null, + "metadata": { + "annotations": { + "pv.kubernetes.io/bind-completed": "yes", + "pv.kubernetes.io/bound-by-controller": "yes", + "volume.beta.kubernetes.io/storage-provisioner": "rancher.io/local-path", + "volume.kubernetes.io/selected-node": "acto-cluster-0-worker3" + }, + "creation_timestamp": "2023-05-04T20:30:58+00:00", + "deletion_grace_period_seconds": null, + "deletion_timestamp": null, + "finalizers": [ + "kubernetes.io/pvc-protection" + ], + "generate_name": null, + "generation": null, + "labels": { + "app.kubernetes.io/component": "database", + "app.kubernetes.io/instance": "test-cluster", + "app.kubernetes.io/name": "cockroachdb", + "crdb": "is-cool" + }, + "managed_fields": [ + { + "api_version": "v1", + "fields_type": "FieldsV1", + "fields_v1": { + "f:metadata": { + "f:annotations": { + ".": {}, + "f:volume.kubernetes.io/selected-node": {} + } + } + }, + "manager": "kube-scheduler", + "operation": "Update", + "subresource": null, + "time": "2023-05-04T20:30:58+00:00" + }, + { + "api_version": "v1", + "fields_type": "FieldsV1", + "fields_v1": { + "f:metadata": { + "f:annotations": { + "f:pv.kubernetes.io/bind-completed": {}, + "f:pv.kubernetes.io/bound-by-controller": {}, + "f:volume.beta.kubernetes.io/storage-provisioner": {} + }, + "f:labels": { + ".": {}, + "f:app.kubernetes.io/component": {}, + "f:app.kubernetes.io/instance": {}, + "f:app.kubernetes.io/name": {}, + "f:crdb": {} + } + }, + "f:spec": { + "f:accessModes": {}, + "f:resources": { + "f:requests": { + ".": {}, + "f:storage": {} + } + }, + "f:volumeMode": {}, + "f:volumeName": {} + } + }, + "manager": "kube-controller-manager", + "operation": "Update", + "subresource": null, + "time": "2023-05-04T20:31:00+00:00" + }, + { + "api_version": "v1", + "fields_type": "FieldsV1", + "fields_v1": { + "f:status": { + "f:accessModes": {}, + "f:capacity": { + ".": {}, + "f:storage": {} + }, + "f:phase": {} + } + }, + "manager": "kube-controller-manager", + "operation": "Update", + "subresource": "status", + "time": "2023-05-04T20:31:00+00:00" + } + ], + "name": "datadir-test-cluster-1", + "namespace": "cockroach-operator-system", + "owner_references": null, + "resource_version": "934", + "self_link": null, + "uid": "53bc0e1e-50be-447d-85c6-5159e521a0fb" + }, + "spec": { + "access_modes": [ + "ReadWriteOnce" + ], + "data_source": null, + "data_source_ref": null, + "resources": { + "limits": null, + "requests": { + "storage": "1Gi" + } + }, + "selector": null, + "storage_class_name": "standard", + "volume_mode": "Filesystem", + "volume_name": "pvc-53bc0e1e-50be-447d-85c6-5159e521a0fb" + }, + "status": { + "access_modes": [ + "ReadWriteOnce" + ], + "allocated_resources": null, + "capacity": { + "storage": "1Gi" + }, + "conditions": null, + "phase": "Bound", + "resize_status": null + } + }, + "datadir-test-cluster-2": { + "api_version": null, + "kind": null, + "metadata": { + "annotations": { + "pv.kubernetes.io/bind-completed": "yes", + "pv.kubernetes.io/bound-by-controller": "yes", + "volume.beta.kubernetes.io/storage-provisioner": "rancher.io/local-path", + "volume.kubernetes.io/selected-node": "acto-cluster-0-worker2" + }, + "creation_timestamp": "2023-05-04T20:30:58+00:00", + "deletion_grace_period_seconds": null, + "deletion_timestamp": null, + "finalizers": [ + "kubernetes.io/pvc-protection" + ], + "generate_name": null, + "generation": null, + "labels": { + "app.kubernetes.io/component": "database", + "app.kubernetes.io/instance": "test-cluster", + "app.kubernetes.io/name": "cockroachdb", + "crdb": "is-cool" + }, + "managed_fields": [ + { + "api_version": "v1", + "fields_type": "FieldsV1", + "fields_v1": { + "f:metadata": { + "f:annotations": { + ".": {}, + "f:volume.kubernetes.io/selected-node": {} + } + } + }, + "manager": "kube-scheduler", + "operation": "Update", + "subresource": null, + "time": "2023-05-04T20:30:58+00:00" + }, + { + "api_version": "v1", + "fields_type": "FieldsV1", + "fields_v1": { + "f:metadata": { + "f:annotations": { + "f:pv.kubernetes.io/bind-completed": {}, + "f:pv.kubernetes.io/bound-by-controller": {}, + "f:volume.beta.kubernetes.io/storage-provisioner": {} + }, + "f:labels": { + ".": {}, + "f:app.kubernetes.io/component": {}, + "f:app.kubernetes.io/instance": {}, + "f:app.kubernetes.io/name": {}, + "f:crdb": {} + } + }, + "f:spec": { + "f:accessModes": {}, + "f:resources": { + "f:requests": { + ".": {}, + "f:storage": {} + } + }, + "f:volumeMode": {}, + "f:volumeName": {} + } + }, + "manager": "kube-controller-manager", + "operation": "Update", + "subresource": null, + "time": "2023-05-04T20:31:02+00:00" + }, + { + "api_version": "v1", + "fields_type": "FieldsV1", + "fields_v1": { + "f:status": { + "f:accessModes": {}, + "f:capacity": { + ".": {}, + "f:storage": {} + }, + "f:phase": {} + } + }, + "manager": "kube-controller-manager", + "operation": "Update", + "subresource": "status", + "time": "2023-05-04T20:31:02+00:00" + } + ], + "name": "datadir-test-cluster-2", + "namespace": "cockroach-operator-system", + "owner_references": null, + "resource_version": "968", + "self_link": null, + "uid": "6e344d65-a1cb-44f1-8227-6ae78f90da5d" + }, + "spec": { + "access_modes": [ + "ReadWriteOnce" + ], + "data_source": null, + "data_source_ref": null, + "resources": { + "limits": null, + "requests": { + "storage": "1Gi" + } + }, + "selector": null, + "storage_class_name": "standard", + "volume_mode": "Filesystem", + "volume_name": "pvc-6e344d65-a1cb-44f1-8227-6ae78f90da5d" + }, + "status": { + "access_modes": [ + "ReadWriteOnce" + ], + "allocated_resources": null, + "capacity": { + "storage": "1Gi" + }, + "conditions": null, + "phase": "Bound", + "resize_status": null + } + } + }, + "cronjob": {}, + "ingress": { + "sql-test-cluster": { + "api_version": null, + "kind": null, + "metadata": { + "annotations": { + "crdb.io/last-applied": "eyJtZXRhZGF0YSI6eyJsYWJlbHMiOnsiYXBwLmt1YmVybmV0ZXMuaW8vdmVyc2lvbiI6InYyMS4yLjEwIiwiYXBwLmt1YmVybmV0ZXMuaW8vY29tcG9uZW50IjoiZGF0YWJhc2UiLCJhcHAua3ViZXJuZXRlcy5pby9tYW5hZ2VkLWJ5IjoiY29ja3JvYWNoLW9wZXJhdG9yIiwiY3JkYiI6ImlzLWNvb2wiLCJhcHAua3ViZXJuZXRlcy5pby9wYXJ0LW9mIjoiY29ja3JvYWNoZGIiLCJhcHAua3ViZXJuZXRlcy5pby9uYW1lIjoiY29ja3JvYWNoZGIiLCJhcHAua3ViZXJuZXRlcy5pby9pbnN0YW5jZSI6InRlc3QtY2x1c3RlciJ9LCJvd25lclJlZmVyZW5jZXMiOlt7ImFwaVZlcnNpb24iOiJjcmRiLmNvY2tyb2FjaGxhYnMuY29tL3YxYWxwaGExIiwia2luZCI6IkNyZGJDbHVzdGVyIiwibmFtZSI6InRlc3QtY2x1c3RlciIsInVpZCI6IjkwYWQ1ZWY1LTljOTUtNDA5Mi1hNWU4LTE1ODJiOTI2NDlmZiIsImNvbnRyb2xsZXIiOnRydWUsImJsb2NrT3duZXJEZWxldGlvbiI6dHJ1ZX1dLCJuYW1lIjoic3FsLXRlc3QtY2x1c3RlciIsIm5hbWVzcGFjZSI6ImNvY2tyb2FjaC1vcGVyYXRvci1zeXN0ZW0ifSwic3BlYyI6eyJydWxlcyI6W3siaHR0cCI6eyJwYXRocyI6W3sicGF0aFR5cGUiOiJJbXBsZW1lbnRhdGlvblNwZWNpZmljIiwiYmFja2VuZCI6eyJzZXJ2aWNlIjp7Im5hbWUiOiJ0ZXN0LWNsdXN0ZXItcHVibGljIiwicG9ydCI6eyJuYW1lIjoic3FsIn19fX1dfSwiaG9zdCI6Im15bmJpcXBtemoifV19LCJzdGF0dXMiOnsibG9hZEJhbGFuY2VyIjp7fX19" + }, + "creation_timestamp": "2023-05-04T20:32:16+00:00", + "deletion_grace_period_seconds": null, + "deletion_timestamp": null, + "finalizers": null, + "generate_name": null, + "generation": 1, + "labels": { + "app.kubernetes.io/component": "database", + "app.kubernetes.io/instance": "test-cluster", + "app.kubernetes.io/managed-by": "cockroach-operator", + "app.kubernetes.io/name": "cockroachdb", + "app.kubernetes.io/part-of": "cockroachdb", + "app.kubernetes.io/version": "v21.2.10", + "crdb": "is-cool" + }, + "managed_fields": [ + { + "api_version": "networking.k8s.io/v1", + "fields_type": "FieldsV1", + "fields_v1": { + "f:metadata": { + "f:annotations": { + ".": {}, + "f:crdb.io/last-applied": {} + }, + "f:labels": { + ".": {}, + "f:app.kubernetes.io/component": {}, + "f:app.kubernetes.io/instance": {}, + "f:app.kubernetes.io/managed-by": {}, + "f:app.kubernetes.io/name": {}, + "f:app.kubernetes.io/part-of": {}, + "f:app.kubernetes.io/version": {}, + "f:crdb": {} + }, + "f:ownerReferences": { + ".": {}, + "k:{\"uid\":\"90ad5ef5-9c95-4092-a5e8-1582b92649ff\"}": {} + } + }, + "f:spec": { + "f:rules": {} + } + }, + "manager": "cockroach-operator", + "operation": "Update", + "subresource": null, + "time": "2023-05-04T20:32:16+00:00" + } + ], + "name": "sql-test-cluster", + "namespace": "cockroach-operator-system", + "owner_references": [ + { + "api_version": "crdb.cockroachlabs.com/v1alpha1", + "block_owner_deletion": true, + "controller": true, + "kind": "CrdbCluster", + "name": "test-cluster", + "uid": "90ad5ef5-9c95-4092-a5e8-1582b92649ff" + } + ], + "resource_version": "1148", + "self_link": null, + "uid": "cfc5aaff-c124-41e1-8e46-2d26279e3cec" + }, + "spec": { + "default_backend": null, + "ingress_class_name": null, + "rules": [ + { + "host": "mynbiqpmzj", + "http": { + "paths": [ + { + "backend": { + "resource": null, + "service": { + "name": "test-cluster-public", + "port": { + "name": "sql", + "number": null + } + } + }, + "path": null, + "path_type": "ImplementationSpecific" + } + ] + } + } + ], + "tls": null + }, + "status": { + "load_balancer": { + "ingress": null + } + } + } + }, + "network_policy": {}, + "pod_disruption_budget": { + "test-cluster": { + "api_version": null, + "kind": null, + "metadata": { + "annotations": { + "crdb.io/last-applied": "eyJtZXRhZGF0YSI6eyJsYWJlbHMiOnsiYXBwLmt1YmVybmV0ZXMuaW8vbmFtZSI6ImNvY2tyb2FjaGRiIiwiYXBwLmt1YmVybmV0ZXMuaW8vaW5zdGFuY2UiOiJ0ZXN0LWNsdXN0ZXIiLCJhcHAua3ViZXJuZXRlcy5pby92ZXJzaW9uIjoidjIxLjIuMTAiLCJjcmRiIjoiaXMtY29vbCIsImFwcC5rdWJlcm5ldGVzLmlvL2NvbXBvbmVudCI6ImRhdGFiYXNlIiwiYXBwLmt1YmVybmV0ZXMuaW8vbWFuYWdlZC1ieSI6ImNvY2tyb2FjaC1vcGVyYXRvciIsImFwcC5rdWJlcm5ldGVzLmlvL3BhcnQtb2YiOiJjb2Nrcm9hY2hkYiJ9LCJvd25lclJlZmVyZW5jZXMiOlt7ImFwaVZlcnNpb24iOiJjcmRiLmNvY2tyb2FjaGxhYnMuY29tL3YxYWxwaGExIiwia2luZCI6IkNyZGJDbHVzdGVyIiwibmFtZSI6InRlc3QtY2x1c3RlciIsInVpZCI6IjkwYWQ1ZWY1LTljOTUtNDA5Mi1hNWU4LTE1ODJiOTI2NDlmZiIsImNvbnRyb2xsZXIiOnRydWUsImJsb2NrT3duZXJEZWxldGlvbiI6dHJ1ZX1dLCJuYW1lIjoidGVzdC1jbHVzdGVyIiwibmFtZXNwYWNlIjoiY29ja3JvYWNoLW9wZXJhdG9yLXN5c3RlbSJ9LCJzcGVjIjp7InNlbGVjdG9yIjp7Im1hdGNoTGFiZWxzIjp7ImFwcC5rdWJlcm5ldGVzLmlvL2luc3RhbmNlIjoidGVzdC1jbHVzdGVyIiwiYXBwLmt1YmVybmV0ZXMuaW8vY29tcG9uZW50IjoiZGF0YWJhc2UiLCJjcmRiIjoiaXMtY29vbCIsImFwcC5rdWJlcm5ldGVzLmlvL25hbWUiOiJjb2Nrcm9hY2hkYiJ9fSwibWF4VW5hdmFpbGFibGUiOjF9LCJzdGF0dXMiOnsiY3VycmVudEhlYWx0aHkiOjAsImRlc2lyZWRIZWFsdGh5IjowLCJleHBlY3RlZFBvZHMiOjAsImRpc3J1cHRpb25zQWxsb3dlZCI6MH19" + }, + "creation_timestamp": "2023-05-04T20:30:58+00:00", + "deletion_grace_period_seconds": null, + "deletion_timestamp": null, + "finalizers": null, + "generate_name": null, + "generation": 1, + "labels": { + "app.kubernetes.io/component": "database", + "app.kubernetes.io/instance": "test-cluster", + "app.kubernetes.io/managed-by": "cockroach-operator", + "app.kubernetes.io/name": "cockroachdb", + "app.kubernetes.io/part-of": "cockroachdb", + "app.kubernetes.io/version": "v21.2.10", + "crdb": "is-cool" + }, + "managed_fields": [ + { + "api_version": "policy/v1beta1", + "fields_type": "FieldsV1", + "fields_v1": { + "f:metadata": { + "f:annotations": { + ".": {}, + "f:crdb.io/last-applied": {} + }, + "f:labels": { + ".": {}, + "f:app.kubernetes.io/component": {}, + "f:app.kubernetes.io/instance": {}, + "f:app.kubernetes.io/managed-by": {}, + "f:app.kubernetes.io/name": {}, + "f:app.kubernetes.io/part-of": {}, + "f:app.kubernetes.io/version": {}, + "f:crdb": {} + }, + "f:ownerReferences": { + ".": {}, + "k:{\"uid\":\"90ad5ef5-9c95-4092-a5e8-1582b92649ff\"}": {} + } + }, + "f:spec": { + "f:maxUnavailable": {}, + "f:selector": {} + } + }, + "manager": "cockroach-operator", + "operation": "Update", + "subresource": null, + "time": "2023-05-04T20:30:58+00:00" + }, + { + "api_version": "policy/v1", + "fields_type": "FieldsV1", + "fields_v1": { + "f:status": { + "f:conditions": { + ".": {}, + "k:{\"type\":\"DisruptionAllowed\"}": { + ".": {}, + "f:lastTransitionTime": {}, + "f:message": {}, + "f:observedGeneration": {}, + "f:reason": {}, + "f:status": {}, + "f:type": {} + } + }, + "f:currentHealthy": {}, + "f:desiredHealthy": {}, + "f:disruptionsAllowed": {}, + "f:expectedPods": {}, + "f:observedGeneration": {} + } + }, + "manager": "kube-controller-manager", + "operation": "Update", + "subresource": "status", + "time": "2023-05-04T20:31:21+00:00" + } + ], + "name": "test-cluster", + "namespace": "cockroach-operator-system", + "owner_references": [ + { + "api_version": "crdb.cockroachlabs.com/v1alpha1", + "block_owner_deletion": true, + "controller": true, + "kind": "CrdbCluster", + "name": "test-cluster", + "uid": "90ad5ef5-9c95-4092-a5e8-1582b92649ff" + } + ], + "resource_version": "1052", + "self_link": null, + "uid": "518bb618-fc9f-4d74-a07c-f3340bb37854" + }, + "spec": { + "max_unavailable": 1, + "min_available": null, + "selector": { + "match_expressions": null, + "match_labels": { + "app.kubernetes.io/component": "database", + "app.kubernetes.io/instance": "test-cluster", + "app.kubernetes.io/name": "cockroachdb", + "crdb": "is-cool" + } + } + }, + "status": { + "conditions": [ + { + "last_transition_time": "2023-05-04T20:31:21+00:00", + "message": "", + "observed_generation": 1, + "reason": "SufficientPods", + "status": "True", + "type": "DisruptionAllowed" + } + ], + "current_healthy": 3, + "desired_healthy": 2, + "disrupted_pods": null, + "disruptions_allowed": 1, + "expected_pods": 3, + "observed_generation": 1 + } + } + }, + "secret": { + "cockroach-operator-sa-token-wzc2j": { + "api_version": null, + "data": { + "ca.crt": "-----BEGIN CERTIFICATE-----\nMIIC/jCCAeagAwIBAgIBADANBgkqhkiG9w0BAQsFADAVMRMwEQYDVQQDEwprdWJl\ncm5ldGVzMB4XDTIzMDUwNDIwMjkxMFoXDTMzMDUwMTIwMjkxMFowFTETMBEGA1UE\nAxMKa3ViZXJuZ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ZpY2VhY2NvdW50Iiwia3ViZXJuZXRlcy5pby9zZXJ2aWNlYWNjb3VudC9uYW1lc3BhY2UiOiJjb2Nrcm9hY2gtb3BlcmF0b3Itc3lzdGVtIiwia3ViZXJuZXRlcy5pby9zZXJ2aWNlYWNjb3VudC9zZWNyZXQubmFtZSI6ImNvY2tyb2FjaC1vcGVyYXRvci1zYS10b2tlbi13emMyaiIsImt1YmVybmV0ZXMuaW8vc2VydmljZWFjY291bnQvc2VydmljZS1hY2NvdW50Lm5hbWUiOiJjb2Nrcm9hY2gtb3BlcmF0b3Itc2EiLCJrdWJlcm5ldGVzLmlvL3NlcnZpY2VhY2NvdW50L3NlcnZpY2UtYWNjb3VudC51aWQiOiJhZWU1NjhkZS1jYjM5LTQyODItOGEwYy0wYWIzMGQ1MmJmYWMiLCJzdWIiOiJzeXN0ZW06c2VydmljZWFjY291bnQ6Y29ja3JvYWNoLW9wZXJhdG9yLXN5c3RlbTpjb2Nrcm9hY2gtb3BlcmF0b3Itc2EifQ.Aq3vVVAdHBAHBlaoKwAxGTgCuZf3cGvGu9XQIDpd91MLAgxJu0-ug0_-V1PBk9n3CVk3Xa8fkgSQuc0_80YO2p_KOz5EEFnXy0LBLUfhK5E0ziiU_rGLidI6Hs_OaqULKb0X8PZ_25BBqiGk-RC3K7xvXSe1BUSfdLRzkZOAjybynzsIdmDnynAXNAP1J-FDeCExwhIkyWg-TELSTsD3Ahjx4RqfUVXDNiDjkjqSo0nqrCBZJCmeYKF1HUTFqwGXrSbfXuj6ZN-SbTdu14FwEFOtLBqx3iWD5xBGaRR-wA5Xrxmv2d_BCfF1ZoGyaxWm254klNxp2uR29khqeYXSTA" + }, + "immutable": null, + "kind": null, + "metadata": { + "annotations": { + "kubernetes.io/service-account.name": "cockroach-operator-sa", + "kubernetes.io/service-account.uid": "aee568de-cb39-4282-8a0c-0ab30d52bfac" + }, + "creation_timestamp": "2023-05-04T20:30:22+00:00", + "deletion_grace_period_seconds": null, + "deletion_timestamp": null, + "finalizers": null, + "generate_name": null, + "generation": null, + "labels": null, + "managed_fields": [ + { + "api_version": "v1", + "fields_type": "FieldsV1", + "fields_v1": { + "f:data": { + ".": {}, + "f:ca.crt": {}, + "f:namespace": {}, + "f:token": {} + }, + "f:metadata": { + "f:annotations": { + ".": {}, + "f:kubernetes.io/service-account.name": {}, + "f:kubernetes.io/service-account.uid": {} + } + }, + "f:type": {} + }, + "manager": "kube-controller-manager", + "operation": "Update", + "subresource": null, + "time": "2023-05-04T20:30:22+00:00" + } + ], + "name": "cockroach-operator-sa-token-wzc2j", + "namespace": "cockroach-operator-system", + "owner_references": null, + "resource_version": "702", + "self_link": null, + "uid": "dcac6a29-ef3e-4f70-83f5-5e37488bcadd" + }, + "string_data": null, + "type": "kubernetes.io/service-account-token" + }, + "cockroach-operator-webhook-ca": { + "api_version": null, + "data": { + "tls.crt": "-----BEGIN CERTIFICATE-----\nMIIFHDCCAwSgAwIBAgIBATANBgkqhkiG9w0BAQsFADAgMR4wHAYDVQQKExVDb2Nr\ncm9hY2ggREIgT3BlcmF0b3IwHhcNMjMwNTA0MjAzMDIyWhcNMzMwNTAxMjAzMDIy\nWjAgMR4wHAYDVQQKExVDb2Nrcm9hY2ggREIgT3BlcmF0b3IwggIiMA0GCSqGSIb3\nDQEBAQUAA4ICDwAwggIKAoICAQClIdsIRkqd9AB2XImuNceMeR8It9YG0/d1611T\nh2MNuzaGXFVv+rWt9AOl8jC4NfczwuMsyv+NdJ1x3x5j51ZQRZG76gvGSHvS/SNb\n56sTWwI3OU5s32Ltcyb3CiSyE7EojP0ljlgmCOjBmencofVhpJl1QSB4zsFTSSpi\n6MSK175u8st79thJtNzoREcCuju1y1+6V2WC3eKEFhZcRo0oYPawpJwkGzguF20i\nzE/0fiOEjLCgHpMuDS+nteLZjTA0hDoeI1fyjvm7/iB+k7jlMI6reKLJyAP/68JU\nqqF6Yo7riwZplxeYEJbYcmwOSk91poObtxrsshT/IF5rDsHDqJdDJrbNroc+/Y2r\n1AMgG2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Yg6ASUq3iTsZqhpz0dNRnv0W8PC/QjHF4VciDWWiGP8Mom7d\nSVzN3VAkNZHZD9VZtAiYmxBdfZqIquk3PZvIxB0WDBXk6DSmVrPqL8mFUrE5AOom\nDv7v9hOdYP49TTm/fu5iXQSkq5kN4XrF7hibBbmfxNod3CSGI0VpkfHHix5g\n-----END RSA PRIVATE KEY-----\n" + }, + "immutable": null, + "kind": null, + "metadata": { + "annotations": null, + "creation_timestamp": "2023-05-04T20:30:23+00:00", + "deletion_grace_period_seconds": null, + "deletion_timestamp": null, + "finalizers": null, + "generate_name": null, + "generation": null, + "labels": null, + "managed_fields": [ + { + "api_version": "v1", + "fields_type": "FieldsV1", + "fields_v1": { + "f:data": { + ".": {}, + "f:tls.crt": {}, + "f:tls.key": {} + }, + "f:type": {} + }, + "manager": "cockroach-operator", + "operation": "Update", + "subresource": null, + "time": "2023-05-04T20:30:23+00:00" + } + ], + "name": "cockroach-operator-webhook-ca", + "namespace": "cockroach-operator-system", + "owner_references": null, + "resource_version": "736", + "self_link": null, + "uid": "2c751fca-a653-4140-a509-c413fb948dac" + }, + "string_data": null, + "type": "kubernetes.io/tls" + }, + "default-token-7btwd": { + "api_version": null, + "data": { + "ca.crt": "-----BEGIN CERTIFICATE-----\nMIIC/jCCAeagAwIBAgIBADANBgkqhkiG9w0BAQsFADAVMRMwEQYDVQQDEwprdWJl\ncm5ldGVzMB4XDTIzMDUwNDIwMjkxMFoXDTMzMDUwMTIwMjkxMFowFTETMBEGA1UE\nAxMKa3ViZXJuZXRlczCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAOZZ\nNBiE5imKYNYWQsDL7HJDSm2L+ocFPlh1vTf2uGhktpKbD6ITd2HvJBGnbznEq573\nFR+8KpXqozRTEFDZo+OIs8y6IcVIJSHTD/LhbHE9xP2QFWIEaIHrbFwktet5wuL+\nkfJbYqdompXlzSaORjo0fG6KXA/5UBoeylU4zFRpcP/QSHa2blKko/IBWpuL4OEM\n1NeiOaMG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tYWNjb3VudC5uYW1lIjoiZGVmYXVsdCIsImt1YmVybmV0ZXMuaW8vc2VydmljZWFjY291bnQvc2VydmljZS1hY2NvdW50LnVpZCI6ImJlMGM0NTAzLTBmYzItNDc0Ni1iZWY2LWY0MDY3YjBlYjMxZiIsInN1YiI6InN5c3RlbTpzZXJ2aWNlYWNjb3VudDpjb2Nrcm9hY2gtb3BlcmF0b3Itc3lzdGVtOmRlZmF1bHQifQ.Fd6TbX4C-zakYblFasXmJBHIMaKrK7t3AgTzh0SOnEkjv-bmxuj4r1DGwNlo_5QGXRrVel9yvrYpFjAS-9wQTXpPM2761xz2AXTWiircZqCMpFsxJrAY-oxnctb_7XvVK5Wfs5LrIRFDvsxYyBmVA70QYRrAL4J_YJsZW_-6RsbH0hU5dQUk5dyFqQfjXh_NO3gPvoUqfZ7Eh0wdKxsT9qGjXCGF9106ZBBPZA1sPtMjJzc8ujDy2VrtuOi0hIe-3kPI3826Ny1TaBh7-S0Qr-L88gLzD6AWtlpoaEK86-IeEnJguM3zUZPOBi9QSAESGMxYXyBWWh-S4tevjAMLRg" + }, + "immutable": null, + "kind": null, + "metadata": { + "annotations": { + "kubernetes.io/service-account.name": "default", + "kubernetes.io/service-account.uid": "be0c4503-0fc2-4746-bef6-f4067b0eb31f" + }, + "creation_timestamp": "2023-05-04T20:30:11+00:00", + "deletion_grace_period_seconds": null, + "deletion_timestamp": null, + "finalizers": null, + "generate_name": null, + "generation": null, + "labels": null, + "managed_fields": [ + { + "api_version": "v1", + "fields_type": "FieldsV1", + "fields_v1": { + "f:data": { + ".": {}, + "f:ca.crt": {}, + "f:namespace": {}, + "f:token": {} + }, + "f:metadata": { + "f:annotations": { + ".": {}, + "f:kubernetes.io/service-account.name": {}, + "f:kubernetes.io/service-account.uid": {} + } + }, + "f:type": {} + }, + "manager": "kube-controller-manager", + "operation": "Update", + "subresource": null, + "time": "2023-05-04T20:30:11+00:00" + } + ], + "name": "default-token-7btwd", + "namespace": "cockroach-operator-system", + "owner_references": null, + "resource_version": "671", + "self_link": null, + "uid": "9814d748-cd5f-4ab2-9350-4e6c9eeebd03" + }, + "string_data": null, + "type": "kubernetes.io/service-account-token" + }, + "test-cluster-ca": { + "api_version": null, + "data": { + "ca.key": "-----BEGIN RSA PRIVATE KEY-----\nMIIEowIBAAKCAQEAugozAMz1QFpWfE11F38g3JMPU6eKGYQtXXyq8K5fM6UDfKwE\notCy+0N/V7hufscWF4FoP4NiJL4IR/U8dedXV0GyA8FWvgNFmagc7cqWVqZF1BM9\nBaQGXqX3mucexGZS16FAIKZ3XC6r2ZYuJU/6hBYaejpVWPyQb0dBFeP9g1Xs/SZG\nFwQQfeIiqtrPpEpoPsjEIo3CePKL+XD+LhCwHKLiE5PcXP8mgj7AvghPrJm9T3al\nLcigbqESPdaSEWANW1SCuOyMOWNxo2oXtnpy7tf32u2PPt8/4jjNYSSTMhXFirK2\n+Cjcu8P5qVwYUwEOtqKgFFDm0RQiv3+aka8NgwIDAQABAoIBAHYDZEk8utLAu54M\ncJugHFNvwkg5vkPjcfeczr7wjhmvsp+SazpxEyiKr6wQpZ8sYVo1z9CCYm6WUaB7\n84eDYgdK+EajjYfpgWwwlXFOksGSpjcaoRoD67p8o64SsJS7qA97DbfogUzrmj3j\no5AtxOenMdKZUGyrgl/knmfpgXaepV4Rhh6FRNFFjxAPP5ixPLREQSnsdRSVdV8m\nqDUTAF1S5Y69EYsdb3D7bxbUUS30WCe7qvH52ZbGmXJjXvEGfnwKtmPHHPVNin9O\nnjKofROIiM+Kbq9ckd0dEYtyKK0Jymntz2cf9/5nPagyk8cxj0Twb+WKLltF9Hpa\nvd07ZekCgYEA2KcMBN3skvgH2D1+hhXzbEMhObZ5+hBWDXQWtGg0XqTDj02bidTS\nQ8dxLrd0M6F4V7uKKkAwKuNKMvPINih61G1KU5+/vI990MsZcVr9AOtg46UINSQY\nrfP6ItLajJQ96NdZuzTjfMvQe+9MUz5VbrxYs+lBXBrTUcMUyOv+n10CgYEA29Pb\n004kneQtHJWbMq4UDWHJ56zqYKLsOes1mowGXhCwn3vbRJh5q6hUizHtYTZ9omq1\n3LLIgvCdwPfYBr6NJ+soHVYKzyf5ylGpKNi2MQeZdlRCPEiOwpeEpWRyzWWNLuQa\noIjkcYQCRQKnq/IimQW87WsbovCzlndTklz88l8CgYAw882ra9mAe7qKCZsFAQC3\nfZOMTsbQ0dAfyhM3QDRVDjWBs69pPUUlO3M/cwQ2hk2CxUU6trYrep/RU3PxiMP4\nK5mXu4i/OkzbWIivLDfudUC3LxrjpvxMkcv7AlmPWg+DBOWpfxHHqOW6mx9Lz9HN\n65C/Vf0GqqkE2Gdh3rDxoQKBgQCc8uMFN8qO7GWE/g+jnIP2lfX4sg1Y15m/NH6+\nC/FT4aipBV4k2JQuCe3qv8fS23vRpUyY+RCN5EtNhea30f6oHI40e8UV6F3ApJMY\n9bkGwn0/7aKotckvh8yN5WzN1w55ByU3ruUjYvPX37Bk5GjtRhqAjDNcH2ypJiMF\n4dw7EwKBgEqIZZe8h/ADZzKtJEsJJysz8kg/tY04eWqiog6p4+SyJoFkfQ6LVPFZ\nTWzx2l0uFYrSymbvKKA0UBPN/Mka7TEOZidx+MK++ul3L8R7fnF2i/z7J52uxc4x\nUOHbNT2/FZOqLZ5txaYRrdkZn9GuUSyvUY9ptmfnAGWjmtl5XZsQ\n-----END RSA PRIVATE KEY-----\n" + }, + "immutable": null, + "kind": null, + "metadata": { + "annotations": null, + "creation_timestamp": "2023-05-04T20:30:57+00:00", + "deletion_grace_period_seconds": null, + "deletion_timestamp": null, + "finalizers": null, + "generate_name": null, + "generation": null, + "labels": null, + "managed_fields": [ + { + "api_version": "v1", + "fields_type": "FieldsV1", + "fields_v1": { + "f:data": { + ".": {}, + "f:ca.key": {} + }, + "f:type": {} + }, + "manager": "cockroach-operator", + "operation": "Update", + "subresource": null, + "time": "2023-05-04T20:30:57+00:00" + } + ], + "name": "test-cluster-ca", + "namespace": "cockroach-operator-system", + "owner_references": null, + "resource_version": "853", + "self_link": null, + "uid": "40b99663-90a3-4837-a403-1b14d332aae6" + }, + "string_data": null, + "type": "Opaque" + }, + "test-cluster-node": { + "api_version": null, + "data": { + "ca.crt": "-----BEGIN CERTIFICATE-----\nMIIDJTCCAg2gAwIBAgIQBBA8zpKchJyZpBYQzn5SqTANBgkqhkiG9w0BAQsFADAr\nMRIwEAYDVQQKEwlDb2Nrcm9hY2gxFTATBgNVBAMTDENvY2tyb2FjaCBDQTAeFw0y\nMzA1MDMyMDMwNTdaFw0zMzA1MTEyMDMwNTdaMCsxEjAQBgNVBAoTCUNvY2tyb2Fj\naDEVMBMGA1UEAxMMQ29ja3JvYWNoIENBMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8A\nMIIBCgKCAQEAugozAMz1QFpWfE11F38g3JMPU6eKGYQtXXyq8K5fM6UDfKwEotCy\n+0N/V7hufscWF4FoP4NiJL4IR/U8dedXV0GyA8FWvgNFmagc7cqWVqZF1BM9BaQG\nXqX3mucexGZS16FAIKZ3XC6r2ZYuJU/6hBYaejpVWPyQb0dBFeP9g1Xs/SZGFwQQ\nfeIiqtrPpEpoPsjEIo3CePKL+XD+LhCwHKLiE5PcXP8mgj7AvghPrJm9T3alLcig\nbqESPdaSEWANW1SCuOyMOWNxo2oXtnpy7tf32u2PPt8/4jjNYSSTMhXFirK2+Cjc\nu8P5qVwYUwEOtqKgFFDm0RQiv3+aka8NgwIDAQABo0UwQzAOBgNVHQ8BAf8EBAMC\nAuQwEgYDVR0TAQH/BAgwBgEB/wIBATAdBgNVHQ4EFgQUndwRwgwzXigcHh4e4uJN\nOFdFFNgwDQYJKoZIhvcNAQELBQADggEBAGQqoUMP12xChUk1aRK4uNas00RTUT9t\nRRUCtZz27VivAGdGTHVxi1okZAoWxbDARTzcS0UesKZJq5Ub2p5xFCMyL7Kj0et3\nsXBGfQN134lbK5HWzIEALC7qmaXTopXbXMaGitGBxWyyKtdEzwD+RyOB4Ng4t9/p\nt0at9IzjeWaY2sK/Qbf92besvnomABm8ZAHoEab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4lU2FsPftJUQPD0P\nPI271sECgYEAorkj2FZ0XIz15W3alfrNDsFQdUUDRXcxgzfiyT93Rq+lacz4/2nE\nPsHXdgwoEib8qKZ5F1892s2fl0mooTiWXpAg7gmeN6uFhw3KQHG9JRtVwt0vOMVT\nMxO2JSTxgiDiPVAgvt24iRxXmOgmRVvCfzexiPJvHPe11rgdZ9YUsQo=\n-----END RSA PRIVATE KEY-----\n" + }, + "immutable": null, + "kind": null, + "metadata": { + "annotations": null, + "creation_timestamp": "2023-05-04T20:30:57+00:00", + "deletion_grace_period_seconds": null, + "deletion_timestamp": null, + "finalizers": null, + "generate_name": null, + "generation": null, + "labels": null, + "managed_fields": [ + { + "api_version": "v1", + "fields_type": "FieldsV1", + "fields_v1": { + "f:data": { + ".": {}, + "f:ca.crt": {}, + "f:tls.crt": {}, + "f:tls.key": {} + }, + "f:type": {} + }, + "manager": "cockroach-operator", + "operation": "Update", + "subresource": null, + "time": "2023-05-04T20:30:57+00:00" + } + ], + "name": "test-cluster-node", + "namespace": "cockroach-operator-system", + "owner_references": null, + "resource_version": "1145", + "self_link": null, + "uid": "2d1a5516-2887-49f6-b95c-400844c8b286" + }, + "string_data": null, + "type": "Opaque" + }, + "test-cluster-root": { + "api_version": null, + "data": { + "ca.crt": "-----BEGIN CERTIFICATE-----\nMIIDJTCCAg2gAwIBAgIQBBA8zpKchJyZpBYQzn5SqTANBgkqhkiG9w0BAQsFADAr\nMRIwEAYDVQQKEwlDb2Nrcm9hY2gxFTATBgNVBAMTDENvY2tyb2FjaCBDQTAeFw0y\nMzA1MDMyMDMwNTdaFw0zMzA1MTEyMDMwNTdaMCsxEjAQBgNVBAoTCUNvY2tyb2Fj\naDEVMBMGA1UEAxMMQ29ja3JvYWNoIENBMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8A\nMIIBCgKCAQEAugozAMz1QFpWfE11F38g3JMPU6eKGYQtXXyq8K5fM6UDfKwEotCy\n+0N/V7hufscWF4FoP4NiJL4IR/U8dedXV0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JYl9vSxCm8J3myLnySCbmhh5zJzhL+ro\nDWzp4LMV0xkIpprA1M8PXQQvj5FFQO7x/km5kUGYbKSTuV4tq0TUoQiH9mIaowUZ\nlYPiPGbVVzNcNElhe/3lVRkEFtpBJBzp2C59sz1XXvqz/v+M6R5Cpo6UU8vEX54s\nxXT2GKkCgYBh1SDkRy3NSKi1rkm30ABxcD7kZzKrQ/S7ebVuIV2hjKM43xV9Tge2\nzv54ma20ZDt1DenBTEc772VpSCWvaljAPdkb9kk3GJVSry9FBaXjM+Z/Tt2qDV6i\nTZR/zbtD3/EApnhy+2lNBECGpuUo2bjtuFb/H+subGCx4AwUjOkr8A==\n-----END RSA PRIVATE KEY-----\n" + }, + "immutable": null, + "kind": null, + "metadata": { + "annotations": null, + "creation_timestamp": "2023-05-04T20:30:57+00:00", + "deletion_grace_period_seconds": null, + "deletion_timestamp": null, + "finalizers": null, + "generate_name": null, + "generation": null, + "labels": null, + "managed_fields": [ + { + "api_version": "v1", + "fields_type": "FieldsV1", + "fields_v1": { + "f:data": { + ".": {}, + "f:ca.crt": {}, + "f:tls.crt": {}, + "f:tls.key": {} + }, + "f:type": {} + }, + "manager": "cockroach-operator", + "operation": "Update", + "subresource": null, + "time": "2023-05-04T20:30:57+00:00" + } + ], + "name": "test-cluster-root", + "namespace": "cockroach-operator-system", + "owner_references": null, + "resource_version": "855", + "self_link": null, + "uid": "76c509d6-5649-4fc6-9335-ef802eeeab2f" + }, + "string_data": null, + "type": "Opaque" + }, + "test-cluster-sa-token-828tt": { + "api_version": null, + "data": { + "ca.crt": "-----BEGIN CERTIFICATE-----\nMIIC/jCCAeagAwIBAgIBADANBgkqhkiG9w0BAQsFADAVMRMwEQYDVQQDEwprdWJl\ncm5ldGVzMB4XDTIzMDUwNDIwMjkxMFoXDTMzMDUwMTIwMjkxMFowFTETMBEGA1UE\nAxMKa3ViZXJuZXRlczCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAOZZ\nNBiE5imKYNYWQs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3BhY2UiOiJjb2Nrcm9hY2gtb3BlcmF0b3Itc3lzdGVtIiwia3ViZXJuZXRlcy5pby9zZXJ2aWNlYWNjb3VudC9zZWNyZXQubmFtZSI6InRlc3QtY2x1c3Rlci1zYS10b2tlbi04Mjh0dCIsImt1YmVybmV0ZXMuaW8vc2VydmljZWFjY291bnQvc2VydmljZS1hY2NvdW50Lm5hbWUiOiJ0ZXN0LWNsdXN0ZXItc2EiLCJrdWJlcm5ldGVzLmlvL3NlcnZpY2VhY2NvdW50L3NlcnZpY2UtYWNjb3VudC51aWQiOiJjNGNlODMyYS1mYTBiLTRiZTQtYWVlOS01OWQ5YmU2ZWUxNjQiLCJzdWIiOiJzeXN0ZW06c2VydmljZWFjY291bnQ6Y29ja3JvYWNoLW9wZXJhdG9yLXN5c3RlbTp0ZXN0LWNsdXN0ZXItc2EifQ.mRb989ZkIHUP4lVKdLsdcRLZSYHkHvwjfX7wvgRNYDUzwi8tQ4eram14vdcfxkK0oyaQRWBKJPUBs0AuiIKvI21eCdFrELM5z3f2ZtvIqpJzPUIE9xHsVG8UG1Q7n5NI2g7FMpF39eO37ioiuOThuBtsIjffepayhbxB2oipGPpeE3VzG0K0DKEiLGDo7XtLQapibUkLprM2rEdummQbFOr9pDXuaD9zEWpViaL659iK2lpNrVmKmqgn1BB-GBIMJec9x0cRtc4pUHUmG8bIpUBzdGpy1Q97lfh6Vb9sXvikXHhGh7GBcX-DQyo2_0Rekq00cPgwsTn1ClN5jEr4ZA" + }, + "immutable": null, + "kind": null, + "metadata": { + "annotations": { + "kubernetes.io/service-account.name": "test-cluster-sa", + "kubernetes.io/service-account.uid": "c4ce832a-fa0b-4be4-aee9-59d9be6ee164" + }, + "creation_timestamp": "2023-05-04T20:30:56+00:00", + "deletion_grace_period_seconds": null, + "deletion_timestamp": null, + "finalizers": null, + "generate_name": null, + "generation": null, + "labels": null, + "managed_fields": [ + { + "api_version": "v1", + "fields_type": "FieldsV1", + "fields_v1": { + "f:data": { + ".": {}, + "f:ca.crt": {}, + "f:namespace": {}, + "f:token": {} + }, + "f:metadata": { + "f:annotations": { + ".": {}, + "f:kubernetes.io/service-account.name": {}, + "f:kubernetes.io/service-account.uid": {} + } + }, + "f:type": {} + }, + "manager": "kube-controller-manager", + "operation": "Update", + "subresource": null, + "time": "2023-05-04T20:30:56+00:00" + } + ], + "name": "test-cluster-sa-token-828tt", + "namespace": "cockroach-operator-system", + "owner_references": null, + "resource_version": "832", + "self_link": null, + "uid": "09d10c26-892e-40cf-832e-e436c05a5ce9" + }, + "string_data": null, + "type": "kubernetes.io/service-account-token" + } + }, + "endpoints": { + "cockroach-operator-webhook-service": { + "api_version": null, + "kind": null, + "metadata": { + "annotations": null, + "creation_timestamp": "2023-05-04T20:30:22+00:00", + "deletion_grace_period_seconds": null, + "deletion_timestamp": null, + "finalizers": null, + "generate_name": null, + "generation": null, + "labels": { + "control-plane": "cockroach-operator" + }, + "managed_fields": [ + { + "api_version": "v1", + "fields_type": "FieldsV1", + "fields_v1": { + "f:metadata": { + "f:labels": { + ".": {}, + "f:control-plane": {} + } + }, + "f:subsets": {} + }, + "manager": "kube-controller-manager", + "operation": "Update", + "subresource": null, + "time": "2023-05-04T20:30:52+00:00" + } + ], + "name": "cockroach-operator-webhook-service", + "namespace": "cockroach-operator-system", + "owner_references": null, + "resource_version": "809", + "self_link": null, + "uid": "b6860b37-06ef-4aa7-868d-ae6e0e727231" + }, + "subsets": [ + { + "addresses": [ + { + "hostname": null, + "ip": "10.244.1.2", + "node_name": "acto-cluster-0-worker3", + "target_ref": { + "api_version": null, + "field_path": null, + "kind": "Pod", + "name": "cockroach-operator-manager-64c489884-t4l82", + "namespace": "cockroach-operator-system", + "resource_version": "800", + "uid": "2fa41549-7083-45b2-8a85-b2450b8b08b7" + } + } + ], + "not_ready_addresses": null, + "ports": [ + { + "app_protocol": null, + "name": null, + "port": 9443, + "protocol": "TCP" + } + ] + } + ] + }, + "test-cluster": { + "api_version": null, + "kind": null, + "metadata": { + "annotations": { + "endpoints.kubernetes.io/last-change-trigger-time": "2023-05-04T20:31:21Z" + }, + "creation_timestamp": "2023-05-04T20:30:57+00:00", + "deletion_grace_period_seconds": null, + "deletion_timestamp": null, + "finalizers": null, + "generate_name": null, + "generation": null, + "labels": { + "app.kubernetes.io/component": "database", + "app.kubernetes.io/instance": "test-cluster", + "app.kubernetes.io/managed-by": "cockroach-operator", + "app.kubernetes.io/name": "cockroachdb", + "app.kubernetes.io/part-of": "cockroachdb", + "app.kubernetes.io/version": "v21.2.10", + "crdb": "is-cool", + "service.kubernetes.io/headless": "" + }, + "managed_fields": [ + { + "api_version": "v1", + "fields_type": "FieldsV1", + "fields_v1": { + "f:metadata": { + "f:annotations": { + ".": {}, + "f:endpoints.kubernetes.io/last-change-trigger-time": {} + }, + "f:labels": { + ".": {}, + "f:app.kubernetes.io/component": {}, + "f:app.kubernetes.io/instance": {}, + "f:app.kubernetes.io/managed-by": {}, + "f:app.kubernetes.io/name": {}, + "f:app.kubernetes.io/part-of": {}, + "f:app.kubernetes.io/version": {}, + "f:crdb": {}, + "f:service.kubernetes.io/headless": {} + } + }, + "f:subsets": {} + }, + "manager": "kube-controller-manager", + "operation": "Update", + "subresource": null, + "time": "2023-05-04T20:31:01+00:00" + } + ], + "name": "test-cluster", + "namespace": "cockroach-operator-system", + "owner_references": null, + "resource_version": "1048", + "self_link": null, + "uid": "01aa7b79-a160-478c-b84f-cce690199fae" + }, + "subsets": [ + { + "addresses": [ + { + "hostname": "test-cluster-1", + "ip": "10.244.1.4", + "node_name": "acto-cluster-0-worker3", + "target_ref": { + "api_version": null, + "field_path": null, + "kind": "Pod", + "name": "test-cluster-1", + "namespace": "cockroach-operator-system", + "resource_version": "1047", + "uid": "cc1555b0-c26a-4b7b-bec4-c44b82760466" + } + }, + { + "hostname": "test-cluster-2", + "ip": "10.244.2.4", + "node_name": "acto-cluster-0-worker2", + "target_ref": { + "api_version": null, + "field_path": null, + "kind": "Pod", + "name": "test-cluster-2", + "namespace": "cockroach-operator-system", + "resource_version": "1020", + "uid": "30cdd852-14b8-4fc7-a7f6-b3dfe6ebaf1d" + } + }, + { + "hostname": "test-cluster-0", + "ip": "10.244.3.4", + "node_name": "acto-cluster-0-worker", + "target_ref": { + "api_version": null, + "field_path": null, + "kind": "Pod", + "name": "test-cluster-0", + "namespace": "cockroach-operator-system", + "resource_version": "1035", + "uid": "3a41326f-04a0-41ef-9b75-7d9930634288" + } + } + ], + "not_ready_addresses": null, + "ports": [ + { + "app_protocol": null, + "name": "grpc", + "port": 26258, + "protocol": "TCP" + }, + { + "app_protocol": null, + "name": "sql", + "port": 26257, + "protocol": "TCP" + }, + { + "app_protocol": null, + "name": "http", + "port": 8080, + "protocol": "TCP" + } + ] + } + ] + }, + "test-cluster-public": { + "api_version": null, + "kind": null, + "metadata": { + "annotations": { + "endpoints.kubernetes.io/last-change-trigger-time": "2023-05-04T20:31:21Z" + }, + "creation_timestamp": "2023-05-04T20:30:57+00:00", + "deletion_grace_period_seconds": null, + "deletion_timestamp": null, + "finalizers": null, + "generate_name": null, + "generation": null, + "labels": { + "app.kubernetes.io/component": "database", + "app.kubernetes.io/instance": "test-cluster", + "app.kubernetes.io/managed-by": "cockroach-operator", + "app.kubernetes.io/name": "cockroachdb", + "app.kubernetes.io/part-of": "cockroachdb", + "app.kubernetes.io/version": "v21.2.10", + "crdb": "is-cool" + }, + "managed_fields": [ + { + "api_version": "v1", + "fields_type": "FieldsV1", + "fields_v1": { + "f:metadata": { + "f:annotations": { + ".": {}, + "f:endpoints.kubernetes.io/last-change-trigger-time": {} + }, + "f:labels": { + ".": {}, + "f:app.kubernetes.io/component": {}, + "f:app.kubernetes.io/instance": {}, + "f:app.kubernetes.io/managed-by": {}, + "f:app.kubernetes.io/name": {}, + "f:app.kubernetes.io/part-of": {}, + "f:app.kubernetes.io/version": {}, + "f:crdb": {} + } + }, + "f:subsets": {} + }, + "manager": "kube-controller-manager", + "operation": "Update", + "subresource": null, + "time": "2023-05-04T20:31:01+00:00" + } + ], + "name": "test-cluster-public", + "namespace": "cockroach-operator-system", + "owner_references": null, + "resource_version": "1049", + "self_link": null, + "uid": "3564ff33-0459-4ca5-b808-21b27dd09d00" + }, + "subsets": [ + { + "addresses": [ + { + "hostname": null, + "ip": "10.244.1.4", + "node_name": "acto-cluster-0-worker3", + "target_ref": { + "api_version": null, + "field_path": null, + "kind": "Pod", + "name": "test-cluster-1", + "namespace": "cockroach-operator-system", + "resource_version": "1047", + "uid": "cc1555b0-c26a-4b7b-bec4-c44b82760466" + } + }, + { + "hostname": null, + "ip": "10.244.2.4", + "node_name": "acto-cluster-0-worker2", + "target_ref": { + "api_version": null, + "field_path": null, + "kind": "Pod", + "name": "test-cluster-2", + "namespace": "cockroach-operator-system", + "resource_version": "1020", + "uid": "30cdd852-14b8-4fc7-a7f6-b3dfe6ebaf1d" + } + }, + { + "hostname": null, + "ip": "10.244.3.4", + "node_name": "acto-cluster-0-worker", + "target_ref": { + "api_version": null, + "field_path": null, + "kind": "Pod", + "name": "test-cluster-0", + "namespace": "cockroach-operator-system", + "resource_version": "1035", + "uid": "3a41326f-04a0-41ef-9b75-7d9930634288" + } + } + ], + "not_ready_addresses": null, + "ports": [ + { + "app_protocol": null, + "name": "grpc", + "port": 26258, + "protocol": "TCP" + }, + { + "app_protocol": null, + "name": "sql", + "port": 26257, + "protocol": "TCP" + }, + { + "app_protocol": null, + "name": "http", + "port": 8080, + "protocol": "TCP" + } + ] + } + ] + } + }, + "job": {}, + "role": { + "test-cluster-role": { + "api_version": null, + "kind": null, + "metadata": { + "annotations": { + "crdb.io/last-applied": "eyJtZXRhZGF0YSI6eyJuYW1lc3BhY2UiOiJjb2Nrcm9hY2gtb3BlcmF0b3Itc3lzdGVtIiwibGFiZWxzIjp7ImFwcC5rdWJlcm5ldGVzLmlvL2luc3RhbmNlIjoidGVzdC1jbHVzdGVyIiwiYXBwLmt1YmVybmV0ZXMuaW8vY29tcG9uZW50IjoiZGF0YWJhc2UiLCJhcHAua3ViZXJuZXRlcy5pby9tYW5hZ2VkLWJ5IjoiY29ja3JvYWNoLW9wZXJhdG9yIiwiY3JkYiI6ImlzLWNvb2wiLCJhcHAua3ViZXJuZXRlcy5pby9wYXJ0LW9mIjoiY29ja3JvYWNoZGIiLCJhcHAua3ViZXJuZXRlcy5pby9uYW1lIjoiY29ja3JvYWNoZGIifSwib3duZXJSZWZlcmVuY2VzIjpbeyJhcGlWZXJzaW9uIjoiY3JkYi5jb2Nrcm9hY2hsYWJzLmNvbS92MWFscGhhMSIsImtpbmQiOiJDcmRiQ2x1c3RlciIsIm5hbWUiOiJ0ZXN0LWNsdXN0ZXIiLCJ1aWQiOiI5MGFkNWVmNS05Yzk1LTQwOTItYTVlOC0xNTgyYjkyNjQ5ZmYiLCJjb250cm9sbGVyIjp0cnVlLCJibG9ja093bmVyRGVsZXRpb24iOnRydWV9XSwibmFtZSI6InRlc3QtY2x1c3Rlci1yb2xlIn0sInJ1bGVzIjpbeyJhcGlHcm91cHMiOlsic2VjdXJpdHkub3BlbnNoaWZ0LmlvIl0sInJlc291cmNlcyI6WyJzZWN1cml0eWNvbnRleHRjb25zdHJhaW50cyJdLCJ2ZXJicyI6WyJ1c2UiXX1dfQ==" + }, + "creation_timestamp": "2023-05-04T20:30:56+00:00", + "deletion_grace_period_seconds": null, + "deletion_timestamp": null, + "finalizers": null, + "generate_name": null, + "generation": null, + "labels": { + "app.kubernetes.io/component": "database", + "app.kubernetes.io/instance": "test-cluster", + "app.kubernetes.io/managed-by": "cockroach-operator", + "app.kubernetes.io/name": "cockroachdb", + "app.kubernetes.io/part-of": "cockroachdb", + "crdb": "is-cool" + }, + "managed_fields": [ + { + "api_version": "rbac.authorization.k8s.io/v1", + "fields_type": "FieldsV1", + "fields_v1": { + "f:metadata": { + "f:annotations": { + ".": {}, + "f:crdb.io/last-applied": {} + }, + "f:labels": { + ".": {}, + "f:app.kubernetes.io/component": {}, + "f:app.kubernetes.io/instance": {}, + "f:app.kubernetes.io/managed-by": {}, + "f:app.kubernetes.io/name": {}, + "f:app.kubernetes.io/part-of": {}, + "f:crdb": {} + }, + "f:ownerReferences": { + ".": {}, + "k:{\"uid\":\"90ad5ef5-9c95-4092-a5e8-1582b92649ff\"}": {} + } + }, + "f:rules": {} + }, + "manager": "cockroach-operator", + "operation": "Update", + "subresource": null, + "time": "2023-05-04T20:30:56+00:00" + } + ], + "name": "test-cluster-role", + "namespace": "cockroach-operator-system", + "owner_references": [ + { + "api_version": "crdb.cockroachlabs.com/v1alpha1", + "block_owner_deletion": true, + "controller": true, + "kind": "CrdbCluster", + "name": "test-cluster", + "uid": "90ad5ef5-9c95-4092-a5e8-1582b92649ff" + } + ], + "resource_version": "834", + "self_link": null, + "uid": "ac048cd6-8cff-40fd-ba91-b2ea7f4a235b" + }, + "rules": [ + { + "api_groups": [ + "security.openshift.io" + ], + "non_resource_ur_ls": null, + "resource_names": null, + "resources": [ + "securitycontextconstraints" + ], + "verbs": [ + "use" + ] + } + ] + } + }, + "role_binding": { + "test-cluster-role-binding": { + "api_version": null, + "kind": null, + "metadata": { + "annotations": { + "crdb.io/last-applied": "eyJyb2xlUmVmIjp7ImFwaUdyb3VwIjoicmJhYy5hdXRob3JpemF0aW9uLms4cy5pbyIsImtpbmQiOiJSb2xlIiwibmFtZSI6InRlc3QtY2x1c3Rlci1yb2xlIn0sIm1ldGFkYXRhIjp7Im5hbWUiOiJ0ZXN0LWNsdXN0ZXItcm9sZS1iaW5kaW5nIiwibmFtZXNwYWNlIjoiY29ja3JvYWNoLW9wZXJhdG9yLXN5c3RlbSIsImxhYmVscyI6eyJhcHAua3ViZXJuZXRlcy5pby9jb21wb25lbnQiOiJkYXRhYmFzZSIsImFwcC5rdWJlcm5ldGVzLmlvL21hbmFnZWQtYnkiOiJjb2Nrcm9hY2gtb3BlcmF0b3IiLCJjcmRiIjoiaXMtY29vbCIsImFwcC5rdWJlcm5ldGVzLmlvL3BhcnQtb2YiOiJjb2Nrcm9hY2hkYiIsImFwcC5rdWJlcm5ldGVzLmlvL25hbWUiOiJjb2Nrcm9hY2hkYiIsImFwcC5rdWJlcm5ldGVzLmlvL2luc3RhbmNlIjoidGVzdC1jbHVzdGVyIn0sIm93bmVyUmVmZXJlbmNlcyI6W3sibmFtZSI6InRlc3QtY2x1c3RlciIsInVpZCI6IjkwYWQ1ZWY1LTljOTUtNDA5Mi1hNWU4LTE1ODJiOTI2NDlmZiIsImNvbnRyb2xsZXIiOnRydWUsImJsb2NrT3duZXJEZWxldGlvbiI6dHJ1ZSwiYXBpVmVyc2lvbiI6ImNyZGIuY29ja3JvYWNobGFicy5jb20vdjFhbHBoYTEiLCJraW5kIjoiQ3JkYkNsdXN0ZXIifV19LCJzdWJqZWN0cyI6W3sia2luZCI6IlNlcnZpY2VBY2NvdW50IiwibmFtZSI6InRlc3QtY2x1c3Rlci1zYSJ9XX0=" + }, + "creation_timestamp": "2023-05-04T20:30:56+00:00", + "deletion_grace_period_seconds": null, + "deletion_timestamp": null, + "finalizers": null, + "generate_name": null, + "generation": null, + "labels": { + "app.kubernetes.io/component": "database", + "app.kubernetes.io/instance": "test-cluster", + "app.kubernetes.io/managed-by": "cockroach-operator", + "app.kubernetes.io/name": "cockroachdb", + "app.kubernetes.io/part-of": "cockroachdb", + "crdb": "is-cool" + }, + "managed_fields": [ + { + "api_version": "rbac.authorization.k8s.io/v1", + "fields_type": "FieldsV1", + "fields_v1": { + "f:metadata": { + "f:annotations": { + ".": {}, + "f:crdb.io/last-applied": {} + }, + "f:labels": { + ".": {}, + "f:app.kubernetes.io/component": {}, + "f:app.kubernetes.io/instance": {}, + "f:app.kubernetes.io/managed-by": {}, + "f:app.kubernetes.io/name": {}, + "f:app.kubernetes.io/part-of": {}, + "f:crdb": {} + }, + "f:ownerReferences": { + ".": {}, + "k:{\"uid\":\"90ad5ef5-9c95-4092-a5e8-1582b92649ff\"}": {} + } + }, + "f:roleRef": {}, + "f:subjects": {} + }, + "manager": "cockroach-operator", + "operation": "Update", + "subresource": null, + "time": "2023-05-04T20:30:56+00:00" + } + ], + "name": "test-cluster-role-binding", + "namespace": "cockroach-operator-system", + "owner_references": [ + { + "api_version": "crdb.cockroachlabs.com/v1alpha1", + "block_owner_deletion": true, + "controller": true, + "kind": "CrdbCluster", + "name": "test-cluster", + "uid": "90ad5ef5-9c95-4092-a5e8-1582b92649ff" + } + ], + "resource_version": "835", + "self_link": null, + "uid": "e2f407b8-9169-4400-b6d2-cf0cbea3853d" + }, + "role_ref": { + "api_group": "rbac.authorization.k8s.io", + "kind": "Role", + "name": "test-cluster-role" + }, + "subjects": [ + { + "api_group": null, + "kind": "ServiceAccount", + "name": "test-cluster-sa", + "namespace": null + } + ] + } + }, + "custom_resource_spec": { + "additionalLabels": { + "crdb": "is-cool" + }, + "dataStore": { + "pvc": { + "source": { + "claimName": "" + }, + "spec": { + "accessModes": [ + "ReadWriteOnce" + ], + "resources": { + "requests": { + "storage": "1Gi" + } + }, + "volumeMode": "Filesystem" + } + }, + "supportsAutoResize": false + }, + "grpcPort": 26258, + "httpPort": 8080, + "image": { + "name": "cockroachdb/cockroach:v21.2.10", + "pullPolicy": "IfNotPresent" + }, + "ingress": { + "sql": { + "host": "mynbiqpmzj", + "tls": [ + { + "secretName": "ACTOKEY" + } + ] + } + }, + "maxUnavailable": 1, + "nodes": 3, + "resources": { + "limits": { + "cpu": "2", + "memory": "2Gi" + }, + "requests": { + "cpu": "100m", + "memory": "1Gi" + } + }, + "sqlPort": 26257, + "tlsEnabled": true + }, + "custom_resource_status": { + "clusterStatus": "Failed", + "conditions": [ + { + "lastTransitionTime": "2023-05-04T20:31:08Z", + "status": "True", + "type": "Initialized" + }, + { + "lastTransitionTime": "2023-05-04T20:30:56Z", + "status": "True", + "type": "CrdbVersionChecked" + }, + { + "lastTransitionTime": "2023-05-04T20:30:57Z", + "status": "True", + "type": "CertificateGenerated" + }, + { + "lastTransitionTime": "2023-05-04T20:32:16Z", + "status": "True", + "type": "SQLIngressExposed" + } + ], + "crdbcontainerimage": "cockroachdb/cockroach:v21.2.10", + "operatorActions": [ + { + "lastTransitionTime": "2023-05-04T20:31:03Z", + "message": "pod is not running", + "status": "Failed", + "type": "Initialize" + } + ], + "sqlHost": "mynbiqpmzj", + "version": "v21.2.10" + } +} \ No newline at end of file diff --git a/test/test_data/crdbop-920/system-state-002.json b/test/test_data/crdbop-920/system-state-002.json new file mode 100644 index 0000000000..7d5279434d --- /dev/null +++ b/test/test_data/crdbop-920/system-state-002.json @@ -0,0 +1,7564 @@ +{ + "pod": { + "test-cluster-0": { + "api_version": null, + "kind": null, + "metadata": { + "annotations": null, + "creation_timestamp": "2023-05-04T20:30:58+00:00", + "deletion_grace_period_seconds": null, + "deletion_timestamp": null, + "finalizers": null, + "generate_name": "test-cluster-", + "generation": null, + "labels": { + "app.kubernetes.io/component": "database", + "app.kubernetes.io/instance": "test-cluster", + "app.kubernetes.io/name": "cockroachdb", + "controller-revision-hash": "test-cluster-76f9c78d88", + "crdb": "is-cool", + "statefulset.kubernetes.io/pod-name": "test-cluster-0" + }, + "managed_fields": [ + { + "api_version": "v1", + "fields_type": "FieldsV1", + "fields_v1": { + "f:metadata": { + "f:generateName": {}, + "f:labels": { + ".": {}, + "f:app.kubernetes.io/component": {}, + "f:app.kubernetes.io/instance": {}, + "f:app.kubernetes.io/name": {}, + "f:controller-revision-hash": {}, + "f:crdb": {}, + "f:statefulset.kubernetes.io/pod-name": {} + }, + "f:ownerReferences": { + ".": {}, + "k:{\"uid\":\"f53f5464-2142-4d42-8f5b-bdd30e5c1acf\"}": {} + } + }, + "f:spec": { + "f:automountServiceAccountToken": {}, + "f:containers": { + "k:{\"name\":\"db\"}": { + ".": {}, + "f:command": {}, + "f:env": { + ".": {}, + "k:{\"name\":\"COCKROACH_CHANNEL\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"GOMAXPROCS\"}": { + ".": {}, + "f:name": {}, + "f:valueFrom": { + ".": {}, + "f:resourceFieldRef": {} + } + }, + "k:{\"name\":\"MEMORY_LIMIT_MIB\"}": { + ".": {}, + "f:name": {}, + "f:valueFrom": { + ".": {}, + "f:resourceFieldRef": {} + } + }, + "k:{\"name\":\"POD_NAME\"}": { + ".": {}, + "f:name": {}, + "f:valueFrom": { + ".": {}, + "f:fieldRef": {} + } + } + }, + "f:image": {}, + "f:imagePullPolicy": {}, + "f:lifecycle": { + ".": {}, + "f:preStop": { + ".": {}, + "f:exec": { + ".": {}, + "f:command": {} + } + } + }, + "f:name": {}, + "f:ports": { + ".": {}, + "k:{\"containerPort\":8080,\"protocol\":\"TCP\"}": { + ".": {}, + "f:containerPort": {}, + "f:name": {}, + "f:protocol": {} + }, + "k:{\"containerPort\":26257,\"protocol\":\"TCP\"}": { + ".": {}, + "f:containerPort": {}, + "f:name": {}, + "f:protocol": {} + }, + "k:{\"containerPort\":26258,\"protocol\":\"TCP\"}": { + ".": {}, + "f:containerPort": {}, + "f:name": {}, + "f:protocol": {} + } + }, + "f:readinessProbe": { + ".": {}, + "f:failureThreshold": {}, + "f:httpGet": { + ".": {}, + "f:path": {}, + "f:port": {}, + "f:scheme": {} + }, + "f:initialDelaySeconds": {}, + "f:periodSeconds": {}, + "f:successThreshold": {}, + "f:timeoutSeconds": {} + }, + "f:resources": { + ".": {}, + "f:limits": { + ".": {}, + "f:cpu": {}, + "f:memory": {} + }, + "f:requests": { + ".": {}, + "f:cpu": {}, + "f:memory": {} + } + }, + "f:terminationMessagePath": {}, + "f:terminationMessagePolicy": {}, + "f:volumeMounts": { + ".": {}, + "k:{\"mountPath\":\"/cockroach/cockroach-certs/\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + }, + "k:{\"mountPath\":\"/cockroach/cockroach-data/\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + } + } + } + }, + "f:dnsPolicy": {}, + "f:enableServiceLinks": {}, + "f:hostname": {}, + "f:initContainers": { + ".": {}, + "k:{\"name\":\"db-init\"}": { + ".": {}, + "f:command": {}, + "f:image": {}, + "f:imagePullPolicy": {}, + "f:name": {}, + "f:resources": {}, + "f:securityContext": { + ".": {}, + "f:allowPrivilegeEscalation": {}, + "f:runAsUser": {} + }, + "f:terminationMessagePath": {}, + "f:terminationMessagePolicy": {}, + "f:volumeMounts": { + ".": {}, + "k:{\"mountPath\":\"/cockroach/cockroach-certs-prestage/\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + }, + "k:{\"mountPath\":\"/cockroach/cockroach-certs/\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + } + } + } + }, + "f:restartPolicy": {}, + "f:schedulerName": {}, + "f:securityContext": { + ".": {}, + "f:fsGroup": {}, + "f:runAsUser": {} + }, + "f:serviceAccount": {}, + "f:serviceAccountName": {}, + "f:subdomain": {}, + "f:terminationGracePeriodSeconds": {}, + "f:volumes": { + ".": {}, + "k:{\"name\":\"certs\"}": { + ".": {}, + "f:name": {}, + "f:projected": { + ".": {}, + "f:defaultMode": {}, + "f:sources": {} + } + }, + "k:{\"name\":\"datadir\"}": { + ".": {}, + "f:name": {}, + "f:persistentVolumeClaim": { + ".": {}, + "f:claimName": {} + } + }, + "k:{\"name\":\"emptydir\"}": { + ".": {}, + "f:emptyDir": {}, + "f:name": {} + } + } + } + }, + "manager": "kube-controller-manager", + "operation": "Update", + "subresource": null, + "time": "2023-05-04T20:30:58+00:00" + }, + { + "api_version": "v1", + "fields_type": "FieldsV1", + "fields_v1": { + "f:status": { + "f:conditions": { + "k:{\"type\":\"ContainersReady\"}": { + ".": {}, + "f:lastProbeTime": {}, + "f:lastTransitionTime": {}, + "f:status": {}, + "f:type": {} + }, + "k:{\"type\":\"Initialized\"}": { + ".": {}, + "f:lastProbeTime": {}, + "f:lastTransitionTime": {}, + "f:status": {}, + "f:type": {} + }, + "k:{\"type\":\"Ready\"}": { + ".": {}, + "f:lastProbeTime": {}, + "f:lastTransitionTime": {}, + "f:status": {}, + "f:type": {} + } + }, + "f:containerStatuses": {}, + "f:hostIP": {}, + "f:initContainerStatuses": {}, + "f:phase": {}, + "f:podIP": {}, + "f:podIPs": { + ".": {}, + "k:{\"ip\":\"10.244.3.4\"}": { + ".": {}, + "f:ip": {} + } + }, + "f:startTime": {} + } + }, + "manager": "kubelet", + "operation": "Update", + "subresource": "status", + "time": "2023-05-04T20:31:17+00:00" + } + ], + "name": "test-cluster-0", + "namespace": "cockroach-operator-system", + "owner_references": [ + { + "api_version": "apps/v1", + "block_owner_deletion": true, + "controller": true, + "kind": "StatefulSet", + "name": "test-cluster", + "uid": "f53f5464-2142-4d42-8f5b-bdd30e5c1acf" + } + ], + "resource_version": "1035", + "self_link": null, + "uid": "3a41326f-04a0-41ef-9b75-7d9930634288" + }, + "spec": { + "active_deadline_seconds": null, + "affinity": null, + "automount_service_account_token": false, + "containers": [ + { + "args": null, + "command": [ + "/bin/bash", + "-ecx", + "exec /cockroach/cockroach.sh start --advertise-host=$(POD_NAME).test-cluster.cockroach-operator-system --certs-dir=/cockroach/cockroach-certs/ --http-port=8080 --sql-addr=:26257 --listen-addr=:26258 --log=\"{sinks: {stderr: {channels: [OPS, HEALTH], redact: true}}}\" --cache $(expr $MEMORY_LIMIT_MIB / 4)MiB --max-sql-memory $(expr $MEMORY_LIMIT_MIB / 4)MiB --join=test-cluster-0.test-cluster.cockroach-operator-system:26258,test-cluster-1.test-cluster.cockroach-operator-system:26258,test-cluster-2.test-cluster.cockroach-operator-system:26258" + ], + "env": [ + { + "name": "COCKROACH_CHANNEL", + "value": "kubernetes-operator-unknown", + "value_from": null + }, + { + "name": "POD_NAME", + "value": null, + "value_from": { + "config_map_key_ref": null, + "field_ref": { + "api_version": "v1", + "field_path": "metadata.name" + }, + "resource_field_ref": null, + "secret_key_ref": null + } + }, + { + "name": "GOMAXPROCS", + "value": null, + "value_from": { + "config_map_key_ref": null, + "field_ref": null, + "resource_field_ref": { + "container_name": null, + "divisor": "1", + "resource": "limits.cpu" + }, + "secret_key_ref": null + } + }, + { + "name": "MEMORY_LIMIT_MIB", + "value": null, + "value_from": { + "config_map_key_ref": null, + "field_ref": null, + "resource_field_ref": { + "container_name": null, + "divisor": "1Mi", + "resource": "limits.memory" + }, + "secret_key_ref": null + } + } + ], + "env_from": null, + "image": "cockroachdb/cockroach:v21.2.10", + "image_pull_policy": "IfNotPresent", + "lifecycle": { + "post_start": null, + "pre_stop": { + "_exec": { + "command": [ + "sh", + "-c", + "/cockroach/cockroach node drain --certs-dir=/cockroach/cockroach-certs/ || exit 0" + ] + }, + "http_get": null, + "tcp_socket": null + } + }, + "liveness_probe": null, + "name": "db", + "ports": [ + { + "container_port": 26258, + "host_ip": null, + "host_port": null, + "name": "grpc", + "protocol": "TCP" + }, + { + "container_port": 8080, + "host_ip": null, + "host_port": null, + "name": "http", + "protocol": "TCP" + }, + { + "container_port": 26257, + "host_ip": null, + "host_port": null, + "name": "sql", + "protocol": "TCP" + } + ], + "readiness_probe": { + "_exec": null, + "failure_threshold": 2, + "grpc": null, + "http_get": { + "host": null, + "http_headers": null, + "path": "/health?ready=1", + "port": "http", + "scheme": "HTTPS" + }, + "initial_delay_seconds": 10, + "period_seconds": 5, + "success_threshold": 1, + "tcp_socket": null, + "termination_grace_period_seconds": null, + "timeout_seconds": 1 + }, + "resources": { + "limits": { + "cpu": "2", + "memory": "2Gi" + }, + "requests": { + "cpu": "100m", + "memory": "1Gi" + } + }, + "security_context": null, + "startup_probe": null, + "stdin": null, + "stdin_once": null, + "termination_message_path": "/dev/termination-log", + "termination_message_policy": "File", + "tty": null, + "volume_devices": null, + "volume_mounts": [ + { + "mount_path": "/cockroach/cockroach-data/", + "mount_propagation": null, + "name": "datadir", + "read_only": null, + "sub_path": null, + "sub_path_expr": null + }, + { + "mount_path": "/cockroach/cockroach-certs/", + "mount_propagation": null, + "name": "emptydir", + "read_only": null, + "sub_path": null, + "sub_path_expr": null + } + ], + "working_dir": null + } + ], + "dns_config": null, + "dns_policy": "ClusterFirst", + "enable_service_links": true, + "ephemeral_containers": null, + "host_aliases": null, + "host_ipc": null, + "host_network": null, + "host_pid": null, + "host_users": null, + "hostname": "test-cluster-0", + "image_pull_secrets": null, + "init_containers": [ + { + "args": null, + "command": [ + "/bin/sh", + "-c", + ">- cp -p /cockroach/cockroach-certs-prestage/..data/* /cockroach/cockroach-certs/ && chmod 700 /cockroach/cockroach-certs/*.key && chown 1000581000:1000581000 /cockroach/cockroach-certs/*.key" + ], + "env": null, + "env_from": null, + "image": "cockroachdb/cockroach:v21.2.10", + "image_pull_policy": "IfNotPresent", + "lifecycle": null, + "liveness_probe": null, + "name": "db-init", + "ports": null, + "readiness_probe": null, + "resources": { + "limits": null, + "requests": null + }, + "security_context": { + "allow_privilege_escalation": false, + "capabilities": null, + "privileged": null, + "proc_mount": null, + "read_only_root_filesystem": null, + "run_as_group": null, + "run_as_non_root": null, + "run_as_user": 0, + "se_linux_options": null, + "seccomp_profile": null, + "windows_options": null + }, + "startup_probe": null, + "stdin": null, + "stdin_once": null, + "termination_message_path": "/dev/termination-log", + "termination_message_policy": "File", + "tty": null, + "volume_devices": null, + "volume_mounts": [ + { + "mount_path": "/cockroach/cockroach-certs-prestage/", + "mount_propagation": null, + "name": "certs", + "read_only": null, + "sub_path": null, + "sub_path_expr": null + }, + { + "mount_path": "/cockroach/cockroach-certs/", + "mount_propagation": null, + "name": "emptydir", + "read_only": null, + "sub_path": null, + "sub_path_expr": null + } + ], + "working_dir": null + } + ], + "node_name": "acto-cluster-0-worker", + "node_selector": null, + "os": null, + "overhead": null, + "preemption_policy": "PreemptLowerPriority", + "priority": 0, + "priority_class_name": null, + "readiness_gates": null, + "restart_policy": "Always", + "runtime_class_name": null, + "scheduler_name": "default-scheduler", + "security_context": { + "fs_group": 1000581000, + "fs_group_change_policy": null, + "run_as_group": null, + "run_as_non_root": null, + "run_as_user": 1000581000, + "se_linux_options": null, + "seccomp_profile": null, + "supplemental_groups": null, + "sysctls": null, + "windows_options": null + }, + "service_account": "test-cluster-sa", + "service_account_name": "test-cluster-sa", + "set_hostname_as_fqdn": null, + "share_process_namespace": null, + "subdomain": "test-cluster", + "termination_grace_period_seconds": 300, + "tolerations": [ + { + "effect": "NoExecute", + "key": "node.kubernetes.io/not-ready", + "operator": "Exists", + "toleration_seconds": 300, + "value": null + }, + { + "effect": "NoExecute", + "key": "node.kubernetes.io/unreachable", + "operator": "Exists", + "toleration_seconds": 300, + "value": null + } + ], + "topology_spread_constraints": null, + "volumes": [ + { + "aws_elastic_block_store": null, + "azure_disk": null, + "azure_file": null, + "cephfs": null, + "cinder": null, + "config_map": null, + "csi": null, + "downward_api": null, + "empty_dir": null, + "ephemeral": null, + "fc": null, + "flex_volume": null, + "flocker": null, + "gce_persistent_disk": null, + "git_repo": null, + "glusterfs": null, + "host_path": null, + "iscsi": null, + "name": "datadir", + "nfs": null, + "persistent_volume_claim": { + "claim_name": "datadir-test-cluster-0", + "read_only": null + }, + "photon_persistent_disk": null, + "portworx_volume": null, + "projected": null, + "quobyte": null, + "rbd": null, + "scale_io": null, + "secret": null, + "storageos": null, + "vsphere_volume": null + }, + { + "aws_elastic_block_store": null, + "azure_disk": null, + "azure_file": null, + "cephfs": null, + "cinder": null, + "config_map": null, + "csi": null, + "downward_api": null, + "empty_dir": { + "medium": null, + "size_limit": null + }, + "ephemeral": null, + "fc": null, + "flex_volume": null, + "flocker": null, + "gce_persistent_disk": null, + "git_repo": null, + "glusterfs": null, + "host_path": null, + "iscsi": null, + "name": "emptydir", + "nfs": null, + "persistent_volume_claim": null, + "photon_persistent_disk": null, + "portworx_volume": null, + "projected": null, + "quobyte": null, + "rbd": null, + "scale_io": null, + "secret": null, + "storageos": null, + "vsphere_volume": null + }, + { + "aws_elastic_block_store": null, + "azure_disk": null, + "azure_file": null, + "cephfs": null, + "cinder": null, + "config_map": null, + "csi": null, + "downward_api": null, + "empty_dir": null, + "ephemeral": null, + "fc": null, + "flex_volume": null, + "flocker": null, + "gce_persistent_disk": null, + "git_repo": null, + "glusterfs": null, + "host_path": null, + "iscsi": null, + "name": "certs", + "nfs": null, + "persistent_volume_claim": null, + "photon_persistent_disk": null, + "portworx_volume": null, + "projected": { + "default_mode": 400, + "sources": [ + { + "config_map": null, + "downward_api": null, + "secret": { + "items": [ + { + "key": "ca.crt", + "mode": 504, + "path": "ca.crt" + }, + { + "key": "tls.crt", + "mode": 504, + "path": "node.crt" + }, + { + "key": "tls.key", + "mode": 400, + "path": "node.key" + } + ], + "name": "test-cluster-node", + "optional": null + }, + "service_account_token": null + }, + { + "config_map": null, + "downward_api": null, + "secret": { + "items": [ + { + "key": "tls.crt", + "mode": 504, + "path": "client.root.crt" + }, + { + "key": "tls.key", + "mode": 400, + "path": "client.root.key" + } + ], + "name": "test-cluster-root", + "optional": null + }, + "service_account_token": null + } + ] + }, + "quobyte": null, + "rbd": null, + "scale_io": null, + "secret": null, + "storageos": null, + "vsphere_volume": null + } + ] + }, + "status": { + "conditions": [ + { + "last_probe_time": null, + "last_transition_time": "2023-05-04T20:31:02+00:00", + "message": null, + "reason": null, + "status": "True", + "type": "Initialized" + }, + { + "last_probe_time": null, + "last_transition_time": "2023-05-04T20:31:17+00:00", + "message": null, + "reason": null, + "status": "True", + "type": "Ready" + }, + { + "last_probe_time": null, + "last_transition_time": "2023-05-04T20:31:17+00:00", + "message": null, + "reason": null, + "status": "True", + "type": "ContainersReady" + }, + { + "last_probe_time": null, + "last_transition_time": "2023-05-04T20:31:02+00:00", + "message": null, + "reason": null, + "status": "True", + "type": "PodScheduled" + } + ], + "container_statuses": [ + { + "container_id": "containerd://81e44e3937e2943b153f21478c743b09aaf6729a5556d78fabed4374ea307eab", + "image": "docker.io/cockroachdb/cockroach:v21.2.10", + "image_id": "docker.io/library/import-2023-05-04@sha256:070cca8c19ddf0ae6bc2bd88819e394fef6131b6cd44edb93847d703a068c29c", + "last_state": { + "running": null, + "terminated": null, + "waiting": null + }, + "name": "db", + "ready": true, + "restart_count": 0, + "started": true, + "state": { + "running": { + "started_at": "2023-05-04T20:31:03+00:00" + }, + "terminated": null, + "waiting": null + } + } + ], + "ephemeral_container_statuses": null, + "host_ip": "172.18.0.5", + "init_container_statuses": [ + { + "container_id": "containerd://f6125d79ef93cf40968b0a21344b7b2704bc2357d4618d833121fcd757336057", + "image": "docker.io/cockroachdb/cockroach:v21.2.10", + "image_id": "docker.io/library/import-2023-05-04@sha256:070cca8c19ddf0ae6bc2bd88819e394fef6131b6cd44edb93847d703a068c29c", + "last_state": { + "running": null, + "terminated": null, + "waiting": null + }, + "name": "db-init", + "ready": true, + "restart_count": 0, + "started": null, + "state": { + "running": null, + "terminated": { + "container_id": "containerd://f6125d79ef93cf40968b0a21344b7b2704bc2357d4618d833121fcd757336057", + "exit_code": 0, + "finished_at": "2023-05-04T20:31:02+00:00", + "message": null, + "reason": "Completed", + "signal": null, + "started_at": "2023-05-04T20:31:02+00:00" + }, + "waiting": null + } + } + ], + "message": null, + "nominated_node_name": null, + "phase": "Running", + "pod_ip": "10.244.3.4", + "pod_i_ps": [ + { + "ip": "10.244.3.4" + } + ], + "qos_class": "Burstable", + "reason": null, + "start_time": "2023-05-04T20:31:02+00:00" + } + }, + "test-cluster-1": { + "api_version": null, + "kind": null, + "metadata": { + "annotations": null, + "creation_timestamp": "2023-05-04T20:30:58+00:00", + "deletion_grace_period_seconds": null, + "deletion_timestamp": null, + "finalizers": null, + "generate_name": "test-cluster-", + "generation": null, + "labels": { + "app.kubernetes.io/component": "database", + "app.kubernetes.io/instance": "test-cluster", + "app.kubernetes.io/name": "cockroachdb", + "controller-revision-hash": "test-cluster-76f9c78d88", + "crdb": "is-cool", + "statefulset.kubernetes.io/pod-name": "test-cluster-1" + }, + "managed_fields": [ + { + "api_version": "v1", + "fields_type": "FieldsV1", + "fields_v1": { + "f:metadata": { + "f:generateName": {}, + "f:labels": { + ".": {}, + "f:app.kubernetes.io/component": {}, + "f:app.kubernetes.io/instance": {}, + "f:app.kubernetes.io/name": {}, + "f:controller-revision-hash": {}, + "f:crdb": {}, + "f:statefulset.kubernetes.io/pod-name": {} + }, + "f:ownerReferences": { + ".": {}, + "k:{\"uid\":\"f53f5464-2142-4d42-8f5b-bdd30e5c1acf\"}": {} + } + }, + "f:spec": { + "f:automountServiceAccountToken": {}, + "f:containers": { + "k:{\"name\":\"db\"}": { + ".": {}, + "f:command": {}, + "f:env": { + ".": {}, + "k:{\"name\":\"COCKROACH_CHANNEL\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"GOMAXPROCS\"}": { + ".": {}, + "f:name": {}, + "f:valueFrom": { + ".": {}, + "f:resourceFieldRef": {} + } + }, + "k:{\"name\":\"MEMORY_LIMIT_MIB\"}": { + ".": {}, + "f:name": {}, + "f:valueFrom": { + ".": {}, + "f:resourceFieldRef": {} + } + }, + "k:{\"name\":\"POD_NAME\"}": { + ".": {}, + "f:name": {}, + "f:valueFrom": { + ".": {}, + "f:fieldRef": {} + } + } + }, + "f:image": {}, + "f:imagePullPolicy": {}, + "f:lifecycle": { + ".": {}, + "f:preStop": { + ".": {}, + "f:exec": { + ".": {}, + "f:command": {} + } + } + }, + "f:name": {}, + "f:ports": { + ".": {}, + "k:{\"containerPort\":8080,\"protocol\":\"TCP\"}": { + ".": {}, + "f:containerPort": {}, + "f:name": {}, + "f:protocol": {} + }, + "k:{\"containerPort\":26257,\"protocol\":\"TCP\"}": { + ".": {}, + "f:containerPort": {}, + "f:name": {}, + "f:protocol": {} + }, + "k:{\"containerPort\":26258,\"protocol\":\"TCP\"}": { + ".": {}, + "f:containerPort": {}, + "f:name": {}, + "f:protocol": {} + } + }, + "f:readinessProbe": { + ".": {}, + "f:failureThreshold": {}, + "f:httpGet": { + ".": {}, + "f:path": {}, + "f:port": {}, + "f:scheme": {} + }, + "f:initialDelaySeconds": {}, + "f:periodSeconds": {}, + "f:successThreshold": {}, + "f:timeoutSeconds": {} + }, + "f:resources": { + ".": {}, + "f:limits": { + ".": {}, + "f:cpu": {}, + "f:memory": {} + }, + "f:requests": { + ".": {}, + "f:cpu": {}, + "f:memory": {} + } + }, + "f:terminationMessagePath": {}, + "f:terminationMessagePolicy": {}, + "f:volumeMounts": { + ".": {}, + "k:{\"mountPath\":\"/cockroach/cockroach-certs/\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + }, + "k:{\"mountPath\":\"/cockroach/cockroach-data/\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + } + } + } + }, + "f:dnsPolicy": {}, + "f:enableServiceLinks": {}, + "f:hostname": {}, + "f:initContainers": { + ".": {}, + "k:{\"name\":\"db-init\"}": { + ".": {}, + "f:command": {}, + "f:image": {}, + "f:imagePullPolicy": {}, + "f:name": {}, + "f:resources": {}, + "f:securityContext": { + ".": {}, + "f:allowPrivilegeEscalation": {}, + "f:runAsUser": {} + }, + "f:terminationMessagePath": {}, + "f:terminationMessagePolicy": {}, + "f:volumeMounts": { + ".": {}, + "k:{\"mountPath\":\"/cockroach/cockroach-certs-prestage/\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + }, + "k:{\"mountPath\":\"/cockroach/cockroach-certs/\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + } + } + } + }, + "f:restartPolicy": {}, + "f:schedulerName": {}, + "f:securityContext": { + ".": {}, + "f:fsGroup": {}, + "f:runAsUser": {} + }, + "f:serviceAccount": {}, + "f:serviceAccountName": {}, + "f:subdomain": {}, + "f:terminationGracePeriodSeconds": {}, + "f:volumes": { + ".": {}, + "k:{\"name\":\"certs\"}": { + ".": {}, + "f:name": {}, + "f:projected": { + ".": {}, + "f:defaultMode": {}, + "f:sources": {} + } + }, + "k:{\"name\":\"datadir\"}": { + ".": {}, + "f:name": {}, + "f:persistentVolumeClaim": { + ".": {}, + "f:claimName": {} + } + }, + "k:{\"name\":\"emptydir\"}": { + ".": {}, + "f:emptyDir": {}, + "f:name": {} + } + } + } + }, + "manager": "kube-controller-manager", + "operation": "Update", + "subresource": null, + "time": "2023-05-04T20:30:58+00:00" + }, + { + "api_version": "v1", + "fields_type": "FieldsV1", + "fields_v1": { + "f:status": { + "f:conditions": { + "k:{\"type\":\"ContainersReady\"}": { + ".": {}, + "f:lastProbeTime": {}, + "f:lastTransitionTime": {}, + "f:status": {}, + "f:type": {} + }, + "k:{\"type\":\"Initialized\"}": { + ".": {}, + "f:lastProbeTime": {}, + "f:lastTransitionTime": {}, + "f:status": {}, + "f:type": {} + }, + "k:{\"type\":\"Ready\"}": { + ".": {}, + "f:lastProbeTime": {}, + "f:lastTransitionTime": {}, + "f:status": {}, + "f:type": {} + } + }, + "f:containerStatuses": {}, + "f:hostIP": {}, + "f:initContainerStatuses": {}, + "f:phase": {}, + "f:podIP": {}, + "f:podIPs": { + ".": {}, + "k:{\"ip\":\"10.244.1.4\"}": { + ".": {}, + "f:ip": {} + } + }, + "f:startTime": {} + } + }, + "manager": "kubelet", + "operation": "Update", + "subresource": "status", + "time": "2023-05-04T20:31:21+00:00" + } + ], + "name": "test-cluster-1", + "namespace": "cockroach-operator-system", + "owner_references": [ + { + "api_version": "apps/v1", + "block_owner_deletion": true, + "controller": true, + "kind": "StatefulSet", + "name": "test-cluster", + "uid": "f53f5464-2142-4d42-8f5b-bdd30e5c1acf" + } + ], + "resource_version": "1047", + "self_link": null, + "uid": "cc1555b0-c26a-4b7b-bec4-c44b82760466" + }, + "spec": { + "active_deadline_seconds": null, + "affinity": null, + "automount_service_account_token": false, + "containers": [ + { + "args": null, + "command": [ + "/bin/bash", + "-ecx", + "exec /cockroach/cockroach.sh start --advertise-host=$(POD_NAME).test-cluster.cockroach-operator-system --certs-dir=/cockroach/cockroach-certs/ --http-port=8080 --sql-addr=:26257 --listen-addr=:26258 --log=\"{sinks: {stderr: {channels: [OPS, HEALTH], redact: true}}}\" --cache $(expr $MEMORY_LIMIT_MIB / 4)MiB --max-sql-memory $(expr $MEMORY_LIMIT_MIB / 4)MiB --join=test-cluster-0.test-cluster.cockroach-operator-system:26258,test-cluster-1.test-cluster.cockroach-operator-system:26258,test-cluster-2.test-cluster.cockroach-operator-system:26258" + ], + "env": [ + { + "name": "COCKROACH_CHANNEL", + "value": "kubernetes-operator-unknown", + "value_from": null + }, + { + "name": "POD_NAME", + "value": null, + "value_from": { + "config_map_key_ref": null, + "field_ref": { + "api_version": "v1", + "field_path": "metadata.name" + }, + "resource_field_ref": null, + "secret_key_ref": null + } + }, + { + "name": "GOMAXPROCS", + "value": null, + "value_from": { + "config_map_key_ref": null, + "field_ref": null, + "resource_field_ref": { + "container_name": null, + "divisor": "1", + "resource": "limits.cpu" + }, + "secret_key_ref": null + } + }, + { + "name": "MEMORY_LIMIT_MIB", + "value": null, + "value_from": { + "config_map_key_ref": null, + "field_ref": null, + "resource_field_ref": { + "container_name": null, + "divisor": "1Mi", + "resource": "limits.memory" + }, + "secret_key_ref": null + } + } + ], + "env_from": null, + "image": "cockroachdb/cockroach:v21.2.10", + "image_pull_policy": "IfNotPresent", + "lifecycle": { + "post_start": null, + "pre_stop": { + "_exec": { + "command": [ + "sh", + "-c", + "/cockroach/cockroach node drain --certs-dir=/cockroach/cockroach-certs/ || exit 0" + ] + }, + "http_get": null, + "tcp_socket": null + } + }, + "liveness_probe": null, + "name": "db", + "ports": [ + { + "container_port": 26258, + "host_ip": null, + "host_port": null, + "name": "grpc", + "protocol": "TCP" + }, + { + "container_port": 8080, + "host_ip": null, + "host_port": null, + "name": "http", + "protocol": "TCP" + }, + { + "container_port": 26257, + "host_ip": null, + "host_port": null, + "name": "sql", + "protocol": "TCP" + } + ], + "readiness_probe": { + "_exec": null, + "failure_threshold": 2, + "grpc": null, + "http_get": { + "host": null, + "http_headers": null, + "path": "/health?ready=1", + "port": "http", + "scheme": "HTTPS" + }, + "initial_delay_seconds": 10, + "period_seconds": 5, + "success_threshold": 1, + "tcp_socket": null, + "termination_grace_period_seconds": null, + "timeout_seconds": 1 + }, + "resources": { + "limits": { + "cpu": "2", + "memory": "2Gi" + }, + "requests": { + "cpu": "100m", + "memory": "1Gi" + } + }, + "security_context": null, + "startup_probe": null, + "stdin": null, + "stdin_once": null, + "termination_message_path": "/dev/termination-log", + "termination_message_policy": "File", + "tty": null, + "volume_devices": null, + "volume_mounts": [ + { + "mount_path": "/cockroach/cockroach-data/", + "mount_propagation": null, + "name": "datadir", + "read_only": null, + "sub_path": null, + "sub_path_expr": null + }, + { + "mount_path": "/cockroach/cockroach-certs/", + "mount_propagation": null, + "name": "emptydir", + "read_only": null, + "sub_path": null, + "sub_path_expr": null + } + ], + "working_dir": null + } + ], + "dns_config": null, + "dns_policy": "ClusterFirst", + "enable_service_links": true, + "ephemeral_containers": null, + "host_aliases": null, + "host_ipc": null, + "host_network": null, + "host_pid": null, + "host_users": null, + "hostname": "test-cluster-1", + "image_pull_secrets": null, + "init_containers": [ + { + "args": null, + "command": [ + "/bin/sh", + "-c", + ">- cp -p /cockroach/cockroach-certs-prestage/..data/* /cockroach/cockroach-certs/ && chmod 700 /cockroach/cockroach-certs/*.key && chown 1000581000:1000581000 /cockroach/cockroach-certs/*.key" + ], + "env": null, + "env_from": null, + "image": "cockroachdb/cockroach:v21.2.10", + "image_pull_policy": "IfNotPresent", + "lifecycle": null, + "liveness_probe": null, + "name": "db-init", + "ports": null, + "readiness_probe": null, + "resources": { + "limits": null, + "requests": null + }, + "security_context": { + "allow_privilege_escalation": false, + "capabilities": null, + "privileged": null, + "proc_mount": null, + "read_only_root_filesystem": null, + "run_as_group": null, + "run_as_non_root": null, + "run_as_user": 0, + "se_linux_options": null, + "seccomp_profile": null, + "windows_options": null + }, + "startup_probe": null, + "stdin": null, + "stdin_once": null, + "termination_message_path": "/dev/termination-log", + "termination_message_policy": "File", + "tty": null, + "volume_devices": null, + "volume_mounts": [ + { + "mount_path": "/cockroach/cockroach-certs-prestage/", + "mount_propagation": null, + "name": "certs", + "read_only": null, + "sub_path": null, + "sub_path_expr": null + }, + { + "mount_path": "/cockroach/cockroach-certs/", + "mount_propagation": null, + "name": "emptydir", + "read_only": null, + "sub_path": null, + "sub_path_expr": null + } + ], + "working_dir": null + } + ], + "node_name": "acto-cluster-0-worker3", + "node_selector": null, + "os": null, + "overhead": null, + "preemption_policy": "PreemptLowerPriority", + "priority": 0, + "priority_class_name": null, + "readiness_gates": null, + "restart_policy": "Always", + "runtime_class_name": null, + "scheduler_name": "default-scheduler", + "security_context": { + "fs_group": 1000581000, + "fs_group_change_policy": null, + "run_as_group": null, + "run_as_non_root": null, + "run_as_user": 1000581000, + "se_linux_options": null, + "seccomp_profile": null, + "supplemental_groups": null, + "sysctls": null, + "windows_options": null + }, + "service_account": "test-cluster-sa", + "service_account_name": "test-cluster-sa", + "set_hostname_as_fqdn": null, + "share_process_namespace": null, + "subdomain": "test-cluster", + "termination_grace_period_seconds": 300, + "tolerations": [ + { + "effect": "NoExecute", + "key": "node.kubernetes.io/not-ready", + "operator": "Exists", + "toleration_seconds": 300, + "value": null + }, + { + "effect": "NoExecute", + "key": "node.kubernetes.io/unreachable", + "operator": "Exists", + "toleration_seconds": 300, + "value": null + } + ], + "topology_spread_constraints": null, + "volumes": [ + { + "aws_elastic_block_store": null, + "azure_disk": null, + "azure_file": null, + "cephfs": null, + "cinder": null, + "config_map": null, + "csi": null, + "downward_api": null, + "empty_dir": null, + "ephemeral": null, + "fc": null, + "flex_volume": null, + "flocker": null, + "gce_persistent_disk": null, + "git_repo": null, + "glusterfs": null, + "host_path": null, + "iscsi": null, + "name": "datadir", + "nfs": null, + "persistent_volume_claim": { + "claim_name": "datadir-test-cluster-1", + "read_only": null + }, + "photon_persistent_disk": null, + "portworx_volume": null, + "projected": null, + "quobyte": null, + "rbd": null, + "scale_io": null, + "secret": null, + "storageos": null, + "vsphere_volume": null + }, + { + "aws_elastic_block_store": null, + "azure_disk": null, + "azure_file": null, + "cephfs": null, + "cinder": null, + "config_map": null, + "csi": null, + "downward_api": null, + "empty_dir": { + "medium": null, + "size_limit": null + }, + "ephemeral": null, + "fc": null, + "flex_volume": null, + "flocker": null, + "gce_persistent_disk": null, + "git_repo": null, + "glusterfs": null, + "host_path": null, + "iscsi": null, + "name": "emptydir", + "nfs": null, + "persistent_volume_claim": null, + "photon_persistent_disk": null, + "portworx_volume": null, + "projected": null, + "quobyte": null, + "rbd": null, + "scale_io": null, + "secret": null, + "storageos": null, + "vsphere_volume": null + }, + { + "aws_elastic_block_store": null, + "azure_disk": null, + "azure_file": null, + "cephfs": null, + "cinder": null, + "config_map": null, + "csi": null, + "downward_api": null, + "empty_dir": null, + "ephemeral": null, + "fc": null, + "flex_volume": null, + "flocker": null, + "gce_persistent_disk": null, + "git_repo": null, + "glusterfs": null, + "host_path": null, + "iscsi": null, + "name": "certs", + "nfs": null, + "persistent_volume_claim": null, + "photon_persistent_disk": null, + "portworx_volume": null, + "projected": { + "default_mode": 400, + "sources": [ + { + "config_map": null, + "downward_api": null, + "secret": { + "items": [ + { + "key": "ca.crt", + "mode": 504, + "path": "ca.crt" + }, + { + "key": "tls.crt", + "mode": 504, + "path": "node.crt" + }, + { + "key": "tls.key", + "mode": 400, + "path": "node.key" + } + ], + "name": "test-cluster-node", + "optional": null + }, + "service_account_token": null + }, + { + "config_map": null, + "downward_api": null, + "secret": { + "items": [ + { + "key": "tls.crt", + "mode": 504, + "path": "client.root.crt" + }, + { + "key": "tls.key", + "mode": 400, + "path": "client.root.key" + } + ], + "name": "test-cluster-root", + "optional": null + }, + "service_account_token": null + } + ] + }, + "quobyte": null, + "rbd": null, + "scale_io": null, + "secret": null, + "storageos": null, + "vsphere_volume": null + } + ] + }, + "status": { + "conditions": [ + { + "last_probe_time": null, + "last_transition_time": "2023-05-04T20:31:01+00:00", + "message": null, + "reason": null, + "status": "True", + "type": "Initialized" + }, + { + "last_probe_time": null, + "last_transition_time": "2023-05-04T20:31:21+00:00", + "message": null, + "reason": null, + "status": "True", + "type": "Ready" + }, + { + "last_probe_time": null, + "last_transition_time": "2023-05-04T20:31:21+00:00", + "message": null, + "reason": null, + "status": "True", + "type": "ContainersReady" + }, + { + "last_probe_time": null, + "last_transition_time": "2023-05-04T20:31:01+00:00", + "message": null, + "reason": null, + "status": "True", + "type": "PodScheduled" + } + ], + "container_statuses": [ + { + "container_id": "containerd://ca7b7418474ee28fca7677e704f5a109803bbdb7ce6872353e6e921433be08a8", + "image": "docker.io/cockroachdb/cockroach:v21.2.10", + "image_id": "docker.io/library/import-2023-05-04@sha256:070cca8c19ddf0ae6bc2bd88819e394fef6131b6cd44edb93847d703a068c29c", + "last_state": { + "running": null, + "terminated": null, + "waiting": null + }, + "name": "db", + "ready": true, + "restart_count": 0, + "started": true, + "state": { + "running": { + "started_at": "2023-05-04T20:31:01+00:00" + }, + "terminated": null, + "waiting": null + } + } + ], + "ephemeral_container_statuses": null, + "host_ip": "172.18.0.3", + "init_container_statuses": [ + { + "container_id": "containerd://52c32f9d159a546b0ed1baa3b717c7cff2b21f35e28b5a587e41e92b29323f50", + "image": "docker.io/cockroachdb/cockroach:v21.2.10", + "image_id": "docker.io/library/import-2023-05-04@sha256:070cca8c19ddf0ae6bc2bd88819e394fef6131b6cd44edb93847d703a068c29c", + "last_state": { + "running": null, + "terminated": null, + "waiting": null + }, + "name": "db-init", + "ready": true, + "restart_count": 0, + "started": null, + "state": { + "running": null, + "terminated": { + "container_id": "containerd://52c32f9d159a546b0ed1baa3b717c7cff2b21f35e28b5a587e41e92b29323f50", + "exit_code": 0, + "finished_at": "2023-05-04T20:31:01+00:00", + "message": null, + "reason": "Completed", + "signal": null, + "started_at": "2023-05-04T20:31:01+00:00" + }, + "waiting": null + } + } + ], + "message": null, + "nominated_node_name": null, + "phase": "Running", + "pod_ip": "10.244.1.4", + "pod_i_ps": [ + { + "ip": "10.244.1.4" + } + ], + "qos_class": "Burstable", + "reason": null, + "start_time": "2023-05-04T20:31:01+00:00" + } + }, + "test-cluster-2": { + "api_version": null, + "kind": null, + "metadata": { + "annotations": null, + "creation_timestamp": "2023-05-04T20:30:58+00:00", + "deletion_grace_period_seconds": null, + "deletion_timestamp": null, + "finalizers": null, + "generate_name": "test-cluster-", + "generation": null, + "labels": { + "app.kubernetes.io/component": "database", + "app.kubernetes.io/instance": "test-cluster", + "app.kubernetes.io/name": "cockroachdb", + "controller-revision-hash": "test-cluster-76f9c78d88", + "crdb": "is-cool", + "statefulset.kubernetes.io/pod-name": "test-cluster-2" + }, + "managed_fields": [ + { + "api_version": "v1", + "fields_type": "FieldsV1", + "fields_v1": { + "f:metadata": { + "f:generateName": {}, + "f:labels": { + ".": {}, + "f:app.kubernetes.io/component": {}, + "f:app.kubernetes.io/instance": {}, + "f:app.kubernetes.io/name": {}, + "f:controller-revision-hash": {}, + "f:crdb": {}, + "f:statefulset.kubernetes.io/pod-name": {} + }, + "f:ownerReferences": { + ".": {}, + "k:{\"uid\":\"f53f5464-2142-4d42-8f5b-bdd30e5c1acf\"}": {} + } + }, + "f:spec": { + "f:automountServiceAccountToken": {}, + "f:containers": { + "k:{\"name\":\"db\"}": { + ".": {}, + "f:command": {}, + "f:env": { + ".": {}, + "k:{\"name\":\"COCKROACH_CHANNEL\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"GOMAXPROCS\"}": { + ".": {}, + "f:name": {}, + "f:valueFrom": { + ".": {}, + "f:resourceFieldRef": {} + } + }, + "k:{\"name\":\"MEMORY_LIMIT_MIB\"}": { + ".": {}, + "f:name": {}, + "f:valueFrom": { + ".": {}, + "f:resourceFieldRef": {} + } + }, + "k:{\"name\":\"POD_NAME\"}": { + ".": {}, + "f:name": {}, + "f:valueFrom": { + ".": {}, + "f:fieldRef": {} + } + } + }, + "f:image": {}, + "f:imagePullPolicy": {}, + "f:lifecycle": { + ".": {}, + "f:preStop": { + ".": {}, + "f:exec": { + ".": {}, + "f:command": {} + } + } + }, + "f:name": {}, + "f:ports": { + ".": {}, + "k:{\"containerPort\":8080,\"protocol\":\"TCP\"}": { + ".": {}, + "f:containerPort": {}, + "f:name": {}, + "f:protocol": {} + }, + "k:{\"containerPort\":26257,\"protocol\":\"TCP\"}": { + ".": {}, + "f:containerPort": {}, + "f:name": {}, + "f:protocol": {} + }, + "k:{\"containerPort\":26258,\"protocol\":\"TCP\"}": { + ".": {}, + "f:containerPort": {}, + "f:name": {}, + "f:protocol": {} + } + }, + "f:readinessProbe": { + ".": {}, + "f:failureThreshold": {}, + "f:httpGet": { + ".": {}, + "f:path": {}, + "f:port": {}, + "f:scheme": {} + }, + "f:initialDelaySeconds": {}, + "f:periodSeconds": {}, + "f:successThreshold": {}, + "f:timeoutSeconds": {} + }, + "f:resources": { + ".": {}, + "f:limits": { + ".": {}, + "f:cpu": {}, + "f:memory": {} + }, + "f:requests": { + ".": {}, + "f:cpu": {}, + "f:memory": {} + } + }, + "f:terminationMessagePath": {}, + "f:terminationMessagePolicy": {}, + "f:volumeMounts": { + ".": {}, + "k:{\"mountPath\":\"/cockroach/cockroach-certs/\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + }, + "k:{\"mountPath\":\"/cockroach/cockroach-data/\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + } + } + } + }, + "f:dnsPolicy": {}, + "f:enableServiceLinks": {}, + "f:hostname": {}, + "f:initContainers": { + ".": {}, + "k:{\"name\":\"db-init\"}": { + ".": {}, + "f:command": {}, + "f:image": {}, + "f:imagePullPolicy": {}, + "f:name": {}, + "f:resources": {}, + "f:securityContext": { + ".": {}, + "f:allowPrivilegeEscalation": {}, + "f:runAsUser": {} + }, + "f:terminationMessagePath": {}, + "f:terminationMessagePolicy": {}, + "f:volumeMounts": { + ".": {}, + "k:{\"mountPath\":\"/cockroach/cockroach-certs-prestage/\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + }, + "k:{\"mountPath\":\"/cockroach/cockroach-certs/\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + } + } + } + }, + "f:restartPolicy": {}, + "f:schedulerName": {}, + "f:securityContext": { + ".": {}, + "f:fsGroup": {}, + "f:runAsUser": {} + }, + "f:serviceAccount": {}, + "f:serviceAccountName": {}, + "f:subdomain": {}, + "f:terminationGracePeriodSeconds": {}, + "f:volumes": { + ".": {}, + "k:{\"name\":\"certs\"}": { + ".": {}, + "f:name": {}, + "f:projected": { + ".": {}, + "f:defaultMode": {}, + "f:sources": {} + } + }, + "k:{\"name\":\"datadir\"}": { + ".": {}, + "f:name": {}, + "f:persistentVolumeClaim": { + ".": {}, + "f:claimName": {} + } + }, + "k:{\"name\":\"emptydir\"}": { + ".": {}, + "f:emptyDir": {}, + "f:name": {} + } + } + } + }, + "manager": "kube-controller-manager", + "operation": "Update", + "subresource": null, + "time": "2023-05-04T20:30:58+00:00" + }, + { + "api_version": "v1", + "fields_type": "FieldsV1", + "fields_v1": { + "f:status": { + "f:conditions": { + "k:{\"type\":\"ContainersReady\"}": { + ".": {}, + "f:lastProbeTime": {}, + "f:lastTransitionTime": {}, + "f:status": {}, + "f:type": {} + }, + "k:{\"type\":\"Initialized\"}": { + ".": {}, + "f:lastProbeTime": {}, + "f:lastTransitionTime": {}, + "f:status": {}, + "f:type": {} + }, + "k:{\"type\":\"Ready\"}": { + ".": {}, + "f:lastProbeTime": {}, + "f:lastTransitionTime": {}, + "f:status": {}, + "f:type": {} + } + }, + "f:containerStatuses": {}, + "f:hostIP": {}, + "f:initContainerStatuses": {}, + "f:phase": {}, + "f:podIP": {}, + "f:podIPs": { + ".": {}, + "k:{\"ip\":\"10.244.2.4\"}": { + ".": {}, + "f:ip": {} + } + }, + "f:startTime": {} + } + }, + "manager": "kubelet", + "operation": "Update", + "subresource": "status", + "time": "2023-05-04T20:31:13+00:00" + } + ], + "name": "test-cluster-2", + "namespace": "cockroach-operator-system", + "owner_references": [ + { + "api_version": "apps/v1", + "block_owner_deletion": true, + "controller": true, + "kind": "StatefulSet", + "name": "test-cluster", + "uid": "f53f5464-2142-4d42-8f5b-bdd30e5c1acf" + } + ], + "resource_version": "1020", + "self_link": null, + "uid": "30cdd852-14b8-4fc7-a7f6-b3dfe6ebaf1d" + }, + "spec": { + "active_deadline_seconds": null, + "affinity": null, + "automount_service_account_token": false, + "containers": [ + { + "args": null, + "command": [ + "/bin/bash", + "-ecx", + "exec /cockroach/cockroach.sh start --advertise-host=$(POD_NAME).test-cluster.cockroach-operator-system --certs-dir=/cockroach/cockroach-certs/ --http-port=8080 --sql-addr=:26257 --listen-addr=:26258 --log=\"{sinks: {stderr: {channels: [OPS, HEALTH], redact: true}}}\" --cache $(expr $MEMORY_LIMIT_MIB / 4)MiB --max-sql-memory $(expr $MEMORY_LIMIT_MIB / 4)MiB --join=test-cluster-0.test-cluster.cockroach-operator-system:26258,test-cluster-1.test-cluster.cockroach-operator-system:26258,test-cluster-2.test-cluster.cockroach-operator-system:26258" + ], + "env": [ + { + "name": "COCKROACH_CHANNEL", + "value": "kubernetes-operator-unknown", + "value_from": null + }, + { + "name": "POD_NAME", + "value": null, + "value_from": { + "config_map_key_ref": null, + "field_ref": { + "api_version": "v1", + "field_path": "metadata.name" + }, + "resource_field_ref": null, + "secret_key_ref": null + } + }, + { + "name": "GOMAXPROCS", + "value": null, + "value_from": { + "config_map_key_ref": null, + "field_ref": null, + "resource_field_ref": { + "container_name": null, + "divisor": "1", + "resource": "limits.cpu" + }, + "secret_key_ref": null + } + }, + { + "name": "MEMORY_LIMIT_MIB", + "value": null, + "value_from": { + "config_map_key_ref": null, + "field_ref": null, + "resource_field_ref": { + "container_name": null, + "divisor": "1Mi", + "resource": "limits.memory" + }, + "secret_key_ref": null + } + } + ], + "env_from": null, + "image": "cockroachdb/cockroach:v21.2.10", + "image_pull_policy": "IfNotPresent", + "lifecycle": { + "post_start": null, + "pre_stop": { + "_exec": { + "command": [ + "sh", + "-c", + "/cockroach/cockroach node drain --certs-dir=/cockroach/cockroach-certs/ || exit 0" + ] + }, + "http_get": null, + "tcp_socket": null + } + }, + "liveness_probe": null, + "name": "db", + "ports": [ + { + "container_port": 26258, + "host_ip": null, + "host_port": null, + "name": "grpc", + "protocol": "TCP" + }, + { + "container_port": 8080, + "host_ip": null, + "host_port": null, + "name": "http", + "protocol": "TCP" + }, + { + "container_port": 26257, + "host_ip": null, + "host_port": null, + "name": "sql", + "protocol": "TCP" + } + ], + "readiness_probe": { + "_exec": null, + "failure_threshold": 2, + "grpc": null, + "http_get": { + "host": null, + "http_headers": null, + "path": "/health?ready=1", + "port": "http", + "scheme": "HTTPS" + }, + "initial_delay_seconds": 10, + "period_seconds": 5, + "success_threshold": 1, + "tcp_socket": null, + "termination_grace_period_seconds": null, + "timeout_seconds": 1 + }, + "resources": { + "limits": { + "cpu": "2", + "memory": "2Gi" + }, + "requests": { + "cpu": "100m", + "memory": "1Gi" + } + }, + "security_context": null, + "startup_probe": null, + "stdin": null, + "stdin_once": null, + "termination_message_path": "/dev/termination-log", + "termination_message_policy": "File", + "tty": null, + "volume_devices": null, + "volume_mounts": [ + { + "mount_path": "/cockroach/cockroach-data/", + "mount_propagation": null, + "name": "datadir", + "read_only": null, + "sub_path": null, + "sub_path_expr": null + }, + { + "mount_path": "/cockroach/cockroach-certs/", + "mount_propagation": null, + "name": "emptydir", + "read_only": null, + "sub_path": null, + "sub_path_expr": null + } + ], + "working_dir": null + } + ], + "dns_config": null, + "dns_policy": "ClusterFirst", + "enable_service_links": true, + "ephemeral_containers": null, + "host_aliases": null, + "host_ipc": null, + "host_network": null, + "host_pid": null, + "host_users": null, + "hostname": "test-cluster-2", + "image_pull_secrets": null, + "init_containers": [ + { + "args": null, + "command": [ + "/bin/sh", + "-c", + ">- cp -p /cockroach/cockroach-certs-prestage/..data/* /cockroach/cockroach-certs/ && chmod 700 /cockroach/cockroach-certs/*.key && chown 1000581000:1000581000 /cockroach/cockroach-certs/*.key" + ], + "env": null, + "env_from": null, + "image": "cockroachdb/cockroach:v21.2.10", + "image_pull_policy": "IfNotPresent", + "lifecycle": null, + "liveness_probe": null, + "name": "db-init", + "ports": null, + "readiness_probe": null, + "resources": { + "limits": null, + "requests": null + }, + "security_context": { + "allow_privilege_escalation": false, + "capabilities": null, + "privileged": null, + "proc_mount": null, + "read_only_root_filesystem": null, + "run_as_group": null, + "run_as_non_root": null, + "run_as_user": 0, + "se_linux_options": null, + "seccomp_profile": null, + "windows_options": null + }, + "startup_probe": null, + "stdin": null, + "stdin_once": null, + "termination_message_path": "/dev/termination-log", + "termination_message_policy": "File", + "tty": null, + "volume_devices": null, + "volume_mounts": [ + { + "mount_path": "/cockroach/cockroach-certs-prestage/", + "mount_propagation": null, + "name": "certs", + "read_only": null, + "sub_path": null, + "sub_path_expr": null + }, + { + "mount_path": "/cockroach/cockroach-certs/", + "mount_propagation": null, + "name": "emptydir", + "read_only": null, + "sub_path": null, + "sub_path_expr": null + } + ], + "working_dir": null + } + ], + "node_name": "acto-cluster-0-worker2", + "node_selector": null, + "os": null, + "overhead": null, + "preemption_policy": "PreemptLowerPriority", + "priority": 0, + "priority_class_name": null, + "readiness_gates": null, + "restart_policy": "Always", + "runtime_class_name": null, + "scheduler_name": "default-scheduler", + "security_context": { + "fs_group": 1000581000, + "fs_group_change_policy": null, + "run_as_group": null, + "run_as_non_root": null, + "run_as_user": 1000581000, + "se_linux_options": null, + "seccomp_profile": null, + "supplemental_groups": null, + "sysctls": null, + "windows_options": null + }, + "service_account": "test-cluster-sa", + "service_account_name": "test-cluster-sa", + "set_hostname_as_fqdn": null, + "share_process_namespace": null, + "subdomain": "test-cluster", + "termination_grace_period_seconds": 300, + "tolerations": [ + { + "effect": "NoExecute", + "key": "node.kubernetes.io/not-ready", + "operator": "Exists", + "toleration_seconds": 300, + "value": null + }, + { + "effect": "NoExecute", + "key": "node.kubernetes.io/unreachable", + "operator": "Exists", + "toleration_seconds": 300, + "value": null + } + ], + "topology_spread_constraints": null, + "volumes": [ + { + "aws_elastic_block_store": null, + "azure_disk": null, + "azure_file": null, + "cephfs": null, + "cinder": null, + "config_map": null, + "csi": null, + "downward_api": null, + "empty_dir": null, + "ephemeral": null, + "fc": null, + "flex_volume": null, + "flocker": null, + "gce_persistent_disk": null, + "git_repo": null, + "glusterfs": null, + "host_path": null, + "iscsi": null, + "name": "datadir", + "nfs": null, + "persistent_volume_claim": { + "claim_name": "datadir-test-cluster-2", + "read_only": null + }, + "photon_persistent_disk": null, + "portworx_volume": null, + "projected": null, + "quobyte": null, + "rbd": null, + "scale_io": null, + "secret": null, + "storageos": null, + "vsphere_volume": null + }, + { + "aws_elastic_block_store": null, + "azure_disk": null, + "azure_file": null, + "cephfs": null, + "cinder": null, + "config_map": null, + "csi": null, + "downward_api": null, + "empty_dir": { + "medium": null, + "size_limit": null + }, + "ephemeral": null, + "fc": null, + "flex_volume": null, + "flocker": null, + "gce_persistent_disk": null, + "git_repo": null, + "glusterfs": null, + "host_path": null, + "iscsi": null, + "name": "emptydir", + "nfs": null, + "persistent_volume_claim": null, + "photon_persistent_disk": null, + "portworx_volume": null, + "projected": null, + "quobyte": null, + "rbd": null, + "scale_io": null, + "secret": null, + "storageos": null, + "vsphere_volume": null + }, + { + "aws_elastic_block_store": null, + "azure_disk": null, + "azure_file": null, + "cephfs": null, + "cinder": null, + "config_map": null, + "csi": null, + "downward_api": null, + "empty_dir": null, + "ephemeral": null, + "fc": null, + "flex_volume": null, + "flocker": null, + "gce_persistent_disk": null, + "git_repo": null, + "glusterfs": null, + "host_path": null, + "iscsi": null, + "name": "certs", + "nfs": null, + "persistent_volume_claim": null, + "photon_persistent_disk": null, + "portworx_volume": null, + "projected": { + "default_mode": 400, + "sources": [ + { + "config_map": null, + "downward_api": null, + "secret": { + "items": [ + { + "key": "ca.crt", + "mode": 504, + "path": "ca.crt" + }, + { + "key": "tls.crt", + "mode": 504, + "path": "node.crt" + }, + { + "key": "tls.key", + "mode": 400, + "path": "node.key" + } + ], + "name": "test-cluster-node", + "optional": null + }, + "service_account_token": null + }, + { + "config_map": null, + "downward_api": null, + "secret": { + "items": [ + { + "key": "tls.crt", + "mode": 504, + "path": "client.root.crt" + }, + { + "key": "tls.key", + "mode": 400, + "path": "client.root.key" + } + ], + "name": "test-cluster-root", + "optional": null + }, + "service_account_token": null + } + ] + }, + "quobyte": null, + "rbd": null, + "scale_io": null, + "secret": null, + "storageos": null, + "vsphere_volume": null + } + ] + }, + "status": { + "conditions": [ + { + "last_probe_time": null, + "last_transition_time": "2023-05-04T20:31:03+00:00", + "message": null, + "reason": null, + "status": "True", + "type": "Initialized" + }, + { + "last_probe_time": null, + "last_transition_time": "2023-05-04T20:31:13+00:00", + "message": null, + "reason": null, + "status": "True", + "type": "Ready" + }, + { + "last_probe_time": null, + "last_transition_time": "2023-05-04T20:31:13+00:00", + "message": null, + "reason": null, + "status": "True", + "type": "ContainersReady" + }, + { + "last_probe_time": null, + "last_transition_time": "2023-05-04T20:31:03+00:00", + "message": null, + "reason": null, + "status": "True", + "type": "PodScheduled" + } + ], + "container_statuses": [ + { + "container_id": "containerd://2f544903b0b636dbca668a30339a5f6d31026753d3566370f99b6d54f5eaed73", + "image": "docker.io/cockroachdb/cockroach:v21.2.10", + "image_id": "docker.io/library/import-2023-05-04@sha256:070cca8c19ddf0ae6bc2bd88819e394fef6131b6cd44edb93847d703a068c29c", + "last_state": { + "running": null, + "terminated": null, + "waiting": null + }, + "name": "db", + "ready": true, + "restart_count": 0, + "started": true, + "state": { + "running": { + "started_at": "2023-05-04T20:31:03+00:00" + }, + "terminated": null, + "waiting": null + } + } + ], + "ephemeral_container_statuses": null, + "host_ip": "172.18.0.6", + "init_container_statuses": [ + { + "container_id": "containerd://f9489fd69bbc0e8097b9546402583a04b9d5ae009a5940ffec5272ca8d642b31", + "image": "docker.io/cockroachdb/cockroach:v21.2.10", + "image_id": "docker.io/library/import-2023-05-04@sha256:070cca8c19ddf0ae6bc2bd88819e394fef6131b6cd44edb93847d703a068c29c", + "last_state": { + "running": null, + "terminated": null, + "waiting": null + }, + "name": "db-init", + "ready": true, + "restart_count": 0, + "started": null, + "state": { + "running": null, + "terminated": { + "container_id": "containerd://f9489fd69bbc0e8097b9546402583a04b9d5ae009a5940ffec5272ca8d642b31", + "exit_code": 0, + "finished_at": "2023-05-04T20:31:03+00:00", + "message": null, + "reason": "Completed", + "signal": null, + "started_at": "2023-05-04T20:31:03+00:00" + }, + "waiting": null + } + } + ], + "message": null, + "nominated_node_name": null, + "phase": "Running", + "pod_ip": "10.244.2.4", + "pod_i_ps": [ + { + "ip": "10.244.2.4" + } + ], + "qos_class": "Burstable", + "reason": null, + "start_time": "2023-05-04T20:31:03+00:00" + } + } + }, + "deployment_pods": { + "cockroach-operator-manager": [ + { + "api_version": null, + "kind": null, + "metadata": { + "annotations": null, + "creation_timestamp": "2023-05-04T20:30:52+00:00", + "deletion_grace_period_seconds": null, + "deletion_timestamp": null, + "finalizers": null, + "generate_name": "cockroach-operator-manager-64c489884-", + "generation": null, + "labels": { + "acto/tag": "operator-pod", + "app": "cockroach-operator", + "pod-template-hash": "64c489884" + }, + "managed_fields": [ + { + "api_version": "v1", + "fields_type": "FieldsV1", + "fields_v1": { + "f:metadata": { + "f:generateName": {}, + "f:labels": { + ".": {}, + "f:acto/tag": {}, + "f:app": {}, + "f:pod-template-hash": {} + }, + "f:ownerReferences": { + ".": {}, + "k:{\"uid\":\"be708d8a-e777-47d2-951f-3826c77ce527\"}": {} + } + }, + "f:spec": { + "f:containers": { + "k:{\"name\":\"cockroach-operator\"}": { + ".": {}, + "f:args": {}, + "f:env": { + ".": {}, + "k:{\"name\":\"NAMESPACE\"}": { + ".": {}, + "f:name": {}, + "f:valueFrom": { + ".": {}, + "f:fieldRef": {} + } + }, + "k:{\"name\":\"OPERATOR_NAME\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"POD_NAME\"}": { + ".": {}, + "f:name": {}, + "f:valueFrom": { + ".": {}, + "f:fieldRef": {} + } + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v20_1_11\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v20_1_12\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v20_1_13\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v20_1_15\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v20_1_16\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v20_1_17\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v20_1_4\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v20_1_5\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v20_1_8\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v20_2_0\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v20_2_1\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v20_2_10\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v20_2_11\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v20_2_12\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v20_2_13\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v20_2_14\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v20_2_15\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v20_2_16\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v20_2_17\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v20_2_18\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v20_2_19\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v20_2_2\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v20_2_3\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v20_2_4\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v20_2_5\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v20_2_6\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v20_2_8\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v20_2_9\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v21_1_0\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v21_1_1\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v21_1_10\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v21_1_11\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v21_1_12\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v21_1_13\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v21_1_14\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v21_1_15\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v21_1_16\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v21_1_17\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v21_1_18\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v21_1_19\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v21_1_2\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v21_1_3\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v21_1_4\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v21_1_5\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v21_1_6\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v21_1_7\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v21_1_9\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v21_2_0\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v21_2_1\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v21_2_10\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v21_2_2\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v21_2_3\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v21_2_4\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v21_2_5\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v21_2_7\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v21_2_8\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v21_2_9\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + } + }, + "f:image": {}, + "f:imagePullPolicy": {}, + "f:name": {}, + "f:resources": { + ".": {}, + "f:requests": { + ".": {}, + "f:cpu": {}, + "f:memory": {} + } + }, + "f:terminationMessagePath": {}, + "f:terminationMessagePolicy": {} + } + }, + "f:dnsPolicy": {}, + "f:enableServiceLinks": {}, + "f:restartPolicy": {}, + "f:schedulerName": {}, + "f:securityContext": {}, + "f:serviceAccount": {}, + "f:serviceAccountName": {}, + "f:terminationGracePeriodSeconds": {} + } + }, + "manager": "kube-controller-manager", + "operation": "Update", + "subresource": null, + "time": "2023-05-04T20:30:52+00:00" + }, + { + "api_version": "v1", + "fields_type": "FieldsV1", + "fields_v1": { + "f:status": { + "f:conditions": { + "k:{\"type\":\"ContainersReady\"}": { + ".": {}, + "f:lastProbeTime": {}, + "f:lastTransitionTime": {}, + "f:status": {}, + "f:type": {} + }, + "k:{\"type\":\"Initialized\"}": { + ".": {}, + "f:lastProbeTime": {}, + "f:lastTransitionTime": {}, + "f:status": {}, + "f:type": {} + }, + "k:{\"type\":\"Ready\"}": { + ".": {}, + "f:lastProbeTime": {}, + "f:lastTransitionTime": {}, + "f:status": {}, + "f:type": {} + } + }, + "f:containerStatuses": {}, + "f:hostIP": {}, + "f:phase": {}, + "f:podIP": {}, + "f:podIPs": { + ".": {}, + "k:{\"ip\":\"10.244.1.2\"}": { + ".": {}, + "f:ip": {} + } + }, + "f:startTime": {} + } + }, + "manager": "kubelet", + "operation": "Update", + "subresource": "status", + "time": "2023-05-04T20:30:52+00:00" + } + ], + "name": "cockroach-operator-manager-64c489884-t4l82", + "namespace": "cockroach-operator-system", + "owner_references": [ + { + "api_version": "apps/v1", + "block_owner_deletion": true, + "controller": true, + "kind": "ReplicaSet", + "name": "cockroach-operator-manager-64c489884", + "uid": "be708d8a-e777-47d2-951f-3826c77ce527" + } + ], + "resource_version": "800", + "self_link": null, + "uid": "2fa41549-7083-45b2-8a85-b2450b8b08b7" + }, + "spec": { + "active_deadline_seconds": null, + "affinity": null, + "automount_service_account_token": null, + "containers": [ + { + "args": [ + "-zap-log-level", + "info", + "-feature-gates", + "TopologySpreadRules=true,AffinityRules=true,TolerationRules=true" + ], + "command": null, + "env": [ + { + "name": "RELATED_IMAGE_COCKROACH_v20_1_4", + "value": "cockroachdb/cockroach:v20.1.4", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v20_1_5", + "value": "cockroachdb/cockroach:v20.1.5", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v20_1_8", + "value": "cockroachdb/cockroach:v20.1.8", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v20_1_11", + "value": "cockroachdb/cockroach:v20.1.11", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v20_1_12", + "value": "cockroachdb/cockroach:v20.1.12", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v20_1_13", + "value": "cockroachdb/cockroach:v20.1.13", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v20_1_15", + "value": "cockroachdb/cockroach:v20.1.15", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v20_1_16", + "value": "cockroachdb/cockroach:v20.1.16", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v20_1_17", + "value": "cockroachdb/cockroach:v20.1.17", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v20_2_0", + "value": "cockroachdb/cockroach:v20.2.0", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v20_2_1", + "value": "cockroachdb/cockroach:v20.2.1", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v20_2_2", + "value": "cockroachdb/cockroach:v20.2.2", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v20_2_3", + "value": "cockroachdb/cockroach:v20.2.3", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v20_2_4", + "value": "cockroachdb/cockroach:v20.2.4", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v20_2_5", + "value": "cockroachdb/cockroach:v20.2.5", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v20_2_6", + "value": "cockroachdb/cockroach:v20.2.6", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v20_2_8", + "value": "cockroachdb/cockroach:v20.2.8", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v20_2_9", + "value": "cockroachdb/cockroach:v20.2.9", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v20_2_10", + "value": "cockroachdb/cockroach:v20.2.10", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v20_2_11", + "value": "cockroachdb/cockroach:v20.2.11", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v20_2_12", + "value": "cockroachdb/cockroach:v20.2.12", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v20_2_13", + "value": "cockroachdb/cockroach:v20.2.13", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v20_2_14", + "value": "cockroachdb/cockroach:v20.2.14", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v20_2_15", + "value": "cockroachdb/cockroach:v20.2.15", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v20_2_16", + "value": "cockroachdb/cockroach:v20.2.16", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v20_2_17", + "value": "cockroachdb/cockroach:v20.2.17", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v20_2_18", + "value": "cockroachdb/cockroach:v20.2.18", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v20_2_19", + "value": "cockroachdb/cockroach:v20.2.19", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v21_1_0", + "value": "cockroachdb/cockroach:v21.1.0", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v21_1_1", + "value": "cockroachdb/cockroach:v21.1.1", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v21_1_2", + "value": "cockroachdb/cockroach:v21.1.2", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v21_1_3", + "value": "cockroachdb/cockroach:v21.1.3", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v21_1_4", + "value": "cockroachdb/cockroach:v21.1.4", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v21_1_5", + "value": "cockroachdb/cockroach:v21.1.5", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v21_1_6", + "value": "cockroachdb/cockroach:v21.1.6", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v21_1_7", + "value": "cockroachdb/cockroach:v21.1.7", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v21_1_9", + "value": "cockroachdb/cockroach:v21.1.9", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v21_1_10", + "value": "cockroachdb/cockroach:v21.1.10", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v21_1_11", + "value": "cockroachdb/cockroach:v21.1.11", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v21_1_12", + "value": "cockroachdb/cockroach:v21.1.12", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v21_1_13", + "value": "cockroachdb/cockroach:v21.1.13", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v21_1_14", + "value": "cockroachdb/cockroach:v21.1.14", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v21_1_15", + "value": "cockroachdb/cockroach:v21.1.15", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v21_1_16", + "value": "cockroachdb/cockroach:v21.1.16", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v21_1_17", + "value": "cockroachdb/cockroach:v21.1.17", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v21_1_18", + "value": "cockroachdb/cockroach:v21.1.18", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v21_1_19", + "value": "cockroachdb/cockroach:v21.1.19", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v21_2_0", + "value": "cockroachdb/cockroach:v21.2.0", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v21_2_1", + "value": "cockroachdb/cockroach:v21.2.1", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v21_2_2", + "value": "cockroachdb/cockroach:v21.2.2", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v21_2_3", + "value": "cockroachdb/cockroach:v21.2.3", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v21_2_4", + "value": "cockroachdb/cockroach:v21.2.4", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v21_2_5", + "value": "cockroachdb/cockroach:v21.2.5", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v21_2_7", + "value": "cockroachdb/cockroach:v21.2.7", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v21_2_8", + "value": "cockroachdb/cockroach:v21.2.8", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v21_2_9", + "value": "cockroachdb/cockroach:v21.2.9", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v21_2_10", + "value": "cockroachdb/cockroach:v21.2.10", + "value_from": null + }, + { + "name": "OPERATOR_NAME", + "value": "cockroachdb", + "value_from": null + }, + { + "name": "POD_NAME", + "value": null, + "value_from": { + "config_map_key_ref": null, + "field_ref": { + "api_version": "v1", + "field_path": "metadata.name" + }, + "resource_field_ref": null, + "secret_key_ref": null + } + }, + { + "name": "NAMESPACE", + "value": null, + "value_from": { + "config_map_key_ref": null, + "field_ref": { + "api_version": "v1", + "field_path": "metadata.namespace" + }, + "resource_field_ref": null, + "secret_key_ref": null + } + } + ], + "env_from": null, + "image": "cockroachdb/cockroach-operator:v2.7.0", + "image_pull_policy": "IfNotPresent", + "lifecycle": null, + "liveness_probe": null, + "name": "cockroach-operator", + "ports": null, + "readiness_probe": null, + "resources": { + "limits": null, + "requests": { + "cpu": "10m", + "memory": "32Mi" + } + }, + "security_context": null, + "startup_probe": null, + "stdin": null, + "stdin_once": null, + "termination_message_path": "/dev/termination-log", + "termination_message_policy": "File", + "tty": null, + "volume_devices": null, + "volume_mounts": [ + { + "mount_path": "/var/run/secrets/kubernetes.io/serviceaccount", + "mount_propagation": null, + "name": "kube-api-access-shxth", + "read_only": true, + "sub_path": null, + "sub_path_expr": null + } + ], + "working_dir": null + } + ], + "dns_config": null, + "dns_policy": "ClusterFirst", + "enable_service_links": true, + "ephemeral_containers": null, + "host_aliases": null, + "host_ipc": null, + "host_network": null, + "host_pid": null, + "host_users": null, + "hostname": null, + "image_pull_secrets": null, + "init_containers": null, + "node_name": "acto-cluster-0-worker3", + "node_selector": null, + "os": null, + "overhead": null, + "preemption_policy": "PreemptLowerPriority", + "priority": 0, + "priority_class_name": null, + "readiness_gates": null, + "restart_policy": "Always", + "runtime_class_name": null, + "scheduler_name": "default-scheduler", + "security_context": { + "fs_group": null, + "fs_group_change_policy": null, + "run_as_group": null, + "run_as_non_root": null, + "run_as_user": null, + "se_linux_options": null, + "seccomp_profile": null, + "supplemental_groups": null, + "sysctls": null, + "windows_options": null + }, + "service_account": "cockroach-operator-sa", + "service_account_name": "cockroach-operator-sa", + "set_hostname_as_fqdn": null, + "share_process_namespace": null, + "subdomain": null, + "termination_grace_period_seconds": 30, + "tolerations": [ + { + "effect": "NoExecute", + "key": "node.kubernetes.io/not-ready", + "operator": "Exists", + "toleration_seconds": 300, + "value": null + }, + { + "effect": "NoExecute", + "key": "node.kubernetes.io/unreachable", + "operator": "Exists", + "toleration_seconds": 300, + "value": null + } + ], + "topology_spread_constraints": null, + "volumes": [ + { + "aws_elastic_block_store": null, + "azure_disk": null, + "azure_file": null, + "cephfs": null, + "cinder": null, + "config_map": null, + "csi": null, + "downward_api": null, + "empty_dir": null, + "ephemeral": null, + "fc": null, + "flex_volume": null, + "flocker": null, + "gce_persistent_disk": null, + "git_repo": null, + "glusterfs": null, + "host_path": null, + "iscsi": null, + "name": "kube-api-access-shxth", + "nfs": null, + "persistent_volume_claim": null, + "photon_persistent_disk": null, + "portworx_volume": null, + "projected": { + "default_mode": 420, + "sources": [ + { + "config_map": null, + "downward_api": null, + "secret": null, + "service_account_token": { + "audience": null, + "expiration_seconds": 3607, + "path": "token" + } + }, + { + "config_map": { + "items": [ + { + "key": "ca.crt", + "mode": null, + "path": "ca.crt" + } + ], + "name": "kube-root-ca.crt", + "optional": null + }, + "downward_api": null, + "secret": null, + "service_account_token": null + }, + { + "config_map": null, + "downward_api": { + "items": [ + { + "field_ref": { + "api_version": "v1", + "field_path": "metadata.namespace" + }, + "mode": null, + "path": "namespace", + "resource_field_ref": null + } + ] + }, + "secret": null, + "service_account_token": null + } + ] + }, + "quobyte": null, + "rbd": null, + "scale_io": null, + "secret": null, + "storageos": null, + "vsphere_volume": null + } + ] + }, + "status": { + "conditions": [ + { + "last_probe_time": null, + "last_transition_time": "2023-05-04T20:30:52+00:00", + "message": null, + "reason": null, + "status": "True", + "type": "Initialized" + }, + { + "last_probe_time": null, + "last_transition_time": "2023-05-04T20:30:52+00:00", + "message": null, + "reason": null, + "status": "True", + "type": "Ready" + }, + { + "last_probe_time": null, + "last_transition_time": "2023-05-04T20:30:52+00:00", + "message": null, + "reason": null, + "status": "True", + "type": "ContainersReady" + }, + { + "last_probe_time": null, + "last_transition_time": "2023-05-04T20:30:52+00:00", + "message": null, + "reason": null, + "status": "True", + "type": "PodScheduled" + } + ], + "container_statuses": [ + { + "container_id": "containerd://047bd91d0f97b407027597509ee9fb3aab2ba0d22f7b2f3f5ce4f752805d99c7", + "image": "docker.io/cockroachdb/cockroach-operator:v2.7.0", + "image_id": "docker.io/library/import-2023-05-04@sha256:5c5b320a3785185e893eefcb40debe5f237dfe8493f73ab573c12da6a5083449", + "last_state": { + "running": null, + "terminated": null, + "waiting": null + }, + "name": "cockroach-operator", + "ready": true, + "restart_count": 0, + "started": true, + "state": { + "running": { + "started_at": "2023-05-04T20:30:52+00:00" + }, + "terminated": null, + "waiting": null + } + } + ], + "ephemeral_container_statuses": null, + "host_ip": "172.18.0.3", + "init_container_statuses": null, + "message": null, + "nominated_node_name": null, + "phase": "Running", + "pod_ip": "10.244.1.2", + "pod_i_ps": [ + { + "ip": "10.244.1.2" + } + ], + "qos_class": "Burstable", + "reason": null, + "start_time": "2023-05-04T20:30:52+00:00" + } + } + ] + }, + "stateful_set": { + "test-cluster": { + "api_version": null, + "kind": null, + "metadata": { + "annotations": { + "crdb.io/containerimage": "cockroachdb/cockroach:v21.2.10", + "crdb.io/last-applied": "eyJtZXRhZGF0YSI6eyJsYWJlbHMiOnsiYXBwLmt1YmVybmV0ZXMuaW8vcGFydC1vZiI6ImNvY2tyb2FjaGRiIiwiYXBwLmt1YmVybm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ImFwcC5rdWJlcm5ldGVzLmlvL2luc3RhbmNlIjoidGVzdC1jbHVzdGVyIiwiYXBwLmt1YmVybmV0ZXMuaW8vY29tcG9uZW50IjoiZGF0YWJhc2UiLCJjcmRiIjoiaXMtY29vbCIsImFwcC5rdWJlcm5ldGVzLmlvL25hbWUiOiJjb2Nrcm9hY2hkYiJ9fSwic3BlYyI6eyJyZXNvdXJjZXMiOnsicmVxdWVzdHMiOnsic3RvcmFnZSI6IjFHaSJ9fSwidm9sdW1lTW9kZSI6IkZpbGVzeXN0ZW0iLCJhY2Nlc3NNb2RlcyI6WyJSZWFkV3JpdGVPbmNlIl19LCJzdGF0dXMiOnt9fV0sInNlcnZpY2VOYW1lIjoidGVzdC1jbHVzdGVyIn0sInN0YXR1cyI6eyJyZXBsaWNhcyI6MH19", + "crdb.io/version": "v21.2.10" + }, + "creation_timestamp": "2023-05-04T20:30:58+00:00", + "deletion_grace_period_seconds": null, + "deletion_timestamp": null, + "finalizers": null, + "generate_name": null, + "generation": 1, + "labels": { + "app.kubernetes.io/component": "database", + "app.kubernetes.io/instance": "test-cluster", + "app.kubernetes.io/managed-by": "cockroach-operator", + "app.kubernetes.io/name": "cockroachdb", + "app.kubernetes.io/part-of": "cockroachdb", + "app.kubernetes.io/version": "v21.2.10", + "crdb": "is-cool" + }, + "managed_fields": [ + { + "api_version": "apps/v1", + "fields_type": "FieldsV1", + "fields_v1": { + "f:metadata": { + "f:annotations": { + ".": {}, + "f:crdb.io/containerimage": {}, + "f:crdb.io/last-applied": {}, + "f:crdb.io/version": {} + }, + "f:labels": { + ".": {}, + "f:app.kubernetes.io/component": {}, + "f:app.kubernetes.io/instance": {}, + "f:app.kubernetes.io/managed-by": {}, + "f:app.kubernetes.io/name": {}, + "f:app.kubernetes.io/part-of": {}, + "f:app.kubernetes.io/version": {}, + "f:crdb": {} + }, + "f:ownerReferences": { + ".": {}, + "k:{\"uid\":\"90ad5ef5-9c95-4092-a5e8-1582b92649ff\"}": {} + } + }, + "f:spec": { + "f:podManagementPolicy": {}, + "f:replicas": {}, + "f:revisionHistoryLimit": {}, + "f:selector": {}, + "f:serviceName": {}, + "f:template": { + "f:metadata": { + "f:labels": { + ".": {}, + "f:app.kubernetes.io/component": {}, + "f:app.kubernetes.io/instance": {}, + "f:app.kubernetes.io/name": {}, + "f:crdb": {} + } + }, + "f:spec": { + "f:automountServiceAccountToken": {}, + "f:containers": { + "k:{\"name\":\"db\"}": { + ".": {}, + "f:command": {}, + "f:env": { + ".": {}, + "k:{\"name\":\"COCKROACH_CHANNEL\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"GOMAXPROCS\"}": { + ".": {}, + "f:name": {}, + "f:valueFrom": { + ".": {}, + "f:resourceFieldRef": {} + } + }, + "k:{\"name\":\"MEMORY_LIMIT_MIB\"}": { + ".": {}, + "f:name": {}, + "f:valueFrom": { + ".": {}, + "f:resourceFieldRef": {} + } + }, + "k:{\"name\":\"POD_NAME\"}": { + ".": {}, + "f:name": {}, + "f:valueFrom": { + ".": {}, + "f:fieldRef": {} + } + } + }, + "f:image": {}, + "f:imagePullPolicy": {}, + "f:lifecycle": { + ".": {}, + "f:preStop": { + ".": {}, + "f:exec": { + ".": {}, + "f:command": {} + } + } + }, + "f:name": {}, + "f:ports": { + ".": {}, + "k:{\"containerPort\":8080,\"protocol\":\"TCP\"}": { + ".": {}, + "f:containerPort": {}, + "f:name": {}, + "f:protocol": {} + }, + "k:{\"containerPort\":26257,\"protocol\":\"TCP\"}": { + ".": {}, + "f:containerPort": {}, + "f:name": {}, + "f:protocol": {} + }, + "k:{\"containerPort\":26258,\"protocol\":\"TCP\"}": { + ".": {}, + "f:containerPort": {}, + "f:name": {}, + "f:protocol": {} + } + }, + "f:readinessProbe": { + ".": {}, + "f:failureThreshold": {}, + "f:httpGet": { + ".": {}, + "f:path": {}, + "f:port": {}, + "f:scheme": {} + }, + "f:initialDelaySeconds": {}, + "f:periodSeconds": {}, + "f:successThreshold": {}, + "f:timeoutSeconds": {} + }, + "f:resources": { + ".": {}, + "f:limits": { + ".": {}, + "f:cpu": {}, + "f:memory": {} + }, + "f:requests": { + ".": {}, + "f:cpu": {}, + "f:memory": {} + } + }, + "f:terminationMessagePath": {}, + "f:terminationMessagePolicy": {}, + "f:volumeMounts": { + ".": {}, + "k:{\"mountPath\":\"/cockroach/cockroach-certs/\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + }, + "k:{\"mountPath\":\"/cockroach/cockroach-data/\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + } + } + } + }, + "f:dnsPolicy": {}, + "f:initContainers": { + ".": {}, + "k:{\"name\":\"db-init\"}": { + ".": {}, + "f:command": {}, + "f:image": {}, + "f:imagePullPolicy": {}, + "f:name": {}, + "f:resources": {}, + "f:securityContext": { + ".": {}, + "f:allowPrivilegeEscalation": {}, + "f:runAsUser": {} + }, + "f:terminationMessagePath": {}, + "f:terminationMessagePolicy": {}, + "f:volumeMounts": { + ".": {}, + "k:{\"mountPath\":\"/cockroach/cockroach-certs-prestage/\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + }, + "k:{\"mountPath\":\"/cockroach/cockroach-certs/\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + } + } + } + }, + "f:restartPolicy": {}, + "f:schedulerName": {}, + "f:securityContext": { + ".": {}, + "f:fsGroup": {}, + "f:runAsUser": {} + }, + "f:serviceAccount": {}, + "f:serviceAccountName": {}, + "f:terminationGracePeriodSeconds": {}, + "f:volumes": { + ".": {}, + "k:{\"name\":\"certs\"}": { + ".": {}, + "f:name": {}, + "f:projected": { + ".": {}, + "f:defaultMode": {}, + "f:sources": {} + } + }, + "k:{\"name\":\"datadir\"}": { + ".": {}, + "f:name": {}, + "f:persistentVolumeClaim": { + ".": {}, + "f:claimName": {} + } + }, + "k:{\"name\":\"emptydir\"}": { + ".": {}, + "f:emptyDir": {}, + "f:name": {} + } + } + } + }, + "f:updateStrategy": { + "f:rollingUpdate": { + ".": {}, + "f:partition": {} + }, + "f:type": {} + }, + "f:volumeClaimTemplates": {} + } + }, + "manager": "cockroach-operator", + "operation": "Update", + "subresource": null, + "time": "2023-05-04T20:30:58+00:00" + }, + { + "api_version": "apps/v1", + "fields_type": "FieldsV1", + "fields_v1": { + "f:status": { + "f:availableReplicas": {}, + "f:collisionCount": {}, + "f:currentReplicas": {}, + "f:currentRevision": {}, + "f:observedGeneration": {}, + "f:readyReplicas": {}, + "f:replicas": {}, + "f:updateRevision": {}, + "f:updatedReplicas": {} + } + }, + "manager": "kube-controller-manager", + "operation": "Update", + "subresource": "status", + "time": "2023-05-04T20:31:13+00:00" + } + ], + "name": "test-cluster", + "namespace": "cockroach-operator-system", + "owner_references": [ + { + "api_version": "crdb.cockroachlabs.com/v1alpha1", + "block_owner_deletion": true, + "controller": true, + "kind": "CrdbCluster", + "name": "test-cluster", + "uid": "90ad5ef5-9c95-4092-a5e8-1582b92649ff" + } + ], + "resource_version": "1053", + "self_link": null, + "uid": "f53f5464-2142-4d42-8f5b-bdd30e5c1acf" + }, + "spec": { + "min_ready_seconds": null, + "persistent_volume_claim_retention_policy": null, + "pod_management_policy": "Parallel", + "replicas": 3, + "revision_history_limit": 10, + "selector": { + "match_expressions": null, + "match_labels": { + "app.kubernetes.io/component": "database", + "app.kubernetes.io/instance": "test-cluster", + "app.kubernetes.io/name": "cockroachdb", + "crdb": "is-cool" + } + }, + "service_name": "test-cluster", + "template": { + "metadata": { + "annotations": null, + "creation_timestamp": null, + "deletion_grace_period_seconds": null, + "deletion_timestamp": null, + "finalizers": null, + "generate_name": null, + "generation": null, + "labels": { + "app.kubernetes.io/component": "database", + "app.kubernetes.io/instance": "test-cluster", + "app.kubernetes.io/name": "cockroachdb", + "crdb": "is-cool" + }, + "managed_fields": null, + "name": null, + "namespace": null, + "owner_references": null, + "resource_version": null, + "self_link": null, + "uid": null + }, + "spec": { + "active_deadline_seconds": null, + "affinity": null, + "automount_service_account_token": false, + "containers": [ + { + "args": null, + "command": [ + "/bin/bash", + "-ecx", + "exec /cockroach/cockroach.sh start --advertise-host=$(POD_NAME).test-cluster.cockroach-operator-system --certs-dir=/cockroach/cockroach-certs/ --http-port=8080 --sql-addr=:26257 --listen-addr=:26258 --log=\"{sinks: {stderr: {channels: [OPS, HEALTH], redact: true}}}\" --cache $(expr $MEMORY_LIMIT_MIB / 4)MiB --max-sql-memory $(expr $MEMORY_LIMIT_MIB / 4)MiB --join=test-cluster-0.test-cluster.cockroach-operator-system:26258,test-cluster-1.test-cluster.cockroach-operator-system:26258,test-cluster-2.test-cluster.cockroach-operator-system:26258" + ], + "env": [ + { + "name": "COCKROACH_CHANNEL", + "value": "kubernetes-operator-unknown", + "value_from": null + }, + { + "name": "POD_NAME", + "value": null, + "value_from": { + "config_map_key_ref": null, + "field_ref": { + "api_version": "v1", + "field_path": "metadata.name" + }, + "resource_field_ref": null, + "secret_key_ref": null + } + }, + { + "name": "GOMAXPROCS", + "value": null, + "value_from": { + "config_map_key_ref": null, + "field_ref": null, + "resource_field_ref": { + "container_name": null, + "divisor": "1", + "resource": "limits.cpu" + }, + "secret_key_ref": null + } + }, + { + "name": "MEMORY_LIMIT_MIB", + "value": null, + "value_from": { + "config_map_key_ref": null, + "field_ref": null, + "resource_field_ref": { + "container_name": null, + "divisor": "1Mi", + "resource": "limits.memory" + }, + "secret_key_ref": null + } + } + ], + "env_from": null, + "image": "cockroachdb/cockroach:v21.2.10", + "image_pull_policy": "IfNotPresent", + "lifecycle": { + "post_start": null, + "pre_stop": { + "_exec": { + "command": [ + "sh", + "-c", + "/cockroach/cockroach node drain --certs-dir=/cockroach/cockroach-certs/ || exit 0" + ] + }, + "http_get": null, + "tcp_socket": null + } + }, + "liveness_probe": null, + "name": "db", + "ports": [ + { + "container_port": 26258, + "host_ip": null, + "host_port": null, + "name": "grpc", + "protocol": "TCP" + }, + { + "container_port": 8080, + "host_ip": null, + "host_port": null, + "name": "http", + "protocol": "TCP" + }, + { + "container_port": 26257, + "host_ip": null, + "host_port": null, + "name": "sql", + "protocol": "TCP" + } + ], + "readiness_probe": { + "_exec": null, + "failure_threshold": 2, + "grpc": null, + "http_get": { + "host": null, + "http_headers": null, + "path": "/health?ready=1", + "port": "http", + "scheme": "HTTPS" + }, + "initial_delay_seconds": 10, + "period_seconds": 5, + "success_threshold": 1, + "tcp_socket": null, + "termination_grace_period_seconds": null, + "timeout_seconds": 1 + }, + "resources": { + "limits": { + "cpu": "2", + "memory": "2Gi" + }, + "requests": { + "cpu": "100m", + "memory": "1Gi" + } + }, + "security_context": null, + "startup_probe": null, + "stdin": null, + "stdin_once": null, + "termination_message_path": "/dev/termination-log", + "termination_message_policy": "File", + "tty": null, + "volume_devices": null, + "volume_mounts": [ + { + "mount_path": "/cockroach/cockroach-data/", + "mount_propagation": null, + "name": "datadir", + "read_only": null, + "sub_path": null, + "sub_path_expr": null + }, + { + "mount_path": "/cockroach/cockroach-certs/", + "mount_propagation": null, + "name": "emptydir", + "read_only": null, + "sub_path": null, + "sub_path_expr": null + } + ], + "working_dir": null + } + ], + "dns_config": null, + "dns_policy": "ClusterFirst", + "enable_service_links": null, + "ephemeral_containers": null, + "host_aliases": null, + "host_ipc": null, + "host_network": null, + "host_pid": null, + "host_users": null, + "hostname": null, + "image_pull_secrets": null, + "init_containers": [ + { + "args": null, + "command": [ + "/bin/sh", + "-c", + ">- cp -p /cockroach/cockroach-certs-prestage/..data/* /cockroach/cockroach-certs/ && chmod 700 /cockroach/cockroach-certs/*.key && chown 1000581000:1000581000 /cockroach/cockroach-certs/*.key" + ], + "env": null, + "env_from": null, + "image": "cockroachdb/cockroach:v21.2.10", + "image_pull_policy": "IfNotPresent", + "lifecycle": null, + "liveness_probe": null, + "name": "db-init", + "ports": null, + "readiness_probe": null, + "resources": { + "limits": null, + "requests": null + }, + "security_context": { + "allow_privilege_escalation": false, + "capabilities": null, + "privileged": null, + "proc_mount": null, + "read_only_root_filesystem": null, + "run_as_group": null, + "run_as_non_root": null, + "run_as_user": 0, + "se_linux_options": null, + "seccomp_profile": null, + "windows_options": null + }, + "startup_probe": null, + "stdin": null, + "stdin_once": null, + "termination_message_path": "/dev/termination-log", + "termination_message_policy": "File", + "tty": null, + "volume_devices": null, + "volume_mounts": [ + { + "mount_path": "/cockroach/cockroach-certs-prestage/", + "mount_propagation": null, + "name": "certs", + "read_only": null, + "sub_path": null, + "sub_path_expr": null + }, + { + "mount_path": "/cockroach/cockroach-certs/", + "mount_propagation": null, + "name": "emptydir", + "read_only": null, + "sub_path": null, + "sub_path_expr": null + } + ], + "working_dir": null + } + ], + "node_name": null, + "node_selector": null, + "os": null, + "overhead": null, + "preemption_policy": null, + "priority": null, + "priority_class_name": null, + "readiness_gates": null, + "restart_policy": "Always", + "runtime_class_name": null, + "scheduler_name": "default-scheduler", + "security_context": { + "fs_group": 1000581000, + "fs_group_change_policy": null, + "run_as_group": null, + "run_as_non_root": null, + "run_as_user": 1000581000, + "se_linux_options": null, + "seccomp_profile": null, + "supplemental_groups": null, + "sysctls": null, + "windows_options": null + }, + "service_account": "test-cluster-sa", + "service_account_name": "test-cluster-sa", + "set_hostname_as_fqdn": null, + "share_process_namespace": null, + "subdomain": null, + "termination_grace_period_seconds": 300, + "tolerations": null, + "topology_spread_constraints": null, + "volumes": [ + { + "aws_elastic_block_store": null, + "azure_disk": null, + "azure_file": null, + "cephfs": null, + "cinder": null, + "config_map": null, + "csi": null, + "downward_api": null, + "empty_dir": null, + "ephemeral": null, + "fc": null, + "flex_volume": null, + "flocker": null, + "gce_persistent_disk": null, + "git_repo": null, + "glusterfs": null, + "host_path": null, + "iscsi": null, + "name": "datadir", + "nfs": null, + "persistent_volume_claim": { + "claim_name": "", + "read_only": null + }, + "photon_persistent_disk": null, + "portworx_volume": null, + "projected": null, + "quobyte": null, + "rbd": null, + "scale_io": null, + "secret": null, + "storageos": null, + "vsphere_volume": null + }, + { + "aws_elastic_block_store": null, + "azure_disk": null, + "azure_file": null, + "cephfs": null, + "cinder": null, + "config_map": null, + "csi": null, + "downward_api": null, + "empty_dir": { + "medium": null, + "size_limit": null + }, + "ephemeral": null, + "fc": null, + "flex_volume": null, + "flocker": null, + "gce_persistent_disk": null, + "git_repo": null, + "glusterfs": null, + "host_path": null, + "iscsi": null, + "name": "emptydir", + "nfs": null, + "persistent_volume_claim": null, + "photon_persistent_disk": null, + "portworx_volume": null, + "projected": null, + "quobyte": null, + "rbd": null, + "scale_io": null, + "secret": null, + "storageos": null, + "vsphere_volume": null + }, + { + "aws_elastic_block_store": null, + "azure_disk": null, + "azure_file": null, + "cephfs": null, + "cinder": null, + "config_map": null, + "csi": null, + "downward_api": null, + "empty_dir": null, + "ephemeral": null, + "fc": null, + "flex_volume": null, + "flocker": null, + "gce_persistent_disk": null, + "git_repo": null, + "glusterfs": null, + "host_path": null, + "iscsi": null, + "name": "certs", + "nfs": null, + "persistent_volume_claim": null, + "photon_persistent_disk": null, + "portworx_volume": null, + "projected": { + "default_mode": 400, + "sources": [ + { + "config_map": null, + "downward_api": null, + "secret": { + "items": [ + { + "key": "ca.crt", + "mode": 504, + "path": "ca.crt" + }, + { + "key": "tls.crt", + "mode": 504, + "path": "node.crt" + }, + { + "key": "tls.key", + "mode": 400, + "path": "node.key" + } + ], + "name": "test-cluster-node", + "optional": null + }, + "service_account_token": null + }, + { + "config_map": null, + "downward_api": null, + "secret": { + "items": [ + { + "key": "tls.crt", + "mode": 504, + "path": "client.root.crt" + }, + { + "key": "tls.key", + "mode": 400, + "path": "client.root.key" + } + ], + "name": "test-cluster-root", + "optional": null + }, + "service_account_token": null + } + ] + }, + "quobyte": null, + "rbd": null, + "scale_io": null, + "secret": null, + "storageos": null, + "vsphere_volume": null + } + ] + } + }, + "update_strategy": { + "rolling_update": { + "max_unavailable": null, + "partition": 0 + }, + "type": "RollingUpdate" + }, + "volume_claim_templates": [ + { + "api_version": "v1", + "kind": "PersistentVolumeClaim", + "metadata": { + "annotations": null, + "creation_timestamp": null, + "deletion_grace_period_seconds": null, + "deletion_timestamp": null, + "finalizers": null, + "generate_name": null, + "generation": null, + "labels": { + "app.kubernetes.io/component": "database", + "app.kubernetes.io/instance": "test-cluster", + "app.kubernetes.io/name": "cockroachdb", + "crdb": "is-cool" + }, + "managed_fields": null, + "name": "datadir", + "namespace": null, + "owner_references": null, + "resource_version": null, + "self_link": null, + "uid": null + }, + "spec": { + "access_modes": [ + "ReadWriteOnce" + ], + "data_source": null, + "data_source_ref": null, + "resources": { + "limits": null, + "requests": { + "storage": "1Gi" + } + }, + "selector": null, + "storage_class_name": null, + "volume_mode": "Filesystem", + "volume_name": null + }, + "status": { + "access_modes": null, + "allocated_resources": null, + "capacity": null, + "conditions": null, + "phase": "Pending", + "resize_status": null + } + } + ] + }, + "status": { + "available_replicas": 3, + "collision_count": 0, + "conditions": null, + "current_replicas": 3, + "current_revision": "test-cluster-76f9c78d88", + "observed_generation": 1, + "ready_replicas": 3, + "replicas": 3, + "update_revision": "test-cluster-76f9c78d88", + "updated_replicas": 3 + } + } + }, + "deployment": { + "cockroach-operator-manager": { + "api_version": null, + "kind": null, + "metadata": { + "annotations": { + "deployment.kubernetes.io/revision": "2" + }, + "creation_timestamp": "2023-05-04T20:30:22+00:00", + "deletion_grace_period_seconds": null, + "deletion_timestamp": null, + "finalizers": null, + "generate_name": null, + "generation": 2, + "labels": { + "acto/tag": "operator-deployment", + "app": "cockroach-operator" + }, + "managed_fields": [ + { + "api_version": "apps/v1", + "fields_type": "FieldsV1", + "fields_v1": { + "f:metadata": { + "f:labels": { + "f:app": {} + } + }, + "f:spec": { + "f:replicas": {}, + "f:selector": {}, + "f:template": { + "f:metadata": { + "f:labels": { + "f:app": {} + } + }, + "f:spec": { + "f:containers": { + "k:{\"name\":\"cockroach-operator\"}": { + ".": {}, + "f:args": {}, + "f:env": { + "k:{\"name\":\"NAMESPACE\"}": { + ".": {}, + "f:name": {}, + "f:valueFrom": { + "f:fieldRef": {} + } + }, + "k:{\"name\":\"OPERATOR_NAME\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"POD_NAME\"}": { + ".": {}, + "f:name": {}, + "f:valueFrom": { + "f:fieldRef": {} + } + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v20_1_11\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v20_1_12\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v20_1_13\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v20_1_15\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v20_1_16\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v20_1_17\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v20_1_4\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v20_1_5\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v20_1_8\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v20_2_0\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v20_2_1\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v20_2_10\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v20_2_11\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v20_2_12\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v20_2_13\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v20_2_14\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v20_2_15\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v20_2_16\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v20_2_17\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v20_2_18\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v20_2_19\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v20_2_2\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v20_2_3\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v20_2_4\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v20_2_5\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v20_2_6\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v20_2_8\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v20_2_9\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v21_1_0\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v21_1_1\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v21_1_10\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v21_1_11\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v21_1_12\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v21_1_13\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v21_1_14\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v21_1_15\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v21_1_16\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v21_1_17\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v21_1_18\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v21_1_19\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v21_1_2\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v21_1_3\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v21_1_4\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v21_1_5\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v21_1_6\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v21_1_7\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v21_1_9\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v21_2_0\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v21_2_1\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v21_2_10\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v21_2_2\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v21_2_3\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v21_2_4\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v21_2_5\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v21_2_7\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v21_2_8\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"RELATED_IMAGE_COCKROACH_v21_2_9\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + } + }, + "f:image": {}, + "f:imagePullPolicy": {}, + "f:name": {}, + "f:resources": { + "f:requests": { + "f:cpu": {}, + "f:memory": {} + } + } + } + }, + "f:serviceAccountName": {} + } + } + } + }, + "manager": "kubectl", + "operation": "Apply", + "subresource": null, + "time": "2023-05-04T20:30:22+00:00" + }, + { + "api_version": "apps/v1", + "fields_type": "FieldsV1", + "fields_v1": { + "f:metadata": { + "f:labels": { + "f:acto/tag": {} + } + }, + "f:spec": { + "f:template": { + "f:metadata": { + "f:labels": { + "f:acto/tag": {} + } + } + } + } + }, + "manager": "OpenAPI-Generator", + "operation": "Update", + "subresource": null, + "time": "2023-05-04T20:30:52+00:00" + }, + { + "api_version": "apps/v1", + "fields_type": "FieldsV1", + "fields_v1": { + "f:metadata": { + "f:annotations": { + ".": {}, + "f:deployment.kubernetes.io/revision": {} + } + }, + "f:status": { + "f:availableReplicas": {}, + "f:conditions": { + ".": {}, + "k:{\"type\":\"Available\"}": { + ".": {}, + "f:lastTransitionTime": {}, + "f:lastUpdateTime": {}, + "f:message": {}, + "f:reason": {}, + "f:status": {}, + "f:type": {} + }, + "k:{\"type\":\"Progressing\"}": { + ".": {}, + "f:lastTransitionTime": {}, + "f:lastUpdateTime": {}, + "f:message": {}, + "f:reason": {}, + "f:status": {}, + "f:type": {} + } + }, + "f:observedGeneration": {}, + "f:readyReplicas": {}, + "f:replicas": {}, + "f:updatedReplicas": {} + } + }, + "manager": "kube-controller-manager", + "operation": "Update", + "subresource": "status", + "time": "2023-05-04T20:30:52+00:00" + } + ], + "name": "cockroach-operator-manager", + "namespace": "cockroach-operator-system", + "owner_references": null, + "resource_version": "815", + "self_link": null, + "uid": "547fbf16-3bfd-4004-8625-ec4f04413331" + }, + "spec": { + "min_ready_seconds": null, + "paused": null, + "progress_deadline_seconds": 600, + "replicas": 1, + "revision_history_limit": 10, + "selector": { + "match_expressions": null, + "match_labels": { + "app": "cockroach-operator" + } + }, + "strategy": { + "rolling_update": { + "max_surge": "25%", + "max_unavailable": "25%" + }, + "type": "RollingUpdate" + }, + "template": { + "metadata": { + "annotations": null, + "creation_timestamp": null, + "deletion_grace_period_seconds": null, + "deletion_timestamp": null, + "finalizers": null, + "generate_name": null, + "generation": null, + "labels": { + "acto/tag": "operator-pod", + "app": "cockroach-operator" + }, + "managed_fields": null, + "name": null, + "namespace": null, + "owner_references": null, + "resource_version": null, + "self_link": null, + "uid": null + }, + "spec": { + "active_deadline_seconds": null, + "affinity": null, + "automount_service_account_token": null, + "containers": [ + { + "args": [ + "-zap-log-level", + "info", + "-feature-gates", + "TopologySpreadRules=true,AffinityRules=true,TolerationRules=true" + ], + "command": null, + "env": [ + { + "name": "RELATED_IMAGE_COCKROACH_v20_1_4", + "value": "cockroachdb/cockroach:v20.1.4", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v20_1_5", + "value": "cockroachdb/cockroach:v20.1.5", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v20_1_8", + "value": "cockroachdb/cockroach:v20.1.8", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v20_1_11", + "value": "cockroachdb/cockroach:v20.1.11", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v20_1_12", + "value": "cockroachdb/cockroach:v20.1.12", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v20_1_13", + "value": "cockroachdb/cockroach:v20.1.13", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v20_1_15", + "value": "cockroachdb/cockroach:v20.1.15", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v20_1_16", + "value": "cockroachdb/cockroach:v20.1.16", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v20_1_17", + "value": "cockroachdb/cockroach:v20.1.17", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v20_2_0", + "value": "cockroachdb/cockroach:v20.2.0", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v20_2_1", + "value": "cockroachdb/cockroach:v20.2.1", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v20_2_2", + "value": "cockroachdb/cockroach:v20.2.2", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v20_2_3", + "value": "cockroachdb/cockroach:v20.2.3", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v20_2_4", + "value": "cockroachdb/cockroach:v20.2.4", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v20_2_5", + "value": "cockroachdb/cockroach:v20.2.5", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v20_2_6", + "value": "cockroachdb/cockroach:v20.2.6", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v20_2_8", + "value": "cockroachdb/cockroach:v20.2.8", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v20_2_9", + "value": "cockroachdb/cockroach:v20.2.9", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v20_2_10", + "value": "cockroachdb/cockroach:v20.2.10", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v20_2_11", + "value": "cockroachdb/cockroach:v20.2.11", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v20_2_12", + "value": "cockroachdb/cockroach:v20.2.12", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v20_2_13", + "value": "cockroachdb/cockroach:v20.2.13", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v20_2_14", + "value": "cockroachdb/cockroach:v20.2.14", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v20_2_15", + "value": "cockroachdb/cockroach:v20.2.15", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v20_2_16", + "value": "cockroachdb/cockroach:v20.2.16", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v20_2_17", + "value": "cockroachdb/cockroach:v20.2.17", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v20_2_18", + "value": "cockroachdb/cockroach:v20.2.18", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v20_2_19", + "value": "cockroachdb/cockroach:v20.2.19", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v21_1_0", + "value": "cockroachdb/cockroach:v21.1.0", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v21_1_1", + "value": "cockroachdb/cockroach:v21.1.1", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v21_1_2", + "value": "cockroachdb/cockroach:v21.1.2", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v21_1_3", + "value": "cockroachdb/cockroach:v21.1.3", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v21_1_4", + "value": "cockroachdb/cockroach:v21.1.4", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v21_1_5", + "value": "cockroachdb/cockroach:v21.1.5", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v21_1_6", + "value": "cockroachdb/cockroach:v21.1.6", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v21_1_7", + "value": "cockroachdb/cockroach:v21.1.7", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v21_1_9", + "value": "cockroachdb/cockroach:v21.1.9", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v21_1_10", + "value": "cockroachdb/cockroach:v21.1.10", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v21_1_11", + "value": "cockroachdb/cockroach:v21.1.11", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v21_1_12", + "value": "cockroachdb/cockroach:v21.1.12", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v21_1_13", + "value": "cockroachdb/cockroach:v21.1.13", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v21_1_14", + "value": "cockroachdb/cockroach:v21.1.14", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v21_1_15", + "value": "cockroachdb/cockroach:v21.1.15", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v21_1_16", + "value": "cockroachdb/cockroach:v21.1.16", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v21_1_17", + "value": "cockroachdb/cockroach:v21.1.17", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v21_1_18", + "value": "cockroachdb/cockroach:v21.1.18", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v21_1_19", + "value": "cockroachdb/cockroach:v21.1.19", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v21_2_0", + "value": "cockroachdb/cockroach:v21.2.0", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v21_2_1", + "value": "cockroachdb/cockroach:v21.2.1", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v21_2_2", + "value": "cockroachdb/cockroach:v21.2.2", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v21_2_3", + "value": "cockroachdb/cockroach:v21.2.3", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v21_2_4", + "value": "cockroachdb/cockroach:v21.2.4", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v21_2_5", + "value": "cockroachdb/cockroach:v21.2.5", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v21_2_7", + "value": "cockroachdb/cockroach:v21.2.7", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v21_2_8", + "value": "cockroachdb/cockroach:v21.2.8", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v21_2_9", + "value": "cockroachdb/cockroach:v21.2.9", + "value_from": null + }, + { + "name": "RELATED_IMAGE_COCKROACH_v21_2_10", + "value": "cockroachdb/cockroach:v21.2.10", + "value_from": null + }, + { + "name": "OPERATOR_NAME", + "value": "cockroachdb", + "value_from": null + }, + { + "name": "POD_NAME", + "value": null, + "value_from": { + "config_map_key_ref": null, + "field_ref": { + "api_version": "v1", + "field_path": "metadata.name" + }, + "resource_field_ref": null, + "secret_key_ref": null + } + }, + { + "name": "NAMESPACE", + "value": null, + "value_from": { + "config_map_key_ref": null, + "field_ref": { + "api_version": "v1", + "field_path": "metadata.namespace" + }, + "resource_field_ref": null, + "secret_key_ref": null + } + } + ], + "env_from": null, + "image": "cockroachdb/cockroach-operator:v2.7.0", + "image_pull_policy": "IfNotPresent", + "lifecycle": null, + "liveness_probe": null, + "name": "cockroach-operator", + "ports": null, + "readiness_probe": null, + "resources": { + "limits": null, + "requests": { + "cpu": "10m", + "memory": "32Mi" + } + }, + "security_context": null, + "startup_probe": null, + "stdin": null, + "stdin_once": null, + "termination_message_path": "/dev/termination-log", + "termination_message_policy": "File", + "tty": null, + "volume_devices": null, + "volume_mounts": null, + "working_dir": null + } + ], + "dns_config": null, + "dns_policy": "ClusterFirst", + "enable_service_links": null, + "ephemeral_containers": null, + "host_aliases": null, + "host_ipc": null, + "host_network": null, + "host_pid": null, + "host_users": null, + "hostname": null, + "image_pull_secrets": null, + "init_containers": null, + "node_name": null, + "node_selector": null, + "os": null, + "overhead": null, + "preemption_policy": null, + "priority": null, + "priority_class_name": null, + "readiness_gates": null, + "restart_policy": "Always", + "runtime_class_name": null, + "scheduler_name": "default-scheduler", + "security_context": { + "fs_group": null, + "fs_group_change_policy": null, + "run_as_group": null, + "run_as_non_root": null, + "run_as_user": null, + "se_linux_options": null, + "seccomp_profile": null, + "supplemental_groups": null, + "sysctls": null, + "windows_options": null + }, + "service_account": "cockroach-operator-sa", + "service_account_name": "cockroach-operator-sa", + "set_hostname_as_fqdn": null, + "share_process_namespace": null, + "subdomain": null, + "termination_grace_period_seconds": 30, + "tolerations": null, + "topology_spread_constraints": null, + "volumes": null + } + } + }, + "status": { + "available_replicas": 1, + "collision_count": null, + "conditions": [ + { + "last_transition_time": "2023-05-04T20:30:22+00:00", + "last_update_time": "2023-05-04T20:30:22+00:00", + "message": "Deployment has minimum availability.", + "reason": "MinimumReplicasAvailable", + "status": "True", + "type": "Available" + }, + { + "last_transition_time": "2023-05-04T20:30:22+00:00", + "last_update_time": "2023-05-04T20:30:52+00:00", + "message": "ReplicaSet \"cockroach-operator-manager-64c489884\" has successfully progressed.", + "reason": "NewReplicaSetAvailable", + "status": "True", + "type": "Progressing" + } + ], + "observed_generation": 2, + "ready_replicas": 1, + "replicas": 1, + "unavailable_replicas": null, + "updated_replicas": 1 + } + } + }, + "config_map": { + "kube-root-ca.crt": { + "api_version": null, + "binary_data": null, + "data": { + "ca.crt": "-----BEGIN CERTIFICATE-----\nMIIC/jCCAeagAwIBAgIBADANBgkqhkiG9w0BAQsFADAVMRMwEQYDVQQDEwprdWJl\ncm5ldGVzMB4XDTIzMDUwNDIwMjkxMFoXDTMzMDUwMTIwMjkxMFowFTETMBEGA1UE\nAxMKa3ViZXJuZXRlczCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAOZZ\nNBiE5imKYNYWQsDL7HJDSm2L+ocFPlh1vTf2uGhktpKbD6ITd2HvJBGnbznEq573\nFR+8KpXqozRTEFDZo+OIs8y6IcVIJSHTD/LhbHE9xP2QFWIEaIHrbFwktet5wuL+\nkfJbYqdompXlzSaORjo0fG6KXA/5UBoeylU4zFRpcP/QSHa2blKko/IBWpuL4OEM\n1NeiOaMGea9kUivd06JFKucvv79dmKL03PA4LF13IDYFAE0YMXpq/Kp7cWXg7oKP\naPEP84rxtVddY3pDEdPR8GhbV/zIfJjjmaV3hqjbbW8sXc/MKMddx+XPZTjYGbgy\n3egJodTUokl3mL4zhQ0CAwEAAaNZMFcwDgYDVR0PAQH/BAQDAgKkMA8GA1UdEwEB\n/wQFMAMBAf8wHQYDVR0OBBYEFHQXllc6/knTcwTAgSM2L8Y9CaKmMBUGA1UdEQQO\nMAyCCmt1YmVybmV0ZXMwDQYJKoZIhvcNAQELBQADggEBAEV0ciRGe77TLxzcTZpA\npid2iF9nHg5alCebrfGZ3gnH6KhKM/otOSoA58JCzEaJxS1cUQOnVIP6i4t7WYVz\nkwEjw+8Bp3vvUpZJDaj/XTgOuztoOpbM6xX7wKHztRdI76I7gH/HPjfIrgiUM7Yo\nSNKCwpZf8tUpWUWfEBDNCtvN4OO3v2A2fREnz1ux61qtKTdR+T/aCvD7GLNB0mbu\nWBTupnmNaAEs/bB87w3OJ4PbvvCGdwm+bX+Q3iDdwqIiu78ZB8NI5RYAYB+CN7Nt\nm2tXdv3t0L7lMcG4eolqa3RXA6g515um0FzDqabtuw5+oak8rs1XfTk87uwhqxUl\nGew=\n-----END CERTIFICATE-----\n" + }, + "immutable": null, + "kind": null, + "metadata": { + "annotations": { + "kubernetes.io/description": "Contains a CA bundle that can be used to verify the kube-apiserver when using internal endpoints such as the internal service IP or kubernetes.default.svc. No other usage is guaranteed across distributions of Kubernetes clusters." + }, + "creation_timestamp": "2023-05-04T20:30:11+00:00", + "deletion_grace_period_seconds": null, + "deletion_timestamp": null, + "finalizers": null, + "generate_name": null, + "generation": null, + "labels": null, + "managed_fields": [ + { + "api_version": "v1", + "fields_type": "FieldsV1", + "fields_v1": { + "f:data": { + ".": {}, + "f:ca.crt": {} + }, + "f:metadata": { + "f:annotations": { + ".": {}, + "f:kubernetes.io/description": {} + } + } + }, + "manager": "kube-controller-manager", + "operation": "Update", + "subresource": null, + "time": "2023-05-04T20:30:11+00:00" + } + ], + "name": "kube-root-ca.crt", + "namespace": "cockroach-operator-system", + "owner_references": null, + "resource_version": "670", + "self_link": null, + "uid": "9eb7a849-3642-42b3-bb70-403ff03e3402" + } + } + }, + "service": { + "cockroach-operator-webhook-service": { + "api_version": null, + "kind": null, + "metadata": { + "annotations": null, + "creation_timestamp": "2023-05-04T20:30:22+00:00", + "deletion_grace_period_seconds": null, + "deletion_timestamp": null, + "finalizers": null, + "generate_name": null, + "generation": null, + "labels": { + "control-plane": "cockroach-operator" + }, + "managed_fields": [ + { + "api_version": "v1", + "fields_type": "FieldsV1", + "fields_v1": { + "f:metadata": { + "f:labels": { + "f:control-plane": {} + } + }, + "f:spec": { + "f:ports": { + "k:{\"port\":443,\"protocol\":\"TCP\"}": { + ".": {}, + "f:port": {}, + "f:targetPort": {} + } + }, + "f:selector": {} + } + }, + "manager": "kubectl", + "operation": "Apply", + "subresource": null, + "time": "2023-05-04T20:30:22+00:00" + } + ], + "name": "cockroach-operator-webhook-service", + "namespace": "cockroach-operator-system", + "owner_references": null, + "resource_version": "707", + "self_link": null, + "uid": "b5d2854e-2cc2-43ce-899b-ae3a86cccf69" + }, + "spec": { + "allocate_load_balancer_node_ports": null, + "cluster_ip": "10.96.203.232", + "cluster_i_ps": [ + "10.96.203.232" + ], + "external_i_ps": null, + "external_name": null, + "external_traffic_policy": null, + "health_check_node_port": null, + "internal_traffic_policy": "Cluster", + "ip_families": [ + "IPv4" + ], + "ip_family_policy": "SingleStack", + "load_balancer_class": null, + "load_balancer_ip": null, + "load_balancer_source_ranges": null, + "ports": [ + { + "app_protocol": null, + "name": null, + "node_port": null, + "port": 443, + "protocol": "TCP", + "target_port": 9443 + } + ], + "publish_not_ready_addresses": null, + "selector": { + "app": "cockroach-operator" + }, + "session_affinity": "None", + "session_affinity_config": null, + "type": "ClusterIP" + }, + "status": { + "conditions": null, + "load_balancer": { + "ingress": null + } + } + }, + "test-cluster": { + "api_version": null, + "kind": null, + "metadata": { + "annotations": { + "crdb.io/last-applied": "eyJzcGVjIjp7InB1Ymxpc2hOb3RSZWFkeUFkZHJlc3NlcyI6dHJ1ZSwicG9ydHMiOlt7InBvcnQiOjI2MjU4LCJuYW1lIjoiZ3JwYyJ9LHsibmFtZSI6Imh0dHAiLCJwb3J0Ijo4MDgwfSx7Im5hbWUiOiJzcWwiLCJwb3J0IjoyNjI1N31dLCJzZWxlY3RvciI6eyJhcHAua3ViZXJuZXRlcy5pby9pbnN0YW5jZSI6InRlc3QtY2x1c3RlciIsImFwcC5rdWJlcm5ldGVzLmlvL2NvbXBvbmVudCI6ImRhdGFiYXNlIiwiY3JkYiI6ImlzLWNvb2wiLCJhcHAua3ViZXJuZXRlcy5pby9uYW1lIjoiY29ja3JvYWNoZGIifSwiY2x1c3RlcklQIjoiTm9uZSJ9LCJzdGF0dXMiOnsibG9hZEJhbGFuY2VyIjp7fX0sIm1ldGFkYXRhIjp7ImxhYmVscyI6eyJhcHAua3ViZXJuZXRlcy5pby9jb21wb25lbnQiOiJkYXRhYmFzZSIsImFwcC5rdWJlcm5ldGVzLmlvL21hbmFnZWQtYnkiOiJjb2Nrcm9hY2gtb3BlcmF0b3IiLCJjcmRiIjoiaXMtY29vbCIsImFwcC5rdWJlcm5ldGVzLmlvL3BhcnQtb2YiOiJjb2Nrcm9hY2hkYiIsImFwcC5rdWJlcm5ldGVzLmlvL25hbWUiOiJjb2Nrcm9hY2hkYiIsImFwcC5rdWJlcm5ldGVzLmlvL2luc3RhbmNlIjoidGVzdC1jbHVzdGVyIiwiYXBwLmt1YmVybmV0ZXMuaW8vdmVyc2lvbiI6InYyMS4yLjEwIn0sImFubm90YXRpb25zIjp7InByb21ldGhldXMuaW8vc2NyYXBlIjoidHJ1ZSIsInByb21ldGhldXMuaW8vcGF0aCI6Il9zdGF0dXMvdmFycyIsInByb21ldGhldXMuaW8vcG9ydCI6IjgwODAifSwib3duZXJSZWZlcmVuY2VzIjpbeyJraW5kIjoiQ3JkYkNsdXN0ZXIiLCJuYW1lIjoidGVzdC1jbHVzdGVyIiwidWlkIjoiOTBhZDVlZjUtOWM5NS00MDkyLWE1ZTgtMTU4MmI5MjY0OWZmIiwiY29udHJvbGxlciI6dHJ1ZSwiYmxvY2tPd25lckRlbGV0aW9uIjp0cnVlLCJhcGlWZXJzaW9uIjoiY3JkYi5jb2Nrcm9hY2hsYWJzLmNvbS92MWFscGhhMSJ9XSwibmFtZSI6InRlc3QtY2x1c3RlciIsIm5hbWVzcGFjZSI6ImNvY2tyb2FjaC1vcGVyYXRvci1zeXN0ZW0ifX0=", + "prometheus.io/path": "_status/vars", + "prometheus.io/port": "8080", + "prometheus.io/scrape": "true" + }, + "creation_timestamp": "2023-05-04T20:30:57+00:00", + "deletion_grace_period_seconds": null, + "deletion_timestamp": null, + "finalizers": null, + "generate_name": null, + "generation": null, + "labels": { + "app.kubernetes.io/component": "database", + "app.kubernetes.io/instance": "test-cluster", + "app.kubernetes.io/managed-by": "cockroach-operator", + "app.kubernetes.io/name": "cockroachdb", + "app.kubernetes.io/part-of": "cockroachdb", + "app.kubernetes.io/version": "v21.2.10", + "crdb": "is-cool" + }, + "managed_fields": [ + { + "api_version": "v1", + "fields_type": "FieldsV1", + "fields_v1": { + "f:metadata": { + "f:annotations": { + ".": {}, + "f:crdb.io/last-applied": {}, + "f:prometheus.io/path": {}, + "f:prometheus.io/port": {}, + "f:prometheus.io/scrape": {} + }, + "f:labels": { + ".": {}, + "f:app.kubernetes.io/component": {}, + "f:app.kubernetes.io/instance": {}, + "f:app.kubernetes.io/managed-by": {}, + "f:app.kubernetes.io/name": {}, + "f:app.kubernetes.io/part-of": {}, + "f:app.kubernetes.io/version": {}, + "f:crdb": {} + }, + "f:ownerReferences": { + ".": {}, + "k:{\"uid\":\"90ad5ef5-9c95-4092-a5e8-1582b92649ff\"}": {} + } + }, + "f:spec": { + "f:clusterIP": {}, + "f:internalTrafficPolicy": {}, + "f:ports": { + ".": {}, + "k:{\"port\":8080,\"protocol\":\"TCP\"}": { + ".": {}, + "f:name": {}, + "f:port": {}, + "f:protocol": {}, + "f:targetPort": {} + }, + "k:{\"port\":26257,\"protocol\":\"TCP\"}": { + ".": {}, + "f:name": {}, + "f:port": {}, + "f:protocol": {}, + "f:targetPort": {} + }, + "k:{\"port\":26258,\"protocol\":\"TCP\"}": { + ".": {}, + "f:name": {}, + "f:port": {}, + "f:protocol": {}, + "f:targetPort": {} + } + }, + "f:publishNotReadyAddresses": {}, + "f:selector": {}, + "f:sessionAffinity": {}, + "f:type": {} + } + }, + "manager": "cockroach-operator", + "operation": "Update", + "subresource": null, + "time": "2023-05-04T20:30:57+00:00" + } + ], + "name": "test-cluster", + "namespace": "cockroach-operator-system", + "owner_references": [ + { + "api_version": "crdb.cockroachlabs.com/v1alpha1", + "block_owner_deletion": true, + "controller": true, + "kind": "CrdbCluster", + "name": "test-cluster", + "uid": "90ad5ef5-9c95-4092-a5e8-1582b92649ff" + } + ], + "resource_version": "860", + "self_link": null, + "uid": "a616b52c-0291-4bec-bd00-5238bd0c2df7" + }, + "spec": { + "allocate_load_balancer_node_ports": null, + "cluster_ip": "None", + "cluster_i_ps": [ + "None" + ], + "external_i_ps": null, + "external_name": null, + "external_traffic_policy": null, + "health_check_node_port": null, + "internal_traffic_policy": "Cluster", + "ip_families": [ + "IPv4" + ], + "ip_family_policy": "SingleStack", + "load_balancer_class": null, + "load_balancer_ip": null, + "load_balancer_source_ranges": null, + "ports": [ + { + "app_protocol": null, + "name": "grpc", + "node_port": null, + "port": 26258, + "protocol": "TCP", + "target_port": 26258 + }, + { + "app_protocol": null, + "name": "http", + "node_port": null, + "port": 8080, + "protocol": "TCP", + "target_port": 8080 + }, + { + "app_protocol": null, + "name": "sql", + "node_port": null, + "port": 26257, + "protocol": "TCP", + "target_port": 26257 + } + ], + "publish_not_ready_addresses": true, + "selector": { + "app.kubernetes.io/component": "database", + "app.kubernetes.io/instance": "test-cluster", + "app.kubernetes.io/name": "cockroachdb", + "crdb": "is-cool" + }, + "session_affinity": "None", + "session_affinity_config": null, + "type": "ClusterIP" + }, + "status": { + "conditions": null, + "load_balancer": { + "ingress": null + } + } + }, + "test-cluster-public": { + "api_version": null, + "kind": null, + "metadata": { + "annotations": { + "crdb.io/last-applied": "eyJtZXRhZGF0YSI6eyJuYW1lc3BhY2UiOiJjb2Nrcm9hY2gtb3BlcmF0b3Itc3lzdGVtIiwibGFiZWxzIjp7ImNyZGIiOiJpcy1jb29sIiwiYXBwLmt1YmVybmV0ZXMuaW8vcGFydC1vZiI6ImNvY2tyb2FjaGRiIiwiYXBwLmt1YmVybmV0ZXMuaW8vbmFtZSI6ImNvY2tyb2FjaGRiIiwiYXBwLmt1YmVybmV0ZXMuaW8vaW5zdGFuY2UiOiJ0ZXN0LWNsdXN0ZXIiLCJhcHAua3ViZXJuZXRlcy5pby92ZXJzaW9uIjoidjIxLjIuMTAiLCJhcHAua3ViZXJuZXRlcy5pby9jb21wb25lbnQiOiJkYXRhYmFzZSIsImFwcC5rdWJlcm5ldGVzLmlvL21hbmFnZWQtYnkiOiJjb2Nrcm9hY2gtb3BlcmF0b3IifSwib3duZXJSZWZlcmVuY2VzIjpbeyJhcGlWZXJzaW9uIjoiY3JkYi5jb2Nrcm9hY2hsYWJzLmNvbS92MWFscGhhMSIsImtpbmQiOiJDcmRiQ2x1c3RlciIsIm5hbWUiOiJ0ZXN0LWNsdXN0ZXIiLCJ1aWQiOiI5MGFkNWVmNS05Yzk1LTQwOTItYTVlOC0xNTgyYjkyNjQ5ZmYiLCJjb250cm9sbGVyIjp0cnVlLCJibG9ja093bmVyRGVsZXRpb24iOnRydWV9XSwibmFtZSI6InRlc3QtY2x1c3Rlci1wdWJsaWMifSwic3BlYyI6eyJwb3J0cyI6W3sibmFtZSI6ImdycGMiLCJwb3J0IjoyNjI1OH0seyJuYW1lIjoiaHR0cCIsInBvcnQiOjgwODB9LHsibmFtZSI6InNxbCIsInBvcnQiOjI2MjU3fV0sInNlbGVjdG9yIjp7ImFwcC5rdWJlcm5ldGVzLmlvL25hbWUiOiJjb2Nrcm9hY2hkYiIsImFwcC5rdWJlcm5ldGVzLmlvL2luc3RhbmNlIjoidGVzdC1jbHVzdGVyIiwiYXBwLmt1YmVybmV0ZXMuaW8vY29tcG9uZW50IjoiZGF0YWJhc2UiLCJjcmRiIjoiaXMtY29vbCJ9LCJ0eXBlIjoiQ2x1c3RlcklQIn0sInN0YXR1cyI6eyJsb2FkQmFsYW5jZXIiOnt9fX0=" + }, + "creation_timestamp": "2023-05-04T20:30:57+00:00", + "deletion_grace_period_seconds": null, + "deletion_timestamp": null, + "finalizers": null, + "generate_name": null, + "generation": null, + "labels": { + "app.kubernetes.io/component": "database", + "app.kubernetes.io/instance": "test-cluster", + "app.kubernetes.io/managed-by": "cockroach-operator", + "app.kubernetes.io/name": "cockroachdb", + "app.kubernetes.io/part-of": "cockroachdb", + "app.kubernetes.io/version": "v21.2.10", + "crdb": "is-cool" + }, + "managed_fields": [ + { + "api_version": "v1", + "fields_type": "FieldsV1", + "fields_v1": { + "f:metadata": { + "f:annotations": { + ".": {}, + "f:crdb.io/last-applied": {} + }, + "f:labels": { + ".": {}, + "f:app.kubernetes.io/component": {}, + "f:app.kubernetes.io/instance": {}, + "f:app.kubernetes.io/managed-by": {}, + "f:app.kubernetes.io/name": {}, + "f:app.kubernetes.io/part-of": {}, + "f:app.kubernetes.io/version": {}, + "f:crdb": {} + }, + "f:ownerReferences": { + ".": {}, + "k:{\"uid\":\"90ad5ef5-9c95-4092-a5e8-1582b92649ff\"}": {} + } + }, + "f:spec": { + "f:internalTrafficPolicy": {}, + "f:ports": { + ".": {}, + "k:{\"port\":8080,\"protocol\":\"TCP\"}": { + ".": {}, + "f:name": {}, + "f:port": {}, + "f:protocol": {}, + "f:targetPort": {} + }, + "k:{\"port\":26257,\"protocol\":\"TCP\"}": { + ".": {}, + "f:name": {}, + "f:port": {}, + "f:protocol": {}, + "f:targetPort": {} + }, + "k:{\"port\":26258,\"protocol\":\"TCP\"}": { + ".": {}, + "f:name": {}, + "f:port": {}, + "f:protocol": {}, + "f:targetPort": {} + } + }, + "f:selector": {}, + "f:sessionAffinity": {}, + "f:type": {} + } + }, + "manager": "cockroach-operator", + "operation": "Update", + "subresource": null, + "time": "2023-05-04T20:30:57+00:00" + } + ], + "name": "test-cluster-public", + "namespace": "cockroach-operator-system", + "owner_references": [ + { + "api_version": "crdb.cockroachlabs.com/v1alpha1", + "block_owner_deletion": true, + "controller": true, + "kind": "CrdbCluster", + "name": "test-cluster", + "uid": "90ad5ef5-9c95-4092-a5e8-1582b92649ff" + } + ], + "resource_version": "864", + "self_link": null, + "uid": "f0467d46-ca97-42f6-9d3a-87f27dddc7fe" + }, + "spec": { + "allocate_load_balancer_node_ports": null, + "cluster_ip": "10.96.43.219", + "cluster_i_ps": [ + "10.96.43.219" + ], + "external_i_ps": null, + "external_name": null, + "external_traffic_policy": null, + "health_check_node_port": null, + "internal_traffic_policy": "Cluster", + "ip_families": [ + "IPv4" + ], + "ip_family_policy": "SingleStack", + "load_balancer_class": null, + "load_balancer_ip": null, + "load_balancer_source_ranges": null, + "ports": [ + { + "app_protocol": null, + "name": "grpc", + "node_port": null, + "port": 26258, + "protocol": "TCP", + "target_port": 26258 + }, + { + "app_protocol": null, + "name": "http", + "node_port": null, + "port": 8080, + "protocol": "TCP", + "target_port": 8080 + }, + { + "app_protocol": null, + "name": "sql", + "node_port": null, + "port": 26257, + "protocol": "TCP", + "target_port": 26257 + } + ], + "publish_not_ready_addresses": null, + "selector": { + "app.kubernetes.io/component": "database", + "app.kubernetes.io/instance": "test-cluster", + "app.kubernetes.io/name": "cockroachdb", + "crdb": "is-cool" + }, + "session_affinity": "None", + "session_affinity_config": null, + "type": "ClusterIP" + }, + "status": { + "conditions": null, + "load_balancer": { + "ingress": null + } + } + } + }, + "service_account": { + "cockroach-operator-sa": { + "api_version": null, + "automount_service_account_token": null, + "image_pull_secrets": null, + "kind": null, + "metadata": { + "annotations": null, + "creation_timestamp": "2023-05-04T20:30:22+00:00", + "deletion_grace_period_seconds": null, + "deletion_timestamp": null, + "finalizers": null, + "generate_name": null, + "generation": null, + "labels": { + "app": "cockroach-operator" + }, + "managed_fields": [ + { + "api_version": "v1", + "fields_type": "FieldsV1", + "fields_v1": { + "f:metadata": { + "f:labels": { + "f:app": {} + } + } + }, + "manager": "kubectl", + "operation": "Apply", + "subresource": null, + "time": "2023-05-04T20:30:22+00:00" + }, + { + "api_version": "v1", + "fields_type": "FieldsV1", + "fields_v1": { + "f:secrets": { + ".": {}, + "k:{\"name\":\"cockroach-operator-sa-token-wzc2j\"}": {} + } + }, + "manager": "kube-controller-manager", + "operation": "Update", + "subresource": null, + "time": "2023-05-04T20:30:22+00:00" + } + ], + "name": "cockroach-operator-sa", + "namespace": "cockroach-operator-system", + "owner_references": null, + "resource_version": "704", + "self_link": null, + "uid": "aee568de-cb39-4282-8a0c-0ab30d52bfac" + }, + "secrets": [ + { + "api_version": null, + "field_path": null, + "kind": null, + "name": "cockroach-operator-sa-token-wzc2j", + "namespace": null, + "resource_version": null, + "uid": null + } + ] + }, + "default": { + "api_version": null, + "automount_service_account_token": null, + "image_pull_secrets": null, + "kind": null, + "metadata": { + "annotations": null, + "creation_timestamp": "2023-05-04T20:30:11+00:00", + "deletion_grace_period_seconds": null, + "deletion_timestamp": null, + "finalizers": null, + "generate_name": null, + "generation": null, + "labels": null, + "managed_fields": null, + "name": "default", + "namespace": "cockroach-operator-system", + "owner_references": null, + "resource_version": "672", + "self_link": null, + "uid": "be0c4503-0fc2-4746-bef6-f4067b0eb31f" + }, + "secrets": [ + { + "api_version": null, + "field_path": null, + "kind": null, + "name": "default-token-7btwd", + "namespace": null, + "resource_version": null, + "uid": null + } + ] + }, + "test-cluster-sa": { + "api_version": null, + "automount_service_account_token": null, + "image_pull_secrets": null, + "kind": null, + "metadata": { + "annotations": { + "crdb.io/last-applied": "eyJtZXRhZGF0YSI6eyJuYW1lc3BhY2UiOiJjb2Nrcm9hY2gtb3BlcmF0b3Itc3lzdGVtIiwibGFiZWxzIjp7ImFwcC5rdWJlcm5ldGVzLmlvL25hbWUiOiJjb2Nrcm9hY2hkYiIsImFwcC5rdWJlcm5ldGVzLmlvL2luc3RhbmNlIjoidGVzdC1jbHVzdGVyIiwiYXBwLmt1YmVybmV0ZXMuaW8vY29tcG9uZW50IjoiZGF0YWJhc2UiLCJhcHAua3ViZXJuZXRlcy5pby9tYW5hZ2VkLWJ5IjoiY29ja3JvYWNoLW9wZXJhdG9yIiwiY3JkYiI6ImlzLWNvb2wiLCJhcHAua3ViZXJuZXRlcy5pby9wYXJ0LW9mIjoiY29ja3JvYWNoZGIifSwib3duZXJSZWZlcmVuY2VzIjpbeyJjb250cm9sbGVyIjp0cnVlLCJibG9ja093bmVyRGVsZXRpb24iOnRydWUsImFwaVZlcnNpb24iOiJjcmRiLmNvY2tyb2FjaGxhYnMuY29tL3YxYWxwaGExIiwia2luZCI6IkNyZGJDbHVzdGVyIiwibmFtZSI6InRlc3QtY2x1c3RlciIsInVpZCI6IjkwYWQ1ZWY1LTljOTUtNDA5Mi1hNWU4LTE1ODJiOTI2NDlmZiJ9XSwibmFtZSI6InRlc3QtY2x1c3Rlci1zYSJ9fQ==" + }, + "creation_timestamp": "2023-05-04T20:30:56+00:00", + "deletion_grace_period_seconds": null, + "deletion_timestamp": null, + "finalizers": null, + "generate_name": null, + "generation": null, + "labels": { + "app.kubernetes.io/component": "database", + "app.kubernetes.io/instance": "test-cluster", + "app.kubernetes.io/managed-by": "cockroach-operator", + "app.kubernetes.io/name": "cockroachdb", + "app.kubernetes.io/part-of": "cockroachdb", + "crdb": "is-cool" + }, + "managed_fields": [ + { + "api_version": "v1", + "fields_type": "FieldsV1", + "fields_v1": { + "f:metadata": { + "f:annotations": { + ".": {}, + "f:crdb.io/last-applied": {} + }, + "f:labels": { + ".": {}, + "f:app.kubernetes.io/component": {}, + "f:app.kubernetes.io/instance": {}, + "f:app.kubernetes.io/managed-by": {}, + "f:app.kubernetes.io/name": {}, + "f:app.kubernetes.io/part-of": {}, + "f:crdb": {} + }, + "f:ownerReferences": { + ".": {}, + "k:{\"uid\":\"90ad5ef5-9c95-4092-a5e8-1582b92649ff\"}": {} + } + } + }, + "manager": "cockroach-operator", + "operation": "Update", + "subresource": null, + "time": "2023-05-04T20:30:56+00:00" + }, + { + "api_version": "v1", + "fields_type": "FieldsV1", + "fields_v1": { + "f:secrets": { + ".": {}, + "k:{\"name\":\"test-cluster-sa-token-828tt\"}": {} + } + }, + "manager": "kube-controller-manager", + "operation": "Update", + "subresource": null, + "time": "2023-05-04T20:30:56+00:00" + } + ], + "name": "test-cluster-sa", + "namespace": "cockroach-operator-system", + "owner_references": [ + { + "api_version": "crdb.cockroachlabs.com/v1alpha1", + "block_owner_deletion": true, + "controller": true, + "kind": "CrdbCluster", + "name": "test-cluster", + "uid": "90ad5ef5-9c95-4092-a5e8-1582b92649ff" + } + ], + "resource_version": "833", + "self_link": null, + "uid": "c4ce832a-fa0b-4be4-aee9-59d9be6ee164" + }, + "secrets": [ + { + "api_version": null, + "field_path": null, + "kind": null, + "name": "test-cluster-sa-token-828tt", + "namespace": null, + "resource_version": null, + "uid": null + } + ] + } + }, + "pvc": { + "datadir-test-cluster-0": { + "api_version": null, + "kind": null, + "metadata": { + "annotations": { + "pv.kubernetes.io/bind-completed": "yes", + "pv.kubernetes.io/bound-by-controller": "yes", + "volume.beta.kubernetes.io/storage-provisioner": "rancher.io/local-path", + "volume.kubernetes.io/selected-node": "acto-cluster-0-worker" + }, + "creation_timestamp": "2023-05-04T20:30:58+00:00", + "deletion_grace_period_seconds": null, + "deletion_timestamp": null, + "finalizers": [ + "kubernetes.io/pvc-protection" + ], + "generate_name": null, + "generation": null, + "labels": { + "app.kubernetes.io/component": "database", + "app.kubernetes.io/instance": "test-cluster", + "app.kubernetes.io/name": "cockroachdb", + "crdb": "is-cool" + }, + "managed_fields": [ + { + "api_version": "v1", + "fields_type": "FieldsV1", + "fields_v1": { + "f:metadata": { + "f:annotations": { + ".": {}, + "f:volume.kubernetes.io/selected-node": {} + } + } + }, + "manager": "kube-scheduler", + "operation": "Update", + "subresource": null, + "time": "2023-05-04T20:30:58+00:00" + }, + { + "api_version": "v1", + "fields_type": "FieldsV1", + "fields_v1": { + "f:metadata": { + "f:annotations": { + "f:pv.kubernetes.io/bind-completed": {}, + "f:pv.kubernetes.io/bound-by-controller": {}, + "f:volume.beta.kubernetes.io/storage-provisioner": {} + }, + "f:labels": { + ".": {}, + "f:app.kubernetes.io/component": {}, + "f:app.kubernetes.io/instance": {}, + "f:app.kubernetes.io/name": {}, + "f:crdb": {} + } + }, + "f:spec": { + "f:accessModes": {}, + "f:resources": { + "f:requests": { + ".": {}, + "f:storage": {} + } + }, + "f:volumeMode": {}, + "f:volumeName": {} + } + }, + "manager": "kube-controller-manager", + "operation": "Update", + "subresource": null, + "time": "2023-05-04T20:31:01+00:00" + }, + { + "api_version": "v1", + "fields_type": "FieldsV1", + "fields_v1": { + "f:status": { + "f:accessModes": {}, + "f:capacity": { + ".": {}, + "f:storage": {} + }, + "f:phase": {} + } + }, + "manager": "kube-controller-manager", + "operation": "Update", + "subresource": "status", + "time": "2023-05-04T20:31:01+00:00" + } + ], + "name": "datadir-test-cluster-0", + "namespace": "cockroach-operator-system", + "owner_references": null, + "resource_version": "947", + "self_link": null, + "uid": "1ecdb689-a85f-4dbc-9cd3-da9f4303403a" + }, + "spec": { + "access_modes": [ + "ReadWriteOnce" + ], + "data_source": null, + "data_source_ref": null, + "resources": { + "limits": null, + "requests": { + "storage": "1Gi" + } + }, + "selector": null, + "storage_class_name": "standard", + "volume_mode": "Filesystem", + "volume_name": "pvc-1ecdb689-a85f-4dbc-9cd3-da9f4303403a" + }, + "status": { + "access_modes": [ + "ReadWriteOnce" + ], + "allocated_resources": null, + "capacity": { + "storage": "1Gi" + }, + "conditions": null, + "phase": "Bound", + "resize_status": null + } + }, + "datadir-test-cluster-1": { + "api_version": null, + "kind": null, + "metadata": { + "annotations": { + "pv.kubernetes.io/bind-completed": "yes", + "pv.kubernetes.io/bound-by-controller": "yes", + "volume.beta.kubernetes.io/storage-provisioner": "rancher.io/local-path", + "volume.kubernetes.io/selected-node": "acto-cluster-0-worker3" + }, + "creation_timestamp": "2023-05-04T20:30:58+00:00", + "deletion_grace_period_seconds": null, + "deletion_timestamp": null, + "finalizers": [ + "kubernetes.io/pvc-protection" + ], + "generate_name": null, + "generation": null, + "labels": { + "app.kubernetes.io/component": "database", + "app.kubernetes.io/instance": "test-cluster", + "app.kubernetes.io/name": "cockroachdb", + "crdb": "is-cool" + }, + "managed_fields": [ + { + "api_version": "v1", + "fields_type": "FieldsV1", + "fields_v1": { + "f:metadata": { + "f:annotations": { + ".": {}, + "f:volume.kubernetes.io/selected-node": {} + } + } + }, + "manager": "kube-scheduler", + "operation": "Update", + "subresource": null, + "time": "2023-05-04T20:30:58+00:00" + }, + { + "api_version": "v1", + "fields_type": "FieldsV1", + "fields_v1": { + "f:metadata": { + "f:annotations": { + "f:pv.kubernetes.io/bind-completed": {}, + "f:pv.kubernetes.io/bound-by-controller": {}, + "f:volume.beta.kubernetes.io/storage-provisioner": {} + }, + "f:labels": { + ".": {}, + "f:app.kubernetes.io/component": {}, + "f:app.kubernetes.io/instance": {}, + "f:app.kubernetes.io/name": {}, + "f:crdb": {} + } + }, + "f:spec": { + "f:accessModes": {}, + "f:resources": { + "f:requests": { + ".": {}, + "f:storage": {} + } + }, + "f:volumeMode": {}, + "f:volumeName": {} + } + }, + "manager": "kube-controller-manager", + "operation": "Update", + "subresource": null, + "time": "2023-05-04T20:31:00+00:00" + }, + { + "api_version": "v1", + "fields_type": "FieldsV1", + "fields_v1": { + "f:status": { + "f:accessModes": {}, + "f:capacity": { + ".": {}, + "f:storage": {} + }, + "f:phase": {} + } + }, + "manager": "kube-controller-manager", + "operation": "Update", + "subresource": "status", + "time": "2023-05-04T20:31:00+00:00" + } + ], + "name": "datadir-test-cluster-1", + "namespace": "cockroach-operator-system", + "owner_references": null, + "resource_version": "934", + "self_link": null, + "uid": "53bc0e1e-50be-447d-85c6-5159e521a0fb" + }, + "spec": { + "access_modes": [ + "ReadWriteOnce" + ], + "data_source": null, + "data_source_ref": null, + "resources": { + "limits": null, + "requests": { + "storage": "1Gi" + } + }, + "selector": null, + "storage_class_name": "standard", + "volume_mode": "Filesystem", + "volume_name": "pvc-53bc0e1e-50be-447d-85c6-5159e521a0fb" + }, + "status": { + "access_modes": [ + "ReadWriteOnce" + ], + "allocated_resources": null, + "capacity": { + "storage": "1Gi" + }, + "conditions": null, + "phase": "Bound", + "resize_status": null + } + }, + "datadir-test-cluster-2": { + "api_version": null, + "kind": null, + "metadata": { + "annotations": { + "pv.kubernetes.io/bind-completed": "yes", + "pv.kubernetes.io/bound-by-controller": "yes", + "volume.beta.kubernetes.io/storage-provisioner": "rancher.io/local-path", + "volume.kubernetes.io/selected-node": "acto-cluster-0-worker2" + }, + "creation_timestamp": "2023-05-04T20:30:58+00:00", + "deletion_grace_period_seconds": null, + "deletion_timestamp": null, + "finalizers": [ + "kubernetes.io/pvc-protection" + ], + "generate_name": null, + "generation": null, + "labels": { + "app.kubernetes.io/component": "database", + "app.kubernetes.io/instance": "test-cluster", + "app.kubernetes.io/name": "cockroachdb", + "crdb": "is-cool" + }, + "managed_fields": [ + { + "api_version": "v1", + "fields_type": "FieldsV1", + "fields_v1": { + "f:metadata": { + "f:annotations": { + ".": {}, + "f:volume.kubernetes.io/selected-node": {} + } + } + }, + "manager": "kube-scheduler", + "operation": "Update", + "subresource": null, + "time": "2023-05-04T20:30:58+00:00" + }, + { + "api_version": "v1", + "fields_type": "FieldsV1", + "fields_v1": { + "f:metadata": { + "f:annotations": { + "f:pv.kubernetes.io/bind-completed": {}, + "f:pv.kubernetes.io/bound-by-controller": {}, + "f:volume.beta.kubernetes.io/storage-provisioner": {} + }, + "f:labels": { + ".": {}, + "f:app.kubernetes.io/component": {}, + "f:app.kubernetes.io/instance": {}, + "f:app.kubernetes.io/name": {}, + "f:crdb": {} + } + }, + "f:spec": { + "f:accessModes": {}, + "f:resources": { + "f:requests": { + ".": {}, + "f:storage": {} + } + }, + "f:volumeMode": {}, + "f:volumeName": {} + } + }, + "manager": "kube-controller-manager", + "operation": "Update", + "subresource": null, + "time": "2023-05-04T20:31:02+00:00" + }, + { + "api_version": "v1", + "fields_type": "FieldsV1", + "fields_v1": { + "f:status": { + "f:accessModes": {}, + "f:capacity": { + ".": {}, + "f:storage": {} + }, + "f:phase": {} + } + }, + "manager": "kube-controller-manager", + "operation": "Update", + "subresource": "status", + "time": "2023-05-04T20:31:02+00:00" + } + ], + "name": "datadir-test-cluster-2", + "namespace": "cockroach-operator-system", + "owner_references": null, + "resource_version": "968", + "self_link": null, + "uid": "6e344d65-a1cb-44f1-8227-6ae78f90da5d" + }, + "spec": { + "access_modes": [ + "ReadWriteOnce" + ], + "data_source": null, + "data_source_ref": null, + "resources": { + "limits": null, + "requests": { + "storage": "1Gi" + } + }, + "selector": null, + "storage_class_name": "standard", + "volume_mode": "Filesystem", + "volume_name": "pvc-6e344d65-a1cb-44f1-8227-6ae78f90da5d" + }, + "status": { + "access_modes": [ + "ReadWriteOnce" + ], + "allocated_resources": null, + "capacity": { + "storage": "1Gi" + }, + "conditions": null, + "phase": "Bound", + "resize_status": null + } + } + }, + "cronjob": {}, + "ingress": { + "sql-test-cluster": { + "api_version": null, + "kind": null, + "metadata": { + "annotations": { + "crdb.io/last-applied": "eyJtZXRhZGF0YSI6eyJsYWJlbHMiOnsiYXBwLmt1YmVybmV0ZXMuaW8vdmVyc2lvbiI6InYyMS4yLjEwIiwiYXBwLmt1YmVybmV0ZXMuaW8vY29tcG9uZW50IjoiZGF0YWJhc2UiLCJhcHAua3ViZXJuZXRlcy5pby9tYW5hZ2VkLWJ5IjoiY29ja3JvYWNoLW9wZXJhdG9yIiwiY3JkYiI6ImlzLWNvb2wiLCJhcHAua3ViZXJuZXRlcy5pby9wYXJ0LW9mIjoiY29ja3JvYWNoZGIiLCJhcHAua3ViZXJuZXRlcy5pby9uYW1lIjoiY29ja3JvYWNoZGIiLCJhcHAua3ViZXJuZXRlcy5pby9pbnN0YW5jZSI6InRlc3QtY2x1c3RlciJ9LCJvd25lclJlZmVyZW5jZXMiOlt7ImFwaVZlcnNpb24iOiJjcmRiLmNvY2tyb2FjaGxhYnMuY29tL3YxYWxwaGExIiwia2luZCI6IkNyZGJDbHVzdGVyIiwibmFtZSI6InRlc3QtY2x1c3RlciIsInVpZCI6IjkwYWQ1ZWY1LTljOTUtNDA5Mi1hNWU4LTE1ODJiOTI2NDlmZiIsImNvbnRyb2xsZXIiOnRydWUsImJsb2NrT3duZXJEZWxldGlvbiI6dHJ1ZX1dLCJuYW1lIjoic3FsLXRlc3QtY2x1c3RlciIsIm5hbWVzcGFjZSI6ImNvY2tyb2FjaC1vcGVyYXRvci1zeXN0ZW0ifSwic3BlYyI6eyJydWxlcyI6W3siaHR0cCI6eyJwYXRocyI6W3sicGF0aFR5cGUiOiJJbXBsZW1lbnRhdGlvblNwZWNpZmljIiwiYmFja2VuZCI6eyJzZXJ2aWNlIjp7Im5hbWUiOiJ0ZXN0LWNsdXN0ZXItcHVibGljIiwicG9ydCI6eyJuYW1lIjoic3FsIn19fX1dfSwiaG9zdCI6Im15bmJpcXBtemoifV19LCJzdGF0dXMiOnsibG9hZEJhbGFuY2VyIjp7fX19" + }, + "creation_timestamp": "2023-05-04T20:32:16+00:00", + "deletion_grace_period_seconds": null, + "deletion_timestamp": null, + "finalizers": null, + "generate_name": null, + "generation": 1, + "labels": { + "app.kubernetes.io/component": "database", + "app.kubernetes.io/instance": "test-cluster", + "app.kubernetes.io/managed-by": "cockroach-operator", + "app.kubernetes.io/name": "cockroachdb", + "app.kubernetes.io/part-of": "cockroachdb", + "app.kubernetes.io/version": "v21.2.10", + "crdb": "is-cool" + }, + "managed_fields": [ + { + "api_version": "networking.k8s.io/v1", + "fields_type": "FieldsV1", + "fields_v1": { + "f:metadata": { + "f:annotations": { + ".": {}, + "f:crdb.io/last-applied": {} + }, + "f:labels": { + ".": {}, + "f:app.kubernetes.io/component": {}, + "f:app.kubernetes.io/instance": {}, + "f:app.kubernetes.io/managed-by": {}, + "f:app.kubernetes.io/name": {}, + "f:app.kubernetes.io/part-of": {}, + "f:app.kubernetes.io/version": {}, + "f:crdb": {} + }, + "f:ownerReferences": { + ".": {}, + "k:{\"uid\":\"90ad5ef5-9c95-4092-a5e8-1582b92649ff\"}": {} + } + }, + "f:spec": { + "f:rules": {} + } + }, + "manager": "cockroach-operator", + "operation": "Update", + "subresource": null, + "time": "2023-05-04T20:32:16+00:00" + } + ], + "name": "sql-test-cluster", + "namespace": "cockroach-operator-system", + "owner_references": [ + { + "api_version": "crdb.cockroachlabs.com/v1alpha1", + "block_owner_deletion": true, + "controller": true, + "kind": "CrdbCluster", + "name": "test-cluster", + "uid": "90ad5ef5-9c95-4092-a5e8-1582b92649ff" + } + ], + "resource_version": "1148", + "self_link": null, + "uid": "cfc5aaff-c124-41e1-8e46-2d26279e3cec" + }, + "spec": { + "default_backend": null, + "ingress_class_name": null, + "rules": [ + { + "host": "mynbiqpmzj", + "http": { + "paths": [ + { + "backend": { + "resource": null, + "service": { + "name": "test-cluster-public", + "port": { + "name": "sql", + "number": null + } + } + }, + "path": null, + "path_type": "ImplementationSpecific" + } + ] + } + } + ], + "tls": null + }, + "status": { + "load_balancer": { + "ingress": null + } + } + } + }, + "network_policy": {}, + "pod_disruption_budget": { + "test-cluster": { + "api_version": null, + "kind": null, + "metadata": { + "annotations": { + "crdb.io/last-applied": "eyJtZXRhZGF0YSI6eyJsYWJlbHMiOnsiYXBwLmt1YmVybmV0ZXMuaW8vbmFtZSI6ImNvY2tyb2FjaGRiIiwiYXBwLmt1YmVybmV0ZXMuaW8vaW5zdGFuY2UiOiJ0ZXN0LWNsdXN0ZXIiLCJhcHAua3ViZXJuZXRlcy5pby92ZXJzaW9uIjoidjIxLjIuMTAiLCJjcmRiIjoiaXMtY29vbCIsImFwcC5rdWJlcm5ldGVzLmlvL2NvbXBvbmVudCI6ImRhdGFiYXNlIiwiYXBwLmt1YmVybmV0ZXMuaW8vbWFuYWdlZC1ieSI6ImNvY2tyb2FjaC1vcGVyYXRvciIsImFwcC5rdWJlcm5ldGVzLmlvL3BhcnQtb2YiOiJjb2Nrcm9hY2hkYiJ9LCJvd25lclJlZmVyZW5jZXMiOlt7ImFwaVZlcnNpb24iOiJjcmRiLmNvY2tyb2FjaGxhYnMuY29tL3YxYWxwaGExIiwia2luZCI6IkNyZGJDbHVzdGVyIiwibmFtZSI6InRlc3QtY2x1c3RlciIsInVpZCI6IjkwYWQ1ZWY1LTljOTUtNDA5Mi1hNWU4LTE1ODJiOTI2NDlmZiIsImNvbnRyb2xsZXIiOnRydWUsImJsb2NrT3duZXJEZWxldGlvbiI6dHJ1ZX1dLCJuYW1lIjoidGVzdC1jbHVzdGVyIiwibmFtZXNwYWNlIjoiY29ja3JvYWNoLW9wZXJhdG9yLXN5c3RlbSJ9LCJzcGVjIjp7InNlbGVjdG9yIjp7Im1hdGNoTGFiZWxzIjp7ImFwcC5rdWJlcm5ldGVzLmlvL2luc3RhbmNlIjoidGVzdC1jbHVzdGVyIiwiYXBwLmt1YmVybmV0ZXMuaW8vY29tcG9uZW50IjoiZGF0YWJhc2UiLCJjcmRiIjoiaXMtY29vbCIsImFwcC5rdWJlcm5ldGVzLmlvL25hbWUiOiJjb2Nrcm9hY2hkYiJ9fSwibWF4VW5hdmFpbGFibGUiOjF9LCJzdGF0dXMiOnsiY3VycmVudEhlYWx0aHkiOjAsImRlc2lyZWRIZWFsdGh5IjowLCJleHBlY3RlZFBvZHMiOjAsImRpc3J1cHRpb25zQWxsb3dlZCI6MH19" + }, + "creation_timestamp": "2023-05-04T20:30:58+00:00", + "deletion_grace_period_seconds": null, + "deletion_timestamp": null, + "finalizers": null, + "generate_name": null, + "generation": 1, + "labels": { + "app.kubernetes.io/component": "database", + "app.kubernetes.io/instance": "test-cluster", + "app.kubernetes.io/managed-by": "cockroach-operator", + "app.kubernetes.io/name": "cockroachdb", + "app.kubernetes.io/part-of": "cockroachdb", + "app.kubernetes.io/version": "v21.2.10", + "crdb": "is-cool" + }, + "managed_fields": [ + { + "api_version": "policy/v1beta1", + "fields_type": "FieldsV1", + "fields_v1": { + "f:metadata": { + "f:annotations": { + ".": {}, + "f:crdb.io/last-applied": {} + }, + "f:labels": { + ".": {}, + "f:app.kubernetes.io/component": {}, + "f:app.kubernetes.io/instance": {}, + "f:app.kubernetes.io/managed-by": {}, + "f:app.kubernetes.io/name": {}, + "f:app.kubernetes.io/part-of": {}, + "f:app.kubernetes.io/version": {}, + "f:crdb": {} + }, + "f:ownerReferences": { + ".": {}, + "k:{\"uid\":\"90ad5ef5-9c95-4092-a5e8-1582b92649ff\"}": {} + } + }, + "f:spec": { + "f:maxUnavailable": {}, + "f:selector": {} + } + }, + "manager": "cockroach-operator", + "operation": "Update", + "subresource": null, + "time": "2023-05-04T20:30:58+00:00" + }, + { + "api_version": "policy/v1", + "fields_type": "FieldsV1", + "fields_v1": { + "f:status": { + "f:conditions": { + ".": {}, + "k:{\"type\":\"DisruptionAllowed\"}": { + ".": {}, + "f:lastTransitionTime": {}, + "f:message": {}, + "f:observedGeneration": {}, + "f:reason": {}, + "f:status": {}, + "f:type": {} + } + }, + "f:currentHealthy": {}, + "f:desiredHealthy": {}, + "f:disruptionsAllowed": {}, + "f:expectedPods": {}, + "f:observedGeneration": {} + } + }, + "manager": "kube-controller-manager", + "operation": "Update", + "subresource": "status", + "time": "2023-05-04T20:31:21+00:00" + } + ], + "name": "test-cluster", + "namespace": "cockroach-operator-system", + "owner_references": [ + { + "api_version": "crdb.cockroachlabs.com/v1alpha1", + "block_owner_deletion": true, + "controller": true, + "kind": "CrdbCluster", + "name": "test-cluster", + "uid": "90ad5ef5-9c95-4092-a5e8-1582b92649ff" + } + ], + "resource_version": "1052", + "self_link": null, + "uid": "518bb618-fc9f-4d74-a07c-f3340bb37854" + }, + "spec": { + "max_unavailable": 1, + "min_available": null, + "selector": { + "match_expressions": null, + "match_labels": { + "app.kubernetes.io/component": "database", + "app.kubernetes.io/instance": "test-cluster", + "app.kubernetes.io/name": "cockroachdb", + "crdb": "is-cool" + } + } + }, + "status": { + "conditions": [ + { + "last_transition_time": "2023-05-04T20:31:21+00:00", + "message": "", + "observed_generation": 1, + "reason": "SufficientPods", + "status": "True", + "type": "DisruptionAllowed" + } + ], + "current_healthy": 3, + "desired_healthy": 2, + "disrupted_pods": null, + "disruptions_allowed": 1, + "expected_pods": 3, + "observed_generation": 1 + } + } + }, + "secret": { + "cockroach-operator-sa-token-wzc2j": { + "api_version": null, + "data": { + "ca.crt": "-----BEGIN CERTIFICATE-----\nMIIC/jCCAeagAwIBAgIBADANBgkqhkiG9w0BAQsFADAVMRMwEQYDVQQDEwprdWJl\ncm5ldGVzMB4XDTIzMDUwNDIwMjkxMFoXDTMzMDUwMTI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ifQ.eyJpc3MiOiJrdWJlcm5ldGVzL3NlcnZpY2VhY2NvdW50Iiwia3ViZXJuZXRlcy5pby9zZXJ2aWNlYWNjb3VudC9uYW1lc3BhY2UiOiJjb2Nrcm9hY2gtb3BlcmF0b3Itc3lzdGVtIiwia3ViZXJuZXRlcy5pby9zZXJ2aWNlYWNjb3VudC9zZWNyZXQubmFtZSI6ImNvY2tyb2FjaC1vcGVyYXRvci1zYS10b2tlbi13emMyaiIsImt1YmVybmV0ZXMuaW8vc2VydmljZWFjY291bnQvc2VydmljZS1hY2NvdW50Lm5hbWUiOiJjb2Nrcm9hY2gtb3BlcmF0b3Itc2EiLCJrdWJlcm5ldGVzLmlvL3NlcnZpY2VhY2NvdW50L3NlcnZpY2UtYWNjb3VudC51aWQiOiJhZWU1NjhkZS1jYjM5LTQyODItOGEwYy0wYWIzMGQ1MmJmYWMiLCJzdWIiOiJzeXN0ZW06c2VydmljZWFjY291bnQ6Y29ja3JvYWNoLW9wZXJhdG9yLXN5c3RlbTpjb2Nrcm9hY2gtb3BlcmF0b3Itc2EifQ.Aq3vVVAdHBAHBlaoKwAxGTgCuZf3cGvGu9XQIDpd91MLAgxJu0-ug0_-V1PBk9n3CVk3Xa8fkgSQuc0_80YO2p_KOz5EEFnXy0LBLUfhK5E0ziiU_rGLidI6Hs_OaqULKb0X8PZ_25BBqiGk-RC3K7xvXSe1BUSfdLRzkZOAjybynzsIdmDnynAXNAP1J-FDeCExwhIkyWg-TELSTsD3Ahjx4RqfUVXDNiDjkjqSo0nqrCBZJCmeYKF1HUTFqwGXrSbfXuj6ZN-SbTdu14FwEFOtLBqx3iWD5xBGaRR-wA5Xrxmv2d_BCfF1ZoGyaxWm254klNxp2uR29khqeYXSTA" + }, + "immutable": null, + "kind": null, + "metadata": { + "annotations": { + "kubernetes.io/service-account.name": "cockroach-operator-sa", + "kubernetes.io/service-account.uid": "aee568de-cb39-4282-8a0c-0ab30d52bfac" + }, + "creation_timestamp": "2023-05-04T20:30:22+00:00", + "deletion_grace_period_seconds": null, + "deletion_timestamp": null, + "finalizers": null, + "generate_name": null, + "generation": null, + "labels": null, + "managed_fields": [ + { + "api_version": "v1", + "fields_type": "FieldsV1", + "fields_v1": { + "f:data": { + ".": {}, + "f:ca.crt": {}, + "f:namespace": {}, + "f:token": {} + }, + "f:metadata": { + "f:annotations": { + ".": {}, + "f:kubernetes.io/service-account.name": {}, + "f:kubernetes.io/service-account.uid": {} + } + }, + "f:type": {} + }, + "manager": "kube-controller-manager", + "operation": "Update", + "subresource": null, + "time": "2023-05-04T20:30:22+00:00" + } + ], + "name": "cockroach-operator-sa-token-wzc2j", + "namespace": "cockroach-operator-system", + "owner_references": null, + "resource_version": "702", + "self_link": null, + "uid": "dcac6a29-ef3e-4f70-83f5-5e37488bcadd" + }, + "string_data": null, + "type": "kubernetes.io/service-account-token" + }, + "cockroach-operator-webhook-ca": { + "api_version": null, + "data": { + "tls.crt": "-----BEGIN CERTIFICATE-----\nMIIFHDCCAwSgAwIBAgIBATANBgkqhkiG9w0BAQsFADAgMR4wHAYDVQQKExVDb2Nr\ncm9hY2ggREIgT3BlcmF0b3IwHhcNMjMwNTA0MjAzMDIyWhcNMzMwNTAxMjAzMDIy\nWjAgMR4wHAYDVQQKExVDb2Nrcm9hY2ggREIgT3BlcmF0b3IwggIiMA0GCSqGSIb3\nDQEBAQUAA4ICDwAwggIKAoICAQClIdsIRkqd9AB2XImuNceMeR8It9YG0/d1611T\nh2MNuzaGXFVv+rWt9AOl8jC4NfczwuMsyv+NdJ1x3x5j51ZQRZG76gvGSHvS/SNb\n56sTWwI3OU5s32Ltcyb3CiSyE7EojP0ljlgmCOjBmencofVhpJl1QSB4zsFTSSpi\n6MSK175u8st79thJtNzoREcCuju1y1+6V2WC3eKEFhZcRo0oYPawpJwkGzguF20i\nzE/0fiOEjLCgHpMuDS+nteLZjTA0hDoeI1fyjvm7/iB+k7jlMI6reKLJyAP/68JU\nqqF6Yo7riwZplxeYEJbYcmwOSk91poObtxrssh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g3gBRWSu6WYrM/9v\nfkc7xsdbQP2n4oJNYg6ASUq3iTsZqhpz0dNRnv0W8PC/QjHF4VciDWWiGP8Mom7d\nSVzN3VAkNZHZD9VZtAiYmxBdfZqIquk3PZvIxB0WDBXk6DSmVrPqL8mFUrE5AOom\nDv7v9hOdYP49TTm/fu5iXQSkq5kN4XrF7hibBbmfxNod3CSGI0VpkfHHix5g\n-----END RSA PRIVATE KEY-----\n" + }, + "immutable": null, + "kind": null, + "metadata": { + "annotations": null, + "creation_timestamp": "2023-05-04T20:30:23+00:00", + "deletion_grace_period_seconds": null, + "deletion_timestamp": null, + "finalizers": null, + "generate_name": null, + "generation": null, + "labels": null, + "managed_fields": [ + { + "api_version": "v1", + "fields_type": "FieldsV1", + "fields_v1": { + "f:data": { + ".": {}, + "f:tls.crt": {}, + "f:tls.key": {} + }, + "f:type": {} + }, + "manager": "cockroach-operator", + "operation": "Update", + "subresource": null, + "time": "2023-05-04T20:30:23+00:00" + } + ], + "name": "cockroach-operator-webhook-ca", + "namespace": "cockroach-operator-system", + "owner_references": null, + "resource_version": "736", + "self_link": null, + "uid": "2c751fca-a653-4140-a509-c413fb948dac" + }, + "string_data": null, + "type": "kubernetes.io/tls" + }, + "default-token-7btwd": { + "api_version": null, + "data": { + "ca.crt": "-----BEGIN CERTIFICATE-----\nMIIC/jCCAeagAwIBAgIBADANBgkqhkiG9w0BAQsFADAVMRMwEQYDVQQDEwprdWJl\ncm5ldGVzMB4XDTIzMDUwNDIwMjkxMFoXDTMzMDUwMTIwMjkxMFowFTETMBEGA1UE\nAxMKa3ViZXJuZXRlczCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAOZZ\nNBiE5imKYNYWQsDL7HJDSm2L+ocFPlh1vTf2uGhktpKbD6ITd2HvJBGnbznEq573\nFR+8KpXqozRTEFDZo+OIs8y6IcVIJSHTD/LhbHE9xP2QFWIEaIHrbFwktet5wuL+\nkfJbYqdompXlzSaORjo0fG6KXA/5UBoeylU4zF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LmlvL3NlcnZpY2VhY2NvdW50L3NlcnZpY2UtYWNjb3VudC5uYW1lIjoiZGVmYXVsdCIsImt1YmVybmV0ZXMuaW8vc2VydmljZWFjY291bnQvc2VydmljZS1hY2NvdW50LnVpZCI6ImJlMGM0NTAzLTBmYzItNDc0Ni1iZWY2LWY0MDY3YjBlYjMxZiIsInN1YiI6InN5c3RlbTpzZXJ2aWNlYWNjb3VudDpjb2Nrcm9hY2gtb3BlcmF0b3Itc3lzdGVtOmRlZmF1bHQifQ.Fd6TbX4C-zakYblFasXmJBHIMaKrK7t3AgTzh0SOnEkjv-bmxuj4r1DGwNlo_5QGXRrVel9yvrYpFjAS-9wQTXpPM2761xz2AXTWiircZqCMpFsxJrAY-oxnctb_7XvVK5Wfs5LrIRFDvsxYyBmVA70QYRrAL4J_YJsZW_-6RsbH0hU5dQUk5dyFqQfjXh_NO3gPvoUqfZ7Eh0wdKxsT9qGjXCGF9106ZBBPZA1sPtMjJzc8ujDy2VrtuOi0hIe-3kPI3826Ny1TaBh7-S0Qr-L88gLzD6AWtlpoaEK86-IeEnJguM3zUZPOBi9QSAESGMxYXyBWWh-S4tevjAMLRg" + }, + "immutable": null, + "kind": null, + "metadata": { + "annotations": { + "kubernetes.io/service-account.name": "default", + "kubernetes.io/service-account.uid": "be0c4503-0fc2-4746-bef6-f4067b0eb31f" + }, + "creation_timestamp": "2023-05-04T20:30:11+00:00", + "deletion_grace_period_seconds": null, + "deletion_timestamp": null, + "finalizers": null, + "generate_name": null, + "generation": null, + "labels": null, + "managed_fields": [ + { + "api_version": "v1", + "fields_type": "FieldsV1", + "fields_v1": { + "f:data": { + ".": {}, + "f:ca.crt": {}, + "f:namespace": {}, + "f:token": {} + }, + "f:metadata": { + "f:annotations": { + ".": {}, + "f:kubernetes.io/service-account.name": {}, + "f:kubernetes.io/service-account.uid": {} + } + }, + "f:type": {} + }, + "manager": "kube-controller-manager", + "operation": "Update", + "subresource": null, + "time": "2023-05-04T20:30:11+00:00" + } + ], + "name": "default-token-7btwd", + "namespace": "cockroach-operator-system", + "owner_references": null, + "resource_version": "671", + "self_link": null, + "uid": "9814d748-cd5f-4ab2-9350-4e6c9eeebd03" + }, + "string_data": null, + "type": "kubernetes.io/service-account-token" + }, + "test-cluster-ca": { + "api_version": null, + "data": { + "ca.key": "-----BEGIN RSA PRIVATE KEY-----\nMIIEowIBAAKCAQEAugozAMz1QFpWfE11F38g3JMPU6eKGYQtXXyq8K5fM6UDfKwE\notCy+0N/V7hufscWF4FoP4NiJL4IR/U8dedXV0GyA8FWvgNFmagc7cqWVqZF1BM9\nBaQGXqX3mucexGZS16FAIKZ3XC6r2ZYuJU/6hBYaejpVWPyQb0dBFeP9g1Xs/SZG\nFwQQfeIiqtrPpEpoPsjEIo3CePKL+XD+LhCwHKLiE5PcXP8mgj7AvghPrJm9T3al\nLcigbqESPdaSEWANW1SCuOyMOWNxo2oXtnpy7tf32u2PPt8/4jjNYSSTMhXFirK2\n+Cjcu8P5qVwYUwEOtqKgFFDm0RQiv3+aka8NgwIDAQABAoIBAHYDZEk8utLAu54M\ncJugHFNvwkg5vkPjcfeczr7wjhmvsp+SazpxEyiKr6wQpZ8sYVo1z9CCYm6WUaB7\n84eDYgdK+EajjYfpgWwwlXFOksGSpjcaoRoD67p8o64SsJS7qA97DbfogUzrmj3j\no5AtxOenMdKZUGyrgl/knmfpgXaepV4Rhh6FRNFFjxAPP5ixPLREQSnsdRSVdV8m\nqDUTAF1S5Y69EYsdb3D7bxbUUS30WCe7qvH52ZbGmXJjXvEGfnwKtmPHHPVNin9O\nnjKofROIiM+Kbq9ckd0dEYtyKK0Jymntz2cf9/5nPagyk8cxj0Twb+WKLltF9Hpa\nvd07ZekCgYEA2KcMBN3skvgH2D1+hhXzbEMhObZ5+hBWDXQWtGg0XqTDj02bidTS\nQ8dxLrd0M6F4V7uKKkAwKuNKMvPINih61G1KU5+/vI990MsZcVr9AOtg46UINSQY\nrfP6ItLajJQ96NdZuzTjfMvQe+9MUz5VbrxYs+lBXBrTUcMUyOv+n10CgYEA29Pb\n004kneQtHJWbMq4UDWHJ56zqYKLsOes1mowGXhCwn3vbRJh5q6hUizHtYTZ9omq1\n3LLIgvCdwPfYBr6NJ+soHVYKzyf5ylGpKNi2MQeZdlRCPEiOwpeEpWRyzWWNLuQa\noIjkcYQCRQKnq/IimQW87WsbovCzlndTklz88l8CgYAw882ra9mAe7qKCZsFAQC3\nfZOMTsbQ0dAfyhM3QDRVDjWBs69pPUUlO3M/cwQ2hk2CxUU6trYrep/RU3PxiMP4\nK5mXu4i/OkzbWIivLDfudUC3LxrjpvxMkcv7AlmPWg+DBOWpfxHHqOW6mx9Lz9HN\n65C/Vf0GqqkE2Gdh3rDxoQKBgQCc8uMFN8qO7GWE/g+jnIP2lfX4sg1Y15m/NH6+\nC/FT4aipBV4k2JQuCe3qv8fS23vRpUyY+RCN5EtNhea30f6oHI40e8UV6F3ApJMY\n9bkGwn0/7aKotckvh8yN5WzN1w55ByU3ruUjYvPX37Bk5GjtRhqAjDNcH2ypJiMF\n4dw7EwKBgEqIZZe8h/ADZzKtJEsJJysz8kg/tY04eWqiog6p4+SyJoFkfQ6LVPFZ\nTWzx2l0uFYrSymbvKKA0UBPN/Mka7TEOZidx+MK++ul3L8R7fnF2i/z7J52uxc4x\nUOHbNT2/FZOqLZ5txaYRrdkZn9GuUSyvUY9ptmfnAGWjmtl5XZsQ\n-----END RSA PRIVATE KEY-----\n" + }, + "immutable": null, + "kind": null, + "metadata": { + "annotations": null, + "creation_timestamp": "2023-05-04T20:30:57+00:00", + "deletion_grace_period_seconds": null, + "deletion_timestamp": null, + "finalizers": null, + "generate_name": null, + "generation": null, + "labels": null, + "managed_fields": [ + { + "api_version": "v1", + "fields_type": "FieldsV1", + "fields_v1": { + "f:data": { + ".": {}, + "f:ca.key": {} + }, + "f:type": {} + }, + "manager": "cockroach-operator", + "operation": "Update", + "subresource": null, + "time": "2023-05-04T20:30:57+00:00" + } + ], + "name": "test-cluster-ca", + "namespace": "cockroach-operator-system", + "owner_references": null, + "resource_version": "853", + "self_link": null, + "uid": "40b99663-90a3-4837-a403-1b14d332aae6" + }, + "string_data": null, + "type": "Opaque" + }, + "test-cluster-node": { + "api_version": null, + "data": { + "ca.crt": "-----BEGIN CERTIFICATE-----\nMIIDJTCCAg2gAwIBAgIQBBA8zpKchJyZpBYQzn5SqTANBgkqhkiG9w0BAQsFADAr\nMRIwEAYDVQQKEwlDb2Nrcm9hY2gxFTATBgNVBAMTDENvY2tyb2FjaCBDQTAeFw0y\nMzA1MDMyMDMwNTdaFw0zMzA1MTEyMDMwNTdaMCsxEjAQBgNVBAoTCUNvY2tyb2Fj\naDEVMBMGA1UEAxMMQ29ja3JvYWNoIENBMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8A\nMIIBCgKCAQEAugozAMz1QFpWfE11F38g3JMPU6eKGYQtXXyq8K5fM6UDfKwEotCy\n+0N/V7hufscWF4FoP4NiJL4IR/U8dedXV0GyA8FWvgNFmagc7cqWVqZF1BM9BaQG\nXqX3mucexGZS16FAIKZ3XC6r2ZYuJU/6hBYaejpVWPyQb0dBFeP9g1Xs/SZGFwQQ\nfeIiqtrPpEpoPsjEIo3CePKL+XD+LhCwHKLiE5PcXP8mgj7AvghPrJm9T3alLcig\nbqESPdaSEWANW1SCuOyMOWNxo2oXtnpy7tf32u2PPt8/4jjNYSSTMhXFirK2+Cjc\nu8P5qVwYUwEOtqKgFFDm0RQiv3+aka8NgwIDAQABo0UwQzAOBgNVHQ8BAf8EBAMC\nAuQwEgYDVR0TAQH/BAgwBgEB/wIBATAdBgNVHQ4EFgQUndwRwgwzXigcHh4e4uJN\nOFdFFNgwDQYJKoZIhvcNAQELBQADggEBAGQqoUMP12xChUk1aRK4uNas00RTUT9t\nRRUCtZz27VivAGdGTHVxi1okZAoWxbDARTzcS0UesKZJq5Ub2p5xFCMyL7Kj0et3\nsXBGfQN134lbK5HWzIEALC7qmaXTopXbXMaGitGBxWyyKtdEzwD+RyOB4Ng4t9/p\n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7iZKI5wJnwRpbskSHcnwYGMzyTQJyt2bmBy4lU2FsPftJUQPD0P\nPI271sECgYEAorkj2FZ0XIz15W3alfrNDsFQdUUDRXcxgzfiyT93Rq+lacz4/2nE\nPsHXdgwoEib8qKZ5F1892s2fl0mooTiWXpAg7gmeN6uFhw3KQHG9JRtVwt0vOMVT\nMxO2JSTxgiDiPVAgvt24iRxXmOgmRVvCfzexiPJvHPe11rgdZ9YUsQo=\n-----END RSA PRIVATE KEY-----\n" + }, + "immutable": null, + "kind": null, + "metadata": { + "annotations": null, + "creation_timestamp": "2023-05-04T20:30:57+00:00", + "deletion_grace_period_seconds": null, + "deletion_timestamp": null, + "finalizers": null, + "generate_name": null, + "generation": null, + "labels": null, + "managed_fields": [ + { + "api_version": "v1", + "fields_type": "FieldsV1", + "fields_v1": { + "f:data": { + ".": {}, + "f:ca.crt": {}, + "f:tls.crt": {}, + "f:tls.key": {} + }, + "f:type": {} + }, + "manager": "cockroach-operator", + "operation": "Update", + "subresource": null, + "time": "2023-05-04T20:30:57+00:00" + } + ], + "name": "test-cluster-node", + "namespace": "cockroach-operator-system", + "owner_references": null, + "resource_version": "1145", + "self_link": null, + "uid": "2d1a5516-2887-49f6-b95c-400844c8b286" + }, + "string_data": null, + "type": "Opaque" + }, + "test-cluster-root": { + "api_version": null, + "data": { + "ca.crt": "-----BEGIN CERTIFICATE-----\nMIIDJTCCAg2gAwIBAgIQBBA8zpKchJyZpBYQzn5SqTANBgkqhkiG9w0BAQsFADAr\nMRIwEAYDVQQKEwlDb2Nrcm9hY2gxFTATBgNVBAMTDENvY2tyb2FjaCBDQTAeFw0y\nMzA1MDMyMDMwNTdaFw0zMzA1MTEyMDMwNTdaMCsxEjAQBgNVBAoTCUNvY2tyb2Fj\naDEVMBMGA1UEAxMMQ29ja3JvYWNoIENBMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8A\nMIIBCgKCAQEAugozAMz1QFpWfE11F38g3JMPU6eKGYQtXXyq8K5fM6UDfKwEotC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q\nXKn/BaSDgRR0JakkTv9FcTMCgYEAk5MtJYl9vSxCm8J3myLnySCbmhh5zJzhL+ro\nDWzp4LMV0xkIpprA1M8PXQQvj5FFQO7x/km5kUGYbKSTuV4tq0TUoQiH9mIaowUZ\nlYPiPGbVVzNcNElhe/3lVRkEFtpBJBzp2C59sz1XXvqz/v+M6R5Cpo6UU8vEX54s\nxXT2GKkCgYBh1SDkRy3NSKi1rkm30ABxcD7kZzKrQ/S7ebVuIV2hjKM43xV9Tge2\nzv54ma20ZDt1DenBTEc772VpSCWvaljAPdkb9kk3GJVSry9FBaXjM+Z/Tt2qDV6i\nTZR/zbtD3/EApnhy+2lNBECGpuUo2bjtuFb/H+subGCx4AwUjOkr8A==\n-----END RSA PRIVATE KEY-----\n" + }, + "immutable": null, + "kind": null, + "metadata": { + "annotations": null, + "creation_timestamp": "2023-05-04T20:30:57+00:00", + "deletion_grace_period_seconds": null, + "deletion_timestamp": null, + "finalizers": null, + "generate_name": null, + "generation": null, + "labels": null, + "managed_fields": [ + { + "api_version": "v1", + "fields_type": "FieldsV1", + "fields_v1": { + "f:data": { + ".": {}, + "f:ca.crt": {}, + "f:tls.crt": {}, + "f:tls.key": {} + }, + "f:type": {} + }, + "manager": "cockroach-operator", + "operation": "Update", + "subresource": null, + "time": "2023-05-04T20:30:57+00:00" + } + ], + "name": "test-cluster-root", + "namespace": "cockroach-operator-system", + "owner_references": null, + "resource_version": "855", + "self_link": null, + "uid": "76c509d6-5649-4fc6-9335-ef802eeeab2f" + }, + "string_data": null, + "type": "Opaque" + }, + "test-cluster-sa-token-828tt": { + "api_version": null, + "data": { + "ca.crt": "-----BEGIN CERTIFICATE-----\nMIIC/jCCAeagAwIBAgIBADANBgkqhkiG9w0BAQsFADAVMRMwEQYDVQQDEwprdWJl\ncm5ldGVzMB4XDTIzMDUwNDIwMjkxMFoXDTMzMDUwMTIwMjkxMFowFTETMBEGA1UE\nAxMKa3ViZXJuZXRlczCCASIwDQYJKoZIhvcNAQEBBQ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Rlcy5pby9zZXJ2aWNlYWNjb3VudC9uYW1lc3BhY2UiOiJjb2Nrcm9hY2gtb3BlcmF0b3Itc3lzdGVtIiwia3ViZXJuZXRlcy5pby9zZXJ2aWNlYWNjb3VudC9zZWNyZXQubmFtZSI6InRlc3QtY2x1c3Rlci1zYS10b2tlbi04Mjh0dCIsImt1YmVybmV0ZXMuaW8vc2VydmljZWFjY291bnQvc2VydmljZS1hY2NvdW50Lm5hbWUiOiJ0ZXN0LWNsdXN0ZXItc2EiLCJrdWJlcm5ldGVzLmlvL3NlcnZpY2VhY2NvdW50L3NlcnZpY2UtYWNjb3VudC51aWQiOiJjNGNlODMyYS1mYTBiLTRiZTQtYWVlOS01OWQ5YmU2ZWUxNjQiLCJzdWIiOiJzeXN0ZW06c2VydmljZWFjY291bnQ6Y29ja3JvYWNoLW9wZXJhdG9yLXN5c3RlbTp0ZXN0LWNsdXN0ZXItc2EifQ.mRb989ZkIHUP4lVKdLsdcRLZSYHkHvwjfX7wvgRNYDUzwi8tQ4eram14vdcfxkK0oyaQRWBKJPUBs0AuiIKvI21eCdFrELM5z3f2ZtvIqpJzPUIE9xHsVG8UG1Q7n5NI2g7FMpF39eO37ioiuOThuBtsIjffepayhbxB2oipGPpeE3VzG0K0DKEiLGDo7XtLQapibUkLprM2rEdummQbFOr9pDXuaD9zEWpViaL659iK2lpNrVmKmqgn1BB-GBIMJec9x0cRtc4pUHUmG8bIpUBzdGpy1Q97lfh6Vb9sXvikXHhGh7GBcX-DQyo2_0Rekq00cPgwsTn1ClN5jEr4ZA" + }, + "immutable": null, + "kind": null, + "metadata": { + "annotations": { + "kubernetes.io/service-account.name": "test-cluster-sa", + "kubernetes.io/service-account.uid": "c4ce832a-fa0b-4be4-aee9-59d9be6ee164" + }, + "creation_timestamp": "2023-05-04T20:30:56+00:00", + "deletion_grace_period_seconds": null, + "deletion_timestamp": null, + "finalizers": null, + "generate_name": null, + "generation": null, + "labels": null, + "managed_fields": [ + { + "api_version": "v1", + "fields_type": "FieldsV1", + "fields_v1": { + "f:data": { + ".": {}, + "f:ca.crt": {}, + "f:namespace": {}, + "f:token": {} + }, + "f:metadata": { + "f:annotations": { + ".": {}, + "f:kubernetes.io/service-account.name": {}, + "f:kubernetes.io/service-account.uid": {} + } + }, + "f:type": {} + }, + "manager": "kube-controller-manager", + "operation": "Update", + "subresource": null, + "time": "2023-05-04T20:30:56+00:00" + } + ], + "name": "test-cluster-sa-token-828tt", + "namespace": "cockroach-operator-system", + "owner_references": null, + "resource_version": "832", + "self_link": null, + "uid": "09d10c26-892e-40cf-832e-e436c05a5ce9" + }, + "string_data": null, + "type": "kubernetes.io/service-account-token" + } + }, + "endpoints": { + "cockroach-operator-webhook-service": { + "api_version": null, + "kind": null, + "metadata": { + "annotations": null, + "creation_timestamp": "2023-05-04T20:30:22+00:00", + "deletion_grace_period_seconds": null, + "deletion_timestamp": null, + "finalizers": null, + "generate_name": null, + "generation": null, + "labels": { + "control-plane": "cockroach-operator" + }, + "managed_fields": [ + { + "api_version": "v1", + "fields_type": "FieldsV1", + "fields_v1": { + "f:metadata": { + "f:labels": { + ".": {}, + "f:control-plane": {} + } + }, + "f:subsets": {} + }, + "manager": "kube-controller-manager", + "operation": "Update", + "subresource": null, + "time": "2023-05-04T20:30:52+00:00" + } + ], + "name": "cockroach-operator-webhook-service", + "namespace": "cockroach-operator-system", + "owner_references": null, + "resource_version": "809", + "self_link": null, + "uid": "b6860b37-06ef-4aa7-868d-ae6e0e727231" + }, + "subsets": [ + { + "addresses": [ + { + "hostname": null, + "ip": "10.244.1.2", + "node_name": "acto-cluster-0-worker3", + "target_ref": { + "api_version": null, + "field_path": null, + "kind": "Pod", + "name": "cockroach-operator-manager-64c489884-t4l82", + "namespace": "cockroach-operator-system", + "resource_version": "800", + "uid": "2fa41549-7083-45b2-8a85-b2450b8b08b7" + } + } + ], + "not_ready_addresses": null, + "ports": [ + { + "app_protocol": null, + "name": null, + "port": 9443, + "protocol": "TCP" + } + ] + } + ] + }, + "test-cluster": { + "api_version": null, + "kind": null, + "metadata": { + "annotations": { + "endpoints.kubernetes.io/last-change-trigger-time": "2023-05-04T20:31:21Z" + }, + "creation_timestamp": "2023-05-04T20:30:57+00:00", + "deletion_grace_period_seconds": null, + "deletion_timestamp": null, + "finalizers": null, + "generate_name": null, + "generation": null, + "labels": { + "app.kubernetes.io/component": "database", + "app.kubernetes.io/instance": "test-cluster", + "app.kubernetes.io/managed-by": "cockroach-operator", + "app.kubernetes.io/name": "cockroachdb", + "app.kubernetes.io/part-of": "cockroachdb", + "app.kubernetes.io/version": "v21.2.10", + "crdb": "is-cool", + "service.kubernetes.io/headless": "" + }, + "managed_fields": [ + { + "api_version": "v1", + "fields_type": "FieldsV1", + "fields_v1": { + "f:metadata": { + "f:annotations": { + ".": {}, + "f:endpoints.kubernetes.io/last-change-trigger-time": {} + }, + "f:labels": { + ".": {}, + "f:app.kubernetes.io/component": {}, + "f:app.kubernetes.io/instance": {}, + "f:app.kubernetes.io/managed-by": {}, + "f:app.kubernetes.io/name": {}, + "f:app.kubernetes.io/part-of": {}, + "f:app.kubernetes.io/version": {}, + "f:crdb": {}, + "f:service.kubernetes.io/headless": {} + } + }, + "f:subsets": {} + }, + "manager": "kube-controller-manager", + "operation": "Update", + "subresource": null, + "time": "2023-05-04T20:31:01+00:00" + } + ], + "name": "test-cluster", + "namespace": "cockroach-operator-system", + "owner_references": null, + "resource_version": "1048", + "self_link": null, + "uid": "01aa7b79-a160-478c-b84f-cce690199fae" + }, + "subsets": [ + { + "addresses": [ + { + "hostname": "test-cluster-1", + "ip": "10.244.1.4", + "node_name": "acto-cluster-0-worker3", + "target_ref": { + "api_version": null, + "field_path": null, + "kind": "Pod", + "name": "test-cluster-1", + "namespace": "cockroach-operator-system", + "resource_version": "1047", + "uid": "cc1555b0-c26a-4b7b-bec4-c44b82760466" + } + }, + { + "hostname": "test-cluster-2", + "ip": "10.244.2.4", + "node_name": "acto-cluster-0-worker2", + "target_ref": { + "api_version": null, + "field_path": null, + "kind": "Pod", + "name": "test-cluster-2", + "namespace": "cockroach-operator-system", + "resource_version": "1020", + "uid": "30cdd852-14b8-4fc7-a7f6-b3dfe6ebaf1d" + } + }, + { + "hostname": "test-cluster-0", + "ip": "10.244.3.4", + "node_name": "acto-cluster-0-worker", + "target_ref": { + "api_version": null, + "field_path": null, + "kind": "Pod", + "name": "test-cluster-0", + "namespace": "cockroach-operator-system", + "resource_version": "1035", + "uid": "3a41326f-04a0-41ef-9b75-7d9930634288" + } + } + ], + "not_ready_addresses": null, + "ports": [ + { + "app_protocol": null, + "name": "grpc", + "port": 26258, + "protocol": "TCP" + }, + { + "app_protocol": null, + "name": "sql", + "port": 26257, + "protocol": "TCP" + }, + { + "app_protocol": null, + "name": "http", + "port": 8080, + "protocol": "TCP" + } + ] + } + ] + }, + "test-cluster-public": { + "api_version": null, + "kind": null, + "metadata": { + "annotations": { + "endpoints.kubernetes.io/last-change-trigger-time": "2023-05-04T20:31:21Z" + }, + "creation_timestamp": "2023-05-04T20:30:57+00:00", + "deletion_grace_period_seconds": null, + "deletion_timestamp": null, + "finalizers": null, + "generate_name": null, + "generation": null, + "labels": { + "app.kubernetes.io/component": "database", + "app.kubernetes.io/instance": "test-cluster", + "app.kubernetes.io/managed-by": "cockroach-operator", + "app.kubernetes.io/name": "cockroachdb", + "app.kubernetes.io/part-of": "cockroachdb", + "app.kubernetes.io/version": "v21.2.10", + "crdb": "is-cool" + }, + "managed_fields": [ + { + "api_version": "v1", + "fields_type": "FieldsV1", + "fields_v1": { + "f:metadata": { + "f:annotations": { + ".": {}, + "f:endpoints.kubernetes.io/last-change-trigger-time": {} + }, + "f:labels": { + ".": {}, + "f:app.kubernetes.io/component": {}, + "f:app.kubernetes.io/instance": {}, + "f:app.kubernetes.io/managed-by": {}, + "f:app.kubernetes.io/name": {}, + "f:app.kubernetes.io/part-of": {}, + "f:app.kubernetes.io/version": {}, + "f:crdb": {} + } + }, + "f:subsets": {} + }, + "manager": "kube-controller-manager", + "operation": "Update", + "subresource": null, + "time": "2023-05-04T20:31:01+00:00" + } + ], + "name": "test-cluster-public", + "namespace": "cockroach-operator-system", + "owner_references": null, + "resource_version": "1049", + "self_link": null, + "uid": "3564ff33-0459-4ca5-b808-21b27dd09d00" + }, + "subsets": [ + { + "addresses": [ + { + "hostname": null, + "ip": "10.244.1.4", + "node_name": "acto-cluster-0-worker3", + "target_ref": { + "api_version": null, + "field_path": null, + "kind": "Pod", + "name": "test-cluster-1", + "namespace": "cockroach-operator-system", + "resource_version": "1047", + "uid": "cc1555b0-c26a-4b7b-bec4-c44b82760466" + } + }, + { + "hostname": null, + "ip": "10.244.2.4", + "node_name": "acto-cluster-0-worker2", + "target_ref": { + "api_version": null, + "field_path": null, + "kind": "Pod", + "name": "test-cluster-2", + "namespace": "cockroach-operator-system", + "resource_version": "1020", + "uid": "30cdd852-14b8-4fc7-a7f6-b3dfe6ebaf1d" + } + }, + { + "hostname": null, + "ip": "10.244.3.4", + "node_name": "acto-cluster-0-worker", + "target_ref": { + "api_version": null, + "field_path": null, + "kind": "Pod", + "name": "test-cluster-0", + "namespace": "cockroach-operator-system", + "resource_version": "1035", + "uid": "3a41326f-04a0-41ef-9b75-7d9930634288" + } + } + ], + "not_ready_addresses": null, + "ports": [ + { + "app_protocol": null, + "name": "grpc", + "port": 26258, + "protocol": "TCP" + }, + { + "app_protocol": null, + "name": "sql", + "port": 26257, + "protocol": "TCP" + }, + { + "app_protocol": null, + "name": "http", + "port": 8080, + "protocol": "TCP" + } + ] + } + ] + } + }, + "job": {}, + "role": { + "test-cluster-role": { + "api_version": null, + "kind": null, + "metadata": { + "annotations": { + "crdb.io/last-applied": "eyJtZXRhZGF0YSI6eyJuYW1lc3BhY2UiOiJjb2Nrcm9hY2gtb3BlcmF0b3Itc3lzdGVtIiwibGFiZWxzIjp7ImFwcC5rdWJlcm5ldGVzLmlvL2luc3RhbmNlIjoidGVzdC1jbHVzdGVyIiwiYXBwLmt1YmVybmV0ZXMuaW8vY29tcG9uZW50IjoiZGF0YWJhc2UiLCJhcHAua3ViZXJuZXRlcy5pby9tYW5hZ2VkLWJ5IjoiY29ja3JvYWNoLW9wZXJhdG9yIiwiY3JkYiI6ImlzLWNvb2wiLCJhcHAua3ViZXJuZXRlcy5pby9wYXJ0LW9mIjoiY29ja3JvYWNoZGIiLCJhcHAua3ViZXJuZXRlcy5pby9uYW1lIjoiY29ja3JvYWNoZGIifSwib3duZXJSZWZlcmVuY2VzIjpbeyJhcGlWZXJzaW9uIjoiY3JkYi5jb2Nrcm9hY2hsYWJzLmNvbS92MWFscGhhMSIsImtpbmQiOiJDcmRiQ2x1c3RlciIsIm5hbWUiOiJ0ZXN0LWNsdXN0ZXIiLCJ1aWQiOiI5MGFkNWVmNS05Yzk1LTQwOTItYTVlOC0xNTgyYjkyNjQ5ZmYiLCJjb250cm9sbGVyIjp0cnVlLCJibG9ja093bmVyRGVsZXRpb24iOnRydWV9XSwibmFtZSI6InRlc3QtY2x1c3Rlci1yb2xlIn0sInJ1bGVzIjpbeyJhcGlHcm91cHMiOlsic2VjdXJpdHkub3BlbnNoaWZ0LmlvIl0sInJlc291cmNlcyI6WyJzZWN1cml0eWNvbnRleHRjb25zdHJhaW50cyJdLCJ2ZXJicyI6WyJ1c2UiXX1dfQ==" + }, + "creation_timestamp": "2023-05-04T20:30:56+00:00", + "deletion_grace_period_seconds": null, + "deletion_timestamp": null, + "finalizers": null, + "generate_name": null, + "generation": null, + "labels": { + "app.kubernetes.io/component": "database", + "app.kubernetes.io/instance": "test-cluster", + "app.kubernetes.io/managed-by": "cockroach-operator", + "app.kubernetes.io/name": "cockroachdb", + "app.kubernetes.io/part-of": "cockroachdb", + "crdb": "is-cool" + }, + "managed_fields": [ + { + "api_version": "rbac.authorization.k8s.io/v1", + "fields_type": "FieldsV1", + "fields_v1": { + "f:metadata": { + "f:annotations": { + ".": {}, + "f:crdb.io/last-applied": {} + }, + "f:labels": { + ".": {}, + "f:app.kubernetes.io/component": {}, + "f:app.kubernetes.io/instance": {}, + "f:app.kubernetes.io/managed-by": {}, + "f:app.kubernetes.io/name": {}, + "f:app.kubernetes.io/part-of": {}, + "f:crdb": {} + }, + "f:ownerReferences": { + ".": {}, + "k:{\"uid\":\"90ad5ef5-9c95-4092-a5e8-1582b92649ff\"}": {} + } + }, + "f:rules": {} + }, + "manager": "cockroach-operator", + "operation": "Update", + "subresource": null, + "time": "2023-05-04T20:30:56+00:00" + } + ], + "name": "test-cluster-role", + "namespace": "cockroach-operator-system", + "owner_references": [ + { + "api_version": "crdb.cockroachlabs.com/v1alpha1", + "block_owner_deletion": true, + "controller": true, + "kind": "CrdbCluster", + "name": "test-cluster", + "uid": "90ad5ef5-9c95-4092-a5e8-1582b92649ff" + } + ], + "resource_version": "834", + "self_link": null, + "uid": "ac048cd6-8cff-40fd-ba91-b2ea7f4a235b" + }, + "rules": [ + { + "api_groups": [ + "security.openshift.io" + ], + "non_resource_ur_ls": null, + "resource_names": null, + "resources": [ + "securitycontextconstraints" + ], + "verbs": [ + "use" + ] + } + ] + } + }, + "role_binding": { + "test-cluster-role-binding": { + "api_version": null, + "kind": null, + "metadata": { + "annotations": { + "crdb.io/last-applied": "eyJyb2xlUmVmIjp7ImFwaUdyb3VwIjoicmJhYy5hdXRob3JpemF0aW9uLms4cy5pbyIsImtpbmQiOiJSb2xlIiwibmFtZSI6InRlc3QtY2x1c3Rlci1yb2xlIn0sIm1ldGFkYXRhIjp7Im5hbWUiOiJ0ZXN0LWNsdXN0ZXItcm9sZS1iaW5kaW5nIiwibmFtZXNwYWNlIjoiY29ja3JvYWNoLW9wZXJhdG9yLXN5c3RlbSIsImxhYmVscyI6eyJhcHAua3ViZXJuZXRlcy5pby9jb21wb25lbnQiOiJkYXRhYmFzZSIsImFwcC5rdWJlcm5ldGVzLmlvL21hbmFnZWQtYnkiOiJjb2Nrcm9hY2gtb3BlcmF0b3IiLCJjcmRiIjoiaXMtY29vbCIsImFwcC5rdWJlcm5ldGVzLmlvL3BhcnQtb2YiOiJjb2Nrcm9hY2hkYiIsImFwcC5rdWJlcm5ldGVzLmlvL25hbWUiOiJjb2Nrcm9hY2hkYiIsImFwcC5rdWJlcm5ldGVzLmlvL2luc3RhbmNlIjoidGVzdC1jbHVzdGVyIn0sIm93bmVyUmVmZXJlbmNlcyI6W3sibmFtZSI6InRlc3QtY2x1c3RlciIsInVpZCI6IjkwYWQ1ZWY1LTljOTUtNDA5Mi1hNWU4LTE1ODJiOTI2NDlmZiIsImNvbnRyb2xsZXIiOnRydWUsImJsb2NrT3duZXJEZWxldGlvbiI6dHJ1ZSwiYXBpVmVyc2lvbiI6ImNyZGIuY29ja3JvYWNobGFicy5jb20vdjFhbHBoYTEiLCJraW5kIjoiQ3JkYkNsdXN0ZXIifV19LCJzdWJqZWN0cyI6W3sia2luZCI6IlNlcnZpY2VBY2NvdW50IiwibmFtZSI6InRlc3QtY2x1c3Rlci1zYSJ9XX0=" + }, + "creation_timestamp": "2023-05-04T20:30:56+00:00", + "deletion_grace_period_seconds": null, + "deletion_timestamp": null, + "finalizers": null, + "generate_name": null, + "generation": null, + "labels": { + "app.kubernetes.io/component": "database", + "app.kubernetes.io/instance": "test-cluster", + "app.kubernetes.io/managed-by": "cockroach-operator", + "app.kubernetes.io/name": "cockroachdb", + "app.kubernetes.io/part-of": "cockroachdb", + "crdb": "is-cool" + }, + "managed_fields": [ + { + "api_version": "rbac.authorization.k8s.io/v1", + "fields_type": "FieldsV1", + "fields_v1": { + "f:metadata": { + "f:annotations": { + ".": {}, + "f:crdb.io/last-applied": {} + }, + "f:labels": { + ".": {}, + "f:app.kubernetes.io/component": {}, + "f:app.kubernetes.io/instance": {}, + "f:app.kubernetes.io/managed-by": {}, + "f:app.kubernetes.io/name": {}, + "f:app.kubernetes.io/part-of": {}, + "f:crdb": {} + }, + "f:ownerReferences": { + ".": {}, + "k:{\"uid\":\"90ad5ef5-9c95-4092-a5e8-1582b92649ff\"}": {} + } + }, + "f:roleRef": {}, + "f:subjects": {} + }, + "manager": "cockroach-operator", + "operation": "Update", + "subresource": null, + "time": "2023-05-04T20:30:56+00:00" + } + ], + "name": "test-cluster-role-binding", + "namespace": "cockroach-operator-system", + "owner_references": [ + { + "api_version": "crdb.cockroachlabs.com/v1alpha1", + "block_owner_deletion": true, + "controller": true, + "kind": "CrdbCluster", + "name": "test-cluster", + "uid": "90ad5ef5-9c95-4092-a5e8-1582b92649ff" + } + ], + "resource_version": "835", + "self_link": null, + "uid": "e2f407b8-9169-4400-b6d2-cf0cbea3853d" + }, + "role_ref": { + "api_group": "rbac.authorization.k8s.io", + "kind": "Role", + "name": "test-cluster-role" + }, + "subjects": [ + { + "api_group": null, + "kind": "ServiceAccount", + "name": "test-cluster-sa", + "namespace": null + } + ] + } + }, + "custom_resource_spec": { + "additionalLabels": { + "crdb": "is-cool" + }, + "dataStore": { + "pvc": { + "source": { + "claimName": "" + }, + "spec": { + "accessModes": [ + "ReadWriteOnce" + ], + "resources": { + "requests": { + "storage": "1Gi" + } + }, + "volumeMode": "Filesystem" + } + }, + "supportsAutoResize": false + }, + "grpcPort": 26258, + "httpPort": 8080, + "image": { + "name": "cockroachdb/cockroach:v21.2.10", + "pullPolicy": "IfNotPresent" + }, + "ingress": { + "sql": { + "host": "mynbiqpmzj", + "tls": [ + {} + ] + } + }, + "maxUnavailable": 1, + "nodes": 3, + "resources": { + "limits": { + "cpu": "2", + "memory": "2Gi" + }, + "requests": { + "cpu": "100m", + "memory": "1Gi" + } + }, + "sqlPort": 26257, + "tlsEnabled": true + }, + "custom_resource_status": { + "clusterStatus": "Failed", + "conditions": [ + { + "lastTransitionTime": "2023-05-04T20:31:08Z", + "status": "True", + "type": "Initialized" + }, + { + "lastTransitionTime": "2023-05-04T20:30:56Z", + "status": "True", + "type": "CrdbVersionChecked" + }, + { + "lastTransitionTime": "2023-05-04T20:30:57Z", + "status": "True", + "type": "CertificateGenerated" + }, + { + "lastTransitionTime": "2023-05-04T20:32:16Z", + "status": "True", + "type": "SQLIngressExposed" + } + ], + "crdbcontainerimage": "cockroachdb/cockroach:v21.2.10", + "operatorActions": [ + { + "lastTransitionTime": "2023-05-04T20:31:03Z", + "message": "pod is not running", + "status": "Failed", + "type": "Initialize" + } + ], + "sqlHost": "mynbiqpmzj", + "version": "v21.2.10" + } +} \ No newline at end of file diff --git a/test/test_data/crdbop-927/mutated-0.yaml b/test/test_data/crdbop-927/mutated-0.yaml new file mode 100644 index 0000000000..fd0e8ddafa --- /dev/null +++ b/test/test_data/crdbop-927/mutated-0.yaml @@ -0,0 +1,27 @@ +apiVersion: crdb.cockroachlabs.com/v1alpha1 +kind: CrdbCluster +metadata: + name: test-cluster +spec: + additionalLabels: + crdb: is-cool + dataStore: + pvc: + spec: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 1Gi + volumeMode: Filesystem + image: + name: cockroachdb/cockroach:v21.2.10 + nodes: 3 + resources: + limits: + cpu: 2 + memory: 2Gi + requests: + cpu: 100m + memory: 1Gi + tlsEnabled: true diff --git a/test/test_data/crdbop-927/mutated-1.yaml b/test/test_data/crdbop-927/mutated-1.yaml new file mode 100644 index 0000000000..9ee8740555 --- /dev/null +++ b/test/test_data/crdbop-927/mutated-1.yaml @@ -0,0 +1,32 @@ +apiVersion: crdb.cockroachlabs.com/v1alpha1 +kind: CrdbCluster +metadata: + name: test-cluster +spec: + additionalLabels: + crdb: is-cool + dataStore: + pvc: + spec: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 1Gi + volumeMode: Filesystem + image: + name: cockroachdb/cockroach:v21.2.10 + ingress: + ui: + annotations: + ACTOKEY: ACTOKEY + host: localhost + nodes: 3 + resources: + limits: + cpu: 2 + memory: 2Gi + requests: + cpu: 100m + memory: 1Gi + tlsEnabled: true diff --git a/test/test_data/crdbop-927/mutated-2.yaml b/test/test_data/crdbop-927/mutated-2.yaml new file mode 100644 index 0000000000..9d68b7859e --- /dev/null +++ b/test/test_data/crdbop-927/mutated-2.yaml @@ -0,0 +1,31 @@ +apiVersion: crdb.cockroachlabs.com/v1alpha1 +kind: CrdbCluster +metadata: + name: test-cluster +spec: + additionalLabels: + crdb: is-cool + dataStore: + pvc: + spec: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 1Gi + volumeMode: Filesystem + image: + name: cockroachdb/cockroach:v21.2.10 + ingress: + ui: + annotations: null + host: localhost + nodes: 3 + resources: + limits: + cpu: 2 + memory: 2Gi + requests: + cpu: 100m + memory: 1Gi + tlsEnabled: true diff --git a/test/test_data/crdbop-953/mutated-0.yaml b/test/test_data/crdbop-953/mutated-0.yaml new file mode 100644 index 0000000000..0f1adbbad7 --- /dev/null +++ b/test/test_data/crdbop-953/mutated-0.yaml @@ -0,0 +1,27 @@ +apiVersion: crdb.cockroachlabs.com/v1alpha1 +kind: CrdbCluster +metadata: + name: test-cluster +spec: + additionalLabels: + crdb: is-cool + dataStore: + pvc: + spec: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 1Gi + volumeMode: Filesystem + image: + name: cockroachdb/cockroach:v21.2.10 + nodes: 3 + resources: + limits: + cpu: 2 + memory: 2Gi + requests: + cpu: 100m + memory: 1Gi + tlsEnabled: true \ No newline at end of file diff --git a/test/test_data/crdbop-953/mutated-1.yaml b/test/test_data/crdbop-953/mutated-1.yaml new file mode 100644 index 0000000000..27a2809223 --- /dev/null +++ b/test/test_data/crdbop-953/mutated-1.yaml @@ -0,0 +1,31 @@ +apiVersion: crdb.cockroachlabs.com/v1alpha1 +kind: CrdbCluster +metadata: + name: test-cluster +spec: + additionalLabels: + crdb: is-cool + dataStore: + pvc: + spec: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 1Gi + volumeMode: Filesystem + image: + name: cockroachdb/cockroach:v21.2.10 + nodes: 3 + resources: + limits: + cpu: 2 + memory: 2Gi + requests: + cpu: 100m + memory: 1Gi + tlsEnabled: true + topologySpreadConstraints: + - maxSkew: 3 + topologyKey: MYKEY + whenUnsatisfiable: DoNotScedule \ No newline at end of file diff --git a/test/test_data/knop-1137/mutated-0.yaml b/test/test_data/knop-1137/mutated-0.yaml new file mode 100644 index 0000000000..3dfd392131 --- /dev/null +++ b/test/test_data/knop-1137/mutated-0.yaml @@ -0,0 +1,43 @@ +apiVersion: operator.knative.dev/v1beta1 +kind: KnativeServing +metadata: + name: test-cluster + namespace: knative-serving +spec: + config: + config-autoscaler: + key1: value1 + network: + ingress-class: kourier.ingress.networking.knative.dev + deployments: + - env: + - container: controller + envVars: + - name: ENVAR_1 + value: VALUE_1 + name: controller + resources: + - container: controller + limits: + cpu: 950m + memory: 250Mi + requests: + cpu: 300m + memory: 125Mi + ingress: + kourier: + enabled: true + podDisruptionBudgets: + - minAvailable: 50% + name: activator-pdb + - minAvailable: 50% + name: webhook-pdb + registry: + default: gcr.io/knative-releases/knative.dev/serving/cmd/${NAME}:v1.6.0 + override: + kourier-gateway: docker.io/envoyproxy/envoy:v1.20-latest + migrate: gcr.io/knative-releases/knative.dev/pkg/apiextensions/storageversion/cmd/migrate:latest + net-kourier-controller/controller: gcr.io/knative-releases/knative.dev/net-kourier/cmd/kourier:v1.6.0 + services: + - name: webhook + version: 1.6.0 diff --git a/test/test_data/knop-1137/mutated-1.yaml b/test/test_data/knop-1137/mutated-1.yaml new file mode 100644 index 0000000000..1fad833326 --- /dev/null +++ b/test/test_data/knop-1137/mutated-1.yaml @@ -0,0 +1,44 @@ +apiVersion: operator.knative.dev/v1beta1 +kind: KnativeServing +metadata: + name: test-cluster + namespace: knative-serving +spec: + config: + config-autoscaler: + key1: value1 + network: + ingress-class: kourier.ingress.networking.knative.dev + deployments: + - env: + - container: controller + envVars: + - name: ENVAR_1 + value: VALUE_1 + name: controller + resources: + - container: controller + limits: + cpu: 950m + memory: 250Mi + requests: + cpu: 300m + memory: 125Mi + high-availability: {} + ingress: + kourier: + enabled: true + podDisruptionBudgets: + - minAvailable: 50% + name: activator-pdb + - minAvailable: 50% + name: webhook-pdb + registry: + default: gcr.io/knative-releases/knative.dev/serving/cmd/${NAME}:v1.6.0 + override: + kourier-gateway: docker.io/envoyproxy/envoy:v1.20-latest + migrate: gcr.io/knative-releases/knative.dev/pkg/apiextensions/storageversion/cmd/migrate:latest + net-kourier-controller/controller: gcr.io/knative-releases/knative.dev/net-kourier/cmd/kourier:v1.6.0 + services: + - name: webhook + version: 1.6.0 diff --git a/test/test_data/knop-1157/mutated-0.yaml b/test/test_data/knop-1157/mutated-0.yaml new file mode 100644 index 0000000000..0d5f6a3661 --- /dev/null +++ b/test/test_data/knop-1157/mutated-0.yaml @@ -0,0 +1,43 @@ +apiVersion: operator.knative.dev/v1beta1 +kind: KnativeServing +metadata: + name: test-cluster + namespace: knative-serving +spec: + version: 1.6.0 + registry: + default: gcr.io/knative-releases/knative.dev/serving/cmd/${NAME}:v1.6.0 + override: + net-kourier-controller/controller: gcr.io/knative-releases/knative.dev/net-kourier/cmd/kourier:v1.6.0 + kourier-gateway: docker.io/envoyproxy/envoy:v1.20-latest + migrate: gcr.io/knative-releases/knative.dev/pkg/apiextensions/storageversion/cmd/migrate:latest + ingress: + kourier: + enabled: true + services: + - name: webhook + deployments: + - name: controller + resources: + - container: controller + requests: + cpu: 300m + memory: 125Mi + limits: + cpu: 950m + memory: 250Mi + env: + - container: controller + envVars: + - name: ENVAR_1 + value: VALUE_1 + podDisruptionBudgets: + - name: activator-pdb + minAvailable: 50% + - name: webhook-pdb + minAvailable: 50% + config: + config-autoscaler: + key1: value1 + network: + ingress-class: "kourier.ingress.networking.knative.dev" diff --git a/test/test_data/knop-1157/mutated-1.yaml b/test/test_data/knop-1157/mutated-1.yaml new file mode 100644 index 0000000000..755d2c8d64 --- /dev/null +++ b/test/test_data/knop-1157/mutated-1.yaml @@ -0,0 +1,45 @@ +apiVersion: operator.knative.dev/v1beta1 +kind: KnativeServing +metadata: + name: test-cluster + namespace: knative-serving +spec: + version: 1.6.0 + registry: + default: gcr.io/knative-releases/knative.dev/serving/cmd/${NAME}:v1.6.0 + override: + net-kourier-controller/controller: gcr.io/knative-releases/knative.dev/net-kourier/cmd/kourier:v1.6.0 + kourier-gateway: docker.io/envoyproxy/envoy:v1.20-latest + migrate: gcr.io/knative-releases/knative.dev/pkg/apiextensions/storageversion/cmd/migrate:latest + ingress: + contour: + enabled: true + kourier: + enabled: true + services: + - name: webhook + deployments: + - name: controller + resources: + - container: controller + requests: + cpu: 300m + memory: 125Mi + limits: + cpu: 950m + memory: 250Mi + env: + - container: controller + envVars: + - name: ENVAR_1 + value: VALUE_1 + podDisruptionBudgets: + - name: activator-pdb + minAvailable: 50% + - name: webhook-pdb + minAvailable: 50% + config: + config-autoscaler: + key1: value1 + network: + ingress-class: "kourier.ingress.networking.knative.dev" diff --git a/test/test_data/knop-1157/mutated-2.yaml b/test/test_data/knop-1157/mutated-2.yaml new file mode 100644 index 0000000000..04e92cf672 --- /dev/null +++ b/test/test_data/knop-1157/mutated-2.yaml @@ -0,0 +1,45 @@ +apiVersion: operator.knative.dev/v1beta1 +kind: KnativeServing +metadata: + name: test-cluster + namespace: knative-serving +spec: + version: 1.6.0 + registry: + default: gcr.io/knative-releases/knative.dev/serving/cmd/${NAME}:v1.6.0 + override: + net-kourier-controller/controller: gcr.io/knative-releases/knative.dev/net-kourier/cmd/kourier:v1.6.0 + kourier-gateway: docker.io/envoyproxy/envoy:v1.20-latest + migrate: gcr.io/knative-releases/knative.dev/pkg/apiextensions/storageversion/cmd/migrate:latest + ingress: + contour: + enabled: false + kourier: + enabled: true + services: + - name: webhook + deployments: + - name: controller + resources: + - container: controller + requests: + cpu: 300m + memory: 125Mi + limits: + cpu: 950m + memory: 250Mi + env: + - container: controller + envVars: + - name: ENVAR_1 + value: VALUE_1 + podDisruptionBudgets: + - name: activator-pdb + minAvailable: 50% + - name: webhook-pdb + minAvailable: 50% + config: + config-autoscaler: + key1: value1 + network: + ingress-class: "kourier.ingress.networking.knative.dev" diff --git a/test/test_data/knop-1158/mutated-0.yaml b/test/test_data/knop-1158/mutated-0.yaml new file mode 100644 index 0000000000..e0cfc28624 --- /dev/null +++ b/test/test_data/knop-1158/mutated-0.yaml @@ -0,0 +1,30 @@ +apiVersion: operator.knative.dev/v1beta1 +kind: KnativeEventing +metadata: + name: test-cluster + namespace: knative-eventing +spec: + version: 1.6.0 + config: + config-kreference-mapping: + key1: value1 + deployments: + - name: eventing-controller + resources: + - container: eventing-controller + requests: + cpu: 300m + memory: 100M + limits: + cpu: 1000m + memory: 250M + env: + - container: eventing-controller + envVars: + - name: ENVAR_1 + value: VALUE_1 + services: + - name: eventing-webhook + podDisruptionBudgets: + - minAvailable: 50% + name: eventing-webhook \ No newline at end of file diff --git a/test/test_data/knop-1158/mutated-1.yaml b/test/test_data/knop-1158/mutated-1.yaml new file mode 100644 index 0000000000..aedd88e5e1 --- /dev/null +++ b/test/test_data/knop-1158/mutated-1.yaml @@ -0,0 +1,33 @@ +apiVersion: operator.knative.dev/v1beta1 +kind: KnativeEventing +metadata: + name: test-cluster + namespace: knative-eventing +spec: + version: 1.6.0 + config: + config-kreference-mapping: + key1: value1 + deployments: + - name: eventing-controller + resources: + - container: eventing-controller + requests: + cpu: 300m + memory: 100M + limits: + cpu: 1000m + memory: 250M + env: + - container: eventing-controller + envVars: + - name: ENVAR_1 + value: VALUE_1 + services: + - name: eventing-webhook + podDisruptionBudgets: + - minAvailable: 50% + name: eventing-webhook + source: + rabbitmq: + enabled: true \ No newline at end of file diff --git a/test/test_data/mgopone-1024/mutated-0.yaml b/test/test_data/mgopone-1024/mutated-0.yaml new file mode 100644 index 0000000000..74fbc482c3 --- /dev/null +++ b/test/test_data/mgopone-1024/mutated-0.yaml @@ -0,0 +1,60 @@ +apiVersion: mongodbcommunity.mongodb.com/v1 +kind: MongoDBCommunity +metadata: + namespace: mongodb + name: test-cluster +spec: + automationConfig: + processes: + - disabled: false + name: test-cluster-1 + members: 3 + type: ReplicaSet + version: "4.4.0" + security: + authentication: + modes: ["SCRAM"] + users: + - name: my-user + db: admin + passwordSecretRef: # a reference to the secret that will be used to generate the user's password + name: my-user-password + roles: + - name: clusterAdmin + db: admin + - name: userAdminAnyDatabase + db: admin + scramCredentialsSecretName: my-scram + statefulSet: + spec: + template: + spec: + # resources can be specified by applying an override + # per container name. + containers: + - name: mongod + resources: + limits: + cpu: "1" + memory: 1000M + requests: + cpu: "1" + memory: 1000M + - name: mongodb-agent + resources: + limits: + cpu: "1" + memory: 1000M + requests: + cpu: "1" + memory: 1000M +# the user credentials will be generated from this secret +# once the credentials are generated, this secret is no longer required +#--- +#apiVersion: v1 +#kind: Secret +#metadata: +# name: my-user-password +#type: Opaque +#stringData: +# password: diff --git a/test/test_data/mgopone-1024/mutated-1.yaml b/test/test_data/mgopone-1024/mutated-1.yaml new file mode 100644 index 0000000000..a51ef4c8d4 --- /dev/null +++ b/test/test_data/mgopone-1024/mutated-1.yaml @@ -0,0 +1,61 @@ +apiVersion: mongodbcommunity.mongodb.com/v1 +kind: MongoDBCommunity +metadata: + namespace: mongodb + name: test-cluster +spec: + arbiters: 1 + automationConfig: + processes: + - disabled: false + name: test-cluster-1 + members: 3 + type: ReplicaSet + version: "4.4.0" + security: + authentication: + modes: ["SCRAM"] + users: + - name: my-user + db: admin + passwordSecretRef: # a reference to the secret that will be used to generate the user's password + name: my-user-password + roles: + - name: clusterAdmin + db: admin + - name: userAdminAnyDatabase + db: admin + scramCredentialsSecretName: my-scram + statefulSet: + spec: + template: + spec: + # resources can be specified by applying an override + # per container name. + containers: + - name: mongod + resources: + limits: + cpu: "1" + memory: 1000M + requests: + cpu: "1" + memory: 1000M + - name: mongodb-agent + resources: + limits: + cpu: "1" + memory: 1000M + requests: + cpu: "1" + memory: 1000M +# the user credentials will be generated from this secret +# once the credentials are generated, this secret is no longer required +#--- +#apiVersion: v1 +#kind: Secret +#metadata: +# name: my-user-password +#type: Opaque +#stringData: +# password: diff --git a/test/test_data/mgopone-1054/mutated-0.yaml b/test/test_data/mgopone-1054/mutated-0.yaml new file mode 100644 index 0000000000..02d81bdce1 --- /dev/null +++ b/test/test_data/mgopone-1054/mutated-0.yaml @@ -0,0 +1,61 @@ +--- +apiVersion: mongodbcommunity.mongodb.com/v1 +kind: MongoDBCommunity +metadata: + namespace: mongodb + name: test-cluster +spec: + automationConfig: + processes: + - disabled: false + name: test-cluster-1 + members: 3 + type: ReplicaSet + version: "4.4.0" + security: + authentication: + modes: ["SCRAM"] + users: + - name: my-user + db: admin + passwordSecretRef: # a reference to the secret that will be used to generate the user's password + name: my-user-password + roles: + - name: clusterAdmin + db: admin + - name: userAdminAnyDatabase + db: admin + scramCredentialsSecretName: my-scram + statefulSet: + spec: + template: + spec: + # resources can be specified by applying an override + # per container name. + containers: + - name: mongod + resources: + limits: + cpu: "1" + memory: 1000M + requests: + cpu: "1" + memory: 1000M + - name: mongodb-agent + resources: + limits: + cpu: "1" + memory: 1000M + requests: + cpu: "1" + memory: 1000M +# the user credentials will be generated from this secret +# once the credentials are generated, this secret is no longer required +#--- +#apiVersion: v1 +#kind: Secret +#metadata: +# name: my-user-password +#type: Opaque +#stringData: +# password: diff --git a/test/test_data/mgopone-1054/mutated-1.yaml b/test/test_data/mgopone-1054/mutated-1.yaml new file mode 100644 index 0000000000..790fd36a9e --- /dev/null +++ b/test/test_data/mgopone-1054/mutated-1.yaml @@ -0,0 +1,64 @@ +--- +apiVersion: mongodbcommunity.mongodb.com/v1 +kind: MongoDBCommunity +metadata: + namespace: mongodb + name: test-cluster +spec: + automationConfig: + processes: + - disabled: false + name: test-cluster-1 + members: 3 + type: ReplicaSet + version: "4.4.0" + security: + authentication: + modes: ["SCRAM"] + tls: + enabled: true + optional: true + users: + - name: my-user + db: admin + passwordSecretRef: # a reference to the secret that will be used to generate the user's password + name: my-user-password + roles: + - name: clusterAdmin + db: admin + - name: userAdminAnyDatabase + db: admin + scramCredentialsSecretName: my-scram + statefulSet: + spec: + template: + spec: + # resources can be specified by applying an override + # per container name. + containers: + - name: mongod + resources: + limits: + cpu: "1" + memory: 1000M + requests: + cpu: "1" + memory: 1000M + - name: mongodb-agent + resources: + limits: + cpu: "1" + memory: 1000M + requests: + cpu: "1" + memory: 1000M +# the user credentials will be generated from this secret +# once the credentials are generated, this secret is no longer required +#--- +#apiVersion: v1 +#kind: Secret +#metadata: +# name: my-user-password +#type: Opaque +#stringData: +# password: diff --git a/test/test_data/mgopone-1055/mutated-0.yaml b/test/test_data/mgopone-1055/mutated-0.yaml new file mode 100644 index 0000000000..02d81bdce1 --- /dev/null +++ b/test/test_data/mgopone-1055/mutated-0.yaml @@ -0,0 +1,61 @@ +--- +apiVersion: mongodbcommunity.mongodb.com/v1 +kind: MongoDBCommunity +metadata: + namespace: mongodb + name: test-cluster +spec: + automationConfig: + processes: + - disabled: false + name: test-cluster-1 + members: 3 + type: ReplicaSet + version: "4.4.0" + security: + authentication: + modes: ["SCRAM"] + users: + - name: my-user + db: admin + passwordSecretRef: # a reference to the secret that will be used to generate the user's password + name: my-user-password + roles: + - name: clusterAdmin + db: admin + - name: userAdminAnyDatabase + db: admin + scramCredentialsSecretName: my-scram + statefulSet: + spec: + template: + spec: + # resources can be specified by applying an override + # per container name. + containers: + - name: mongod + resources: + limits: + cpu: "1" + memory: 1000M + requests: + cpu: "1" + memory: 1000M + - name: mongodb-agent + resources: + limits: + cpu: "1" + memory: 1000M + requests: + cpu: "1" + memory: 1000M +# the user credentials will be generated from this secret +# once the credentials are generated, this secret is no longer required +#--- +#apiVersion: v1 +#kind: Secret +#metadata: +# name: my-user-password +#type: Opaque +#stringData: +# password: diff --git a/test/test_data/mgopone-1055/mutated-1.yaml b/test/test_data/mgopone-1055/mutated-1.yaml new file mode 100644 index 0000000000..8ff62aca80 --- /dev/null +++ b/test/test_data/mgopone-1055/mutated-1.yaml @@ -0,0 +1,61 @@ +--- +apiVersion: mongodbcommunity.mongodb.com/v1 +kind: MongoDBCommunity +metadata: + namespace: mongodb + name: test-cluster +spec: + automationConfig: + processes: + - disabled: false + name: test-cluster-1 + members: 3 + type: ReplicaSet + version: "4.4.0" + security: + authentication: + modes: [] + users: + - name: my-user + db: admin + passwordSecretRef: # a reference to the secret that will be used to generate the user's password + name: my-user-password + roles: + - name: clusterAdmin + db: admin + - name: userAdminAnyDatabase + db: admin + scramCredentialsSecretName: my-scram + statefulSet: + spec: + template: + spec: + # resources can be specified by applying an override + # per container name. + containers: + - name: mongod + resources: + limits: + cpu: "1" + memory: 1000M + requests: + cpu: "1" + memory: 1000M + - name: mongodb-agent + resources: + limits: + cpu: "1" + memory: 1000M + requests: + cpu: "1" + memory: 1000M +# the user credentials will be generated from this secret +# once the credentials are generated, this secret is no longer required +#--- +#apiVersion: v1 +#kind: Secret +#metadata: +# name: my-user-password +#type: Opaque +#stringData: +# password: diff --git a/test/test_data/mgopone-1072/mutated-0.yaml b/test/test_data/mgopone-1072/mutated-0.yaml new file mode 100644 index 0000000000..02d81bdce1 --- /dev/null +++ b/test/test_data/mgopone-1072/mutated-0.yaml @@ -0,0 +1,61 @@ +--- +apiVersion: mongodbcommunity.mongodb.com/v1 +kind: MongoDBCommunity +metadata: + namespace: mongodb + name: test-cluster +spec: + automationConfig: + processes: + - disabled: false + name: test-cluster-1 + members: 3 + type: ReplicaSet + version: "4.4.0" + security: + authentication: + modes: ["SCRAM"] + users: + - name: my-user + db: admin + passwordSecretRef: # a reference to the secret that will be used to generate the user's password + name: my-user-password + roles: + - name: clusterAdmin + db: admin + - name: userAdminAnyDatabase + db: admin + scramCredentialsSecretName: my-scram + statefulSet: + spec: + template: + spec: + # resources can be specified by applying an override + # per container name. + containers: + - name: mongod + resources: + limits: + cpu: "1" + memory: 1000M + requests: + cpu: "1" + memory: 1000M + - name: mongodb-agent + resources: + limits: + cpu: "1" + memory: 1000M + requests: + cpu: "1" + memory: 1000M +# the user credentials will be generated from this secret +# once the credentials are generated, this secret is no longer required +#--- +#apiVersion: v1 +#kind: Secret +#metadata: +# name: my-user-password +#type: Opaque +#stringData: +# password: diff --git a/test/test_data/mgopone-1072/mutated-1.yaml b/test/test_data/mgopone-1072/mutated-1.yaml new file mode 100644 index 0000000000..a8a5d15134 --- /dev/null +++ b/test/test_data/mgopone-1072/mutated-1.yaml @@ -0,0 +1,62 @@ +--- +apiVersion: mongodbcommunity.mongodb.com/v1 +kind: MongoDBCommunity +metadata: + namespace: mongodb + name: test-cluster +spec: + featureCompatibilityVersion: "4.2.4" + automationConfig: + processes: + - disabled: false + name: test-cluster-1 + members: 3 + type: ReplicaSet + version: "4.4.0" + security: + authentication: + modes: ["SCRAM"] + users: + - name: my-user + db: admin + passwordSecretRef: # a reference to the secret that will be used to generate the user's password + name: my-user-password + roles: + - name: clusterAdmin + db: admin + - name: userAdminAnyDatabase + db: admin + scramCredentialsSecretName: my-scram + statefulSet: + spec: + template: + spec: + # resources can be specified by applying an override + # per container name. + containers: + - name: mongod + resources: + limits: + cpu: "1" + memory: 1000M + requests: + cpu: "1" + memory: 1000M + - name: mongodb-agent + resources: + limits: + cpu: "1" + memory: 1000M + requests: + cpu: "1" + memory: 1000M +# the user credentials will be generated from this secret +# once the credentials are generated, this secret is no longer required +#--- +#apiVersion: v1 +#kind: Secret +#metadata: +# name: my-user-password +#type: Opaque +#stringData: +# password: diff --git a/test/test_data/mgopone-1072/mutated-2.yaml b/test/test_data/mgopone-1072/mutated-2.yaml new file mode 100644 index 0000000000..d34ec6200c --- /dev/null +++ b/test/test_data/mgopone-1072/mutated-2.yaml @@ -0,0 +1,62 @@ +--- +apiVersion: mongodbcommunity.mongodb.com/v1 +kind: MongoDBCommunity +metadata: + namespace: mongodb + name: test-cluster +spec: + featureCompatibilityVersion: "4.2.4" + automationConfig: + processes: + - disabled: false + name: test-cluster-1 + members: 3 + type: ReplicaSet + version: "4.4.0" + security: + authentication: + modes: ["SCRAM"] + users: + - name: my-user + db: admin + passwordSecretRef: # a reference to the secret that will be used to generate the user's password + name: my-user-password + roles: + - name: clusterAdmin + db: admin + - name: userAdminAnyDatabase + db: admin + scramCredentialsSecretName: my-scram + statefulSet: + spec: + template: + spec: + # resources can be specified by applying an override + # per container name. + containers: + - name: mongod + resources: + limits: + cpu: "1" + memory: 1000M + requests: + cpu: "1" + memory: 1000M + - name: mongodb-agent + resources: + limits: + cpu: "1" + memory: 1000M + requests: + cpu: "1" + memory: 2000M +# the user credentials will be generated from this secret +# once the credentials are generated, this secret is no longer required +#--- +#apiVersion: v1 +#kind: Secret +#metadata: +# name: my-user-password +#type: Opaque +#stringData: +# password: diff --git a/test/test_data/mgopone-1074/mutated-0.yaml b/test/test_data/mgopone-1074/mutated-0.yaml new file mode 100644 index 0000000000..02d81bdce1 --- /dev/null +++ b/test/test_data/mgopone-1074/mutated-0.yaml @@ -0,0 +1,61 @@ +--- +apiVersion: mongodbcommunity.mongodb.com/v1 +kind: MongoDBCommunity +metadata: + namespace: mongodb + name: test-cluster +spec: + automationConfig: + processes: + - disabled: false + name: test-cluster-1 + members: 3 + type: ReplicaSet + version: "4.4.0" + security: + authentication: + modes: ["SCRAM"] + users: + - name: my-user + db: admin + passwordSecretRef: # a reference to the secret that will be used to generate the user's password + name: my-user-password + roles: + - name: clusterAdmin + db: admin + - name: userAdminAnyDatabase + db: admin + scramCredentialsSecretName: my-scram + statefulSet: + spec: + template: + spec: + # resources can be specified by applying an override + # per container name. + containers: + - name: mongod + resources: + limits: + cpu: "1" + memory: 1000M + requests: + cpu: "1" + memory: 1000M + - name: mongodb-agent + resources: + limits: + cpu: "1" + memory: 1000M + requests: + cpu: "1" + memory: 1000M +# the user credentials will be generated from this secret +# once the credentials are generated, this secret is no longer required +#--- +#apiVersion: v1 +#kind: Secret +#metadata: +# name: my-user-password +#type: Opaque +#stringData: +# password: diff --git a/test/test_data/mgopone-1074/mutated-1.yaml b/test/test_data/mgopone-1074/mutated-1.yaml new file mode 100644 index 0000000000..65b1677f8d --- /dev/null +++ b/test/test_data/mgopone-1074/mutated-1.yaml @@ -0,0 +1,61 @@ +--- +apiVersion: mongodbcommunity.mongodb.com/v1 +kind: MongoDBCommunity +metadata: + namespace: mongodb + name: test-cluster +spec: + automationConfig: + processes: + - disabled: false + name: test-cluster-1 + members: 3 + type: ReplicaSet + version: "4.4.0" + security: + authentication: + modes: ["SCRAM"] + users: + - name: my-user + db: admin + passwordSecretRef: # a reference to the secret that will be used to generate the user's password + name: my-user-password + roles: + - name: clusterAdmin + db: admin + - name: userAdminAnyDatabase + db: admin + scramCredentialsSecretName: xyzabc + statefulSet: + spec: + template: + spec: + # resources can be specified by applying an override + # per container name. + containers: + - name: mongod + resources: + limits: + cpu: "1" + memory: 1000M + requests: + cpu: "1" + memory: 1000M + - name: mongodb-agent + resources: + limits: + cpu: "1" + memory: 1000M + requests: + cpu: "1" + memory: 1000M +# the user credentials will be generated from this secret +# once the credentials are generated, this secret is no longer required +#--- +#apiVersion: v1 +#kind: Secret +#metadata: +# name: my-user-password +#type: Opaque +#stringData: +# password: diff --git a/test/test_data/mgopone-1245/mutated-0.yaml b/test/test_data/mgopone-1245/mutated-0.yaml new file mode 100644 index 0000000000..74fbc482c3 --- /dev/null +++ b/test/test_data/mgopone-1245/mutated-0.yaml @@ -0,0 +1,60 @@ +apiVersion: mongodbcommunity.mongodb.com/v1 +kind: MongoDBCommunity +metadata: + namespace: mongodb + name: test-cluster +spec: + automationConfig: + processes: + - disabled: false + name: test-cluster-1 + members: 3 + type: ReplicaSet + version: "4.4.0" + security: + authentication: + modes: ["SCRAM"] + users: + - name: my-user + db: admin + passwordSecretRef: # a reference to the secret that will be used to generate the user's password + name: my-user-password + roles: + - name: clusterAdmin + db: admin + - name: userAdminAnyDatabase + db: admin + scramCredentialsSecretName: my-scram + statefulSet: + spec: + template: + spec: + # resources can be specified by applying an override + # per container name. + containers: + - name: mongod + resources: + limits: + cpu: "1" + memory: 1000M + requests: + cpu: "1" + memory: 1000M + - name: mongodb-agent + resources: + limits: + cpu: "1" + memory: 1000M + requests: + cpu: "1" + memory: 1000M +# the user credentials will be generated from this secret +# once the credentials are generated, this secret is no longer required +#--- +#apiVersion: v1 +#kind: Secret +#metadata: +# name: my-user-password +#type: Opaque +#stringData: +# password: diff --git a/test/test_data/mgopone-1245/mutated-1.yaml b/test/test_data/mgopone-1245/mutated-1.yaml new file mode 100644 index 0000000000..8259c5dcb1 --- /dev/null +++ b/test/test_data/mgopone-1245/mutated-1.yaml @@ -0,0 +1,69 @@ +apiVersion: mongodbcommunity.mongodb.com/v1 +kind: MongoDBCommunity +metadata: + namespace: mongodb + name: test-cluster +spec: + automationConfig: + processes: + - disabled: false + name: test-cluster-1 + members: 3 + type: ReplicaSet + version: "4.4.0" + security: + authentication: + modes: ["SCRAM"] + users: + - name: my-user + db: admin + passwordSecretRef: # a reference to the secret that will be used to generate the user's password + name: my-user-password + roles: + - name: clusterAdmin + db: admin + - name: userAdminAnyDatabase + db: admin + scramCredentialsSecretName: my-scram + statefulSet: + spec: + template: + spec: + # resources can be specified by applying an override + # per container name. + containers: + - name: mongod + resources: + limits: + cpu: "1" + memory: 1000M + requests: + cpu: "1" + memory: 1000M + - name: mongodb-agent + resources: + limits: + cpu: "1" + memory: 1000M + requests: + cpu: "1" + memory: 1000M + - name: ACTOCONTAINER + resources: + limits: + cpu: 800m + ephemeralContainers: + - name: ACTOCONTAINER + resources: + limits: + cpu: 800m +# the user credentials will be generated from this secret +# once the credentials are generated, this secret is no longer required +#--- +#apiVersion: v1 +#kind: Secret +#metadata: +# name: my-user-password +#type: Opaque +#stringData: +# password: diff --git a/test/test_data/mgopone-1251/mutated-0.yaml b/test/test_data/mgopone-1251/mutated-0.yaml new file mode 100644 index 0000000000..74fbc482c3 --- /dev/null +++ b/test/test_data/mgopone-1251/mutated-0.yaml @@ -0,0 +1,60 @@ +apiVersion: mongodbcommunity.mongodb.com/v1 +kind: MongoDBCommunity +metadata: + namespace: mongodb + name: test-cluster +spec: + automationConfig: + processes: + - disabled: false + name: test-cluster-1 + members: 3 + type: ReplicaSet + version: "4.4.0" + security: + authentication: + modes: ["SCRAM"] + users: + - name: my-user + db: admin + passwordSecretRef: # a reference to the secret that will be used to generate the user's password + name: my-user-password + roles: + - name: clusterAdmin + db: admin + - name: userAdminAnyDatabase + db: admin + scramCredentialsSecretName: my-scram + statefulSet: + spec: + template: + spec: + # resources can be specified by applying an override + # per container name. + containers: + - name: mongod + resources: + limits: + cpu: "1" + memory: 1000M + requests: + cpu: "1" + memory: 1000M + - name: mongodb-agent + resources: + limits: + cpu: "1" + memory: 1000M + requests: + cpu: "1" + memory: 1000M +# the user credentials will be generated from this secret +# once the credentials are generated, this secret is no longer required +#--- +#apiVersion: v1 +#kind: Secret +#metadata: +# name: my-user-password +#type: Opaque +#stringData: +# password: diff --git a/test/test_data/mgopone-1251/mutated-1.yaml b/test/test_data/mgopone-1251/mutated-1.yaml new file mode 100644 index 0000000000..649099bb93 --- /dev/null +++ b/test/test_data/mgopone-1251/mutated-1.yaml @@ -0,0 +1,66 @@ +apiVersion: mongodbcommunity.mongodb.com/v1 +kind: MongoDBCommunity +metadata: + namespace: mongodb + name: test-cluster +spec: + automationConfig: + processes: + - disabled: false + name: test-cluster-1 + members: 3 + type: ReplicaSet + version: "4.4.0" + security: + authentication: + modes: ["SCRAM"] + users: + - name: my-user + db: admin + passwordSecretRef: # a reference to the secret that will be used to generate the user's password + name: my-user-password + roles: + - name: clusterAdmin + db: admin + - name: userAdminAnyDatabase + db: admin + scramCredentialsSecretName: my-scram + statefulSet: + spec: + template: + spec: + # resources can be specified by applying an override + # per container name. + containers: + - name: mongod + resources: + limits: + cpu: "1" + memory: 1000M + requests: + cpu: "1" + memory: 1000M + - name: mongodb-agent + resources: + limits: + cpu: "1" + memory: 1000M + requests: + cpu: "1" + memory: 1000M + tolerations: + - effect: NoExecute + key: test-key + operator: Equal + value: test-value + tolerationSeconds: 3600 +# the user credentials will be generated from this secret +# once the credentials are generated, this secret is no longer required +#--- +#apiVersion: v1 +#kind: Secret +#metadata: +# name: my-user-password +#type: Opaque +#stringData: +# password: diff --git a/test/test_data/mgopone-1251/mutated-2.yaml b/test/test_data/mgopone-1251/mutated-2.yaml new file mode 100644 index 0000000000..3c44137e74 --- /dev/null +++ b/test/test_data/mgopone-1251/mutated-2.yaml @@ -0,0 +1,61 @@ +apiVersion: mongodbcommunity.mongodb.com/v1 +kind: MongoDBCommunity +metadata: + namespace: mongodb + name: test-cluster +spec: + automationConfig: + processes: + - disabled: false + name: test-cluster-1 + members: 3 + type: ReplicaSet + version: "4.4.0" + security: + authentication: + modes: ["SCRAM"] + users: + - name: my-user + db: admin + passwordSecretRef: # a reference to the secret that will be used to generate the user's password + name: my-user-password + roles: + - name: clusterAdmin + db: admin + - name: userAdminAnyDatabase + db: admin + scramCredentialsSecretName: my-scram + statefulSet: + spec: + template: + spec: + # resources can be specified by applying an override + # per container name. + containers: + - name: mongod + resources: + limits: + cpu: "1" + memory: 1000M + requests: + cpu: "1" + memory: 1000M + - name: mongodb-agent + resources: + limits: + cpu: "1" + memory: 1000M + requests: + cpu: "1" + memory: 1000M + tolerations: [] +# the user credentials will be generated from this secret +# once the credentials are generated, this secret is no longer required +#--- +#apiVersion: v1 +#kind: Secret +#metadata: +# name: my-user-password +#type: Opaque +#stringData: +# password: diff --git a/test/test_data/mgopone-1252/mutated-0.yaml b/test/test_data/mgopone-1252/mutated-0.yaml new file mode 100644 index 0000000000..ef9d9519bf --- /dev/null +++ b/test/test_data/mgopone-1252/mutated-0.yaml @@ -0,0 +1,58 @@ +apiVersion: mongodbcommunity.mongodb.com/v1 +kind: MongoDBCommunity +metadata: + namespace: mongodb + name: test-cluster +spec: + automationConfig: + processes: + - disabled: false + name: test-cluster-1 + members: 3 + type: ReplicaSet + version: "4.4.0" + security: + authentication: + modes: ["SCRAM"] + users: + - name: my-user + db: admin + passwordSecretRef: # a reference to the secret that will be used to generate the user's password + name: my-user-password + roles: + - name: clusterAdmin + db: admin + - name: userAdminAnyDatabase + db: admin + scramCredentialsSecretName: my-scram + statefulSet: + spec: + template: + spec: + containers: + - name: mongod + resources: + limits: + cpu: "1" + memory: 1000M + requests: + cpu: "1" + memory: 1000M + - name: mongodb-agent + resources: + limits: + cpu: "1" + memory: 1000M + requests: + cpu: "1" + memory: 1000M +# the user credentials will be generated from this secret +# once the credentials are generated, this secret is no longer required +#--- +#apiVersion: v1 +#kind: Secret +#metadata: +# name: my-user-password +#type: Opaque +#stringData: +# password: diff --git a/test/test_data/mgopone-1252/mutated-1.yaml b/test/test_data/mgopone-1252/mutated-1.yaml new file mode 100644 index 0000000000..f511c1a96e --- /dev/null +++ b/test/test_data/mgopone-1252/mutated-1.yaml @@ -0,0 +1,49 @@ +apiVersion: mongodbcommunity.mongodb.com/v1 +kind: MongoDBCommunity +metadata: + namespace: mongodb + name: test-cluster +spec: + automationConfig: + processes: + - disabled: false + name: test-cluster-1 + members: 3 + type: ReplicaSet + version: "4.4.0" + security: + authentication: + modes: ["SCRAM"] + users: + - name: my-user + db: admin + passwordSecretRef: # a reference to the secret that will be used to generate the user's password + name: my-user-password + roles: + - name: clusterAdmin + db: admin + - name: userAdminAnyDatabase + db: admin + scramCredentialsSecretName: my-scram + statefulSet: + spec: + replicas: 2 + template: + spec: + containers: + - name: mongod + resources: + limits: + cpu: '1' + memory: 1000M + requests: + cpu: '1' + memory: 1000M + - name: mongodb-agent + resources: + limits: + cpu: '1' + memory: 1000M + requests: + cpu: '1' + memory: 1000M \ No newline at end of file diff --git a/test/test_data/mgopone-1252/mutated-2.yaml b/test/test_data/mgopone-1252/mutated-2.yaml new file mode 100644 index 0000000000..02da005c39 --- /dev/null +++ b/test/test_data/mgopone-1252/mutated-2.yaml @@ -0,0 +1,49 @@ +apiVersion: mongodbcommunity.mongodb.com/v1 +kind: MongoDBCommunity +metadata: + namespace: mongodb + name: test-cluster +spec: + automationConfig: + processes: + - disabled: false + name: test-cluster-1 + members: 3 + type: ReplicaSet + version: "4.4.0" + security: + authentication: + modes: ["SCRAM"] + users: + - name: my-user + db: admin + passwordSecretRef: # a reference to the secret that will be used to generate the user's password + name: my-user-password + roles: + - name: clusterAdmin + db: admin + - name: userAdminAnyDatabase + db: admin + scramCredentialsSecretName: my-scram + statefulSet: + spec: + replicas: 2 + template: + spec: + containers: + - name: mongod + resources: + limits: + cpu: '1' + memory: 1000M + requests: + cpu: '1' + memory: 2000M + - name: mongodb-agent + resources: + limits: + cpu: '1' + memory: 1000M + requests: + cpu: '1' + memory: 1000M \ No newline at end of file diff --git a/test/test_data/mgoptwo-696/mutated-0.yaml b/test/test_data/mgoptwo-696/mutated-0.yaml new file mode 100644 index 0000000000..5f3752f7c7 --- /dev/null +++ b/test/test_data/mgoptwo-696/mutated-0.yaml @@ -0,0 +1,133 @@ +apiVersion: psmdb.percona.com/v1-12-0 +kind: PerconaServerMongoDB +metadata: + finalizers: + - delete-psmdb-pods-in-order + name: test-cluster +spec: + allowUnsafeConfigurations: false + backup: + enabled: true + image: percona/percona-backup-mongodb:1.7.0 + pitr: + compressionLevel: 6 + compressionType: gzip + enabled: true + serviceAccountName: percona-server-mongodb-operator + tasks: + - compressionLevel: 6 + compressionType: gzip + enabled: true + keep: 3 + name: daily-s3-us-west + schedule: 0 0 * * * + storageName: s3-us-west + crVersion: 1.12.0 + image: percona/percona-server-mongodb:4.4.10-11 + imagePullPolicy: IfNotPresent + multiCluster: + DNSSuffix: svc.clusterset.local + enabled: false + pmm: + enabled: false + image: percona/pmm-client:2.24.0 + serverHost: monitoring-service + replsets: + - arbiter: + affinity: + antiAffinityTopologyKey: kubernetes.io/hostname + enabled: true + size: 2 + expose: + enabled: true + exposeType: ClusterIP + name: rs0 + nonvoting: + affinity: + antiAffinityTopologyKey: kubernetes.io/hostname + configuration: "operationProfiling:\n mode: slowOp\nsystemLog:\n verbosity:\ + \ 1\n" + enabled: true + podDisruptionBudget: + maxUnavailable: 1 + resources: + limits: + cpu: 300m + memory: 0.5G + requests: + cpu: 300m + memory: 0.5G + size: 2 + volumeSpec: + persistentVolumeClaim: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 3Gi + storageClassName: standard + podDisruptionBudget: + maxUnavailable: 1 + resources: + limits: + cpu: 300m + memory: 0.5G + requests: + cpu: 300m + memory: 0.5G + size: 2 + volumeSpec: + persistentVolumeClaim: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 3Gi + storageClassName: standard + secrets: + encryptionKey: my-cluster-name-mongodb-encryption-key + users: my-cluster-name-secrets + sharding: + configsvrReplSet: + affinity: + antiAffinityTopologyKey: kubernetes.io/hostname + expose: + enabled: true + exposeType: ClusterIP + podDisruptionBudget: + maxUnavailable: 1 + resources: + limits: + cpu: 300m + memory: 0.5G + requests: + cpu: 300m + memory: 0.5G + size: 2 + volumeSpec: + persistentVolumeClaim: + resources: + requests: + storage: 3Gi + enabled: true + mongos: + affinity: + antiAffinityTopologyKey: kubernetes.io/hostname + expose: + exposeType: ClusterIP + podDisruptionBudget: + maxUnavailable: 1 + resources: + limits: + cpu: 300m + memory: 0.5G + requests: + cpu: 300m + memory: 0.5G + size: 2 + updateStrategy: SmartUpdate + upgradeOptions: + apply: 4.4-never + schedule: 0 2 * * * + setFCV: false + versionServiceEndpoint: https://check.percona.com diff --git a/test/test_data/mgoptwo-696/mutated-1.yaml b/test/test_data/mgoptwo-696/mutated-1.yaml new file mode 100644 index 0000000000..b11c07d267 --- /dev/null +++ b/test/test_data/mgoptwo-696/mutated-1.yaml @@ -0,0 +1,135 @@ +apiVersion: psmdb.percona.com/v1-12-0 +kind: PerconaServerMongoDB +metadata: + finalizers: + - delete-psmdb-pods-in-order + name: test-cluster +spec: + allowUnsafeConfigurations: false + backup: + enabled: true + image: percona/percona-backup-mongodb:1.7.0 + pitr: + compressionLevel: 6 + compressionType: gzip + enabled: true + serviceAccountName: percona-server-mongodb-operator + tasks: + - compressionLevel: 6 + compressionType: gzip + enabled: true + keep: 3 + name: daily-s3-us-west + schedule: 0 0 * * * + storageName: s3-us-west + crVersion: 1.12.0 + image: percona/percona-server-mongodb:4.4.10-11 + imagePullPolicy: IfNotPresent + multiCluster: + DNSSuffix: svc.clusterset.local + enabled: false + pmm: + enabled: false + image: percona/pmm-client:2.24.0 + serverHost: monitoring-service + replsets: + - annotations: + ACTOKEY: ACTOKEY + arbiter: + affinity: + antiAffinityTopologyKey: kubernetes.io/hostname + enabled: true + size: 2 + expose: + enabled: true + exposeType: ClusterIP + name: rs0 + nonvoting: + affinity: + antiAffinityTopologyKey: kubernetes.io/hostname + configuration: "operationProfiling:\n mode: slowOp\nsystemLog:\n verbosity:\ + \ 1\n" + enabled: true + podDisruptionBudget: + maxUnavailable: 1 + resources: + limits: + cpu: 300m + memory: 0.5G + requests: + cpu: 300m + memory: 0.5G + size: 2 + volumeSpec: + persistentVolumeClaim: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 3Gi + storageClassName: standard + podDisruptionBudget: + maxUnavailable: 1 + resources: + limits: + cpu: 300m + memory: 0.5G + requests: + cpu: 300m + memory: 0.5G + size: 2 + volumeSpec: + persistentVolumeClaim: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 3Gi + storageClassName: standard + secrets: + encryptionKey: my-cluster-name-mongodb-encryption-key + users: my-cluster-name-secrets + sharding: + configsvrReplSet: + affinity: + antiAffinityTopologyKey: kubernetes.io/hostname + expose: + enabled: true + exposeType: ClusterIP + podDisruptionBudget: + maxUnavailable: 1 + resources: + limits: + cpu: 300m + memory: 0.5G + requests: + cpu: 300m + memory: 0.5G + size: 2 + volumeSpec: + persistentVolumeClaim: + resources: + requests: + storage: 3Gi + enabled: true + mongos: + affinity: + antiAffinityTopologyKey: kubernetes.io/hostname + expose: + exposeType: ClusterIP + podDisruptionBudget: + maxUnavailable: 1 + resources: + limits: + cpu: 300m + memory: 0.5G + requests: + cpu: 300m + memory: 0.5G + size: 2 + updateStrategy: SmartUpdate + upgradeOptions: + apply: 4.4-never + schedule: 0 2 * * * + setFCV: false + versionServiceEndpoint: https://check.percona.com diff --git a/test/test_data/mgoptwo-696/mutated-2.yaml b/test/test_data/mgoptwo-696/mutated-2.yaml new file mode 100644 index 0000000000..41aa58f370 --- /dev/null +++ b/test/test_data/mgoptwo-696/mutated-2.yaml @@ -0,0 +1,134 @@ +apiVersion: psmdb.percona.com/v1-12-0 +kind: PerconaServerMongoDB +metadata: + finalizers: + - delete-psmdb-pods-in-order + name: test-cluster +spec: + allowUnsafeConfigurations: false + backup: + enabled: true + image: percona/percona-backup-mongodb:1.7.0 + pitr: + compressionLevel: 6 + compressionType: gzip + enabled: true + serviceAccountName: percona-server-mongodb-operator + tasks: + - compressionLevel: 6 + compressionType: gzip + enabled: true + keep: 3 + name: daily-s3-us-west + schedule: 0 0 * * * + storageName: s3-us-west + crVersion: 1.12.0 + image: percona/percona-server-mongodb:4.4.10-11 + imagePullPolicy: IfNotPresent + multiCluster: + DNSSuffix: svc.clusterset.local + enabled: false + pmm: + enabled: false + image: percona/pmm-client:2.24.0 + serverHost: monitoring-service + replsets: + - annotations: {} + arbiter: + affinity: + antiAffinityTopologyKey: kubernetes.io/hostname + enabled: true + size: 2 + expose: + enabled: true + exposeType: ClusterIP + name: rs0 + nonvoting: + affinity: + antiAffinityTopologyKey: kubernetes.io/hostname + configuration: "operationProfiling:\n mode: slowOp\nsystemLog:\n verbosity:\ + \ 1\n" + enabled: true + podDisruptionBudget: + maxUnavailable: 1 + resources: + limits: + cpu: 300m + memory: 0.5G + requests: + cpu: 300m + memory: 0.5G + size: 2 + volumeSpec: + persistentVolumeClaim: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 3Gi + storageClassName: standard + podDisruptionBudget: + maxUnavailable: 1 + resources: + limits: + cpu: 300m + memory: 0.5G + requests: + cpu: 300m + memory: 0.5G + size: 2 + volumeSpec: + persistentVolumeClaim: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 3Gi + storageClassName: standard + secrets: + encryptionKey: my-cluster-name-mongodb-encryption-key + users: my-cluster-name-secrets + sharding: + configsvrReplSet: + affinity: + antiAffinityTopologyKey: kubernetes.io/hostname + expose: + enabled: true + exposeType: ClusterIP + podDisruptionBudget: + maxUnavailable: 1 + resources: + limits: + cpu: 300m + memory: 0.5G + requests: + cpu: 300m + memory: 0.5G + size: 2 + volumeSpec: + persistentVolumeClaim: + resources: + requests: + storage: 3Gi + enabled: true + mongos: + affinity: + antiAffinityTopologyKey: kubernetes.io/hostname + expose: + exposeType: ClusterIP + podDisruptionBudget: + maxUnavailable: 1 + resources: + limits: + cpu: 300m + memory: 0.5G + requests: + cpu: 300m + memory: 0.5G + size: 2 + updateStrategy: SmartUpdate + upgradeOptions: + apply: 4.4-never + schedule: 0 2 * * * + setFCV: false + versionServiceEndpoint: https://check.percona.com diff --git a/test/test_data/mgoptwo-738/mutated-0.yaml b/test/test_data/mgoptwo-738/mutated-0.yaml new file mode 100644 index 0000000000..1158a4eb21 --- /dev/null +++ b/test/test_data/mgoptwo-738/mutated-0.yaml @@ -0,0 +1,150 @@ +apiVersion: psmdb.percona.com/v1-12-0 +kind: PerconaServerMongoDB +metadata: + finalizers: + - delete-psmdb-pods-in-order + name: test-cluster +spec: + allowUnsafeConfigurations: false + backup: + enabled: true + image: percona/percona-backup-mongodb:1.7.0 + pitr: + compressionLevel: 6 + compressionType: gzip + enabled: true + serviceAccountName: percona-server-mongodb-operator + tasks: + - compressionLevel: 6 + compressionType: gzip + enabled: true + keep: 3 + name: daily-s3-us-west + schedule: 0 0 * * * + storageName: s3-us-west + crVersion: 1.12.0 + image: percona/percona-server-mongodb:4.4.10-11 + imagePullPolicy: IfNotPresent + multiCluster: + DNSSuffix: svc.clusterset.local + enabled: false + pmm: + enabled: false + image: percona/pmm-client:2.24.0 + serverHost: monitoring-service + replsets: + - arbiter: + affinity: + antiAffinityTopologyKey: kubernetes.io/hostname + enabled: true + size: 2 + expose: + enabled: true + exposeType: ClusterIP + name: rs0 + nonvoting: + affinity: + antiAffinityTopologyKey: kubernetes.io/hostname + configuration: "operationProfiling:\n mode: slowOp\nsystemLog:\n verbosity:\ + \ 1\n" + enabled: true + podDisruptionBudget: + maxUnavailable: 1 + resources: + limits: + cpu: 300m + memory: 0.5G + requests: + cpu: 300m + memory: 0.5G + size: 2 + volumeSpec: + persistentVolumeClaim: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 3Gi + storageClassName: standard + podDisruptionBudget: + maxUnavailable: 1 + resources: + limits: + cpu: 300m + memory: 0.5G + requests: + cpu: 300m + memory: 0.5G + size: 2 + volumeSpec: + persistentVolumeClaim: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 3Gi + storageClassName: standard + secrets: + encryptionKey: my-cluster-name-mongodb-encryption-key + users: my-cluster-name-secrets + sharding: + configsvrReplSet: + affinity: + antiAffinityTopologyKey: kubernetes.io/hostname + expose: + enabled: true + exposeType: ClusterIP + podDisruptionBudget: + maxUnavailable: 1 + resources: + limits: + cpu: 300m + memory: 0.5G + requests: + cpu: 300m + memory: 0.5G + size: 2 + volumeSpec: + persistentVolumeClaim: + resources: + requests: + storage: 3Gi + enabled: true + mongos: + affinity: + antiAffinityTopologyKey: kubernetes.io/hostname + expose: + exposeType: ClusterIP + podDisruptionBudget: + maxUnavailable: 1 + resources: + limits: + cpu: 300m + memory: 0.5G + requests: + cpu: 300m + memory: 0.5G + size: 2 + updateStrategy: SmartUpdate + upgradeOptions: + apply: 4.4-never + schedule: 0 2 * * * + setFCV: false + versionServiceEndpoint: https://check.percona.com + mongod: + security: + encryptionKeySecret: "my-cluster-name-mongodb-encryption-key" + storage: + engine: wiredTiger + inMemory: + engineConfig: + inMemorySizeRatio: 0.9 + wiredTiger: + engineConfig: + cacheSizeRatio: 0.5 + directoryForIndexes: false + journalCompressor: snappy + collectionConfig: + blockCompressor: snappy + indexConfig: + prefixCompression: true \ No newline at end of file diff --git a/test/test_data/mgoptwo-738/mutated-1.yaml b/test/test_data/mgoptwo-738/mutated-1.yaml new file mode 100644 index 0000000000..00e6d8c33e --- /dev/null +++ b/test/test_data/mgoptwo-738/mutated-1.yaml @@ -0,0 +1,150 @@ +apiVersion: psmdb.percona.com/v1-12-0 +kind: PerconaServerMongoDB +metadata: + finalizers: + - delete-psmdb-pods-in-order + name: test-cluster +spec: + allowUnsafeConfigurations: false + backup: + enabled: true + image: percona/percona-backup-mongodb:1.7.0 + pitr: + compressionLevel: 6 + compressionType: gzip + enabled: true + serviceAccountName: percona-server-mongodb-operator + tasks: + - compressionLevel: 6 + compressionType: gzip + enabled: true + keep: 3 + name: daily-s3-us-west + schedule: 0 0 * * * + storageName: s3-us-west + crVersion: 1.12.0 + image: percona/percona-server-mongodb:4.4.10-11 + imagePullPolicy: IfNotPresent + multiCluster: + DNSSuffix: svc.clusterset.local + enabled: false + pmm: + enabled: false + image: percona/pmm-client:2.24.0 + serverHost: monitoring-service + replsets: + - arbiter: + affinity: + antiAffinityTopologyKey: kubernetes.io/hostname + enabled: true + size: 2 + expose: + enabled: true + exposeType: ClusterIP + name: rs0 + nonvoting: + affinity: + antiAffinityTopologyKey: kubernetes.io/hostname + configuration: "operationProfiling:\n mode: slowOp\nsystemLog:\n verbosity:\ + \ 1\n" + enabled: true + podDisruptionBudget: + maxUnavailable: 1 + resources: + limits: + cpu: 300m + memory: 0.5G + requests: + cpu: 300m + memory: 0.5G + size: 2 + volumeSpec: + persistentVolumeClaim: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 3Gi + storageClassName: standard + podDisruptionBudget: + maxUnavailable: 1 + resources: + limits: + cpu: 300m + memory: 0.5G + requests: + cpu: 300m + memory: 0.5G + size: 2 + volumeSpec: + persistentVolumeClaim: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 3Gi + storageClassName: standard + secrets: + encryptionKey: my-cluster-name-mongodb-encryption-key + users: my-cluster-name-secrets + sharding: + configsvrReplSet: + affinity: + antiAffinityTopologyKey: kubernetes.io/hostname + expose: + enabled: true + exposeType: ClusterIP + podDisruptionBudget: + maxUnavailable: 1 + resources: + limits: + cpu: 300m + memory: 0.5G + requests: + cpu: 300m + memory: 0.5G + size: 2 + volumeSpec: + persistentVolumeClaim: + resources: + requests: + storage: 3Gi + enabled: true + mongos: + affinity: + antiAffinityTopologyKey: kubernetes.io/hostname + expose: + exposeType: ClusterIP + podDisruptionBudget: + maxUnavailable: 1 + resources: + limits: + cpu: 300m + memory: 0.5G + requests: + cpu: 300m + memory: 0.5G + size: 2 + updateStrategy: SmartUpdate + upgradeOptions: + apply: 4.4-never + schedule: 0 2 * * * + setFCV: false + versionServiceEndpoint: https://check.percona.com + mongod: + security: + encryptionKeySecret: "my-cluster-name-mongodb-encryption-key" + storage: + engine: wiredTiger + inMemory: + engineConfig: + inMemorySizeRatio: 0.9 + wiredTiger: + engineConfig: + cacheSizeRatio: 0.7 + directoryForIndexes: false + journalCompressor: snappy + collectionConfig: + blockCompressor: snappy + indexConfig: + prefixCompression: true \ No newline at end of file diff --git a/test/test_data/mgoptwo-742/mutated-0.yaml b/test/test_data/mgoptwo-742/mutated-0.yaml new file mode 100644 index 0000000000..5f3752f7c7 --- /dev/null +++ b/test/test_data/mgoptwo-742/mutated-0.yaml @@ -0,0 +1,133 @@ +apiVersion: psmdb.percona.com/v1-12-0 +kind: PerconaServerMongoDB +metadata: + finalizers: + - delete-psmdb-pods-in-order + name: test-cluster +spec: + allowUnsafeConfigurations: false + backup: + enabled: true + image: percona/percona-backup-mongodb:1.7.0 + pitr: + compressionLevel: 6 + compressionType: gzip + enabled: true + serviceAccountName: percona-server-mongodb-operator + tasks: + - compressionLevel: 6 + compressionType: gzip + enabled: true + keep: 3 + name: daily-s3-us-west + schedule: 0 0 * * * + storageName: s3-us-west + crVersion: 1.12.0 + image: percona/percona-server-mongodb:4.4.10-11 + imagePullPolicy: IfNotPresent + multiCluster: + DNSSuffix: svc.clusterset.local + enabled: false + pmm: + enabled: false + image: percona/pmm-client:2.24.0 + serverHost: monitoring-service + replsets: + - arbiter: + affinity: + antiAffinityTopologyKey: kubernetes.io/hostname + enabled: true + size: 2 + expose: + enabled: true + exposeType: ClusterIP + name: rs0 + nonvoting: + affinity: + antiAffinityTopologyKey: kubernetes.io/hostname + configuration: "operationProfiling:\n mode: slowOp\nsystemLog:\n verbosity:\ + \ 1\n" + enabled: true + podDisruptionBudget: + maxUnavailable: 1 + resources: + limits: + cpu: 300m + memory: 0.5G + requests: + cpu: 300m + memory: 0.5G + size: 2 + volumeSpec: + persistentVolumeClaim: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 3Gi + storageClassName: standard + podDisruptionBudget: + maxUnavailable: 1 + resources: + limits: + cpu: 300m + memory: 0.5G + requests: + cpu: 300m + memory: 0.5G + size: 2 + volumeSpec: + persistentVolumeClaim: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 3Gi + storageClassName: standard + secrets: + encryptionKey: my-cluster-name-mongodb-encryption-key + users: my-cluster-name-secrets + sharding: + configsvrReplSet: + affinity: + antiAffinityTopologyKey: kubernetes.io/hostname + expose: + enabled: true + exposeType: ClusterIP + podDisruptionBudget: + maxUnavailable: 1 + resources: + limits: + cpu: 300m + memory: 0.5G + requests: + cpu: 300m + memory: 0.5G + size: 2 + volumeSpec: + persistentVolumeClaim: + resources: + requests: + storage: 3Gi + enabled: true + mongos: + affinity: + antiAffinityTopologyKey: kubernetes.io/hostname + expose: + exposeType: ClusterIP + podDisruptionBudget: + maxUnavailable: 1 + resources: + limits: + cpu: 300m + memory: 0.5G + requests: + cpu: 300m + memory: 0.5G + size: 2 + updateStrategy: SmartUpdate + upgradeOptions: + apply: 4.4-never + schedule: 0 2 * * * + setFCV: false + versionServiceEndpoint: https://check.percona.com diff --git a/test/test_data/mgoptwo-742/mutated-1.yaml b/test/test_data/mgoptwo-742/mutated-1.yaml new file mode 100644 index 0000000000..3d79b5ef2d --- /dev/null +++ b/test/test_data/mgoptwo-742/mutated-1.yaml @@ -0,0 +1,135 @@ +apiVersion: psmdb.percona.com/v1-12-0 +kind: PerconaServerMongoDB +metadata: + finalizers: + - delete-psmdb-pods-in-order + name: test-cluster +spec: + allowUnsafeConfigurations: false + backup: + enabled: true + image: percona/percona-backup-mongodb:1.7.0 + pitr: + compressionLevel: 6 + compressionType: gzip + enabled: true + serviceAccountName: percona-server-mongodb-operator + tasks: + - compressionLevel: 6 + compressionType: gzip + enabled: true + keep: 3 + name: daily-s3-us-west + schedule: 0 0 * * * + storageName: s3-us-west + crVersion: 1.12.0 + image: percona/percona-server-mongodb:4.4.10-11 + imagePullPolicy: IfNotPresent + multiCluster: + DNSSuffix: svc.clusterset.local + enabled: false + pmm: + enabled: false + image: percona/pmm-client:2.24.0 + serverHost: monitoring-service + replsets: + - arbiter: + affinity: + antiAffinityTopologyKey: kubernetes.io/hostname + enabled: true + size: 2 + expose: + enabled: true + exposeType: ClusterIP + name: rs0 + nonvoting: + affinity: + antiAffinityTopologyKey: kubernetes.io/hostname + configuration: "operationProfiling:\n mode: slowOp\nsystemLog:\n verbosity:\ + \ 1\n" + enabled: true + podDisruptionBudget: + maxUnavailable: 1 + resources: + limits: + cpu: 300m + memory: 0.5G + requests: + cpu: 300m + memory: 0.5G + size: 2 + volumeSpec: + persistentVolumeClaim: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 3Gi + storageClassName: standard + podDisruptionBudget: + maxUnavailable: 1 + resources: + limits: + cpu: 300m + memory: 0.5G + requests: + cpu: 300m + memory: 0.5G + size: 2 + volumeSpec: + persistentVolumeClaim: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 3Gi + storageClassName: standard + secrets: + encryptionKey: my-cluster-name-mongodb-encryption-key + users: my-cluster-name-secrets + sharding: + configsvrReplSet: + affinity: + antiAffinityTopologyKey: kubernetes.io/hostname + expose: + enabled: true + exposeType: ClusterIP + podDisruptionBudget: + maxUnavailable: 1 + resources: + limits: + cpu: 300m + memory: 0.5G + requests: + cpu: 300m + memory: 0.5G + size: 2 + volumeSpec: + persistentVolumeClaim: + resources: + requests: + storage: 3Gi + enabled: true + mongos: + affinity: + antiAffinityTopologyKey: kubernetes.io/hostname + expose: + exposeType: ClusterIP + serviceAnnotations: + ACTOKEY: ACTOKEY + podDisruptionBudget: + maxUnavailable: 1 + resources: + limits: + cpu: 300m + memory: 0.5G + requests: + cpu: 300m + memory: 0.5G + size: 2 + updateStrategy: SmartUpdate + upgradeOptions: + apply: 4.4-never + schedule: 0 2 * * * + setFCV: false + versionServiceEndpoint: https://check.percona.com diff --git a/test/test_data/mgoptwo-895/mutated-0.yaml b/test/test_data/mgoptwo-895/mutated-0.yaml new file mode 100644 index 0000000000..5f3752f7c7 --- /dev/null +++ b/test/test_data/mgoptwo-895/mutated-0.yaml @@ -0,0 +1,133 @@ +apiVersion: psmdb.percona.com/v1-12-0 +kind: PerconaServerMongoDB +metadata: + finalizers: + - delete-psmdb-pods-in-order + name: test-cluster +spec: + allowUnsafeConfigurations: false + backup: + enabled: true + image: percona/percona-backup-mongodb:1.7.0 + pitr: + compressionLevel: 6 + compressionType: gzip + enabled: true + serviceAccountName: percona-server-mongodb-operator + tasks: + - compressionLevel: 6 + compressionType: gzip + enabled: true + keep: 3 + name: daily-s3-us-west + schedule: 0 0 * * * + storageName: s3-us-west + crVersion: 1.12.0 + image: percona/percona-server-mongodb:4.4.10-11 + imagePullPolicy: IfNotPresent + multiCluster: + DNSSuffix: svc.clusterset.local + enabled: false + pmm: + enabled: false + image: percona/pmm-client:2.24.0 + serverHost: monitoring-service + replsets: + - arbiter: + affinity: + antiAffinityTopologyKey: kubernetes.io/hostname + enabled: true + size: 2 + expose: + enabled: true + exposeType: ClusterIP + name: rs0 + nonvoting: + affinity: + antiAffinityTopologyKey: kubernetes.io/hostname + configuration: "operationProfiling:\n mode: slowOp\nsystemLog:\n verbosity:\ + \ 1\n" + enabled: true + podDisruptionBudget: + maxUnavailable: 1 + resources: + limits: + cpu: 300m + memory: 0.5G + requests: + cpu: 300m + memory: 0.5G + size: 2 + volumeSpec: + persistentVolumeClaim: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 3Gi + storageClassName: standard + podDisruptionBudget: + maxUnavailable: 1 + resources: + limits: + cpu: 300m + memory: 0.5G + requests: + cpu: 300m + memory: 0.5G + size: 2 + volumeSpec: + persistentVolumeClaim: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 3Gi + storageClassName: standard + secrets: + encryptionKey: my-cluster-name-mongodb-encryption-key + users: my-cluster-name-secrets + sharding: + configsvrReplSet: + affinity: + antiAffinityTopologyKey: kubernetes.io/hostname + expose: + enabled: true + exposeType: ClusterIP + podDisruptionBudget: + maxUnavailable: 1 + resources: + limits: + cpu: 300m + memory: 0.5G + requests: + cpu: 300m + memory: 0.5G + size: 2 + volumeSpec: + persistentVolumeClaim: + resources: + requests: + storage: 3Gi + enabled: true + mongos: + affinity: + antiAffinityTopologyKey: kubernetes.io/hostname + expose: + exposeType: ClusterIP + podDisruptionBudget: + maxUnavailable: 1 + resources: + limits: + cpu: 300m + memory: 0.5G + requests: + cpu: 300m + memory: 0.5G + size: 2 + updateStrategy: SmartUpdate + upgradeOptions: + apply: 4.4-never + schedule: 0 2 * * * + setFCV: false + versionServiceEndpoint: https://check.percona.com diff --git a/test/test_data/mgoptwo-895/mutated-1.yaml b/test/test_data/mgoptwo-895/mutated-1.yaml new file mode 100644 index 0000000000..d1b74ff62d --- /dev/null +++ b/test/test_data/mgoptwo-895/mutated-1.yaml @@ -0,0 +1,133 @@ +apiVersion: psmdb.percona.com/v1-12-0 +kind: PerconaServerMongoDB +metadata: + finalizers: + - delete-psmdb-pods-in-order + name: test-cluster +spec: + allowUnsafeConfigurations: false + backup: + enabled: true + image: percona/percona-backup-mongodb:1.7.0 + pitr: + compressionLevel: 6 + compressionType: gzip + enabled: true + serviceAccountName: percona-server-mongodb-operator + tasks: + - compressionLevel: 6 + compressionType: gzip + enabled: true + keep: 3 + name: daily-s3-us-west + schedule: 0 0 * * * + storageName: s3-us-west + crVersion: 1.12.0 + image: percona/percona-server-mongodb:4.4.10-11 + imagePullPolicy: IfNotPresent + multiCluster: + DNSSuffix: svc.clusterset.local + enabled: false + pmm: + enabled: false + image: percona/pmm-client:2.24.0 + serverHost: monitoring-service + replsets: + - arbiter: + affinity: + antiAffinityTopologyKey: kubernetes.io/hostname + enabled: true + size: 2 + expose: + enabled: false + exposeType: ClusterIP + name: rs0 + nonvoting: + affinity: + antiAffinityTopologyKey: kubernetes.io/hostname + configuration: "operationProfiling:\n mode: slowOp\nsystemLog:\n verbosity:\ + \ 1\n" + enabled: true + podDisruptionBudget: + maxUnavailable: 1 + resources: + limits: + cpu: 300m + memory: 0.5G + requests: + cpu: 300m + memory: 0.5G + size: 2 + volumeSpec: + persistentVolumeClaim: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 3Gi + storageClassName: standard + podDisruptionBudget: + maxUnavailable: 1 + resources: + limits: + cpu: 300m + memory: 0.5G + requests: + cpu: 300m + memory: 0.5G + size: 2 + volumeSpec: + persistentVolumeClaim: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 3Gi + storageClassName: standard + secrets: + encryptionKey: my-cluster-name-mongodb-encryption-key + users: my-cluster-name-secrets + sharding: + configsvrReplSet: + affinity: + antiAffinityTopologyKey: kubernetes.io/hostname + expose: + enabled: true + exposeType: ClusterIP + podDisruptionBudget: + maxUnavailable: 1 + resources: + limits: + cpu: 300m + memory: 0.5G + requests: + cpu: 300m + memory: 0.5G + size: 2 + volumeSpec: + persistentVolumeClaim: + resources: + requests: + storage: 3Gi + enabled: true + mongos: + affinity: + antiAffinityTopologyKey: kubernetes.io/hostname + expose: + exposeType: ClusterIP + podDisruptionBudget: + maxUnavailable: 1 + resources: + limits: + cpu: 300m + memory: 0.5G + requests: + cpu: 300m + memory: 0.5G + size: 2 + updateStrategy: SmartUpdate + upgradeOptions: + apply: 4.4-never + schedule: 0 2 * * * + setFCV: false + versionServiceEndpoint: https://check.percona.com diff --git a/test/test_data/mgoptwo-897/mutated-0.yaml b/test/test_data/mgoptwo-897/mutated-0.yaml new file mode 100644 index 0000000000..5f3752f7c7 --- /dev/null +++ b/test/test_data/mgoptwo-897/mutated-0.yaml @@ -0,0 +1,133 @@ +apiVersion: psmdb.percona.com/v1-12-0 +kind: PerconaServerMongoDB +metadata: + finalizers: + - delete-psmdb-pods-in-order + name: test-cluster +spec: + allowUnsafeConfigurations: false + backup: + enabled: true + image: percona/percona-backup-mongodb:1.7.0 + pitr: + compressionLevel: 6 + compressionType: gzip + enabled: true + serviceAccountName: percona-server-mongodb-operator + tasks: + - compressionLevel: 6 + compressionType: gzip + enabled: true + keep: 3 + name: daily-s3-us-west + schedule: 0 0 * * * + storageName: s3-us-west + crVersion: 1.12.0 + image: percona/percona-server-mongodb:4.4.10-11 + imagePullPolicy: IfNotPresent + multiCluster: + DNSSuffix: svc.clusterset.local + enabled: false + pmm: + enabled: false + image: percona/pmm-client:2.24.0 + serverHost: monitoring-service + replsets: + - arbiter: + affinity: + antiAffinityTopologyKey: kubernetes.io/hostname + enabled: true + size: 2 + expose: + enabled: true + exposeType: ClusterIP + name: rs0 + nonvoting: + affinity: + antiAffinityTopologyKey: kubernetes.io/hostname + configuration: "operationProfiling:\n mode: slowOp\nsystemLog:\n verbosity:\ + \ 1\n" + enabled: true + podDisruptionBudget: + maxUnavailable: 1 + resources: + limits: + cpu: 300m + memory: 0.5G + requests: + cpu: 300m + memory: 0.5G + size: 2 + volumeSpec: + persistentVolumeClaim: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 3Gi + storageClassName: standard + podDisruptionBudget: + maxUnavailable: 1 + resources: + limits: + cpu: 300m + memory: 0.5G + requests: + cpu: 300m + memory: 0.5G + size: 2 + volumeSpec: + persistentVolumeClaim: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 3Gi + storageClassName: standard + secrets: + encryptionKey: my-cluster-name-mongodb-encryption-key + users: my-cluster-name-secrets + sharding: + configsvrReplSet: + affinity: + antiAffinityTopologyKey: kubernetes.io/hostname + expose: + enabled: true + exposeType: ClusterIP + podDisruptionBudget: + maxUnavailable: 1 + resources: + limits: + cpu: 300m + memory: 0.5G + requests: + cpu: 300m + memory: 0.5G + size: 2 + volumeSpec: + persistentVolumeClaim: + resources: + requests: + storage: 3Gi + enabled: true + mongos: + affinity: + antiAffinityTopologyKey: kubernetes.io/hostname + expose: + exposeType: ClusterIP + podDisruptionBudget: + maxUnavailable: 1 + resources: + limits: + cpu: 300m + memory: 0.5G + requests: + cpu: 300m + memory: 0.5G + size: 2 + updateStrategy: SmartUpdate + upgradeOptions: + apply: 4.4-never + schedule: 0 2 * * * + setFCV: false + versionServiceEndpoint: https://check.percona.com diff --git a/test/test_data/mgoptwo-897/mutated-1.yaml b/test/test_data/mgoptwo-897/mutated-1.yaml new file mode 100644 index 0000000000..17d2dad3f8 --- /dev/null +++ b/test/test_data/mgoptwo-897/mutated-1.yaml @@ -0,0 +1,137 @@ +apiVersion: psmdb.percona.com/v1-12-0 +kind: PerconaServerMongoDB +metadata: + finalizers: + - delete-psmdb-pods-in-order + name: test-cluster +spec: + allowUnsafeConfigurations: false + backup: + enabled: true + image: percona/percona-backup-mongodb:1.7.0 + pitr: + compressionLevel: 6 + compressionType: gzip + enabled: true + serviceAccountName: percona-server-mongodb-operator + tasks: + - compressionLevel: 6 + compressionType: gzip + enabled: true + keep: 3 + name: daily-s3-us-west + schedule: 0 0 * * * + storageName: s3-us-west + crVersion: 1.12.0 + image: percona/percona-server-mongodb:4.4.10-11 + imagePullPolicy: IfNotPresent + multiCluster: + DNSSuffix: svc.clusterset.local + enabled: false + pmm: + enabled: false + image: percona/pmm-client:2.24.0 + serverHost: monitoring-service + replsets: + - arbiter: + affinity: + antiAffinityTopologyKey: kubernetes.io/hostname + enabled: true + size: 2 + expose: + enabled: true + exposeType: ClusterIP + name: rs0 + nonvoting: + affinity: + antiAffinityTopologyKey: kubernetes.io/hostname + configuration: "operationProfiling:\n mode: slowOp\nsystemLog:\n verbosity:\ + \ 1\n" + enabled: true + podDisruptionBudget: + maxUnavailable: 1 + resources: + limits: + cpu: 300m + memory: 0.5G + requests: + cpu: 300m + memory: 0.5G + size: 2 + volumeSpec: + persistentVolumeClaim: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 3Gi + storageClassName: standard + podDisruptionBudget: + maxUnavailable: 1 + resources: + limits: + cpu: 300m + memory: 0.5G + requests: + cpu: 300m + memory: 0.5G + size: 2 + storage: + wiredTiger: + collectionConfig: + blockCompressor: '' + volumeSpec: + persistentVolumeClaim: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 3Gi + storageClassName: standard + secrets: + encryptionKey: my-cluster-name-mongodb-encryption-key + users: my-cluster-name-secrets + sharding: + configsvrReplSet: + affinity: + antiAffinityTopologyKey: kubernetes.io/hostname + expose: + enabled: true + exposeType: ClusterIP + podDisruptionBudget: + maxUnavailable: 1 + resources: + limits: + cpu: 300m + memory: 0.5G + requests: + cpu: 300m + memory: 0.5G + size: 2 + volumeSpec: + persistentVolumeClaim: + resources: + requests: + storage: 3Gi + enabled: true + mongos: + affinity: + antiAffinityTopologyKey: kubernetes.io/hostname + expose: + exposeType: ClusterIP + podDisruptionBudget: + maxUnavailable: 1 + resources: + limits: + cpu: 300m + memory: 0.5G + requests: + cpu: 300m + memory: 0.5G + size: 2 + updateStrategy: SmartUpdate + upgradeOptions: + apply: 4.4-never + schedule: 0 2 * * * + setFCV: false + versionServiceEndpoint: https://check.percona.com diff --git a/test/test_data/rbop-928/mutated-0.yaml b/test/test_data/rbop-928/mutated-0.yaml new file mode 100644 index 0000000000..55eceee9da --- /dev/null +++ b/test/test_data/rbop-928/mutated-0.yaml @@ -0,0 +1,50 @@ +apiVersion: rabbitmq.com/v1beta1 +kind: RabbitmqCluster +metadata: + name: test-cluster + namespace: rabbitmq-system +spec: + affinity: + podAffinity: + requiredDuringSchedulingIgnoredDuringExecution: null + podAntiAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + - labelSelector: + matchExpressions: + - key: app.kubernetes.io/name + operator: In + values: + - test-cluster + topologyKey: kubernetes.io/hostname + image: null + imagePullSecrets: null + persistence: + storage: 50Gi + rabbitmq: + additionalConfig: 'cluster_partition_handling = pause_minority + + vm_memory_high_watermark_paging_ratio = 0.99 + + disk_free_limit.relative = 1.0 + + collect_statistics_interval = 10000 + + ' + replicas: 3 + resources: + limits: + cpu: 1 + memory: 4Gi + requests: + cpu: 1 + memory: 4Gi + secretBackend: null + service: + type: ClusterIP + skipPostDeploySteps: false + terminationGracePeriodSeconds: 1024 + tls: + caSecretName: null + disableNonTLSListeners: false + secretName: null + tolerations: null diff --git a/test/test_data/rbop-928/mutated-1.yaml b/test/test_data/rbop-928/mutated-1.yaml new file mode 100644 index 0000000000..e96967b682 --- /dev/null +++ b/test/test_data/rbop-928/mutated-1.yaml @@ -0,0 +1,66 @@ +apiVersion: rabbitmq.com/v1beta1 +kind: RabbitmqCluster +metadata: + name: test-cluster + namespace: rabbitmq-system +spec: + affinity: + podAffinity: + requiredDuringSchedulingIgnoredDuringExecution: null + podAntiAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + - labelSelector: + matchExpressions: + - key: app.kubernetes.io/name + operator: In + values: + - test-cluster + topologyKey: kubernetes.io/hostname + image: null + imagePullSecrets: null + override: + statefulSet: + spec: + template: + spec: + affinity: + podAntiAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + - labelSelector: + matchExpressions: + - key: app.kubernetes.io/name + operator: In + values: + - test-cluster + topologyKey: kubernetes.io/hostname + containers: [] + persistence: + storage: 50Gi + rabbitmq: + additionalConfig: 'cluster_partition_handling = pause_minority + + vm_memory_high_watermark_paging_ratio = 0.99 + + disk_free_limit.relative = 1.0 + + collect_statistics_interval = 10000 + + ' + replicas: 3 + resources: + limits: + cpu: 1 + memory: 4Gi + requests: + cpu: 1 + memory: 4Gi + secretBackend: null + service: + type: ClusterIP + skipPostDeploySteps: false + terminationGracePeriodSeconds: 1024 + tls: + caSecretName: null + disableNonTLSListeners: false + secretName: null + tolerations: null diff --git a/test/test_data/rbop-928/mutated-2.yaml b/test/test_data/rbop-928/mutated-2.yaml new file mode 100644 index 0000000000..983d2815c0 --- /dev/null +++ b/test/test_data/rbop-928/mutated-2.yaml @@ -0,0 +1,57 @@ +apiVersion: rabbitmq.com/v1beta1 +kind: RabbitmqCluster +metadata: + name: test-cluster + namespace: rabbitmq-system +spec: + affinity: + podAffinity: + requiredDuringSchedulingIgnoredDuringExecution: null + podAntiAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + - labelSelector: + matchExpressions: + - key: app.kubernetes.io/name + operator: In + values: + - test-cluster + topologyKey: kubernetes.io/hostname + image: null + imagePullSecrets: null + override: + statefulSet: + spec: + template: + spec: + affinity: null + containers: [] + persistence: + storage: 50Gi + rabbitmq: + additionalConfig: 'cluster_partition_handling = pause_minority + + vm_memory_high_watermark_paging_ratio = 0.99 + + disk_free_limit.relative = 1.0 + + collect_statistics_interval = 10000 + + ' + replicas: 3 + resources: + limits: + cpu: 1 + memory: 4Gi + requests: + cpu: 1 + memory: 4Gi + secretBackend: null + service: + type: ClusterIP + skipPostDeploySteps: false + terminationGracePeriodSeconds: 1024 + tls: + caSecretName: null + disableNonTLSListeners: false + secretName: null + tolerations: null diff --git a/test/test_data/rbop-968/mutated-0.yaml b/test/test_data/rbop-968/mutated-0.yaml new file mode 100644 index 0000000000..f11d6d886f --- /dev/null +++ b/test/test_data/rbop-968/mutated-0.yaml @@ -0,0 +1,46 @@ +apiVersion: rabbitmq.com/v1beta1 +kind: RabbitmqCluster +metadata: + name: test-cluster + namespace: rabbitmq-system +spec: + affinity: + podAntiAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + - labelSelector: + matchExpressions: + - key: app.kubernetes.io/name + operator: In + values: + - test-cluster + topologyKey: kubernetes.io/hostname + podAffinity: + requiredDuringSchedulingIgnoredDuringExecution: null + image: null + imagePullSecrets: null + persistence: + storage: "50Gi" + rabbitmq: + additionalConfig: | + cluster_partition_handling = pause_minority + vm_memory_high_watermark_paging_ratio = 0.99 + disk_free_limit.relative = 1.0 + collect_statistics_interval = 10000 + replicas: 3 + resources: + requests: + cpu: 1 + memory: 4Gi + limits: + cpu: 1 + memory: 4Gi + secretBackend: null + service: + type: ClusterIP + skipPostDeploySteps: false + terminationGracePeriodSeconds: 1024 + tls: + caSecretName: null + disableNonTLSListeners: false + secretName: null + tolerations: null \ No newline at end of file diff --git a/test/test_data/rbop-968/mutated-1.yaml b/test/test_data/rbop-968/mutated-1.yaml new file mode 100644 index 0000000000..f416184996 --- /dev/null +++ b/test/test_data/rbop-968/mutated-1.yaml @@ -0,0 +1,48 @@ +apiVersion: rabbitmq.com/v1beta1 +kind: RabbitmqCluster +metadata: + name: test-cluster + namespace: rabbitmq-system +spec: + affinity: + podAntiAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + - labelSelector: + matchExpressions: + - key: app.kubernetes.io/name + operator: In + values: + - test-cluster + topologyKey: kubernetes.io/hostname + podAffinity: + requiredDuringSchedulingIgnoredDuringExecution: null + image: null + imagePullSecrets: null + persistence: + storage: "50Gi" + rabbitmq: + additionalConfig: | + cluster_partition_handling = pause_minority + vm_memory_high_watermark_paging_ratio = 0.99 + disk_free_limit.relative = 1.0 + collect_statistics_interval = 10000 + replicas: 3 + resources: + requests: + cpu: 1 + memory: 4Gi + limits: + cpu: 1 + memory: 4Gi + secretBackend: null + service: + annotations: + ACTOKEY: ACTOKEY + type: ClusterIP + skipPostDeploySteps: false + terminationGracePeriodSeconds: 1024 + tls: + caSecretName: null + disableNonTLSListeners: false + secretName: null + tolerations: null \ No newline at end of file diff --git a/test/test_data/rbop-968/mutated-2.yaml b/test/test_data/rbop-968/mutated-2.yaml new file mode 100644 index 0000000000..f11d6d886f --- /dev/null +++ b/test/test_data/rbop-968/mutated-2.yaml @@ -0,0 +1,46 @@ +apiVersion: rabbitmq.com/v1beta1 +kind: RabbitmqCluster +metadata: + name: test-cluster + namespace: rabbitmq-system +spec: + affinity: + podAntiAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + - labelSelector: + matchExpressions: + - key: app.kubernetes.io/name + operator: In + values: + - test-cluster + topologyKey: kubernetes.io/hostname + podAffinity: + requiredDuringSchedulingIgnoredDuringExecution: null + image: null + imagePullSecrets: null + persistence: + storage: "50Gi" + rabbitmq: + additionalConfig: | + cluster_partition_handling = pause_minority + vm_memory_high_watermark_paging_ratio = 0.99 + disk_free_limit.relative = 1.0 + collect_statistics_interval = 10000 + replicas: 3 + resources: + requests: + cpu: 1 + memory: 4Gi + limits: + cpu: 1 + memory: 4Gi + secretBackend: null + service: + type: ClusterIP + skipPostDeploySteps: false + terminationGracePeriodSeconds: 1024 + tls: + caSecretName: null + disableNonTLSListeners: false + secretName: null + tolerations: null \ No newline at end of file diff --git a/test/test_data/rbop-992/mutated-0.yaml b/test/test_data/rbop-992/mutated-0.yaml new file mode 100644 index 0000000000..687e1e0251 --- /dev/null +++ b/test/test_data/rbop-992/mutated-0.yaml @@ -0,0 +1,47 @@ +apiVersion: rabbitmq.com/v1beta1 +kind: RabbitmqCluster +metadata: + name: test-cluster + namespace: rabbitmq-system +spec: + affinity: + podAntiAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + - labelSelector: + matchExpressions: + - key: app.kubernetes.io/name + operator: In + values: + - test-cluster + topologyKey: kubernetes.io/hostname + podAffinity: + requiredDuringSchedulingIgnoredDuringExecution: null + image: null + imagePullSecrets: null + persistence: + storage: "50Gi" + storageClassName: standard + rabbitmq: + additionalConfig: | + cluster_partition_handling = pause_minority + vm_memory_high_watermark_paging_ratio = 0.99 + disk_free_limit.relative = 1.0 + collect_statistics_interval = 10000 + replicas: 3 + resources: + requests: + cpu: 1 + memory: 4Gi + limits: + cpu: 1 + memory: 4Gi + secretBackend: null + service: + type: ClusterIP + skipPostDeploySteps: false + terminationGracePeriodSeconds: 1024 + tls: + caSecretName: null + disableNonTLSListeners: false + secretName: null + tolerations: null \ No newline at end of file diff --git a/test/test_data/rbop-992/mutated-1.yaml b/test/test_data/rbop-992/mutated-1.yaml new file mode 100644 index 0000000000..65b500802b --- /dev/null +++ b/test/test_data/rbop-992/mutated-1.yaml @@ -0,0 +1,47 @@ +apiVersion: rabbitmq.com/v1beta1 +kind: RabbitmqCluster +metadata: + name: test-cluster + namespace: rabbitmq-system +spec: + affinity: + podAntiAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + - labelSelector: + matchExpressions: + - key: app.kubernetes.io/name + operator: In + values: + - test-cluster + topologyKey: kubernetes.io/hostname + podAffinity: + requiredDuringSchedulingIgnoredDuringExecution: null + image: null + imagePullSecrets: null + persistence: + storage: "50Gi" + storageClassName: ssd + rabbitmq: + additionalConfig: | + cluster_partition_handling = pause_minority + vm_memory_high_watermark_paging_ratio = 0.99 + disk_free_limit.relative = 1.0 + collect_statistics_interval = 10000 + replicas: 3 + resources: + requests: + cpu: 1 + memory: 4Gi + limits: + cpu: 1 + memory: 4Gi + secretBackend: null + service: + type: ClusterIP + skipPostDeploySteps: false + terminationGracePeriodSeconds: 1024 + tls: + caSecretName: null + disableNonTLSListeners: false + secretName: null + tolerations: null \ No newline at end of file diff --git a/test/test_data/rdopone-400/mutated-0.yaml b/test/test_data/rdopone-400/mutated-0.yaml new file mode 100644 index 0000000000..766e111c69 --- /dev/null +++ b/test/test_data/rdopone-400/mutated-0.yaml @@ -0,0 +1,36 @@ +apiVersion: databases.spotahome.com/v1 +kind: RedisFailover +metadata: + name: test-cluster +spec: + redis: + customConfig: + - maxclients 100 + - hz 50 + - timeout 60 + - tcp-keepalive 60 + - client-output-buffer-limit normal 0 0 0 + - client-output-buffer-limit slave 1000000000 1000000000 0 + - client-output-buffer-limit pubsub 33554432 8388608 60 + exporter: + enabled: true + imagePullPolicy: IfNotPresent + replicas: 3 + sentinel: + affinity: + podAntiAffinity: + preferredDuringSchedulingIgnoredDuringExecution: + - podAffinityTerm: + labelSelector: + matchExpressions: + - key: security + operator: In + values: + - us-west-1 + topologyKey: failure-domain.beta.kubernetes.io/zone + weight: 95 + customConfig: + - down-after-milliseconds 2000 + - failover-timeout 3000 + imagePullPolicy: IfNotPresent + replicas: 3 diff --git a/test/test_data/rdopone-400/mutated-1.yaml b/test/test_data/rdopone-400/mutated-1.yaml new file mode 100644 index 0000000000..52778bad39 --- /dev/null +++ b/test/test_data/rdopone-400/mutated-1.yaml @@ -0,0 +1,38 @@ +apiVersion: databases.spotahome.com/v1 +kind: RedisFailover +metadata: + name: test-cluster +spec: + redis: + customConfig: + - maxclients 100 + - hz 50 + - timeout 60 + - tcp-keepalive 60 + - client-output-buffer-limit normal 0 0 0 + - client-output-buffer-limit slave 1000000000 1000000000 0 + - client-output-buffer-limit pubsub 33554432 8388608 60 + exporter: + enabled: true + imagePullPolicy: IfNotPresent + replicas: 3 + serviceAnnotations: + ACTOKEY: ACTOKEY + sentinel: + affinity: + podAntiAffinity: + preferredDuringSchedulingIgnoredDuringExecution: + - podAffinityTerm: + labelSelector: + matchExpressions: + - key: security + operator: In + values: + - us-west-1 + topologyKey: failure-domain.beta.kubernetes.io/zone + weight: 95 + customConfig: + - down-after-milliseconds 2000 + - failover-timeout 3000 + imagePullPolicy: IfNotPresent + replicas: 3 diff --git a/test/test_data/rdopone-407/mutated-0.yaml b/test/test_data/rdopone-407/mutated-0.yaml new file mode 100644 index 0000000000..e16ef7fc8c --- /dev/null +++ b/test/test_data/rdopone-407/mutated-0.yaml @@ -0,0 +1,47 @@ +apiVersion: databases.spotahome.com/v1 +kind: RedisFailover +metadata: + name: test-cluster +spec: + redis: + storage: + persistentVolumeClaim: + apiVersion: v1 + metadata: + name: volume-claim + spec: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 50Gi + customConfig: + - maxclients 100 + - hz 50 + - timeout 60 + - tcp-keepalive 60 + - client-output-buffer-limit normal 0 0 0 + - client-output-buffer-limit slave 1000000000 1000000000 0 + - client-output-buffer-limit pubsub 33554432 8388608 60 + exporter: + enabled: true + imagePullPolicy: IfNotPresent + replicas: 3 + sentinel: + affinity: + podAntiAffinity: + preferredDuringSchedulingIgnoredDuringExecution: + - podAffinityTerm: + labelSelector: + matchExpressions: + - key: security + operator: In + values: + - us-west-1 + topologyKey: failure-domain.beta.kubernetes.io/zone + weight: 95 + customConfig: + - down-after-milliseconds 2000 + - failover-timeout 3000 + imagePullPolicy: IfNotPresent + replicas: 3 diff --git a/test/test_data/rdopone-407/mutated-1.yaml b/test/test_data/rdopone-407/mutated-1.yaml new file mode 100644 index 0000000000..d6bccfbbb4 --- /dev/null +++ b/test/test_data/rdopone-407/mutated-1.yaml @@ -0,0 +1,47 @@ +apiVersion: databases.spotahome.com/v1 +kind: RedisFailover +metadata: + name: test-cluster +spec: + redis: + storage: + persistentVolumeClaim: + apiVersion: v2 + metadata: + name: volume-claim + spec: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 50Gi + customConfig: + - maxclients 100 + - hz 50 + - timeout 60 + - tcp-keepalive 60 + - client-output-buffer-limit normal 0 0 0 + - client-output-buffer-limit slave 1000000000 1000000000 0 + - client-output-buffer-limit pubsub 33554432 8388608 60 + exporter: + enabled: true + imagePullPolicy: IfNotPresent + replicas: 3 + sentinel: + affinity: + podAntiAffinity: + preferredDuringSchedulingIgnoredDuringExecution: + - podAffinityTerm: + labelSelector: + matchExpressions: + - key: security + operator: In + values: + - us-west-1 + topologyKey: failure-domain.beta.kubernetes.io/zone + weight: 95 + customConfig: + - down-after-milliseconds 2000 + - failover-timeout 3000 + imagePullPolicy: IfNotPresent + replicas: 3 diff --git a/test/test_data/rdopone-552/mutated-0.yaml b/test/test_data/rdopone-552/mutated-0.yaml new file mode 100644 index 0000000000..766e111c69 --- /dev/null +++ b/test/test_data/rdopone-552/mutated-0.yaml @@ -0,0 +1,36 @@ +apiVersion: databases.spotahome.com/v1 +kind: RedisFailover +metadata: + name: test-cluster +spec: + redis: + customConfig: + - maxclients 100 + - hz 50 + - timeout 60 + - tcp-keepalive 60 + - client-output-buffer-limit normal 0 0 0 + - client-output-buffer-limit slave 1000000000 1000000000 0 + - client-output-buffer-limit pubsub 33554432 8388608 60 + exporter: + enabled: true + imagePullPolicy: IfNotPresent + replicas: 3 + sentinel: + affinity: + podAntiAffinity: + preferredDuringSchedulingIgnoredDuringExecution: + - podAffinityTerm: + labelSelector: + matchExpressions: + - key: security + operator: In + values: + - us-west-1 + topologyKey: failure-domain.beta.kubernetes.io/zone + weight: 95 + customConfig: + - down-after-milliseconds 2000 + - failover-timeout 3000 + imagePullPolicy: IfNotPresent + replicas: 3 diff --git a/test/test_data/rdopone-552/mutated-1.yaml b/test/test_data/rdopone-552/mutated-1.yaml new file mode 100644 index 0000000000..32b8282436 --- /dev/null +++ b/test/test_data/rdopone-552/mutated-1.yaml @@ -0,0 +1,45 @@ +apiVersion: databases.spotahome.com/v1 +kind: RedisFailover +metadata: + name: test-cluster +spec: + redis: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: kubernetes.io/hostname + operator: In + values: + - ACTOKEY + customConfig: + - maxclients 100 + - hz 50 + - timeout 60 + - tcp-keepalive 60 + - client-output-buffer-limit normal 0 0 0 + - client-output-buffer-limit slave 1000000000 1000000000 0 + - client-output-buffer-limit pubsub 33554432 8388608 60 + exporter: + enabled: true + imagePullPolicy: IfNotPresent + replicas: 3 + sentinel: + affinity: + podAntiAffinity: + preferredDuringSchedulingIgnoredDuringExecution: + - podAffinityTerm: + labelSelector: + matchExpressions: + - key: security + operator: In + values: + - us-west-1 + topologyKey: failure-domain.beta.kubernetes.io/zone + weight: 95 + customConfig: + - down-after-milliseconds 2000 + - failover-timeout 3000 + imagePullPolicy: IfNotPresent + replicas: 3 diff --git a/test/test_data/rdoptwo-280/mutated-0.yaml b/test/test_data/rdoptwo-280/mutated-0.yaml new file mode 100644 index 0000000000..fef6484451 --- /dev/null +++ b/test/test_data/rdoptwo-280/mutated-0.yaml @@ -0,0 +1,35 @@ +apiVersion: redis.redis.opstreelabs.in/v1beta1 +kind: RedisCluster +metadata: + name: test-cluster +spec: + clusterSize: 3 + kubernetesConfig: + image: quay.io/opstree/redis:v6.2.5 + imagePullPolicy: IfNotPresent + resources: + limits: + cpu: 101m + memory: 128Mi + requests: + cpu: 101m + memory: 128Mi + redisExporter: + enabled: true + image: quay.io/opstree/redis-exporter:1.0 + imagePullPolicy: IfNotPresent + resources: + limits: + cpu: 100m + memory: 128Mi + requests: + cpu: 100m + memory: 128Mi + storage: + volumeClaimTemplate: + spec: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 1Gi diff --git a/test/test_data/rdoptwo-280/mutated-1.yaml b/test/test_data/rdoptwo-280/mutated-1.yaml new file mode 100644 index 0000000000..18b8c5b2e3 --- /dev/null +++ b/test/test_data/rdoptwo-280/mutated-1.yaml @@ -0,0 +1,36 @@ +apiVersion: redis.redis.opstreelabs.in/v1beta1 +kind: RedisCluster +metadata: + name: test-cluster +spec: + clusterSize: 3 + kubernetesConfig: + image: quay.io/opstree/redis:v6.2.5 + imagePullPolicy: IfNotPresent + resources: + limits: + cpu: 101m + memory: 128Mi + requests: + cpu: 101m + memory: 128Mi + redisExporter: + enabled: true + image: quay.io/opstree/redis-exporter:1.0 + imagePullPolicy: IfNotPresent + resources: + limits: + cpu: 100m + memory: 128Mi + requests: + cpu: 100m + memory: 128Mi + storage: + volumeClaimTemplate: + spec: + accessModes: + - ReadWriteOnce + resources: + requests: + diditosyis: 1000m + storage: 1Gi diff --git a/test/test_data/rdoptwo-280/mutated-2.yaml b/test/test_data/rdoptwo-280/mutated-2.yaml new file mode 100644 index 0000000000..e3189fe8f3 --- /dev/null +++ b/test/test_data/rdoptwo-280/mutated-2.yaml @@ -0,0 +1,36 @@ +apiVersion: redis.redis.opstreelabs.in/v1beta1 +kind: RedisCluster +metadata: + name: test-cluster +spec: + clusterSize: 3 + kubernetesConfig: + image: quay.io/opstree/redis:v6.2.5 + imagePullPolicy: IfNotPresent + resources: + limits: + cpu: 101m + memory: 128Mi + requests: + cpu: 101m + memory: 128Mi + redisExporter: + enabled: true + image: quay.io/opstree/redis-exporter:1.0 + imagePullPolicy: IfNotPresent + resources: + limits: + cpu: 100m + memory: 128Mi + requests: + cpu: 100m + memory: 128Mi + storage: + volumeClaimTemplate: + spec: + accessModes: + - ReadWriteOnce + resources: + requests: + diditosyis: 2000m + storage: 1Gi diff --git a/test/test_data/rdoptwo-283/mutated-0.yaml b/test/test_data/rdoptwo-283/mutated-0.yaml new file mode 100644 index 0000000000..fef6484451 --- /dev/null +++ b/test/test_data/rdoptwo-283/mutated-0.yaml @@ -0,0 +1,35 @@ +apiVersion: redis.redis.opstreelabs.in/v1beta1 +kind: RedisCluster +metadata: + name: test-cluster +spec: + clusterSize: 3 + kubernetesConfig: + image: quay.io/opstree/redis:v6.2.5 + imagePullPolicy: IfNotPresent + resources: + limits: + cpu: 101m + memory: 128Mi + requests: + cpu: 101m + memory: 128Mi + redisExporter: + enabled: true + image: quay.io/opstree/redis-exporter:1.0 + imagePullPolicy: IfNotPresent + resources: + limits: + cpu: 100m + memory: 128Mi + requests: + cpu: 100m + memory: 128Mi + storage: + volumeClaimTemplate: + spec: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 1Gi diff --git a/test/test_data/rdoptwo-283/mutated-1.yaml b/test/test_data/rdoptwo-283/mutated-1.yaml new file mode 100644 index 0000000000..328dfc48e6 --- /dev/null +++ b/test/test_data/rdoptwo-283/mutated-1.yaml @@ -0,0 +1,29 @@ +apiVersion: redis.redis.opstreelabs.in/v1beta1 +kind: RedisCluster +metadata: + name: test-cluster +spec: + clusterSize: 3 + kubernetesConfig: + image: quay.io/opstree/redis:v6.2.5 + imagePullPolicy: IfNotPresent + resources: null + redisExporter: + enabled: true + image: quay.io/opstree/redis-exporter:1.0 + imagePullPolicy: IfNotPresent + resources: + limits: + cpu: 100m + memory: 128Mi + requests: + cpu: 100m + memory: 128Mi + storage: + volumeClaimTemplate: + spec: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 1Gi diff --git a/test/test_data/rdoptwo-286/mutated-0.yaml b/test/test_data/rdoptwo-286/mutated-0.yaml new file mode 100644 index 0000000000..fef6484451 --- /dev/null +++ b/test/test_data/rdoptwo-286/mutated-0.yaml @@ -0,0 +1,35 @@ +apiVersion: redis.redis.opstreelabs.in/v1beta1 +kind: RedisCluster +metadata: + name: test-cluster +spec: + clusterSize: 3 + kubernetesConfig: + image: quay.io/opstree/redis:v6.2.5 + imagePullPolicy: IfNotPresent + resources: + limits: + cpu: 101m + memory: 128Mi + requests: + cpu: 101m + memory: 128Mi + redisExporter: + enabled: true + image: quay.io/opstree/redis-exporter:1.0 + imagePullPolicy: IfNotPresent + resources: + limits: + cpu: 100m + memory: 128Mi + requests: + cpu: 100m + memory: 128Mi + storage: + volumeClaimTemplate: + spec: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 1Gi diff --git a/test/test_data/rdoptwo-286/mutated-1.yaml b/test/test_data/rdoptwo-286/mutated-1.yaml new file mode 100644 index 0000000000..5ab9d8825f --- /dev/null +++ b/test/test_data/rdoptwo-286/mutated-1.yaml @@ -0,0 +1,37 @@ +apiVersion: redis.redis.opstreelabs.in/v1beta1 +kind: RedisCluster +metadata: + name: test-cluster +spec: + clusterSize: 3 + kubernetesConfig: + image: quay.io/opstree/redis:v6.2.5 + imagePullPolicy: IfNotPresent + redisSecret: + name: ACTOKEY + resources: + limits: + cpu: 101m + memory: 128Mi + requests: + cpu: 101m + memory: 128Mi + redisExporter: + enabled: true + image: quay.io/opstree/redis-exporter:1.0 + imagePullPolicy: IfNotPresent + resources: + limits: + cpu: 100m + memory: 128Mi + requests: + cpu: 100m + memory: 128Mi + storage: + volumeClaimTemplate: + spec: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 1Gi diff --git a/test/test_data/rdoptwo-287/mutated-0.yaml b/test/test_data/rdoptwo-287/mutated-0.yaml new file mode 100644 index 0000000000..fef6484451 --- /dev/null +++ b/test/test_data/rdoptwo-287/mutated-0.yaml @@ -0,0 +1,35 @@ +apiVersion: redis.redis.opstreelabs.in/v1beta1 +kind: RedisCluster +metadata: + name: test-cluster +spec: + clusterSize: 3 + kubernetesConfig: + image: quay.io/opstree/redis:v6.2.5 + imagePullPolicy: IfNotPresent + resources: + limits: + cpu: 101m + memory: 128Mi + requests: + cpu: 101m + memory: 128Mi + redisExporter: + enabled: true + image: quay.io/opstree/redis-exporter:1.0 + imagePullPolicy: IfNotPresent + resources: + limits: + cpu: 100m + memory: 128Mi + requests: + cpu: 100m + memory: 128Mi + storage: + volumeClaimTemplate: + spec: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 1Gi diff --git a/test/test_data/rdoptwo-287/mutated-1.yaml b/test/test_data/rdoptwo-287/mutated-1.yaml new file mode 100644 index 0000000000..de785a9a9c --- /dev/null +++ b/test/test_data/rdoptwo-287/mutated-1.yaml @@ -0,0 +1,39 @@ +apiVersion: redis.redis.opstreelabs.in/v1beta1 +kind: RedisCluster +metadata: + name: test-cluster +spec: + clusterSize: 3 + kubernetesConfig: + image: quay.io/opstree/redis:v6.2.5 + imagePullPolicy: IfNotPresent + resources: + limits: + cpu: 101m + memory: 128Mi + requests: + cpu: 101m + memory: 128Mi + redisExporter: + enabled: true + image: quay.io/opstree/redis-exporter:1.0 + imagePullPolicy: IfNotPresent + resources: + limits: + cpu: 100m + memory: 128Mi + requests: + cpu: 100m + memory: 128Mi + redisFollower: + pdb: + enabled: true + minAvailable: 1 + storage: + volumeClaimTemplate: + spec: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 1Gi diff --git a/test/test_data/rdoptwo-287/mutated-2.yaml b/test/test_data/rdoptwo-287/mutated-2.yaml new file mode 100644 index 0000000000..eca262abb7 --- /dev/null +++ b/test/test_data/rdoptwo-287/mutated-2.yaml @@ -0,0 +1,39 @@ +apiVersion: redis.redis.opstreelabs.in/v1beta1 +kind: RedisCluster +metadata: + name: test-cluster +spec: + clusterSize: 3 + kubernetesConfig: + image: quay.io/opstree/redis:v6.2.5 + imagePullPolicy: IfNotPresent + resources: + limits: + cpu: 101m + memory: 128Mi + requests: + cpu: 101m + memory: 128Mi + redisExporter: + enabled: true + image: quay.io/opstree/redis-exporter:1.0 + imagePullPolicy: IfNotPresent + resources: + limits: + cpu: 100m + memory: 128Mi + requests: + cpu: 100m + memory: 128Mi + redisFollower: + pdb: + enabled: true + minAvailable: 3 + storage: + volumeClaimTemplate: + spec: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 1Gi diff --git a/test/test_data/rdoptwo-290/mutated-0.yaml b/test/test_data/rdoptwo-290/mutated-0.yaml new file mode 100644 index 0000000000..fef6484451 --- /dev/null +++ b/test/test_data/rdoptwo-290/mutated-0.yaml @@ -0,0 +1,35 @@ +apiVersion: redis.redis.opstreelabs.in/v1beta1 +kind: RedisCluster +metadata: + name: test-cluster +spec: + clusterSize: 3 + kubernetesConfig: + image: quay.io/opstree/redis:v6.2.5 + imagePullPolicy: IfNotPresent + resources: + limits: + cpu: 101m + memory: 128Mi + requests: + cpu: 101m + memory: 128Mi + redisExporter: + enabled: true + image: quay.io/opstree/redis-exporter:1.0 + imagePullPolicy: IfNotPresent + resources: + limits: + cpu: 100m + memory: 128Mi + requests: + cpu: 100m + memory: 128Mi + storage: + volumeClaimTemplate: + spec: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 1Gi diff --git a/test/test_data/rdoptwo-290/mutated-1.yaml b/test/test_data/rdoptwo-290/mutated-1.yaml new file mode 100644 index 0000000000..944383d8d0 --- /dev/null +++ b/test/test_data/rdoptwo-290/mutated-1.yaml @@ -0,0 +1,41 @@ +apiVersion: redis.redis.opstreelabs.in/v1beta1 +kind: RedisCluster +metadata: + name: test-cluster +spec: + clusterSize: 3 + kubernetesConfig: + image: quay.io/opstree/redis:v6.2.5 + imagePullPolicy: IfNotPresent + resources: + limits: + cpu: 101m + memory: 128Mi + requests: + cpu: 101m + memory: 128Mi + redisExporter: + enabled: true + image: quay.io/opstree/redis-exporter:1.0 + imagePullPolicy: IfNotPresent + resources: + limits: + cpu: 100m + memory: 128Mi + requests: + cpu: 100m + memory: 128Mi + resources: + limits: + cpu: 800m + requests: + ACTOKEY: 1000m + vsqkxtdsha: 1000m + storage: + volumeClaimTemplate: + spec: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 1Gi diff --git a/test/test_data/rdoptwo-290/mutated-2.yaml b/test/test_data/rdoptwo-290/mutated-2.yaml new file mode 100644 index 0000000000..7919553397 --- /dev/null +++ b/test/test_data/rdoptwo-290/mutated-2.yaml @@ -0,0 +1,41 @@ +apiVersion: redis.redis.opstreelabs.in/v1beta1 +kind: RedisCluster +metadata: + name: test-cluster +spec: + clusterSize: 3 + kubernetesConfig: + image: quay.io/opstree/redis:v6.2.5 + imagePullPolicy: IfNotPresent + resources: + limits: + cpu: 101m + memory: 128Mi + requests: + cpu: 101m + memory: 128Mi + redisExporter: + enabled: true + image: quay.io/opstree/redis-exporter:1.0 + imagePullPolicy: IfNotPresent + resources: + limits: + cpu: 100m + memory: 128Mi + requests: + cpu: 100m + memory: 128Mi + resources: + limits: + cpu: 800m + requests: + ACTOKEY: 1000m + vsqkxtdsha: '0.5000' + storage: + volumeClaimTemplate: + spec: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 1Gi diff --git a/test/test_data/rdoptwo-291/mutated-0.yaml b/test/test_data/rdoptwo-291/mutated-0.yaml new file mode 100644 index 0000000000..fef6484451 --- /dev/null +++ b/test/test_data/rdoptwo-291/mutated-0.yaml @@ -0,0 +1,35 @@ +apiVersion: redis.redis.opstreelabs.in/v1beta1 +kind: RedisCluster +metadata: + name: test-cluster +spec: + clusterSize: 3 + kubernetesConfig: + image: quay.io/opstree/redis:v6.2.5 + imagePullPolicy: IfNotPresent + resources: + limits: + cpu: 101m + memory: 128Mi + requests: + cpu: 101m + memory: 128Mi + redisExporter: + enabled: true + image: quay.io/opstree/redis-exporter:1.0 + imagePullPolicy: IfNotPresent + resources: + limits: + cpu: 100m + memory: 128Mi + requests: + cpu: 100m + memory: 128Mi + storage: + volumeClaimTemplate: + spec: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 1Gi diff --git a/test/test_data/rdoptwo-291/mutated-1.yaml b/test/test_data/rdoptwo-291/mutated-1.yaml new file mode 100644 index 0000000000..10e22291e6 --- /dev/null +++ b/test/test_data/rdoptwo-291/mutated-1.yaml @@ -0,0 +1,40 @@ +apiVersion: redis.redis.opstreelabs.in/v1beta1 +kind: RedisCluster +metadata: + name: test-cluster +spec: + clusterSize: 3 + kubernetesConfig: + image: quay.io/opstree/redis:v6.2.5 + imagePullPolicy: IfNotPresent + resources: + limits: + cpu: 101m + memory: 128Mi + requests: + cpu: 101m + memory: 128Mi + redisExporter: + enabled: true + image: quay.io/opstree/redis-exporter:1.0 + imagePullPolicy: IfNotPresent + resources: + limits: + cpu: 100m + memory: 128Mi + requests: + cpu: 100m + memory: 128Mi + redisLeader: + livenessProbe: + grpc: + port: 4 + service: zangmybtia + storage: + volumeClaimTemplate: + spec: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 1Gi diff --git a/test/test_data/rdoptwo-297/mutated-0.yaml b/test/test_data/rdoptwo-297/mutated-0.yaml new file mode 100644 index 0000000000..fef6484451 --- /dev/null +++ b/test/test_data/rdoptwo-297/mutated-0.yaml @@ -0,0 +1,35 @@ +apiVersion: redis.redis.opstreelabs.in/v1beta1 +kind: RedisCluster +metadata: + name: test-cluster +spec: + clusterSize: 3 + kubernetesConfig: + image: quay.io/opstree/redis:v6.2.5 + imagePullPolicy: IfNotPresent + resources: + limits: + cpu: 101m + memory: 128Mi + requests: + cpu: 101m + memory: 128Mi + redisExporter: + enabled: true + image: quay.io/opstree/redis-exporter:1.0 + imagePullPolicy: IfNotPresent + resources: + limits: + cpu: 100m + memory: 128Mi + requests: + cpu: 100m + memory: 128Mi + storage: + volumeClaimTemplate: + spec: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 1Gi diff --git a/test/test_data/rdoptwo-297/mutated-1.yaml b/test/test_data/rdoptwo-297/mutated-1.yaml new file mode 100644 index 0000000000..158a5462a8 --- /dev/null +++ b/test/test_data/rdoptwo-297/mutated-1.yaml @@ -0,0 +1,39 @@ +apiVersion: redis.redis.opstreelabs.in/v1beta1 +kind: RedisCluster +metadata: + name: test-cluster +spec: + clusterSize: 3 + kubernetesConfig: + image: quay.io/opstree/redis:v6.2.5 + imagePullPolicy: IfNotPresent + resources: + limits: + cpu: 101m + memory: 128Mi + requests: + cpu: 101m + memory: 128Mi + redisExporter: + enabled: true + image: quay.io/opstree/redis-exporter:1.0 + imagePullPolicy: IfNotPresent + resources: + limits: + cpu: 100m + memory: 128Mi + requests: + cpu: 100m + memory: 128Mi + redisLeader: + livenessProbe: + tcpSocket: + port: 8500 + storage: + volumeClaimTemplate: + spec: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 1Gi diff --git a/test/test_data/rdoptwo-474/mutated-0.yaml b/test/test_data/rdoptwo-474/mutated-0.yaml new file mode 100644 index 0000000000..fef6484451 --- /dev/null +++ b/test/test_data/rdoptwo-474/mutated-0.yaml @@ -0,0 +1,35 @@ +apiVersion: redis.redis.opstreelabs.in/v1beta1 +kind: RedisCluster +metadata: + name: test-cluster +spec: + clusterSize: 3 + kubernetesConfig: + image: quay.io/opstree/redis:v6.2.5 + imagePullPolicy: IfNotPresent + resources: + limits: + cpu: 101m + memory: 128Mi + requests: + cpu: 101m + memory: 128Mi + redisExporter: + enabled: true + image: quay.io/opstree/redis-exporter:1.0 + imagePullPolicy: IfNotPresent + resources: + limits: + cpu: 100m + memory: 128Mi + requests: + cpu: 100m + memory: 128Mi + storage: + volumeClaimTemplate: + spec: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 1Gi diff --git a/test/test_data/rdoptwo-474/mutated-1.yaml b/test/test_data/rdoptwo-474/mutated-1.yaml new file mode 100644 index 0000000000..c58a1f1813 --- /dev/null +++ b/test/test_data/rdoptwo-474/mutated-1.yaml @@ -0,0 +1,35 @@ +apiVersion: redis.redis.opstreelabs.in/v1beta1 +kind: RedisCluster +metadata: + name: test-cluster +spec: + clusterSize: 3 + kubernetesConfig: + image: quay.io/opstree/redis:v6.2.5 + imagePullPolicy: IfNotPresent + resources: + limits: + cpu: 101m + memory: 128Mi + requests: + cpu: 101m + memory: 128Mi + redisExporter: + enabled: false + image: quay.io/opstree/redis-exporter:1.0 + imagePullPolicy: IfNotPresent + resources: + limits: + cpu: 100m + memory: 128Mi + requests: + cpu: 100m + memory: 128Mi + storage: + volumeClaimTemplate: + spec: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 1Gi diff --git a/test/test_data/rdoptwo-480/mutated-0.yaml b/test/test_data/rdoptwo-480/mutated-0.yaml new file mode 100644 index 0000000000..fef6484451 --- /dev/null +++ b/test/test_data/rdoptwo-480/mutated-0.yaml @@ -0,0 +1,35 @@ +apiVersion: redis.redis.opstreelabs.in/v1beta1 +kind: RedisCluster +metadata: + name: test-cluster +spec: + clusterSize: 3 + kubernetesConfig: + image: quay.io/opstree/redis:v6.2.5 + imagePullPolicy: IfNotPresent + resources: + limits: + cpu: 101m + memory: 128Mi + requests: + cpu: 101m + memory: 128Mi + redisExporter: + enabled: true + image: quay.io/opstree/redis-exporter:1.0 + imagePullPolicy: IfNotPresent + resources: + limits: + cpu: 100m + memory: 128Mi + requests: + cpu: 100m + memory: 128Mi + storage: + volumeClaimTemplate: + spec: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 1Gi diff --git a/test/test_data/rdoptwo-480/mutated-1.yaml b/test/test_data/rdoptwo-480/mutated-1.yaml new file mode 100644 index 0000000000..3f9eeb55a6 --- /dev/null +++ b/test/test_data/rdoptwo-480/mutated-1.yaml @@ -0,0 +1,45 @@ +apiVersion: redis.redis.opstreelabs.in/v1beta1 +kind: RedisCluster +metadata: + name: test-cluster +spec: + clusterSize: 3 + kubernetesConfig: + image: quay.io/opstree/redis:v6.2.5 + imagePullPolicy: IfNotPresent + resources: + limits: + cpu: 101m + memory: 128Mi + requests: + cpu: 101m + memory: 128Mi + redisExporter: + enabled: true + image: quay.io/opstree/redis-exporter:1.0 + imagePullPolicy: IfNotPresent + resources: + limits: + cpu: 100m + memory: 128Mi + requests: + cpu: 100m + memory: 128Mi + redisLeader: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: kubernetes.io/hostname + operator: In + values: + - NONE + storage: + volumeClaimTemplate: + spec: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 1Gi diff --git a/test/test_data/tiop-4613/diff/mutated-0.yaml b/test/test_data/tiop-4613/diff/mutated-0.yaml new file mode 100644 index 0000000000..2d797c2f9c --- /dev/null +++ b/test/test_data/tiop-4613/diff/mutated-0.yaml @@ -0,0 +1,40 @@ +apiVersion: pingcap.com/v1alpha1 +kind: TidbCluster +metadata: + name: test-cluster +spec: + configUpdateStrategy: RollingUpdate + enableDynamicConfiguration: true + helper: + image: busybox:1.34.1 + pd: + baseImage: pingcap/pd + config: "[dashboard]\n internal-proxy = true\n" + maxFailoverCount: 0 + mountClusterClientSecret: true + replicas: 3 + requests: + storage: 10Gi + pvReclaimPolicy: Retain + tidb: + baseImage: pingcap/tidb + config: "[performance]\n tcp-keep-alive = true\n" + maxFailoverCount: 0 + replicas: 3 + service: + externalTrafficPolicy: Local + type: NodePort + tikv: + baseImage: pingcap/tikv + config: 'log-level = "info" + + ' + maxFailoverCount: 0 + mountClusterClientSecret: true + recoverFailover: false + replicas: 3 + requests: + storage: 100Gi + separateRaftLog: true + timezone: UTC + version: v5.4.0 diff --git a/test/test_data/tiop-4613/diff/mutated-1.yaml b/test/test_data/tiop-4613/diff/mutated-1.yaml new file mode 100644 index 0000000000..ef89cb4daf --- /dev/null +++ b/test/test_data/tiop-4613/diff/mutated-1.yaml @@ -0,0 +1,47 @@ +apiVersion: pingcap.com/v1alpha1 +kind: TidbCluster +metadata: + name: test-cluster +spec: + configUpdateStrategy: RollingUpdate + enableDynamicConfiguration: true + helper: + image: busybox:1.34.1 + pd: + baseImage: pingcap/pd + config: "[dashboard]\n internal-proxy = true\n" + maxFailoverCount: 0 + mountClusterClientSecret: true + replicas: 3 + requests: + storage: 10Gi + pvReclaimPolicy: Retain + tidb: + baseImage: pingcap/tidb + config: "[performance]\n tcp-keep-alive = true\n" + maxFailoverCount: 0 + replicas: 3 + service: + externalTrafficPolicy: Local + type: NodePort + tikv: + baseImage: pingcap/tikv + config: 'log-level = "info" + + ' + maxFailoverCount: 0 + mountClusterClientSecret: true + recoverFailover: false + replicas: 3 + requests: + storage: 100Gi + separateRaftLog: true + tiflash: + baseImage: pingcap/tiflash + replicas: 2 + storageClaims: + - resources: + requests: + storage: 10Gi + timezone: UTC + version: v5.4.0 diff --git a/test/test_data/tiop-4613/diff/mutated-2.yaml b/test/test_data/tiop-4613/diff/mutated-2.yaml new file mode 100644 index 0000000000..8fb99d9f68 --- /dev/null +++ b/test/test_data/tiop-4613/diff/mutated-2.yaml @@ -0,0 +1,45 @@ +apiVersion: pingcap.com/v1alpha1 +kind: TidbCluster +metadata: + name: test-cluster +spec: + configUpdateStrategy: RollingUpdate + enableDynamicConfiguration: true + helper: + image: busybox:1.34.1 + pd: + baseImage: pingcap/pd + config: "[dashboard]\n internal-proxy = true\n" + maxFailoverCount: 0 + mountClusterClientSecret: true + replicas: 3 + requests: + storage: 10Gi + pvReclaimPolicy: Retain + tidb: + baseImage: pingcap/tidb + config: "[performance]\n tcp-keep-alive = true\n" + maxFailoverCount: 0 + replicas: 3 + service: + externalTrafficPolicy: Local + type: NodePort + tikv: + baseImage: pingcap/tikv + config: 'log-level = "info" + + ' + maxFailoverCount: 0 + mountClusterClientSecret: true + recoverFailover: false + replicas: 3 + requests: + storage: 100Gi + separateRaftLog: true + tiflash: + baseImage: pingcap/tiflash + replicas: 2 + storageClaims: + - {} + timezone: UTC + version: v5.4.0 diff --git a/test/test_data/tiop-4613/normal/mutated-0.yaml b/test/test_data/tiop-4613/normal/mutated-0.yaml new file mode 100644 index 0000000000..2d797c2f9c --- /dev/null +++ b/test/test_data/tiop-4613/normal/mutated-0.yaml @@ -0,0 +1,40 @@ +apiVersion: pingcap.com/v1alpha1 +kind: TidbCluster +metadata: + name: test-cluster +spec: + configUpdateStrategy: RollingUpdate + enableDynamicConfiguration: true + helper: + image: busybox:1.34.1 + pd: + baseImage: pingcap/pd + config: "[dashboard]\n internal-proxy = true\n" + maxFailoverCount: 0 + mountClusterClientSecret: true + replicas: 3 + requests: + storage: 10Gi + pvReclaimPolicy: Retain + tidb: + baseImage: pingcap/tidb + config: "[performance]\n tcp-keep-alive = true\n" + maxFailoverCount: 0 + replicas: 3 + service: + externalTrafficPolicy: Local + type: NodePort + tikv: + baseImage: pingcap/tikv + config: 'log-level = "info" + + ' + maxFailoverCount: 0 + mountClusterClientSecret: true + recoverFailover: false + replicas: 3 + requests: + storage: 100Gi + separateRaftLog: true + timezone: UTC + version: v5.4.0 diff --git a/test/test_data/tiop-4613/normal/mutated-1.yaml b/test/test_data/tiop-4613/normal/mutated-1.yaml new file mode 100644 index 0000000000..70af296183 --- /dev/null +++ b/test/test_data/tiop-4613/normal/mutated-1.yaml @@ -0,0 +1,47 @@ +apiVersion: pingcap.com/v1alpha1 +kind: TidbCluster +metadata: + name: test-cluster +spec: + configUpdateStrategy: RollingUpdate + enableDynamicConfiguration: true + helper: + image: busybox:1.34.1 + pd: + baseImage: pingcap/pd + config: "[dashboard]\n internal-proxy = true\n" + maxFailoverCount: 0 + mountClusterClientSecret: true + replicas: 3 + requests: + storage: 10Gi + pvReclaimPolicy: Retain + tidb: + baseImage: pingcap/tidb + config: "[performance]\n tcp-keep-alive = true\n" + maxFailoverCount: 0 + replicas: 3 + service: + externalTrafficPolicy: Local + type: NodePort + tikv: + baseImage: pingcap/tikv + config: 'log-level = "info" + + ' + maxFailoverCount: 0 + mountClusterClientSecret: true + recoverFailover: false + replicas: 3 + requests: + storage: 100Gi + separateRaftLog: true + tiflash: + baseImage: pingcap/tiflash + replicas: 2 + storageClaims: + - {} + - {} + - {} + timezone: UTC + version: v5.4.0 diff --git a/test/test_data/tiop-4684/mutated-0.yaml b/test/test_data/tiop-4684/mutated-0.yaml new file mode 100644 index 0000000000..2d797c2f9c --- /dev/null +++ b/test/test_data/tiop-4684/mutated-0.yaml @@ -0,0 +1,40 @@ +apiVersion: pingcap.com/v1alpha1 +kind: TidbCluster +metadata: + name: test-cluster +spec: + configUpdateStrategy: RollingUpdate + enableDynamicConfiguration: true + helper: + image: busybox:1.34.1 + pd: + baseImage: pingcap/pd + config: "[dashboard]\n internal-proxy = true\n" + maxFailoverCount: 0 + mountClusterClientSecret: true + replicas: 3 + requests: + storage: 10Gi + pvReclaimPolicy: Retain + tidb: + baseImage: pingcap/tidb + config: "[performance]\n tcp-keep-alive = true\n" + maxFailoverCount: 0 + replicas: 3 + service: + externalTrafficPolicy: Local + type: NodePort + tikv: + baseImage: pingcap/tikv + config: 'log-level = "info" + + ' + maxFailoverCount: 0 + mountClusterClientSecret: true + recoverFailover: false + replicas: 3 + requests: + storage: 100Gi + separateRaftLog: true + timezone: UTC + version: v5.4.0 diff --git a/test/test_data/tiop-4684/mutated-1.yaml b/test/test_data/tiop-4684/mutated-1.yaml new file mode 100644 index 0000000000..cfcfe3a940 --- /dev/null +++ b/test/test_data/tiop-4684/mutated-1.yaml @@ -0,0 +1,49 @@ +apiVersion: pingcap.com/v1alpha1 +kind: TidbCluster +metadata: + name: test-cluster +spec: + configUpdateStrategy: RollingUpdate + enableDynamicConfiguration: true + helper: + image: busybox:1.34.1 + pd: + baseImage: pingcap/pd + config: "[dashboard]\n internal-proxy = true\n" + maxFailoverCount: 0 + mountClusterClientSecret: true + replicas: 3 + requests: + storage: 10Gi + pvReclaimPolicy: Retain + tidb: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: kubernetes.io/hostname + operator: In + values: + - NONE + baseImage: pingcap/tidb + config: "[performance]\n tcp-keep-alive = true\n" + maxFailoverCount: 0 + replicas: 3 + service: + externalTrafficPolicy: Local + type: NodePort + tikv: + baseImage: pingcap/tikv + config: 'log-level = "info" + + ' + maxFailoverCount: 0 + mountClusterClientSecret: true + recoverFailover: false + replicas: 3 + requests: + storage: 100Gi + separateRaftLog: true + timezone: UTC + version: v5.4.0 diff --git a/test/test_data/tiop-4945/mutated-0.yaml b/test/test_data/tiop-4945/mutated-0.yaml new file mode 100644 index 0000000000..2d797c2f9c --- /dev/null +++ b/test/test_data/tiop-4945/mutated-0.yaml @@ -0,0 +1,40 @@ +apiVersion: pingcap.com/v1alpha1 +kind: TidbCluster +metadata: + name: test-cluster +spec: + configUpdateStrategy: RollingUpdate + enableDynamicConfiguration: true + helper: + image: busybox:1.34.1 + pd: + baseImage: pingcap/pd + config: "[dashboard]\n internal-proxy = true\n" + maxFailoverCount: 0 + mountClusterClientSecret: true + replicas: 3 + requests: + storage: 10Gi + pvReclaimPolicy: Retain + tidb: + baseImage: pingcap/tidb + config: "[performance]\n tcp-keep-alive = true\n" + maxFailoverCount: 0 + replicas: 3 + service: + externalTrafficPolicy: Local + type: NodePort + tikv: + baseImage: pingcap/tikv + config: 'log-level = "info" + + ' + maxFailoverCount: 0 + mountClusterClientSecret: true + recoverFailover: false + replicas: 3 + requests: + storage: 100Gi + separateRaftLog: true + timezone: UTC + version: v5.4.0 diff --git a/test/test_data/tiop-4945/mutated-1.yaml b/test/test_data/tiop-4945/mutated-1.yaml new file mode 100644 index 0000000000..1de509bda1 --- /dev/null +++ b/test/test_data/tiop-4945/mutated-1.yaml @@ -0,0 +1,41 @@ +apiVersion: pingcap.com/v1alpha1 +kind: TidbCluster +metadata: + name: test-cluster +spec: + configUpdateStrategy: RollingUpdate + enableDynamicConfiguration: true + helper: + image: busybox:1.34.1 + pd: + baseImage: pingcap/pd + config: "[dashboard]\n internal-proxy = true\n" + maxFailoverCount: 0 + mountClusterClientSecret: true + replicas: 3 + requests: + storage: 10Gi + pvReclaimPolicy: Retain + tidb: + binlogEnabled: true + baseImage: pingcap/tidb + config: "[performance]\n tcp-keep-alive = true\n" + maxFailoverCount: 0 + replicas: 3 + service: + externalTrafficPolicy: Local + type: NodePort + tikv: + baseImage: pingcap/tikv + config: 'log-level = "info" + + ' + maxFailoverCount: 0 + mountClusterClientSecret: true + recoverFailover: false + replicas: 3 + requests: + storage: 100Gi + separateRaftLog: true + timezone: UTC + version: v5.4.0 diff --git a/test/test_data/tiop-4946/mutated-0.yaml b/test/test_data/tiop-4946/mutated-0.yaml new file mode 100644 index 0000000000..2d797c2f9c --- /dev/null +++ b/test/test_data/tiop-4946/mutated-0.yaml @@ -0,0 +1,40 @@ +apiVersion: pingcap.com/v1alpha1 +kind: TidbCluster +metadata: + name: test-cluster +spec: + configUpdateStrategy: RollingUpdate + enableDynamicConfiguration: true + helper: + image: busybox:1.34.1 + pd: + baseImage: pingcap/pd + config: "[dashboard]\n internal-proxy = true\n" + maxFailoverCount: 0 + mountClusterClientSecret: true + replicas: 3 + requests: + storage: 10Gi + pvReclaimPolicy: Retain + tidb: + baseImage: pingcap/tidb + config: "[performance]\n tcp-keep-alive = true\n" + maxFailoverCount: 0 + replicas: 3 + service: + externalTrafficPolicy: Local + type: NodePort + tikv: + baseImage: pingcap/tikv + config: 'log-level = "info" + + ' + maxFailoverCount: 0 + mountClusterClientSecret: true + recoverFailover: false + replicas: 3 + requests: + storage: 100Gi + separateRaftLog: true + timezone: UTC + version: v5.4.0 diff --git a/test/test_data/tiop-4946/mutated-1.yaml b/test/test_data/tiop-4946/mutated-1.yaml new file mode 100644 index 0000000000..1de509bda1 --- /dev/null +++ b/test/test_data/tiop-4946/mutated-1.yaml @@ -0,0 +1,41 @@ +apiVersion: pingcap.com/v1alpha1 +kind: TidbCluster +metadata: + name: test-cluster +spec: + configUpdateStrategy: RollingUpdate + enableDynamicConfiguration: true + helper: + image: busybox:1.34.1 + pd: + baseImage: pingcap/pd + config: "[dashboard]\n internal-proxy = true\n" + maxFailoverCount: 0 + mountClusterClientSecret: true + replicas: 3 + requests: + storage: 10Gi + pvReclaimPolicy: Retain + tidb: + binlogEnabled: true + baseImage: pingcap/tidb + config: "[performance]\n tcp-keep-alive = true\n" + maxFailoverCount: 0 + replicas: 3 + service: + externalTrafficPolicy: Local + type: NodePort + tikv: + baseImage: pingcap/tikv + config: 'log-level = "info" + + ' + maxFailoverCount: 0 + mountClusterClientSecret: true + recoverFailover: false + replicas: 3 + requests: + storage: 100Gi + separateRaftLog: true + timezone: UTC + version: v5.4.0 diff --git a/test/test_data/xtop-1060/mutated-0.yaml b/test/test_data/xtop-1060/mutated-0.yaml new file mode 100644 index 0000000000..c15839e739 --- /dev/null +++ b/test/test_data/xtop-1060/mutated-0.yaml @@ -0,0 +1,119 @@ +apiVersion: pxc.percona.com/v1-11-0 +kind: PerconaXtraDBCluster +metadata: + finalizers: + - delete-pxc-pods-in-order + name: test-cluster +spec: + allowUnsafeConfigurations: false + backup: + image: percona/percona-xtradb-cluster-operator:1.11.0-pxc8.0-backup + imagePullPolicy: IfNotPresent + pitr: + enabled: false + storageName: STORAGE-NAME-HERE + timeBetweenUploads: 60 + schedule: + - keep: 3 + name: sat-night-backup + schedule: 0 0 * * 6 + storageName: s3-us-west + - keep: 5 + name: daily-backup + schedule: 0 0 * * * + storageName: fs-pvc + storages: + fs-pvc: + type: filesystem + volume: + persistentVolumeClaim: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 6G + s3-us-west: + s3: + bucket: S3-BACKUP-BUCKET-NAME-HERE + credentialsSecret: my-cluster-name-backup-s3 + region: us-west-2 + type: s3 + verifyTLS: true + crVersion: 1.11.0 + enableCRValidationWebhook: true + haproxy: + affinity: + antiAffinityTopologyKey: kubernetes.io/hostname + enabled: true + gracePeriod: 30 + image: percona/percona-xtradb-cluster-operator:1.11.0-haproxy + imagePullPolicy: IfNotPresent + podDisruptionBudget: + maxUnavailable: 1 + resources: + requests: + cpu: 600m + memory: 1G + size: 3 + logcollector: + enabled: true + image: percona/percona-xtradb-cluster-operator:1.11.0-logcollector + imagePullPolicy: IfNotPresent + resources: + requests: + cpu: 200m + memory: 100M + pmm: + enabled: false + image: percona/pmm-client:2.28.0 + imagePullPolicy: IfNotPresent + resources: + requests: + cpu: 300m + memory: 150M + serverHost: monitoring-service + proxysql: + affinity: + antiAffinityTopologyKey: kubernetes.io/hostname + enabled: false + gracePeriod: 30 + image: percona/percona-xtradb-cluster-operator:1.11.0-proxysql + imagePullPolicy: IfNotPresent + podDisruptionBudget: + maxUnavailable: 1 + resources: + requests: + cpu: 600m + memory: 1G + size: 3 + volumeSpec: + persistentVolumeClaim: + resources: + requests: + storage: 2G + pxc: + affinity: + antiAffinityTopologyKey: kubernetes.io/hostname + autoRecovery: true + enabled: true + gracePeriod: 30 + image: percona/percona-xtradb-cluster:8.0.27-18.1 + imagePullPolicy: IfNotPresent + livenessDelaySec: 300 + podDisruptionBudget: + maxUnavailable: 1 + resources: + requests: + cpu: 600m + memory: 1G + size: 3 + volumeSpec: + persistentVolumeClaim: + resources: + requests: + storage: 6G + updateStrategy: SmartUpdate + upgradeOptions: + apply: 8.0-recommended + schedule: 0 4 * * * + versionServiceEndpoint: https://check.percona.com diff --git a/test/test_data/xtop-1060/mutated-1.yaml b/test/test_data/xtop-1060/mutated-1.yaml new file mode 100644 index 0000000000..b3463fdc03 --- /dev/null +++ b/test/test_data/xtop-1060/mutated-1.yaml @@ -0,0 +1,119 @@ +apiVersion: pxc.percona.com/v1-11-0 +kind: PerconaXtraDBCluster +metadata: + finalizers: + - delete-pxc-pods-in-order + name: test-cluster +spec: + allowUnsafeConfigurations: false + backup: + image: percona/percona-xtradb-cluster-operator:1.11.0-pxc8.0-backup + imagePullPolicy: IfNotPresent + pitr: + enabled: false + storageName: STORAGE-NAME-HERE + timeBetweenUploads: 60 + schedule: + - keep: 3 + name: sat-night-backup + schedule: 0 0 * * 6 + storageName: s3-us-west + - keep: 5 + name: daily-backup + schedule: 0 0 * * * + storageName: fs-pvc + storages: + fs-pvc: + type: filesystem + volume: + persistentVolumeClaim: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 6G + s3-us-west: + s3: + bucket: S3-BACKUP-BUCKET-NAME-HERE + credentialsSecret: my-cluster-name-backup-s3 + region: us-west-2 + type: s3 + verifyTLS: true + crVersion: ACTOKEY + enableCRValidationWebhook: true + haproxy: + affinity: + antiAffinityTopologyKey: kubernetes.io/hostname + enabled: true + gracePeriod: 30 + image: percona/percona-xtradb-cluster-operator:1.11.0-haproxy + imagePullPolicy: IfNotPresent + podDisruptionBudget: + maxUnavailable: 1 + resources: + requests: + cpu: 600m + memory: 1G + size: 3 + logcollector: + enabled: true + image: percona/percona-xtradb-cluster-operator:1.11.0-logcollector + imagePullPolicy: IfNotPresent + resources: + requests: + cpu: 200m + memory: 100M + pmm: + enabled: false + image: percona/pmm-client:2.28.0 + imagePullPolicy: IfNotPresent + resources: + requests: + cpu: 300m + memory: 150M + serverHost: monitoring-service + proxysql: + affinity: + antiAffinityTopologyKey: kubernetes.io/hostname + enabled: false + gracePeriod: 30 + image: percona/percona-xtradb-cluster-operator:1.11.0-proxysql + imagePullPolicy: IfNotPresent + podDisruptionBudget: + maxUnavailable: 1 + resources: + requests: + cpu: 600m + memory: 1G + size: 3 + volumeSpec: + persistentVolumeClaim: + resources: + requests: + storage: 2G + pxc: + affinity: + antiAffinityTopologyKey: kubernetes.io/hostname + autoRecovery: true + enabled: true + gracePeriod: 30 + image: percona/percona-xtradb-cluster:8.0.27-18.1 + imagePullPolicy: IfNotPresent + livenessDelaySec: 300 + podDisruptionBudget: + maxUnavailable: 1 + resources: + requests: + cpu: 600m + memory: 1G + size: 3 + volumeSpec: + persistentVolumeClaim: + resources: + requests: + storage: 6G + updateStrategy: SmartUpdate + upgradeOptions: + apply: 8.0-recommended + schedule: 0 4 * * * + versionServiceEndpoint: https://check.percona.com diff --git a/test/test_data/xtop-1061/mutated-0.yaml b/test/test_data/xtop-1061/mutated-0.yaml new file mode 100644 index 0000000000..c15839e739 --- /dev/null +++ b/test/test_data/xtop-1061/mutated-0.yaml @@ -0,0 +1,119 @@ +apiVersion: pxc.percona.com/v1-11-0 +kind: PerconaXtraDBCluster +metadata: + finalizers: + - delete-pxc-pods-in-order + name: test-cluster +spec: + allowUnsafeConfigurations: false + backup: + image: percona/percona-xtradb-cluster-operator:1.11.0-pxc8.0-backup + imagePullPolicy: IfNotPresent + pitr: + enabled: false + storageName: STORAGE-NAME-HERE + timeBetweenUploads: 60 + schedule: + - keep: 3 + name: sat-night-backup + schedule: 0 0 * * 6 + storageName: s3-us-west + - keep: 5 + name: daily-backup + schedule: 0 0 * * * + storageName: fs-pvc + storages: + fs-pvc: + type: filesystem + volume: + persistentVolumeClaim: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 6G + s3-us-west: + s3: + bucket: S3-BACKUP-BUCKET-NAME-HERE + credentialsSecret: my-cluster-name-backup-s3 + region: us-west-2 + type: s3 + verifyTLS: true + crVersion: 1.11.0 + enableCRValidationWebhook: true + haproxy: + affinity: + antiAffinityTopologyKey: kubernetes.io/hostname + enabled: true + gracePeriod: 30 + image: percona/percona-xtradb-cluster-operator:1.11.0-haproxy + imagePullPolicy: IfNotPresent + podDisruptionBudget: + maxUnavailable: 1 + resources: + requests: + cpu: 600m + memory: 1G + size: 3 + logcollector: + enabled: true + image: percona/percona-xtradb-cluster-operator:1.11.0-logcollector + imagePullPolicy: IfNotPresent + resources: + requests: + cpu: 200m + memory: 100M + pmm: + enabled: false + image: percona/pmm-client:2.28.0 + imagePullPolicy: IfNotPresent + resources: + requests: + cpu: 300m + memory: 150M + serverHost: monitoring-service + proxysql: + affinity: + antiAffinityTopologyKey: kubernetes.io/hostname + enabled: false + gracePeriod: 30 + image: percona/percona-xtradb-cluster-operator:1.11.0-proxysql + imagePullPolicy: IfNotPresent + podDisruptionBudget: + maxUnavailable: 1 + resources: + requests: + cpu: 600m + memory: 1G + size: 3 + volumeSpec: + persistentVolumeClaim: + resources: + requests: + storage: 2G + pxc: + affinity: + antiAffinityTopologyKey: kubernetes.io/hostname + autoRecovery: true + enabled: true + gracePeriod: 30 + image: percona/percona-xtradb-cluster:8.0.27-18.1 + imagePullPolicy: IfNotPresent + livenessDelaySec: 300 + podDisruptionBudget: + maxUnavailable: 1 + resources: + requests: + cpu: 600m + memory: 1G + size: 3 + volumeSpec: + persistentVolumeClaim: + resources: + requests: + storage: 6G + updateStrategy: SmartUpdate + upgradeOptions: + apply: 8.0-recommended + schedule: 0 4 * * * + versionServiceEndpoint: https://check.percona.com diff --git a/test/test_data/xtop-1061/mutated-1.yaml b/test/test_data/xtop-1061/mutated-1.yaml new file mode 100644 index 0000000000..2cdeb9980e --- /dev/null +++ b/test/test_data/xtop-1061/mutated-1.yaml @@ -0,0 +1,121 @@ +apiVersion: pxc.percona.com/v1-11-0 +kind: PerconaXtraDBCluster +metadata: + finalizers: + - delete-pxc-pods-in-order + name: test-cluster +spec: + allowUnsafeConfigurations: false + backup: + image: percona/percona-xtradb-cluster-operator:1.11.0-pxc8.0-backup + imagePullPolicy: IfNotPresent + pitr: + enabled: false + storageName: STORAGE-NAME-HERE + timeBetweenUploads: 60 + schedule: + - keep: 3 + name: sat-night-backup + schedule: 0 0 * * 6 + storageName: s3-us-west + - keep: 5 + name: daily-backup + schedule: 0 0 * * * + storageName: fs-pvc + storages: + fs-pvc: + type: filesystem + volume: + persistentVolumeClaim: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 6G + s3-us-west: + s3: + bucket: S3-BACKUP-BUCKET-NAME-HERE + credentialsSecret: my-cluster-name-backup-s3 + region: us-west-2 + type: s3 + verifyTLS: true + crVersion: 1.11.0 + enableCRValidationWebhook: true + haproxy: + affinity: + antiAffinityTopologyKey: kubernetes.io/hostname + annotations: + ACTOKEY: ACTOKEY + enabled: true + gracePeriod: 30 + image: percona/percona-xtradb-cluster-operator:1.11.0-haproxy + imagePullPolicy: IfNotPresent + podDisruptionBudget: + maxUnavailable: 1 + resources: + requests: + cpu: 600m + memory: 1G + size: 3 + logcollector: + enabled: true + image: percona/percona-xtradb-cluster-operator:1.11.0-logcollector + imagePullPolicy: IfNotPresent + resources: + requests: + cpu: 200m + memory: 100M + pmm: + enabled: false + image: percona/pmm-client:2.28.0 + imagePullPolicy: IfNotPresent + resources: + requests: + cpu: 300m + memory: 150M + serverHost: monitoring-service + proxysql: + affinity: + antiAffinityTopologyKey: kubernetes.io/hostname + enabled: false + gracePeriod: 30 + image: percona/percona-xtradb-cluster-operator:1.11.0-proxysql + imagePullPolicy: IfNotPresent + podDisruptionBudget: + maxUnavailable: 1 + resources: + requests: + cpu: 600m + memory: 1G + size: 3 + volumeSpec: + persistentVolumeClaim: + resources: + requests: + storage: 2G + pxc: + affinity: + antiAffinityTopologyKey: kubernetes.io/hostname + autoRecovery: true + enabled: true + gracePeriod: 30 + image: percona/percona-xtradb-cluster:8.0.27-18.1 + imagePullPolicy: IfNotPresent + livenessDelaySec: 300 + podDisruptionBudget: + maxUnavailable: 1 + resources: + requests: + cpu: 600m + memory: 1G + size: 3 + volumeSpec: + persistentVolumeClaim: + resources: + requests: + storage: 6G + updateStrategy: SmartUpdate + upgradeOptions: + apply: 8.0-recommended + schedule: 0 4 * * * + versionServiceEndpoint: https://check.percona.com diff --git a/test/test_data/xtop-1061/mutated-2.yaml b/test/test_data/xtop-1061/mutated-2.yaml new file mode 100644 index 0000000000..eb812027d2 --- /dev/null +++ b/test/test_data/xtop-1061/mutated-2.yaml @@ -0,0 +1,120 @@ +apiVersion: pxc.percona.com/v1-11-0 +kind: PerconaXtraDBCluster +metadata: + finalizers: + - delete-pxc-pods-in-order + name: test-cluster +spec: + allowUnsafeConfigurations: false + backup: + image: percona/percona-xtradb-cluster-operator:1.11.0-pxc8.0-backup + imagePullPolicy: IfNotPresent + pitr: + enabled: false + storageName: STORAGE-NAME-HERE + timeBetweenUploads: 60 + schedule: + - keep: 3 + name: sat-night-backup + schedule: 0 0 * * 6 + storageName: s3-us-west + - keep: 5 + name: daily-backup + schedule: 0 0 * * * + storageName: fs-pvc + storages: + fs-pvc: + type: filesystem + volume: + persistentVolumeClaim: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 6G + s3-us-west: + s3: + bucket: S3-BACKUP-BUCKET-NAME-HERE + credentialsSecret: my-cluster-name-backup-s3 + region: us-west-2 + type: s3 + verifyTLS: true + crVersion: 1.11.0 + enableCRValidationWebhook: true + haproxy: + affinity: + antiAffinityTopologyKey: kubernetes.io/hostname + annotations: {} + enabled: true + gracePeriod: 30 + image: percona/percona-xtradb-cluster-operator:1.11.0-haproxy + imagePullPolicy: IfNotPresent + podDisruptionBudget: + maxUnavailable: 1 + resources: + requests: + cpu: 600m + memory: 1G + size: 3 + logcollector: + enabled: true + image: percona/percona-xtradb-cluster-operator:1.11.0-logcollector + imagePullPolicy: IfNotPresent + resources: + requests: + cpu: 200m + memory: 100M + pmm: + enabled: false + image: percona/pmm-client:2.28.0 + imagePullPolicy: IfNotPresent + resources: + requests: + cpu: 300m + memory: 150M + serverHost: monitoring-service + proxysql: + affinity: + antiAffinityTopologyKey: kubernetes.io/hostname + enabled: false + gracePeriod: 30 + image: percona/percona-xtradb-cluster-operator:1.11.0-proxysql + imagePullPolicy: IfNotPresent + podDisruptionBudget: + maxUnavailable: 1 + resources: + requests: + cpu: 600m + memory: 1G + size: 3 + volumeSpec: + persistentVolumeClaim: + resources: + requests: + storage: 2G + pxc: + affinity: + antiAffinityTopologyKey: kubernetes.io/hostname + autoRecovery: true + enabled: true + gracePeriod: 30 + image: percona/percona-xtradb-cluster:8.0.27-18.1 + imagePullPolicy: IfNotPresent + livenessDelaySec: 300 + podDisruptionBudget: + maxUnavailable: 1 + resources: + requests: + cpu: 600m + memory: 1G + size: 3 + volumeSpec: + persistentVolumeClaim: + resources: + requests: + storage: 6G + updateStrategy: SmartUpdate + upgradeOptions: + apply: 8.0-recommended + schedule: 0 4 * * * + versionServiceEndpoint: https://check.percona.com diff --git a/test/test_data/xtop-1067/mutated-0.yaml b/test/test_data/xtop-1067/mutated-0.yaml new file mode 100644 index 0000000000..c15839e739 --- /dev/null +++ b/test/test_data/xtop-1067/mutated-0.yaml @@ -0,0 +1,119 @@ +apiVersion: pxc.percona.com/v1-11-0 +kind: PerconaXtraDBCluster +metadata: + finalizers: + - delete-pxc-pods-in-order + name: test-cluster +spec: + allowUnsafeConfigurations: false + backup: + image: percona/percona-xtradb-cluster-operator:1.11.0-pxc8.0-backup + imagePullPolicy: IfNotPresent + pitr: + enabled: false + storageName: STORAGE-NAME-HERE + timeBetweenUploads: 60 + schedule: + - keep: 3 + name: sat-night-backup + schedule: 0 0 * * 6 + storageName: s3-us-west + - keep: 5 + name: daily-backup + schedule: 0 0 * * * + storageName: fs-pvc + storages: + fs-pvc: + type: filesystem + volume: + persistentVolumeClaim: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 6G + s3-us-west: + s3: + bucket: S3-BACKUP-BUCKET-NAME-HERE + credentialsSecret: my-cluster-name-backup-s3 + region: us-west-2 + type: s3 + verifyTLS: true + crVersion: 1.11.0 + enableCRValidationWebhook: true + haproxy: + affinity: + antiAffinityTopologyKey: kubernetes.io/hostname + enabled: true + gracePeriod: 30 + image: percona/percona-xtradb-cluster-operator:1.11.0-haproxy + imagePullPolicy: IfNotPresent + podDisruptionBudget: + maxUnavailable: 1 + resources: + requests: + cpu: 600m + memory: 1G + size: 3 + logcollector: + enabled: true + image: percona/percona-xtradb-cluster-operator:1.11.0-logcollector + imagePullPolicy: IfNotPresent + resources: + requests: + cpu: 200m + memory: 100M + pmm: + enabled: false + image: percona/pmm-client:2.28.0 + imagePullPolicy: IfNotPresent + resources: + requests: + cpu: 300m + memory: 150M + serverHost: monitoring-service + proxysql: + affinity: + antiAffinityTopologyKey: kubernetes.io/hostname + enabled: false + gracePeriod: 30 + image: percona/percona-xtradb-cluster-operator:1.11.0-proxysql + imagePullPolicy: IfNotPresent + podDisruptionBudget: + maxUnavailable: 1 + resources: + requests: + cpu: 600m + memory: 1G + size: 3 + volumeSpec: + persistentVolumeClaim: + resources: + requests: + storage: 2G + pxc: + affinity: + antiAffinityTopologyKey: kubernetes.io/hostname + autoRecovery: true + enabled: true + gracePeriod: 30 + image: percona/percona-xtradb-cluster:8.0.27-18.1 + imagePullPolicy: IfNotPresent + livenessDelaySec: 300 + podDisruptionBudget: + maxUnavailable: 1 + resources: + requests: + cpu: 600m + memory: 1G + size: 3 + volumeSpec: + persistentVolumeClaim: + resources: + requests: + storage: 6G + updateStrategy: SmartUpdate + upgradeOptions: + apply: 8.0-recommended + schedule: 0 4 * * * + versionServiceEndpoint: https://check.percona.com diff --git a/test/test_data/xtop-1067/mutated-1.yaml b/test/test_data/xtop-1067/mutated-1.yaml new file mode 100644 index 0000000000..2c4a3a3c94 --- /dev/null +++ b/test/test_data/xtop-1067/mutated-1.yaml @@ -0,0 +1,121 @@ +apiVersion: pxc.percona.com/v1-11-0 +kind: PerconaXtraDBCluster +metadata: + finalizers: + - delete-pxc-pods-in-order + name: test-cluster +spec: + allowUnsafeConfigurations: false + backup: + image: percona/percona-xtradb-cluster-operator:1.11.0-pxc8.0-backup + imagePullPolicy: IfNotPresent + pitr: + enabled: false + storageName: STORAGE-NAME-HERE + timeBetweenUploads: 60 + schedule: + - keep: 3 + name: sat-night-backup + schedule: 0 0 * * 6 + storageName: s3-us-west + - keep: 5 + name: daily-backup + schedule: 0 0 * * * + storageName: fs-pvc + storages: + fs-pvc: + type: filesystem + volume: + persistentVolumeClaim: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 6G + s3-us-west: + s3: + bucket: S3-BACKUP-BUCKET-NAME-HERE + credentialsSecret: my-cluster-name-backup-s3 + region: us-west-2 + type: s3 + verifyTLS: true + crVersion: 1.11.0 + enableCRValidationWebhook: true + haproxy: + nodeSelector: + ACTOKEY: ACTOKEY + affinity: + antiAffinityTopologyKey: kubernetes.io/hostname + enabled: true + gracePeriod: 30 + image: percona/percona-xtradb-cluster-operator:1.11.0-haproxy + imagePullPolicy: IfNotPresent + podDisruptionBudget: + maxUnavailable: 1 + resources: + requests: + cpu: 600m + memory: 1G + size: 3 + logcollector: + enabled: true + image: percona/percona-xtradb-cluster-operator:1.11.0-logcollector + imagePullPolicy: IfNotPresent + resources: + requests: + cpu: 200m + memory: 100M + pmm: + enabled: false + image: percona/pmm-client:2.28.0 + imagePullPolicy: IfNotPresent + resources: + requests: + cpu: 300m + memory: 150M + serverHost: monitoring-service + proxysql: + affinity: + antiAffinityTopologyKey: kubernetes.io/hostname + enabled: false + gracePeriod: 30 + image: percona/percona-xtradb-cluster-operator:1.11.0-proxysql + imagePullPolicy: IfNotPresent + podDisruptionBudget: + maxUnavailable: 1 + resources: + requests: + cpu: 600m + memory: 1G + size: 3 + volumeSpec: + persistentVolumeClaim: + resources: + requests: + storage: 2G + pxc: + affinity: + antiAffinityTopologyKey: kubernetes.io/hostname + autoRecovery: true + enabled: true + gracePeriod: 30 + image: percona/percona-xtradb-cluster:8.0.27-18.1 + imagePullPolicy: IfNotPresent + livenessDelaySec: 300 + podDisruptionBudget: + maxUnavailable: 1 + resources: + requests: + cpu: 600m + memory: 1G + size: 3 + volumeSpec: + persistentVolumeClaim: + resources: + requests: + storage: 6G + updateStrategy: SmartUpdate + upgradeOptions: + apply: 8.0-recommended + schedule: 0 4 * * * + versionServiceEndpoint: https://check.percona.com diff --git a/test/test_data/xtop-1068/mutated-0.yaml b/test/test_data/xtop-1068/mutated-0.yaml new file mode 100644 index 0000000000..c15839e739 --- /dev/null +++ b/test/test_data/xtop-1068/mutated-0.yaml @@ -0,0 +1,119 @@ +apiVersion: pxc.percona.com/v1-11-0 +kind: PerconaXtraDBCluster +metadata: + finalizers: + - delete-pxc-pods-in-order + name: test-cluster +spec: + allowUnsafeConfigurations: false + backup: + image: percona/percona-xtradb-cluster-operator:1.11.0-pxc8.0-backup + imagePullPolicy: IfNotPresent + pitr: + enabled: false + storageName: STORAGE-NAME-HERE + timeBetweenUploads: 60 + schedule: + - keep: 3 + name: sat-night-backup + schedule: 0 0 * * 6 + storageName: s3-us-west + - keep: 5 + name: daily-backup + schedule: 0 0 * * * + storageName: fs-pvc + storages: + fs-pvc: + type: filesystem + volume: + persistentVolumeClaim: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 6G + s3-us-west: + s3: + bucket: S3-BACKUP-BUCKET-NAME-HERE + credentialsSecret: my-cluster-name-backup-s3 + region: us-west-2 + type: s3 + verifyTLS: true + crVersion: 1.11.0 + enableCRValidationWebhook: true + haproxy: + affinity: + antiAffinityTopologyKey: kubernetes.io/hostname + enabled: true + gracePeriod: 30 + image: percona/percona-xtradb-cluster-operator:1.11.0-haproxy + imagePullPolicy: IfNotPresent + podDisruptionBudget: + maxUnavailable: 1 + resources: + requests: + cpu: 600m + memory: 1G + size: 3 + logcollector: + enabled: true + image: percona/percona-xtradb-cluster-operator:1.11.0-logcollector + imagePullPolicy: IfNotPresent + resources: + requests: + cpu: 200m + memory: 100M + pmm: + enabled: false + image: percona/pmm-client:2.28.0 + imagePullPolicy: IfNotPresent + resources: + requests: + cpu: 300m + memory: 150M + serverHost: monitoring-service + proxysql: + affinity: + antiAffinityTopologyKey: kubernetes.io/hostname + enabled: false + gracePeriod: 30 + image: percona/percona-xtradb-cluster-operator:1.11.0-proxysql + imagePullPolicy: IfNotPresent + podDisruptionBudget: + maxUnavailable: 1 + resources: + requests: + cpu: 600m + memory: 1G + size: 3 + volumeSpec: + persistentVolumeClaim: + resources: + requests: + storage: 2G + pxc: + affinity: + antiAffinityTopologyKey: kubernetes.io/hostname + autoRecovery: true + enabled: true + gracePeriod: 30 + image: percona/percona-xtradb-cluster:8.0.27-18.1 + imagePullPolicy: IfNotPresent + livenessDelaySec: 300 + podDisruptionBudget: + maxUnavailable: 1 + resources: + requests: + cpu: 600m + memory: 1G + size: 3 + volumeSpec: + persistentVolumeClaim: + resources: + requests: + storage: 6G + updateStrategy: SmartUpdate + upgradeOptions: + apply: 8.0-recommended + schedule: 0 4 * * * + versionServiceEndpoint: https://check.percona.com diff --git a/test/test_data/xtop-1068/mutated-1.yaml b/test/test_data/xtop-1068/mutated-1.yaml new file mode 100644 index 0000000000..84bc18e984 --- /dev/null +++ b/test/test_data/xtop-1068/mutated-1.yaml @@ -0,0 +1,121 @@ +apiVersion: pxc.percona.com/v1-11-0 +kind: PerconaXtraDBCluster +metadata: + finalizers: + - delete-pxc-pods-in-order + name: test-cluster +spec: + allowUnsafeConfigurations: false + backup: + image: percona/percona-xtradb-cluster-operator:1.11.0-pxc8.0-backup + imagePullPolicy: IfNotPresent + pitr: + enabled: false + storageName: STORAGE-NAME-HERE + timeBetweenUploads: 60 + schedule: + - keep: 3 + name: sat-night-backup + schedule: 0 0 * * 6 + storageName: s3-us-west + - keep: 5 + name: daily-backup + schedule: 0 0 * * * + storageName: fs-pvc + storages: + fs-pvc: + type: filesystem + volume: + persistentVolumeClaim: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 6G + s3-us-west: + s3: + bucket: S3-BACKUP-BUCKET-NAME-HERE + credentialsSecret: my-cluster-name-backup-s3 + region: us-west-2 + type: s3 + verifyTLS: true + crVersion: 1.11.0 + enableCRValidationWebhook: true + haproxy: + labels: + ACTOKEY: ACTOKEY + affinity: + antiAffinityTopologyKey: kubernetes.io/hostname + enabled: true + gracePeriod: 30 + image: percona/percona-xtradb-cluster-operator:1.11.0-haproxy + imagePullPolicy: IfNotPresent + podDisruptionBudget: + maxUnavailable: 1 + resources: + requests: + cpu: 600m + memory: 1G + size: 3 + logcollector: + enabled: true + image: percona/percona-xtradb-cluster-operator:1.11.0-logcollector + imagePullPolicy: IfNotPresent + resources: + requests: + cpu: 200m + memory: 100M + pmm: + enabled: false + image: percona/pmm-client:2.28.0 + imagePullPolicy: IfNotPresent + resources: + requests: + cpu: 300m + memory: 150M + serverHost: monitoring-service + proxysql: + affinity: + antiAffinityTopologyKey: kubernetes.io/hostname + enabled: false + gracePeriod: 30 + image: percona/percona-xtradb-cluster-operator:1.11.0-proxysql + imagePullPolicy: IfNotPresent + podDisruptionBudget: + maxUnavailable: 1 + resources: + requests: + cpu: 600m + memory: 1G + size: 3 + volumeSpec: + persistentVolumeClaim: + resources: + requests: + storage: 2G + pxc: + affinity: + antiAffinityTopologyKey: kubernetes.io/hostname + autoRecovery: true + enabled: true + gracePeriod: 30 + image: percona/percona-xtradb-cluster:8.0.27-18.1 + imagePullPolicy: IfNotPresent + livenessDelaySec: 300 + podDisruptionBudget: + maxUnavailable: 1 + resources: + requests: + cpu: 600m + memory: 1G + size: 3 + volumeSpec: + persistentVolumeClaim: + resources: + requests: + storage: 6G + updateStrategy: SmartUpdate + upgradeOptions: + apply: 8.0-recommended + schedule: 0 4 * * * + versionServiceEndpoint: https://check.percona.com diff --git a/test/test_data/xtop-1068/mutated-2.yaml b/test/test_data/xtop-1068/mutated-2.yaml new file mode 100644 index 0000000000..c15839e739 --- /dev/null +++ b/test/test_data/xtop-1068/mutated-2.yaml @@ -0,0 +1,119 @@ +apiVersion: pxc.percona.com/v1-11-0 +kind: PerconaXtraDBCluster +metadata: + finalizers: + - delete-pxc-pods-in-order + name: test-cluster +spec: + allowUnsafeConfigurations: false + backup: + image: percona/percona-xtradb-cluster-operator:1.11.0-pxc8.0-backup + imagePullPolicy: IfNotPresent + pitr: + enabled: false + storageName: STORAGE-NAME-HERE + timeBetweenUploads: 60 + schedule: + - keep: 3 + name: sat-night-backup + schedule: 0 0 * * 6 + storageName: s3-us-west + - keep: 5 + name: daily-backup + schedule: 0 0 * * * + storageName: fs-pvc + storages: + fs-pvc: + type: filesystem + volume: + persistentVolumeClaim: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 6G + s3-us-west: + s3: + bucket: S3-BACKUP-BUCKET-NAME-HERE + credentialsSecret: my-cluster-name-backup-s3 + region: us-west-2 + type: s3 + verifyTLS: true + crVersion: 1.11.0 + enableCRValidationWebhook: true + haproxy: + affinity: + antiAffinityTopologyKey: kubernetes.io/hostname + enabled: true + gracePeriod: 30 + image: percona/percona-xtradb-cluster-operator:1.11.0-haproxy + imagePullPolicy: IfNotPresent + podDisruptionBudget: + maxUnavailable: 1 + resources: + requests: + cpu: 600m + memory: 1G + size: 3 + logcollector: + enabled: true + image: percona/percona-xtradb-cluster-operator:1.11.0-logcollector + imagePullPolicy: IfNotPresent + resources: + requests: + cpu: 200m + memory: 100M + pmm: + enabled: false + image: percona/pmm-client:2.28.0 + imagePullPolicy: IfNotPresent + resources: + requests: + cpu: 300m + memory: 150M + serverHost: monitoring-service + proxysql: + affinity: + antiAffinityTopologyKey: kubernetes.io/hostname + enabled: false + gracePeriod: 30 + image: percona/percona-xtradb-cluster-operator:1.11.0-proxysql + imagePullPolicy: IfNotPresent + podDisruptionBudget: + maxUnavailable: 1 + resources: + requests: + cpu: 600m + memory: 1G + size: 3 + volumeSpec: + persistentVolumeClaim: + resources: + requests: + storage: 2G + pxc: + affinity: + antiAffinityTopologyKey: kubernetes.io/hostname + autoRecovery: true + enabled: true + gracePeriod: 30 + image: percona/percona-xtradb-cluster:8.0.27-18.1 + imagePullPolicy: IfNotPresent + livenessDelaySec: 300 + podDisruptionBudget: + maxUnavailable: 1 + resources: + requests: + cpu: 600m + memory: 1G + size: 3 + volumeSpec: + persistentVolumeClaim: + resources: + requests: + storage: 6G + updateStrategy: SmartUpdate + upgradeOptions: + apply: 8.0-recommended + schedule: 0 4 * * * + versionServiceEndpoint: https://check.percona.com diff --git a/test/test_data/xtop-1069/mutated-0.yaml b/test/test_data/xtop-1069/mutated-0.yaml new file mode 100644 index 0000000000..c15839e739 --- /dev/null +++ b/test/test_data/xtop-1069/mutated-0.yaml @@ -0,0 +1,119 @@ +apiVersion: pxc.percona.com/v1-11-0 +kind: PerconaXtraDBCluster +metadata: + finalizers: + - delete-pxc-pods-in-order + name: test-cluster +spec: + allowUnsafeConfigurations: false + backup: + image: percona/percona-xtradb-cluster-operator:1.11.0-pxc8.0-backup + imagePullPolicy: IfNotPresent + pitr: + enabled: false + storageName: STORAGE-NAME-HERE + timeBetweenUploads: 60 + schedule: + - keep: 3 + name: sat-night-backup + schedule: 0 0 * * 6 + storageName: s3-us-west + - keep: 5 + name: daily-backup + schedule: 0 0 * * * + storageName: fs-pvc + storages: + fs-pvc: + type: filesystem + volume: + persistentVolumeClaim: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 6G + s3-us-west: + s3: + bucket: S3-BACKUP-BUCKET-NAME-HERE + credentialsSecret: my-cluster-name-backup-s3 + region: us-west-2 + type: s3 + verifyTLS: true + crVersion: 1.11.0 + enableCRValidationWebhook: true + haproxy: + affinity: + antiAffinityTopologyKey: kubernetes.io/hostname + enabled: true + gracePeriod: 30 + image: percona/percona-xtradb-cluster-operator:1.11.0-haproxy + imagePullPolicy: IfNotPresent + podDisruptionBudget: + maxUnavailable: 1 + resources: + requests: + cpu: 600m + memory: 1G + size: 3 + logcollector: + enabled: true + image: percona/percona-xtradb-cluster-operator:1.11.0-logcollector + imagePullPolicy: IfNotPresent + resources: + requests: + cpu: 200m + memory: 100M + pmm: + enabled: false + image: percona/pmm-client:2.28.0 + imagePullPolicy: IfNotPresent + resources: + requests: + cpu: 300m + memory: 150M + serverHost: monitoring-service + proxysql: + affinity: + antiAffinityTopologyKey: kubernetes.io/hostname + enabled: false + gracePeriod: 30 + image: percona/percona-xtradb-cluster-operator:1.11.0-proxysql + imagePullPolicy: IfNotPresent + podDisruptionBudget: + maxUnavailable: 1 + resources: + requests: + cpu: 600m + memory: 1G + size: 3 + volumeSpec: + persistentVolumeClaim: + resources: + requests: + storage: 2G + pxc: + affinity: + antiAffinityTopologyKey: kubernetes.io/hostname + autoRecovery: true + enabled: true + gracePeriod: 30 + image: percona/percona-xtradb-cluster:8.0.27-18.1 + imagePullPolicy: IfNotPresent + livenessDelaySec: 300 + podDisruptionBudget: + maxUnavailable: 1 + resources: + requests: + cpu: 600m + memory: 1G + size: 3 + volumeSpec: + persistentVolumeClaim: + resources: + requests: + storage: 6G + updateStrategy: SmartUpdate + upgradeOptions: + apply: 8.0-recommended + schedule: 0 4 * * * + versionServiceEndpoint: https://check.percona.com diff --git a/test/test_data/xtop-1069/mutated-1.yaml b/test/test_data/xtop-1069/mutated-1.yaml new file mode 100644 index 0000000000..842c177101 --- /dev/null +++ b/test/test_data/xtop-1069/mutated-1.yaml @@ -0,0 +1,121 @@ +apiVersion: pxc.percona.com/v1-11-0 +kind: PerconaXtraDBCluster +metadata: + finalizers: + - delete-pxc-pods-in-order + name: test-cluster +spec: + allowUnsafeConfigurations: false + backup: + image: percona/percona-xtradb-cluster-operator:1.11.0-pxc8.0-backup + imagePullPolicy: IfNotPresent + pitr: + enabled: false + storageName: STORAGE-NAME-HERE + timeBetweenUploads: 60 + schedule: + - keep: 3 + name: sat-night-backup + schedule: 0 0 * * 6 + storageName: s3-us-west + - keep: 5 + name: daily-backup + schedule: 0 0 * * * + storageName: fs-pvc + storages: + fs-pvc: + type: filesystem + volume: + persistentVolumeClaim: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 6G + s3-us-west: + s3: + bucket: S3-BACKUP-BUCKET-NAME-HERE + credentialsSecret: my-cluster-name-backup-s3 + region: us-west-2 + type: s3 + verifyTLS: true + crVersion: 1.11.0 + enableCRValidationWebhook: true + haproxy: + affinity: + antiAffinityTopologyKey: kubernetes.io/hostname + enabled: true + gracePeriod: 30 + image: percona/percona-xtradb-cluster-operator:1.11.0-haproxy + imagePullPolicy: IfNotPresent + podDisruptionBudget: + maxUnavailable: 1 + resources: + requests: + cpu: 600m + memory: 1G + size: 3 + logcollector: + enabled: true + image: percona/percona-xtradb-cluster-operator:1.11.0-logcollector + imagePullPolicy: IfNotPresent + resources: + requests: + cpu: 200m + memory: 100M + pmm: + enabled: false + image: percona/pmm-client:2.28.0 + imagePullPolicy: IfNotPresent + resources: + requests: + cpu: 300m + memory: 150M + serverHost: monitoring-service + proxysql: + affinity: + antiAffinityTopologyKey: kubernetes.io/hostname + enabled: false + gracePeriod: 30 + image: percona/percona-xtradb-cluster-operator:1.11.0-proxysql + imagePullPolicy: IfNotPresent + podDisruptionBudget: + maxUnavailable: 1 + resources: + requests: + cpu: 600m + memory: 1G + size: 3 + volumeSpec: + persistentVolumeClaim: + resources: + requests: + storage: 2G + pxc: + serviceLabels: + ACTOKEY: ACTOKEY + affinity: + antiAffinityTopologyKey: kubernetes.io/hostname + autoRecovery: true + enabled: true + gracePeriod: 30 + image: percona/percona-xtradb-cluster:8.0.27-18.1 + imagePullPolicy: IfNotPresent + livenessDelaySec: 300 + podDisruptionBudget: + maxUnavailable: 1 + resources: + requests: + cpu: 600m + memory: 1G + size: 3 + volumeSpec: + persistentVolumeClaim: + resources: + requests: + storage: 6G + updateStrategy: SmartUpdate + upgradeOptions: + apply: 8.0-recommended + schedule: 0 4 * * * + versionServiceEndpoint: https://check.percona.com diff --git a/test/test_data/xtop-1155/mutated-0.yaml b/test/test_data/xtop-1155/mutated-0.yaml new file mode 100644 index 0000000000..c15839e739 --- /dev/null +++ b/test/test_data/xtop-1155/mutated-0.yaml @@ -0,0 +1,119 @@ +apiVersion: pxc.percona.com/v1-11-0 +kind: PerconaXtraDBCluster +metadata: + finalizers: + - delete-pxc-pods-in-order + name: test-cluster +spec: + allowUnsafeConfigurations: false + backup: + image: percona/percona-xtradb-cluster-operator:1.11.0-pxc8.0-backup + imagePullPolicy: IfNotPresent + pitr: + enabled: false + storageName: STORAGE-NAME-HERE + timeBetweenUploads: 60 + schedule: + - keep: 3 + name: sat-night-backup + schedule: 0 0 * * 6 + storageName: s3-us-west + - keep: 5 + name: daily-backup + schedule: 0 0 * * * + storageName: fs-pvc + storages: + fs-pvc: + type: filesystem + volume: + persistentVolumeClaim: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 6G + s3-us-west: + s3: + bucket: S3-BACKUP-BUCKET-NAME-HERE + credentialsSecret: my-cluster-name-backup-s3 + region: us-west-2 + type: s3 + verifyTLS: true + crVersion: 1.11.0 + enableCRValidationWebhook: true + haproxy: + affinity: + antiAffinityTopologyKey: kubernetes.io/hostname + enabled: true + gracePeriod: 30 + image: percona/percona-xtradb-cluster-operator:1.11.0-haproxy + imagePullPolicy: IfNotPresent + podDisruptionBudget: + maxUnavailable: 1 + resources: + requests: + cpu: 600m + memory: 1G + size: 3 + logcollector: + enabled: true + image: percona/percona-xtradb-cluster-operator:1.11.0-logcollector + imagePullPolicy: IfNotPresent + resources: + requests: + cpu: 200m + memory: 100M + pmm: + enabled: false + image: percona/pmm-client:2.28.0 + imagePullPolicy: IfNotPresent + resources: + requests: + cpu: 300m + memory: 150M + serverHost: monitoring-service + proxysql: + affinity: + antiAffinityTopologyKey: kubernetes.io/hostname + enabled: false + gracePeriod: 30 + image: percona/percona-xtradb-cluster-operator:1.11.0-proxysql + imagePullPolicy: IfNotPresent + podDisruptionBudget: + maxUnavailable: 1 + resources: + requests: + cpu: 600m + memory: 1G + size: 3 + volumeSpec: + persistentVolumeClaim: + resources: + requests: + storage: 2G + pxc: + affinity: + antiAffinityTopologyKey: kubernetes.io/hostname + autoRecovery: true + enabled: true + gracePeriod: 30 + image: percona/percona-xtradb-cluster:8.0.27-18.1 + imagePullPolicy: IfNotPresent + livenessDelaySec: 300 + podDisruptionBudget: + maxUnavailable: 1 + resources: + requests: + cpu: 600m + memory: 1G + size: 3 + volumeSpec: + persistentVolumeClaim: + resources: + requests: + storage: 6G + updateStrategy: SmartUpdate + upgradeOptions: + apply: 8.0-recommended + schedule: 0 4 * * * + versionServiceEndpoint: https://check.percona.com diff --git a/test/test_data/xtop-1155/mutated-1.yaml b/test/test_data/xtop-1155/mutated-1.yaml new file mode 100644 index 0000000000..14553decb1 --- /dev/null +++ b/test/test_data/xtop-1155/mutated-1.yaml @@ -0,0 +1,121 @@ +apiVersion: pxc.percona.com/v1-11-0 +kind: PerconaXtraDBCluster +metadata: + finalizers: + - delete-pxc-pods-in-order + name: test-cluster +spec: + allowUnsafeConfigurations: false + backup: + image: percona/percona-xtradb-cluster-operator:1.11.0-pxc8.0-backup + imagePullPolicy: IfNotPresent + pitr: + enabled: false + storageName: STORAGE-NAME-HERE + timeBetweenUploads: 60 + schedule: + - keep: 3 + name: sat-night-backup + schedule: 0 0 * * 6 + storageName: s3-us-west + - keep: 5 + name: daily-backup + schedule: 0 0 * * * + storageName: fs-pvc + storages: + fs-pvc: + type: filesystem + volume: + persistentVolumeClaim: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 6G + s3-us-west: + s3: + bucket: S3-BACKUP-BUCKET-NAME-HERE + credentialsSecret: my-cluster-name-backup-s3 + region: us-west-2 + type: s3 + verifyTLS: true + crVersion: 1.11.0 + enableCRValidationWebhook: true + haproxy: + affinity: + antiAffinityTopologyKey: kubernetes.io/hostname + enabled: true + gracePeriod: 30 + image: percona/percona-xtradb-cluster-operator:1.11.0-haproxy + imagePullPolicy: IfNotPresent + podDisruptionBudget: + maxUnavailable: 1 + resources: + requests: + cpu: 600m + memory: 1G + size: 3 + logcollector: + enabled: true + image: percona/percona-xtradb-cluster-operator:1.11.0-logcollector + imagePullPolicy: IfNotPresent + resources: + requests: + cpu: 200m + memory: 100M + pmm: + enabled: false + image: percona/pmm-client:2.28.0 + imagePullPolicy: IfNotPresent + resources: + requests: + cpu: 300m + memory: 150M + serverHost: monitoring-service + proxysql: + affinity: + antiAffinityTopologyKey: kubernetes.io/hostname + enabled: false + gracePeriod: 30 + image: percona/percona-xtradb-cluster-operator:1.11.0-proxysql + imagePullPolicy: IfNotPresent + podDisruptionBudget: + maxUnavailable: 1 + resources: + requests: + cpu: 600m + memory: 1G + size: 3 + volumeSpec: + persistentVolumeClaim: + resources: + requests: + storage: 2G + pxc: + nodeSelector: + disktype: do_not_exist + affinity: + antiAffinityTopologyKey: kubernetes.io/hostname + autoRecovery: true + enabled: true + gracePeriod: 30 + image: percona/percona-xtradb-cluster:8.0.27-18.1 + imagePullPolicy: IfNotPresent + livenessDelaySec: 300 + podDisruptionBudget: + maxUnavailable: 1 + resources: + requests: + cpu: 600m + memory: 1G + size: 3 + volumeSpec: + persistentVolumeClaim: + resources: + requests: + storage: 6G + updateStrategy: SmartUpdate + upgradeOptions: + apply: 8.0-recommended + schedule: 0 4 * * * + versionServiceEndpoint: https://check.percona.com diff --git a/test/test_data/zkop-454/mutated-0.yaml b/test/test_data/zkop-454/mutated-0.yaml new file mode 100644 index 0000000000..637bd143f5 --- /dev/null +++ b/test/test_data/zkop-454/mutated-0.yaml @@ -0,0 +1,18 @@ +apiVersion: zookeeper.pravega.io/v1beta1 +kind: ZookeeperCluster +metadata: + name: test-cluster +spec: + image: + pullPolicy: IfNotPresent + repository: pravega/zookeeper + tag: 0.2.14 + persistence: + reclaimPolicy: Delete + spec: + resources: + requests: + storage: 20Gi + storageClassName: standard + replicas: 3 + storageType: persistence diff --git a/test/test_data/zkop-454/mutated-1.yaml b/test/test_data/zkop-454/mutated-1.yaml new file mode 100644 index 0000000000..ac049b627f --- /dev/null +++ b/test/test_data/zkop-454/mutated-1.yaml @@ -0,0 +1,20 @@ +apiVersion: zookeeper.pravega.io/v1beta1 +kind: ZookeeperCluster +metadata: + name: test-cluster +spec: + config: + tickTime: 5 + image: + pullPolicy: IfNotPresent + repository: pravega/zookeeper + tag: 0.2.14 + persistence: + reclaimPolicy: Delete + spec: + resources: + requests: + storage: 20Gi + storageClassName: standard + replicas: 3 + storageType: persistence diff --git a/test/test_data/zkop-454/mutated-2.yaml b/test/test_data/zkop-454/mutated-2.yaml new file mode 100644 index 0000000000..ccaf01445e --- /dev/null +++ b/test/test_data/zkop-454/mutated-2.yaml @@ -0,0 +1,20 @@ +apiVersion: zookeeper.pravega.io/v1beta1 +kind: ZookeeperCluster +metadata: + name: test-cluster +spec: + config: + tickTime: 2 + image: + pullPolicy: IfNotPresent + repository: pravega/zookeeper + tag: 0.2.14 + persistence: + reclaimPolicy: Delete + spec: + resources: + requests: + storage: 20Gi + storageClassName: standard + replicas: 3 + storageType: persistence diff --git a/test/test_data/zkop-474/mutated-0.yaml b/test/test_data/zkop-474/mutated-0.yaml new file mode 100644 index 0000000000..637bd143f5 --- /dev/null +++ b/test/test_data/zkop-474/mutated-0.yaml @@ -0,0 +1,18 @@ +apiVersion: zookeeper.pravega.io/v1beta1 +kind: ZookeeperCluster +metadata: + name: test-cluster +spec: + image: + pullPolicy: IfNotPresent + repository: pravega/zookeeper + tag: 0.2.14 + persistence: + reclaimPolicy: Delete + spec: + resources: + requests: + storage: 20Gi + storageClassName: standard + replicas: 3 + storageType: persistence diff --git a/test/test_data/zkop-474/mutated-1.yaml b/test/test_data/zkop-474/mutated-1.yaml new file mode 100644 index 0000000000..6f4628b738 --- /dev/null +++ b/test/test_data/zkop-474/mutated-1.yaml @@ -0,0 +1,21 @@ +apiVersion: zookeeper.pravega.io/v1beta1 +kind: ZookeeperCluster +metadata: + name: test-cluster +spec: + adminServerService: + annotations: + ACTOKEY: ACTOKEY + image: + pullPolicy: IfNotPresent + repository: pravega/zookeeper + tag: 0.2.14 + persistence: + reclaimPolicy: Delete + spec: + resources: + requests: + storage: 20Gi + storageClassName: standard + replicas: 3 + storageType: persistence diff --git a/test/test_data/zkop-513/mutated-0.yaml b/test/test_data/zkop-513/mutated-0.yaml new file mode 100644 index 0000000000..637bd143f5 --- /dev/null +++ b/test/test_data/zkop-513/mutated-0.yaml @@ -0,0 +1,18 @@ +apiVersion: zookeeper.pravega.io/v1beta1 +kind: ZookeeperCluster +metadata: + name: test-cluster +spec: + image: + pullPolicy: IfNotPresent + repository: pravega/zookeeper + tag: 0.2.14 + persistence: + reclaimPolicy: Delete + spec: + resources: + requests: + storage: 20Gi + storageClassName: standard + replicas: 3 + storageType: persistence diff --git a/test/test_data/zkop-513/mutated-1.yaml b/test/test_data/zkop-513/mutated-1.yaml new file mode 100644 index 0000000000..d8a531a6a7 --- /dev/null +++ b/test/test_data/zkop-513/mutated-1.yaml @@ -0,0 +1,18 @@ +apiVersion: zookeeper.pravega.io/v1beta1 +kind: ZookeeperCluster +metadata: + name: test-cluster +spec: + image: + pullPolicy: IfNotPresent + repository: pravega/zookeeper + tag: 0.2.14 + persistence: + reclaimPolicy: Delete + spec: + resources: + requests: + storage: 20Gi + storageClassName: standard + replicas: 1 + storageType: persistence diff --git a/test/test_data/zkop-513/mutated-2.yaml b/test/test_data/zkop-513/mutated-2.yaml new file mode 100644 index 0000000000..637bd143f5 --- /dev/null +++ b/test/test_data/zkop-513/mutated-2.yaml @@ -0,0 +1,18 @@ +apiVersion: zookeeper.pravega.io/v1beta1 +kind: ZookeeperCluster +metadata: + name: test-cluster +spec: + image: + pullPolicy: IfNotPresent + repository: pravega/zookeeper + tag: 0.2.14 + persistence: + reclaimPolicy: Delete + spec: + resources: + requests: + storage: 20Gi + storageClassName: standard + replicas: 3 + storageType: persistence diff --git a/test/test_data/zkop-540/mutated-0.yaml b/test/test_data/zkop-540/mutated-0.yaml new file mode 100644 index 0000000000..637bd143f5 --- /dev/null +++ b/test/test_data/zkop-540/mutated-0.yaml @@ -0,0 +1,18 @@ +apiVersion: zookeeper.pravega.io/v1beta1 +kind: ZookeeperCluster +metadata: + name: test-cluster +spec: + image: + pullPolicy: IfNotPresent + repository: pravega/zookeeper + tag: 0.2.14 + persistence: + reclaimPolicy: Delete + spec: + resources: + requests: + storage: 20Gi + storageClassName: standard + replicas: 3 + storageType: persistence diff --git a/test/test_data/zkop-540/mutated-1.yaml b/test/test_data/zkop-540/mutated-1.yaml new file mode 100644 index 0000000000..b2bcd67a8b --- /dev/null +++ b/test/test_data/zkop-540/mutated-1.yaml @@ -0,0 +1,18 @@ +apiVersion: zookeeper.pravega.io/v1beta1 +kind: ZookeeperCluster +metadata: + name: test-cluster +spec: + image: + pullPolicy: IfNotPresent + repository: pravega/zookeeper + tag: 0.2.14 + persistence: + reclaimPolicy: Delete + spec: + resources: + requests: + storage: 40Gi + storageClassName: standard + replicas: 3 + storageType: persistence diff --git a/test/test_data/zkop-541/mutated-0.yaml b/test/test_data/zkop-541/mutated-0.yaml new file mode 100644 index 0000000000..637bd143f5 --- /dev/null +++ b/test/test_data/zkop-541/mutated-0.yaml @@ -0,0 +1,18 @@ +apiVersion: zookeeper.pravega.io/v1beta1 +kind: ZookeeperCluster +metadata: + name: test-cluster +spec: + image: + pullPolicy: IfNotPresent + repository: pravega/zookeeper + tag: 0.2.14 + persistence: + reclaimPolicy: Delete + spec: + resources: + requests: + storage: 20Gi + storageClassName: standard + replicas: 3 + storageType: persistence diff --git a/test/test_data/zkop-541/mutated-1.yaml b/test/test_data/zkop-541/mutated-1.yaml new file mode 100644 index 0000000000..18edc5ed4d --- /dev/null +++ b/test/test_data/zkop-541/mutated-1.yaml @@ -0,0 +1,21 @@ +apiVersion: zookeeper.pravega.io/v1beta1 +kind: ZookeeperCluster +metadata: + name: test-cluster +spec: + image: + pullPolicy: IfNotPresent + repository: pravega/zookeeper + tag: 0.2.14 + persistence: + reclaimPolicy: Delete + spec: + resources: + requests: + storage: 20Gi + storageClassName: standard + probes: + livenessProbe: + failureThreshold: 4 + replicas: 3 + storageType: persistence diff --git a/test/test_data/zkop-547/mutated-0.yaml b/test/test_data/zkop-547/mutated-0.yaml new file mode 100644 index 0000000000..637bd143f5 --- /dev/null +++ b/test/test_data/zkop-547/mutated-0.yaml @@ -0,0 +1,18 @@ +apiVersion: zookeeper.pravega.io/v1beta1 +kind: ZookeeperCluster +metadata: + name: test-cluster +spec: + image: + pullPolicy: IfNotPresent + repository: pravega/zookeeper + tag: 0.2.14 + persistence: + reclaimPolicy: Delete + spec: + resources: + requests: + storage: 20Gi + storageClassName: standard + replicas: 3 + storageType: persistence diff --git a/test/test_data/zkop-547/mutated-1.yaml b/test/test_data/zkop-547/mutated-1.yaml new file mode 100644 index 0000000000..ff47c3f32f --- /dev/null +++ b/test/test_data/zkop-547/mutated-1.yaml @@ -0,0 +1,21 @@ +apiVersion: zookeeper.pravega.io/v1beta1 +kind: ZookeeperCluster +metadata: + name: test-cluster +spec: + image: + pullPolicy: IfNotPresent + repository: pravega/zookeeper + tag: 0.2.14 + persistence: + reclaimPolicy: Delete + spec: + resources: + requests: + storage: 20Gi + storageClassName: standard + pod: + nodeSelector: + ACTOKEY: ACTOKEY + replicas: 3 + storageType: persistence diff --git a/test/utils.py b/test/utils.py index 294f6c2fee..09a6ffc066 100644 --- a/test/utils.py +++ b/test/utils.py @@ -1,8 +1,14 @@ +from enum import Enum +import glob import json +import os +from typing import Dict, List import yaml +from acto.checker.impl.health import HealthChecker +from acto.common import PassResult -from acto.snapshot import Snapshot +from acto.snapshot import EmptySnapshot, Snapshot def construct_snapshot(trial_dir: str, generation: int): @@ -21,4 +27,576 @@ def construct_snapshot(trial_dir: str, generation: int): system_state = json.load(system_state_file) cli_output = json.load(cli_output_file) - return Snapshot(mutated, cli_output, system_state, operator_log) \ No newline at end of file + return Snapshot(mutated, cli_output, system_state, operator_log) + + +class BugCateogry(str, Enum): + UNDESIRED_STATE = 'undesired_state' + SYSTEM_ERROR = 'system_error' + OPERATOR_ERROR = 'operator_error' + RECOVERY_FAILURE = 'recovery_failure' + + def __str__(self) -> str: + return self.value + + +class BugConsequence(str, Enum): + SYSTEM_FAILURE = 'System failure' + RELIABILITY_ISSUE = 'Reliability issue' + SECURITY_ISSUE = 'Security issue' + RESOURCE_ISSUE = 'Resource issue' + OPERATION_OUTAGE = 'Operation outage' + MISCONFIGURATION = 'Misconfiguration' + + +class BugConfig: + + def __init__(self, + category: BugCateogry, + dir: str, + diffdir: str = None, + declaration: bool = False, + difftest: bool = False, + runtime_error: bool = False, + recovery: bool = False, + consequences: List[BugConsequence] = None) -> None: + self._category = category + self._dir = dir + self._diffdir = diffdir + self._declaration = declaration + self._difftest = difftest + self._runtime_error = runtime_error + self._recovery = recovery + + if consequences is None: + self._consequences = [] + else: + self._consequences = consequences + + @property + def category(self) -> BugCateogry: + return self._category + + @property + def dir(self) -> str: + '''The relative directory containing the inputs for reproducing this bug''' + return self._dir + + @property + def diffdir(self) -> str: + '''The relative directory containing the inputs for reproducing this bug through difftest + + Only specified when "dir" cannot does not trigger the difftest alarm for this bug + ''' + return self._diffdir + + @property + def declaration(self) -> bool: + '''If the bug is found by the system consistency oracle''' + return self._declaration + + @property + def difftest(self) -> bool: + '''If the bug is found by the differential oracle''' + return self._difftest + + @property + def runtime_error(self) -> bool: + '''If the bug if found by runtime error''' + return self._runtime_error + + @property + def recovery(self) -> bool: + '''If the bug if found by the recovery step''' + return self._recovery + + @property + def consequences(self) -> List[str]: + '''The list of consequence categories this bug cause''' + return self._consequences + + +class OperatorPrettyName(str, Enum): + CASS_OPERATOR = 'CassOp' + COCKROACH_OPERATOR = 'CockroachOp' + KNATIVE_OPERATOR = 'KnativeOp' + OCK_REDIS_OPERATOR = 'OCK-RedisOp' + OFC_MONGODB_OPERATOR = 'OFC-MongoDBOp' + PCN_MONGODB_OPERATOR = 'PCN-MongoDBOp' + RABBITMQ_OPERATOR = 'RabbitMQOp' + SAH_REDIS_OPERATOR = 'SAH-RedisOp' + TIDB_OPERATOR = 'TiDBOp' + XTRADB_OPERATOR = 'XtraDBOp' + ZOOKEEPER_OPERATOR = 'ZookeeperOp' + + +# Mapping from operator name to pretty name +operator_pretty_name_mapping: Dict[str, OperatorPrettyName] = { + "cass-operator": OperatorPrettyName.CASS_OPERATOR, + "cockroach-operator": OperatorPrettyName.COCKROACH_OPERATOR, + "knative-operator": OperatorPrettyName.KNATIVE_OPERATOR, + "redis-ot-container-kit-operator": OperatorPrettyName.OCK_REDIS_OPERATOR, + "mongodb-community-operator": OperatorPrettyName.OFC_MONGODB_OPERATOR, + "percona-server-mongodb-operator": OperatorPrettyName.PCN_MONGODB_OPERATOR, + "rabbitmq-operator": OperatorPrettyName.RABBITMQ_OPERATOR, + "redis-operator": OperatorPrettyName.SAH_REDIS_OPERATOR, + "tidb-operator": OperatorPrettyName.TIDB_OPERATOR, + "percona-xtradb-cluster-operator": OperatorPrettyName.XTRADB_OPERATOR, + "zookeeper-operator": OperatorPrettyName.ZOOKEEPER_OPERATOR +} + +all_bugs: Dict[str, Dict[str, BugConfig]] = { + 'cass-operator': { + 'cassop-315': + BugConfig( + category=BugCateogry.RECOVERY_FAILURE, + dir='cassop-315/inputs', + recovery=True, + consequences=[BugConsequence.OPERATION_OUTAGE] + ), + 'cassop-330': + BugConfig( + category=BugCateogry.UNDESIRED_STATE, + dir='cassop-330/trial-demo', + declaration=True, + difftest=True, + consequences=[BugConsequence.MISCONFIGURATION] + ), + 'cassop-334': + BugConfig( + category=BugCateogry.RECOVERY_FAILURE, + dir='cassop-334', + recovery=True, + consequences=[BugConsequence.RELIABILITY_ISSUE, BugConsequence.OPERATION_OUTAGE] + ), + 'cassop-471': + BugConfig( + category=BugCateogry.UNDESIRED_STATE, + dir='cassop-471', + declaration=True, + consequences=[BugConsequence.RELIABILITY_ISSUE] + ), + }, + 'cockroach-operator': { + 'crdbop-918': + BugConfig( + category=BugCateogry.OPERATOR_ERROR, + dir='crdbop-918', + runtime_error=True, + consequences=[BugConsequence.OPERATION_OUTAGE, BugConsequence.MISCONFIGURATION] + ), + 'crdbop-919': + BugConfig( + category=BugCateogry.UNDESIRED_STATE, + dir='crdbop-919', + difftest=True, + consequences=[BugConsequence.RESOURCE_ISSUE] + ), + 'crdbop-920': + BugConfig( + category=BugCateogry.UNDESIRED_STATE, + dir='crdbop-920/inputs', + declaration=True, + difftest=True, + consequences=[BugConsequence.SECURITY_ISSUE] + ), + 'crdbop-927': + BugConfig( + category=BugCateogry.UNDESIRED_STATE, + dir='crdbop-927', + declaration=True, + difftest=True, + consequences=[BugConsequence.MISCONFIGURATION] + ), + 'crdbop-953': + BugConfig( + category=BugCateogry.OPERATOR_ERROR, + dir='crdbop-953', + runtime_error=True, + consequences=[BugConsequence.OPERATION_OUTAGE] + ), + }, + 'knative-operator-serving': { + 'knop-1137': + BugConfig( + category=BugCateogry.OPERATOR_ERROR, + dir='knop-1137', + runtime_error=True, + consequences=[BugConsequence.OPERATION_OUTAGE] + ), + 'knop-1157': + BugConfig( + category=BugCateogry.OPERATOR_ERROR, + dir='knop-1157', + difftest=True, + consequences=[BugConsequence.MISCONFIGURATION] + ), + }, + 'knative-operator-eventing': { + 'knop-1158': + BugConfig( + category=BugCateogry.UNDESIRED_STATE, + dir='knop-1158', + runtime_error=True, + consequences=[BugConsequence.SYSTEM_FAILURE, BugConsequence.RELIABILITY_ISSUE] + ), + }, + 'mongodb-community-operator': { + 'mgopone-1024': + BugConfig( + category=BugCateogry.SYSTEM_ERROR, + dir='mgopone-1024', + difftest=True, + runtime_error=True, + consequences=[BugConsequence.SYSTEM_FAILURE] + ), + 'mgopone-1054': + BugConfig( + category=BugCateogry.OPERATOR_ERROR, + dir='mgopone-1054', + runtime_error=True, + consequences=[BugConsequence.OPERATION_OUTAGE] + ), + 'mgopone-1055': + BugConfig( + category=BugCateogry.OPERATOR_ERROR, + dir='mgopone-1055', + runtime_error=True, + consequences=[BugConsequence.OPERATION_OUTAGE] + ), + 'mgopone-1072': + BugConfig( + category=BugCateogry.RECOVERY_FAILURE, + dir='mgopone-1072', + recovery=True, + consequences=[BugConsequence.SYSTEM_FAILURE, BugConsequence.RELIABILITY_ISSUE] + ), + 'mgopone-1074': + BugConfig( + category=BugCateogry.UNDESIRED_STATE, + dir='mgopone-1074', + difftest=True, + consequences=[BugConsequence.SECURITY_ISSUE] + ), + 'mgopone-1245': + BugConfig( + category=BugCateogry.RECOVERY_FAILURE, + dir='mgopone-1245', + recovery=True, + consequences=[BugConsequence.OPERATION_OUTAGE] + ), + 'mgopone-1251': + BugConfig( + category=BugCateogry.UNDESIRED_STATE, + dir='mgopone-1251', + declaration=True, + difftest=True, + consequences=[BugConsequence.RELIABILITY_ISSUE] + ), + 'mgopone-1252': + BugConfig( + category=BugCateogry.UNDESIRED_STATE, + dir='mgopone-1252', + difftest=True, + consequences=[BugConsequence.RELIABILITY_ISSUE, BugConsequence.OPERATION_OUTAGE] + ), + }, + 'percona-server-mongodb-operator': { + 'mgoptwo-696': + BugConfig( + category=BugCateogry.UNDESIRED_STATE, + dir='mgoptwo-696', + declaration=True, + difftest=True, + consequences=[BugConsequence.MISCONFIGURATION] + ), + 'mgoptwo-738': + BugConfig( + category=BugCateogry.UNDESIRED_STATE, + dir='mgoptwo-738', + declaration=True, + consequences=[BugConsequence.RESOURCE_ISSUE] + ), + 'mgoptwo-742': + BugConfig( + category=BugCateogry.UNDESIRED_STATE, + dir='mgoptwo-742', + declaration=True, + difftest=True, + consequences=[BugConsequence.MISCONFIGURATION] + ), + 'mgoptwo-895': + BugConfig( + category=BugCateogry.UNDESIRED_STATE, + dir='mgoptwo-895', + difftest=True, + consequences=[BugConsequence.MISCONFIGURATION] + ), + 'mgoptwo-897': + BugConfig( + category=BugCateogry.RECOVERY_FAILURE, + dir='mgoptwo-897', + recovery=True, + consequences=[BugConsequence.OPERATION_OUTAGE] + ), + }, + 'percona-xtradb-cluster-operator': { + 'xtop-1060': + BugConfig( + category=BugCateogry.OPERATOR_ERROR, + dir='xtop-1060', + runtime_error=True, + consequences=[BugConsequence.OPERATION_OUTAGE] + ), + 'xtop-1061': + BugConfig( + category=BugCateogry.UNDESIRED_STATE, + dir='xtop-1061', + declaration=True, + difftest=True, + consequences=[BugConsequence.MISCONFIGURATION] + ), + 'xtop-1067': + BugConfig( + category=BugCateogry.UNDESIRED_STATE, + dir='xtop-1067', + declaration=True, + difftest=True, + consequences=[BugConsequence.MISCONFIGURATION] + ), + 'xtop-1068': + BugConfig( + category=BugCateogry.UNDESIRED_STATE, + dir='xtop-1068', + declaration=True, + difftest=True, + consequences=[BugConsequence.MISCONFIGURATION] + ), + 'xtop-1069': + BugConfig( + category=BugCateogry.UNDESIRED_STATE, + dir='xtop-1069', + declaration=True, + consequences=[BugConsequence.RESOURCE_ISSUE] + ), + 'xtop-1155': + BugConfig( + category=BugCateogry.RECOVERY_FAILURE, + dir='xtop-1155', + recovery=True, + consequences=[BugConsequence.OPERATION_OUTAGE] + ), + }, + 'rabbitmq-operator': { + 'rbop-928': + BugConfig( + category=BugCateogry.UNDESIRED_STATE, + dir='rbop-928', + declaration=True, + consequences=[BugConsequence.RELIABILITY_ISSUE] + ), + 'rbop-968': + BugConfig( + category=BugCateogry.UNDESIRED_STATE, + dir='rbop-968', + declaration=True, + difftest=True, + consequences=[BugConsequence.MISCONFIGURATION] + ), + 'rbop-992': + BugConfig( + category=BugCateogry.UNDESIRED_STATE, + dir='rbop-992', + difftest=True, + consequences=[BugConsequence.RESOURCE_ISSUE] + ), + }, + 'redis-operator': { + 'rdopone-400': + BugConfig( + category=BugCateogry.UNDESIRED_STATE, + dir='rdopone-400', + difftest=True, + declaration=True, + consequences=[BugConsequence.MISCONFIGURATION] + ), + 'rdopone-407': + BugConfig( + category=BugCateogry.UNDESIRED_STATE, + dir='rdopone-407', + declaration=True, + consequences=[BugConsequence.RESOURCE_ISSUE] + ), + 'rdopone-552': + BugConfig( + category=BugCateogry.RECOVERY_FAILURE, + dir='rdopone-552', + recovery=True, + consequences=[BugConsequence.RELIABILITY_ISSUE] + ), + }, + 'redis-ot-container-kit-operator': { + 'rdoptwo-280': + BugConfig( + category=BugCateogry.UNDESIRED_STATE, + dir='rdoptwo-280', + declaration=True, + difftest=True, + consequences=[BugConsequence.RESOURCE_ISSUE] + ), + 'rdoptwo-283': + BugConfig( + category=BugCateogry.OPERATOR_ERROR, + dir='rdoptwo-283', + runtime_error=True, + consequences=[BugConsequence.OPERATION_OUTAGE] + ), + 'rdoptwo-286': + BugConfig( + category=BugCateogry.OPERATOR_ERROR, + dir='rdoptwo-286', + runtime_error=True, + consequences=[BugConsequence.OPERATION_OUTAGE] + ), + 'rdoptwo-287': + BugConfig( + category=BugCateogry.UNDESIRED_STATE, + dir='rdoptwo-287', + declaration=True, + consequences=[BugConsequence.RELIABILITY_ISSUE] + ), + 'rdoptwo-290': + BugConfig( + category=BugCateogry.UNDESIRED_STATE, + dir='rdoptwo-290', + declaration=True, + consequences=[BugConsequence.RESOURCE_ISSUE] + ), + 'rdoptwo-292': + BugConfig( + category=BugCateogry.OPERATOR_ERROR, + dir='rdoptwo-291', + runtime_error=True, + consequences=[BugConsequence.OPERATION_OUTAGE] + ), + 'rdoptwo-297': + BugConfig( + category=BugCateogry.SYSTEM_ERROR, + dir='rdoptwo-297', + runtime_error=True, + consequences=[BugConsequence.SYSTEM_FAILURE, BugConsequence.RELIABILITY_ISSUE] + ), + 'rdoptwo-474': + BugConfig( + category=BugCateogry.UNDESIRED_STATE, + dir='rdoptwo-474', + difftest=True, + consequences=[BugConsequence.MISCONFIGURATION] + ), + 'rdoptwo-480': + BugConfig( + category=BugCateogry.RECOVERY_FAILURE, + dir='rdoptwo-480', + recovery=True, + consequences=[BugConsequence.OPERATION_OUTAGE] + ), + }, + 'tidb-operator': { + 'tiop-4613': + BugConfig( + category=BugCateogry.UNDESIRED_STATE, + dir='tiop-4613/normal', + diffdir='tiop-4613/diff', + declaration=True, + difftest=True, + consequences=[BugConsequence.RESOURCE_ISSUE] + ), + 'tiop-4684': + BugConfig( + category=BugCateogry.UNDESIRED_STATE, + dir='tiop-4684', + declaration=True, + consequences=[BugConsequence.RELIABILITY_ISSUE] + ), + 'tiop-4945': + BugConfig( + category=BugCateogry.SYSTEM_ERROR, + dir='tiop-4945', + runtime_error=True, + consequences=[BugConsequence.SYSTEM_FAILURE, BugConsequence.RELIABILITY_ISSUE] + ), + 'tiop-4946': + BugConfig( + category=BugCateogry.RECOVERY_FAILURE, + dir='tiop-4946', + recovery=True, + consequences=[BugConsequence.OPERATION_OUTAGE, BugConsequence.RELIABILITY_ISSUE] + ), + }, + 'zookeeper-operator': { + 'zkop-454': + BugConfig( + category=BugCateogry.UNDESIRED_STATE, + dir='zkop-454', + difftest=True, + consequences=[BugConsequence.MISCONFIGURATION] + ), + 'zkop-474': + BugConfig( + category=BugCateogry.UNDESIRED_STATE, + dir='zkop-474', + declaration=True, + difftest=True, + consequences=[BugConsequence.MISCONFIGURATION] + ), + 'zkop-513': + BugConfig( + category=BugCateogry.SYSTEM_ERROR, + dir='zkop-513', + runtime_error=True, + consequences=[BugConsequence.RELIABILITY_ISSUE] + ), + 'zkop-540': + BugConfig( + category=BugCateogry.UNDESIRED_STATE, + dir='zkop-540', + declaration=True, + difftest=True, + consequences=[BugConsequence.RESOURCE_ISSUE] + ), + 'zkop-541': + BugConfig( + category=BugCateogry.UNDESIRED_STATE, + dir='zkop-541', + difftest=True, + consequences=[BugConsequence.RELIABILITY_ISSUE] + ), + 'zkop-547': + BugConfig( + category=BugCateogry.RECOVERY_FAILURE, + dir='zkop-547', + recovery=True, + consequences=[BugConsequence.OPERATION_OUTAGE] + ), + } +} + + +def check_postdiff_runtime_error(workdir_path: str) -> bool: + '''Checks if there is runtime error manifested in the postdiff run''' + post_diff_test_dir = os.path.join(workdir_path, 'post_diff_test') + compare_results = glob.glob(os.path.join(post_diff_test_dir, 'compare-results-*.json')) + if len(compare_results) == 0: + return False + else: + for compare_result in compare_results: + with open(compare_result) as f: + result = json.load(f)[0] + to_state = result['to'] + snapshot = EmptySnapshot({}) + snapshot.system_state = to_state + health_result = HealthChecker().check(0, snapshot, {}) + if not isinstance(health_result, PassResult): + return True + + return False \ No newline at end of file