File tree 11 files changed +19
-17
lines changed
deployments/helm/k8spin-operator
k8spin_operator/k8spin_operator/handlers
11 files changed +19
-17
lines changed Original file line number Diff line number Diff line change 1
1
[bumpversion]
2
2
commit = True
3
3
tag = True
4
- current_version = 1.0.6
4
+ current_version = 1.1.0
5
5
parse = (?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)(\-rc(?P<rc>\d+))?
6
6
serialize =
7
7
{major}.{minor}.{patch}-rc{rc}
Original file line number Diff line number Diff line change 15
15
version : " v0.9.0"
16
16
skipClusterCreation : " true"
17
17
- name : Set up Python 3.9
18
- uses : actions/setup-python@v1
18
+ uses : actions/setup-python@v2
19
19
with :
20
20
python-version : " 3.9"
21
21
- name : Install dependencies
Original file line number Diff line number Diff line change 11
11
steps :
12
12
- uses : actions/checkout@master
13
13
- name : Set up Python 3.9
14
- uses : actions/setup-python@v1
14
+ uses : actions/setup-python@v2
15
15
with :
16
16
python-version : " 3.9"
17
17
- name : Install dependencies
Original file line number Diff line number Diff line change 15
15
version : " v0.9.0"
16
16
skipClusterCreation : " true"
17
17
- name : Set up Python 3.9
18
- uses : actions/setup-python@v1
18
+ uses : actions/setup-python@v2
19
19
with :
20
20
python-version : " 3.9"
21
21
- name : Install dependencies
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ PROJECTNAME=$(shell basename "$(PWD)")
4
4
CLUSTER_VERSION ="1.18.8"
5
5
KIND_CLUSTER_NAME ="k8spin-operator"
6
6
PYTEST_PARAMS =""
7
- TAG_VERSION ="v1.0.6 "
7
+ TAG_VERSION ="v1.1.0 "
8
8
REGISTRY ="ghcr.io"
9
9
10
10
.PHONY : help cluster-up cluster-down build deploy update test-e2e test-kubeconfig load kubie publish_container_image helm_chart_docs check_helm_chart_docs clean
Original file line number Diff line number Diff line change @@ -50,17 +50,17 @@ $ kind create cluster
50
50
# Deploy cert-manager
51
51
$ helm repo add jetstack https://charts.jetstack.io
52
52
$ helm repo update
53
- $ helm install cert-manager jetstack/cert-manager --version v1.0.6 --set installCRDs=true
53
+ $ helm install cert-manager jetstack/cert-manager --version v1.1.0 --set installCRDs=true
54
54
$ kubectl wait --for=condition=Available deployment --timeout=2m -n cert-manager --all
55
55
# Deploy K8Spin operator
56
56
$ export HELM_EXPERIMENTAL_OCI=" 1"
57
- $ helm chart pull ghcr.io/k8spin/k8spin-operator-chart:v1.0.6
58
- v1.0.6 : Pulling from ghcr.io/k8spin/k8spin-operator-chart
59
- ref: ghcr.io/k8spin/k8spin-operator-chart:v1.0.6
57
+ $ helm chart pull ghcr.io/k8spin/k8spin-operator-chart:v1.1.0
58
+ v1.1.0 : Pulling from ghcr.io/k8spin/k8spin-operator-chart
59
+ ref: ghcr.io/k8spin/k8spin-operator-chart:v1.1.0
60
60
name: k8spin-operator
61
- version: v1.0.6
62
- Status: Downloaded newer chart for ghcr.io/k8spin/k8spin-operator-chart:v1.0.6
63
- $ helm chart export ghcr.io/k8spin/k8spin-operator-chart:v1.0.6
61
+ version: v1.1.0
62
+ Status: Downloaded newer chart for ghcr.io/k8spin/k8spin-operator-chart:v1.1.0
63
+ $ helm chart export ghcr.io/k8spin/k8spin-operator-chart:v1.1.0
64
64
$ helm install k8spin-operator ./k8spin-operator
65
65
$ kubectl wait --for=condition=Available deployment --timeout=2m --all
66
66
```
Original file line number Diff line number Diff line change 1
1
apiVersion : v2
2
2
name : k8spin-operator
3
3
type : application
4
- version : " v1.0.6 "
5
- appVersion : " v1.0.6 "
4
+ version : " v1.1.0 "
5
+ appVersion : " v1.1.0 "
6
6
description : A Helm chart for k8spin-operator
Original file line number Diff line number Diff line change 1
1
k8spin_operator :
2
2
image :
3
3
name : ghcr.io/k8spin/k8spin-operator # k8spin-operator image name
4
- tag : v1.0.6 # k8spin-operator image tag
4
+ tag : v1.1.0 # k8spin-operator image tag
5
5
pullPolicy : IfNotPresent # k8spin-operator image pull policy
6
6
logging_level : DEBUG # k8spin-operator logging level
7
7
reconciliation_interval_seconds : " 15" # k8spin-operator reconciliation interval in seconds
@@ -12,7 +12,7 @@ k8spin_operator:
12
12
k8spin_webhook :
13
13
image :
14
14
name : ghcr.io/k8spin/k8spin-webhook # k8spin-webhook image name
15
- tag : v1.0.6 # k8spin-webhook image tag
15
+ tag : v1.1.0 # k8spin-webhook image tag
16
16
pullPolicy : IfNotPresent # k8spin-webhook image pull policy
17
17
logging_level : DEBUG # k8spin-webhook logging level
18
18
serviceAccount :
Original file line number Diff line number Diff line change 8
8
@kubernetes_api
9
9
def lives_in_tenant_namespace (api , namespace , ** _ ):
10
10
parent_namespace = pykube .Namespace .objects (api ).get (name = namespace )
11
+ # pylint: disable=E1120
11
12
if parent_namespace .labels .get ("k8spin.cloud/type" , "" ) == "tenant" and any (
12
13
[owner .get ('kind' ) == 'Tenant'
13
14
for owner in parent_namespace .metadata .get ('ownerReferences' , list ())]):
Original file line number Diff line number Diff line change 8
8
@kubernetes_api
9
9
def lives_in_org_namespace (api , namespace , ** _ ):
10
10
parent_namespace = pykube .Namespace .objects (api ).get (name = namespace )
11
+ # pylint: disable=E1120
11
12
if parent_namespace .labels .get ("k8spin.cloud/type" , "" ) == "organization" and any (
12
13
[owner .get ('kind' ) == 'Organization'
13
14
for owner in parent_namespace .metadata .get ('ownerReferences' , list ())]):
Original file line number Diff line number Diff line change @@ -337,6 +337,6 @@ def delete_space(arg: CommandArguments):
337
337
method_to_call = locals ()[f"{ command } _{ sub_command } " ]
338
338
method_to_call (arg )
339
339
elif command == "version" :
340
- print ("K8SPin v1.0.6 " )
340
+ print ("K8SPin v1.1.0 " )
341
341
else :
342
342
parser .print_help ()
You can’t perform that action at this time.
0 commit comments