Skip to content

Commit b2ca9a3

Browse files
Remove permanent KINE_SCHEMA_MIGRATION env var
Fix #120 Workaround for upstream kine/galera bug is to transiently turn on this flag one-shot to trigger the schema migration, and then turn it off
1 parent e9470c8 commit b2ca9a3

File tree

1 file changed

+3
-2
lines changed
  • jobs/k3s-server/templates/bin

1 file changed

+3
-2
lines changed

jobs/k3s-server/templates/bin/ctl.erb

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -159,8 +159,9 @@ case $1 in
159159
<% end %>
160160
<% end %>
161161

162-
# Turn on db schema migration to prevent id exhaustion, See issue https://github.com/orange-cloudfoundry/k3s-wrapper-boshrelease/issues/106
163-
export KINE_SCHEMA_MIGRATION=1
162+
# Manually turn on one-short, the db schema migration to prevent id exhaustion, See issue https://github.com/orange-cloudfoundry/k3s-wrapper-boshrelease/issues/106
163+
# and https://github.com/k3s-io/kine/issues/517
164+
#export KINE_SCHEMA_MIGRATION=1
164165

165166
#set tls san for api
166167
<% if_p('k3s.master_vip_api') do |flag| %>

0 commit comments

Comments
 (0)