Skip to content

Commit

Permalink
Fix 013_usage_nodeselector.up.sql
Browse files Browse the repository at this point in the history
  • Loading branch information
agonzalezrh committed Nov 4, 2024
1 parent 08caa1b commit 8ac3baf
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
5 changes: 5 additions & 0 deletions db/migrations/013_usage_nodeselector.down.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
BEGIN;

ALTER TABLE ocp_shared_cluster_configurations DROP COLUMN usage_node_selector;

COMMIT;
6 changes: 6 additions & 0 deletions db/migrations/013_usage_nodeselector.up.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
BEGIN;
-- Add usage_node_selector column to the ocp_shared_cluster_configurations table of type string
-- default value "node-role.kubernetes.io/worker="
ALTER TABLE ocp_shared_cluster_configurations ADD COLUMN usage_node_selector VARCHAR(255) DEFAULT 'node-role.kubernetes.io/worker=';

COMMIT;

0 comments on commit 8ac3baf

Please sign in to comment.