Skip to content

Commit

Permalink
Adapt cluster-stack plugin based on changes made in target branch
Browse files Browse the repository at this point in the history
Signed-off-by: michal.gubricky <[email protected]>
  • Loading branch information
michal-gubricky committed Nov 2, 2024
1 parent f136577 commit 2d37443
Show file tree
Hide file tree
Showing 3 changed files with 254 additions and 298 deletions.
21 changes: 15 additions & 6 deletions Tests/kaas/clusterspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,18 @@ clusters:
default:
branch: default
kubeconfig: kubeconfig.yaml
v1.29:
branch: "1.29"
kubeconfig: kubecfg129.yaml
v1.30:
branch: "1.30"
kubeconfig: kubecfg130.yaml
# Cluster-stack specific
# cs_name:
# cs_k8s_version:
# cs_version:
# cs_channel:
# cs_cloudname:
# cs_secret_name:
# Cluster specific
#
# v1.29:
# branch: "1.29"
# kubeconfig: kubecfg129.yaml
# v1.30:
# branch: "1.30"
# kubeconfig: kubecfg130.yaml
6 changes: 0 additions & 6 deletions Tests/kaas/plugin/interface.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,14 +55,8 @@ def create(self, name="scs-cluster", version=None, kubeconfig_filepath=None):
"""
self.cluster_name = name
self.cluster_version = version
<<<<<<< HEAD
=======
self.kubeconfig_filepath = kubeconfig_filepath

try:
self._create_cluster()
>>>>>>> Add ability to remove kubeconfig

self._create_cluster() # TODO: maybe we do not need to use try exept here?
# try:
# self._create_cluster()
Expand Down
Loading

0 comments on commit 2d37443

Please sign in to comment.