pacoxu / kubeadm-operator

Test work on the design of kubeadm operator. Also you can try https://github.com/chendave/kubeadm-operator
Apache License 2.0
10 stars 2 forks source link

kubeadm upgrade apply phases #1318 support #68

Open github-actions[bot] opened 2 years ago

github-actions[bot] commented 2 years ago

it depends on https://github.com/kubernetes/kubeadm/issues/1318

Currently, kubeadm upgrade apply doesn't support phase

https://github.com/pacoxu/kubeadm-operator/blob/4357f8f10c8a37f4ab286abb32248ddc00da156a/commands/upgrade_kubeproxy.go#L25

Copyright 2022 The Kubernetes Authors.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/

package commands

import (
    "github.com/go-logr/logr"

    operatorv1 "k8s.io/kubeadm/operator/api/v1alpha1"
)

// TODO it depends on https://github.com/kubernetes/kubeadm/issues/1318
// Currently, kubeadm upgrade apply doesn't support phase
func runUpgradeKubeProxy(spec *operatorv1.KubeadmUpgradeKubeProxySpec, log logr.Logger) error {
    return nil
}
ndex 2421319..99ad2c6 100644
++ b/config/crd/bases/operator.kubeadm.x-k8s.io_operations.yaml

b98d00f010fbda18ff72f50c8fc8522c6812f6e8

pacoxu commented 2 years ago

https://github.com/kubernetes/kubeadm/issues/2346