Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migration 8 to 16 scratch pad #200

Draft
wants to merge 7 commits into
base: master
Choose a base branch
from
Draft
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
add some mappings
bastjan committed Apr 3, 2024
commit 0ee211668d9fa93ab79d4ca1331220bbc53cc25c
10 changes: 9 additions & 1 deletion migration/migrate/main.go
Original file line number Diff line number Diff line change
@@ -8,7 +8,7 @@
"io"
"os"
"regexp"
"slices"

Check failure on line 11 in migration/migrate/main.go

GitHub Actions / lint

package slices is not in GOROOT (/opt/hostedtoolcache/go/1.20.14/x64/src/slices)

Check failure on line 11 in migration/migrate/main.go

GitHub Actions / test

package slices is not in GOROOT (/opt/hostedtoolcache/go/1.20.14/x64/src/slices)
"strings"

rbacv1 "k8s.io/api/rbac/v1"
@@ -25,7 +25,15 @@
controlv1 "github.com/appuio/control-api/apis/v1"
)

var manualMapping = map[string]string{}
var manualMapping = map[string]string{
"2326": "9466",
"2746": "8019",
"2962": "16194",
"2667": "9143",
"1606": "8688",
"2778": "9366",
"2929": "16400",
}

func main() {
ctx := context.Background()