From dfc3394bd9a5f1ef4ee9e0b66b459b4c0a54d0a8 Mon Sep 17 00:00:00 2001 From: Paco Xu Date: Fri, 20 May 2022 01:32:16 +0800 Subject: [PATCH] upgrade apply: fix mounts --- .gitignore | 1 + .vscode/configurationCache.log | 1 + .vscode/dryrun.log | 10 + .vscode/settings.json | 3 + .vscode/targets.log | 365 ++++++++++++++++++ Dockerfile | 6 +- commands/kubeadm_upgrade_apply.go | 21 +- .../operator.kubeadm.x-k8s.io_operations.yaml | 33 +- ...or.kubeadm.x-k8s.io_runtimetaskgroups.yaml | 29 +- ...perator.kubeadm.x-k8s.io_runtimetasks.yaml | 24 +- controllers/util.go | 74 ++++ operations/util.go | 1 - 12 files changed, 557 insertions(+), 11 deletions(-) create mode 100644 .vscode/configurationCache.log create mode 100644 .vscode/dryrun.log create mode 100644 .vscode/settings.json create mode 100644 .vscode/targets.log diff --git a/.gitignore b/.gitignore index 57c413f..b5f81e9 100644 --- a/.gitignore +++ b/.gitignore @@ -14,3 +14,4 @@ # Dependency directories (remove the comment below to include it) # vendor/ bin/ +.vscode/ diff --git a/.vscode/configurationCache.log b/.vscode/configurationCache.log new file mode 100644 index 0000000..0ee3133 --- /dev/null +++ b/.vscode/configurationCache.log @@ -0,0 +1 @@ +{"buildTargets":["all","controller-gen","deploy","docker-build","docker-push","fmt","generate","install","manager","manifests","release","run","test","undeploy","vet"],"launchTargets":[],"customConfigurationProvider":{"workspaceBrowse":{"browsePath":[],"compilerArgs":[]},"fileIndex":[]}} \ No newline at end of file diff --git a/.vscode/dryrun.log b/.vscode/dryrun.log new file mode 100644 index 0000000..7805d68 --- /dev/null +++ b/.vscode/dryrun.log @@ -0,0 +1,10 @@ +make --dry-run --always-make --keep-going --print-directory +make: Entering directory `/Users/pacoxu/git/gopath/src/k8s.io/kubeadm-operator' +go install sigs.k8s.io/controller-tools/cmd/controller-gen@v0.8.0 + +/Users/pacoxu/go/bin/controller-gen object:headerFile=./hack/boilerplate.go.txt paths="./..." +go fmt ./... +go vet ./... +go build -o bin/manager main.go +make: Leaving directory `/Users/pacoxu/git/gopath/src/k8s.io/kubeadm-operator' + diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000..65e1ec0 --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,3 @@ +{ + "makefile.extensionOutputFolder": "./.vscode" +} \ No newline at end of file diff --git a/.vscode/targets.log b/.vscode/targets.log new file mode 100644 index 0000000..bad887a --- /dev/null +++ b/.vscode/targets.log @@ -0,0 +1,365 @@ +make all --print-data-base --no-builtin-variables --no-builtin-rules --question +# GNU Make 3.81 +# Copyright (C) 2006 Free Software Foundation, Inc. +# This is free software; see the source for copying conditions. +# There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A +# PARTICULAR PURPOSE. + +# This program built for i386-apple-darwin11.3.0 + + +# Make data base, printed on Thu May 19 22:39:00 2022 + +# Variables + +# automatic +/dev/null || echo /Developer)/Makefiles +# environment +VSCODE_CODE_CACHE_PATH = /Users/pacoxu/Library/Application Support/Code/CachedData/c3511e6c69bb39013c4a4b7b9566ec1ca73fc4d5 +# environment +LOGNAME = pacoxu +# environment +APPLICATION_INSIGHTS_NO_DIAGNOSTIC_CHANNEL = true +# environment +ZSH = /Users/pacoxu/.oh-my-zsh +# environment +VSCODE_HANDLES_UNCAUGHT_ERRORS = true +# automatic +^D = $(patsubst %/,%,$(dir $^)) +# environment +XPC_FLAGS = 0x0 +# makefile (from `Makefile', line 5) +CRD_OPTIONS = "crd" +# default +MAKE = $(MAKE_COMMAND) +# default +MAKECMDGOALS := all +# environment +SHLVL = 1 +# default +MAKE_VERSION := 3.81 +# environment +USER = pacoxu +# makefile +.DEFAULT_GOAL := all +# environment +LESS = -R +# automatic +%D = $(patsubst %/,%,$(dir $%)) +# default +MAKE_COMMAND := /Library/Developer/CommandLineTools/usr/bin/make +# default +.VARIABLES := +# environment +TMPDIR = /var/folders/g7/ywncky4109zfc_6v5ww1fc2w0000gn/T/ +# automatic +*F = $(notdir $*) +# makefile (from `Makefile', line 3) +IMG = daocloud.io/daocloud/kubeadm-operator:v0.0.3-dev +# environment +VSCODE_IPC_HOOK = /Users/pacoxu/Library/Application Support/Code/1.67.2-main.sock +# makefile +MAKEFLAGS = Rrqp +# environment +MFLAGS = -Rrqp +# automatic +*D = $(patsubst %/,%,$(dir $*)) +# environment +XPC_SERVICE_NAME = application.com.microsoft.VSCode.58980345.58980351 +# automatic ++D = $(patsubst %/,%,$(dir $+)) +# automatic ++F = $(notdir $+) +# environment +__CF_USER_TEXT_ENCODING = 0x1F5:0x19:0x34 +# environment +COMMAND_MODE = unix2003 +# environment +GITHUB_USER = pacoxu +# default +MAKEFILES := +# automatic +