Skip to content

Commit 2eeba61

Browse files
authored
Vnet import (#20)
* vNet: added importing * added separate helm push target in makefile
1 parent c097bdc commit 2eeba61

File tree

4 files changed

+11
-12
lines changed

4 files changed

+11
-12
lines changed

Makefile

+2
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,8 @@ helm: generate fmt vet manifests pip-install-reqs
128128
scripts/rbac-helm-template.py config/rbac/$${i} | yq -y . >> deploy/charts/netris-operator/templates/rbac.yaml;\
129129
done
130130
echo "{{- end }}" >> deploy/charts/netris-operator/templates/rbac.yaml
131+
132+
helm-push: helm
131133
@{ \
132134
set -e ;\
133135
HELM_CHART_GEN_TMP_DIR=$$(mktemp -d) ;\

deploy/charts/netris-operator/Chart.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,12 @@ type: application
1515
# This is the chart version. This version number should be incremented each time you make changes
1616
# to the chart and its templates, including the app version.
1717
# Versions are expected to follow Semantic Versioning (https://semver.org/)
18-
version: 0.2.3
18+
version: 0.2.4
1919

2020
# This is the version number of the application being deployed. This version number should be
2121
# incremented each time you make changes to the application. Versions are not expected to
2222
# follow Semantic Versioning. They should reflect the version the application is using.
23-
appVersion: v0.3.1
23+
appVersion: v0.3.2
2424
home: https://github.com/netrisai/netris-operator
2525
icon: https://www.netris.ai/wp-content/uploads/2020/05/logo-600.png # [todo] Change url to permalink
2626
keywords:

deploy/charts/netris-operator/crds/k8s.netris.ai_vnetmeta.yaml

+3
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,8 @@ spec:
5959
type: array
6060
id:
6161
type: integer
62+
imported:
63+
type: boolean
6264
members:
6365
items:
6466
description: VNetMetaMember .
@@ -131,6 +133,7 @@ spec:
131133
required:
132134
- gateways
133135
- id
136+
- imported
134137
- members
135138
- name
136139
- owner

deploy/charts/netris-operator/crds/k8s.netris.ai_vnets.yaml

+4-10
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ spec:
3838
properties:
3939
guestTenants:
4040
items:
41-
type: integer
41+
type: string
4242
type: array
4343
ownerTenant:
4444
type: string
@@ -48,13 +48,7 @@ spec:
4848
properties:
4949
gateways:
5050
items:
51-
description: VNetGateway .
52-
properties:
53-
gateway4:
54-
type: string
55-
gateway6:
56-
type: string
57-
type: object
51+
type: string
5852
type: array
5953
name:
6054
type: string
@@ -64,16 +58,16 @@ spec:
6458
properties:
6559
name:
6660
type: string
61+
state:
62+
type: string
6763
vlanId:
6864
type: integer
6965
required:
7066
- name
7167
type: object
7268
type: array
7369
required:
74-
- gateways
7570
- name
76-
- switchPorts
7771
type: object
7872
type: array
7973
state:

0 commit comments

Comments
 (0)