Skip to content

Commit

Permalink
Merge pull request #353 from phoracek/release-0.32.0
Browse files Browse the repository at this point in the history
Release 0.32.0
  • Loading branch information
phoracek authored Mar 17, 2020
2 parents e29c0a3 + b6b0822 commit 1fb036e
Show file tree
Hide file tree
Showing 11 changed files with 530 additions and 11 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ all: fmt check
VERSION ?= 99.0.0
export VERSION := $(VERSION)
# Always keep the last released version here
VERSION_REPLACES ?= 0.31.0
VERSION_REPLACES ?= 0.32.0

DEPLOY_DIR ?= manifests

Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -192,16 +192,16 @@ spec:
First install the operator itself:

```shell
kubectl apply -f https://raw.githubusercontent.com/kubevirt/cluster-network-addons-operator/master/manifests/cluster-network-addons/0.31.0/namespace.yaml
kubectl apply -f https://raw.githubusercontent.com/kubevirt/cluster-network-addons-operator/master/manifests/cluster-network-addons/0.31.0/network-addons-config.crd.yaml
kubectl apply -f https://raw.githubusercontent.com/kubevirt/cluster-network-addons-operator/master/manifests/cluster-network-addons/0.31.0/operator.yaml
kubectl apply -f https://raw.githubusercontent.com/kubevirt/cluster-network-addons-operator/master/manifests/cluster-network-addons/0.32.0/namespace.yaml
kubectl apply -f https://raw.githubusercontent.com/kubevirt/cluster-network-addons-operator/master/manifests/cluster-network-addons/0.32.0/network-addons-config.crd.yaml
kubectl apply -f https://raw.githubusercontent.com/kubevirt/cluster-network-addons-operator/master/manifests/cluster-network-addons/0.32.0/operator.yaml
```

Then you need to create a configuration for the operator [example
CR](manifests/cluster-network-addons/0.4.0/network-addons-config-example.cr.yaml):

```shell
kubectl apply -f https://raw.githubusercontent.com/kubevirt/cluster-network-addons-operator/master/manifests/cluster-network-addons/0.31.0/network-addons-config-example.cr.yaml
kubectl apply -f https://raw.githubusercontent.com/kubevirt/cluster-network-addons-operator/master/manifests/cluster-network-addons/0.32.0/network-addons-config-example.cr.yaml
```

Finally you can wait for the operator to finish deployment:
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,209 @@
apiVersion: operators.coreos.com/v1alpha1
kind: ClusterServiceVersion
metadata:
name: cluster-network-addons-operator.0.32.0
namespace: placeholder
annotations:
capabilities: "Full Lifecycle"
categories: "Networking"
alm-examples: |
[
{
"apiVersion":"networkaddonsoperator.network.kubevirt.io/v1alpha1",
"kind":"NetworkAddonsConfig",
"metadata": {
"name":"cluster"
},
"spec": {
"multus":{},
"linuxBridge":{},
"kubeMacPool": {
"rangeStart": "02:00:00:00:00:00",
"rangeEnd": "FD:FF:FF:FF:FF:FF"
},
"nmstate":{},
"ovs": {},
"macvtap": {},
"imagePullPolicy": "IfNotPresent"
}
}
]
description: Additional networking components for Kubernetes
spec:
displayName: Cluster Network Addons
description: Deploy additional networking components for Kubernetes
keywords:
- Networking
- Multus
- CNI
- macpool
- SR-IOV
- Bridge
- nmstate
- KubeVirt
- Virtualization
version: 0.32.0
minKubeVersion: 1.10.0
maturity: alpha

replaces: cluster-network-addons-operator.0.31.0

maintainers:
- name: KubeVirt project
email: [email protected]
provider:
name: KubeVirt project
links:
- name: Cluster Network Addons Operator
url: https://github.com/kubevirt/cluster-network-addons-operator
icon: []
labels:
alm-owner-kubevirt: cluster-network-addons
operated-by: cluster-network-addons
selector:
matchLabels:
alm-owner-kubevirt: cluster-network-addons
operated-by: cluster-network-addons
installModes:
- type: OwnNamespace
supported: true
- type: SingleNamespace
supported: true
- type: MultiNamespace
supported: true
- type: AllNamespaces
supported: true
install:
strategy: deployment
spec:
permissions:
- serviceAccountName: cluster-network-addons-operator
rules:
- apiGroups:
- ""
resources:
- pods
- configmaps
verbs:
- get
- list
- watch
- create
- patch
- update
- delete
- apiGroups:
- apps
resources:
- deployments
- replicasets
verbs:
- get
- list
- watch
- create
- patch
- update
- delete

clusterPermissions:
- serviceAccountName: cluster-network-addons-operator
rules:
- apiGroups:
- security.openshift.io
resourceNames:
- privileged
resources:
- securitycontextconstraints
verbs:
- get
- list
- watch
- apiGroups:
- operator.openshift.io
resources:
- networks
verbs:
- get
- list
- watch
- apiGroups:
- networkaddonsoperator.network.kubevirt.io
resources:
- networkaddonsconfigs
verbs:
- get
- list
- watch
- apiGroups:
- '*'
resources:
- '*'
verbs:
- '*'

deployments:
- name: cluster-network-addons-operator
spec:
replicas: 1
selector:
matchLabels:
name: cluster-network-addons-operator
strategy:
type: Recreate
template:
metadata:
labels:
name: cluster-network-addons-operator
spec:
containers:
- env:
- name: MULTUS_IMAGE
value: nfvpe/multus:v3.4.1
- name: LINUX_BRIDGE_IMAGE
value: quay.io/kubevirt/cni-default-plugins:v0.8.1
- name: LINUX_BRIDGE_MARKER_IMAGE
value: quay.io/kubevirt/bridge-marker:0.2.0
- name: NMSTATE_HANDLER_IMAGE
value: quay.io/nmstate/kubernetes-nmstate-handler:v0.17.0
- name: OVS_CNI_IMAGE
value: quay.io/kubevirt/ovs-cni-plugin:v0.11.0
- name: OVS_MARKER_IMAGE
value: quay.io/kubevirt/ovs-cni-marker:v0.11.0
- name: KUBEMACPOOL_IMAGE
value: quay.io/kubevirt/kubemacpool:v0.8.3
- name: MACVTAP_CNI_IMAGE
value: quay.io/kubevirt/macvtap-cni:v0.1.0
- name: OPERATOR_IMAGE
value: quay.io/kubevirt/cluster-network-addons-operator:0.32.0
- name: OPERATOR_NAME
value: cluster-network-addons-operator
- name: OPERATOR_VERSION
value: 0.32.0
- name: OPERATOR_NAMESPACE
valueFrom:
fieldRef:
fieldPath: metadata.namespace
- name: OPERAND_NAMESPACE
valueFrom:
fieldRef:
fieldPath: metadata.namespace
- name: POD_NAME
valueFrom:
fieldRef:
fieldPath: metadata.name
- name: WATCH_NAMESPACE
image: quay.io/kubevirt/cluster-network-addons-operator:0.32.0
imagePullPolicy: Always
name: cluster-network-addons-operator
resources: {}
serviceAccountName: cluster-network-addons-operator

customresourcedefinitions:
owned:
- name: networkaddonsconfigs.networkaddonsoperator.network.kubevirt.io
version: v1alpha1
group: networkaddonsoperator.network.kubevirt.io
kind: NetworkAddonsConfig
displayName: Cluster Network Addons
description: Cluster Network Addons
7 changes: 7 additions & 0 deletions manifests/cluster-network-addons/0.32.0/namespace.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
apiVersion: v1
kind: Namespace
metadata:
name: cluster-network-addons
labels:
name: cluster-network-addons
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
apiVersion: networkaddonsoperator.network.kubevirt.io/v1alpha1
kind: NetworkAddonsConfig
metadata:
name: cluster
spec:
imagePullPolicy: IfNotPresent
kubeMacPool: {}
linuxBridge: {}
macvtap: {}
multus: {}
nmstate: {}
ovs: {}
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
---
apiVersion: apiextensions.k8s.io/v1beta1
kind: CustomResourceDefinition
metadata:
name: networkaddonsconfigs.networkaddonsoperator.network.kubevirt.io
spec:
group: networkaddonsoperator.network.kubevirt.io
names:
kind: NetworkAddonsConfig
listKind: NetworkAddonsConfigList
plural: networkaddonsconfigs
singular: networkaddonsconfig
scope: Cluster
subresources:
status: {}
validation:
openAPIV3Schema:
properties:
apiVersion:
type: string
kind:
type: string
metadata:
type: object
spec:
type: object
status:
type: object
version: v1alpha1
versions:
- name: v1alpha1
served: true
storage: true
Loading

0 comments on commit 1fb036e

Please sign in to comment.