Skip to content

Commit

Permalink
Merge pull request #136 from 3scale-ops/release/v0.10.0
Browse files Browse the repository at this point in the history
Release/v0.10.0
  • Loading branch information
3scale-robot authored Jan 26, 2022
2 parents 46de883 + 87b2ba2 commit 60eceef
Show file tree
Hide file tree
Showing 17 changed files with 172 additions and 44 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# To re-generate a bundle for another specific version without changing the standard setup, you can:
# - use the VERSION as arg of the bundle target (e.g make bundle VERSION=0.0.2)
# - use environment variables to overwrite this value (e.g export VERSION=0.0.2)
VERSION ?= 0.9.2-alpha.1
VERSION ?= 0.10.0

# CHANNELS define the bundle channels used in the bundle.
# Add a new line here if you would like to change its default config. (E.g CHANNELS = "candidate,fast,stable")
Expand Down
5 changes: 3 additions & 2 deletions bundle.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,9 @@ LABEL operators.operatorframework.io.bundle.mediatype.v1=registry+v1
LABEL operators.operatorframework.io.bundle.manifests.v1=manifests/
LABEL operators.operatorframework.io.bundle.metadata.v1=metadata/
LABEL operators.operatorframework.io.bundle.package.v1=marin3r
LABEL operators.operatorframework.io.bundle.channels.v1=alpha
LABEL operators.operatorframework.io.metrics.builder=operator-sdk-v1.13.0+git
LABEL operators.operatorframework.io.bundle.channels.v1=alpha,stable
LABEL operators.operatorframework.io.bundle.channel.default.v1=stable
LABEL operators.operatorframework.io.metrics.builder=operator-sdk-v1.14.0+git
LABEL operators.operatorframework.io.metrics.mediatype.v1=metrics+v1
LABEL operators.operatorframework.io.metrics.project_layout=go.kubebuilder.io/v3

Expand Down
21 changes: 21 additions & 0 deletions bundle/manifests/marin3r.3scale.net_envoyconfigrevisions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,25 @@ spec:
- value
type: object
type: array
scopedRoutes:
description: 'ScopedRoutes is a list of the envoy ScopeRoute resource
type. API V3 reference: https://www.envoyproxy.io/docs/envoy/latest/api-v3/config/route/v3/scoped_route.proto'
items:
description: EnvoyResource holds serialized representation of
an envoy resource
properties:
name:
description: Name of the envoy resource
type: string
value:
description: Value is the serialized representation of the
envoy resource
type: string
required:
- name
- value
type: object
type: array
secrets:
description: Secrets is a list of references to Kubernetes Secret
objects.
Expand Down Expand Up @@ -285,6 +304,8 @@ spec:
type: string
runtimes:
type: string
scopedRoutes:
type: string
secrets:
type: string
type: object
Expand Down
19 changes: 19 additions & 0 deletions bundle/manifests/marin3r.3scale.net_envoyconfigs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,25 @@ spec:
- value
type: object
type: array
scopedRoutes:
description: 'ScopedRoutes is a list of the envoy ScopeRoute resource
type. API V3 reference: https://www.envoyproxy.io/docs/envoy/latest/api-v3/config/route/v3/scoped_route.proto'
items:
description: EnvoyResource holds serialized representation of
an envoy resource
properties:
name:
description: Name of the envoy resource
type: string
value:
description: Value is the serialized representation of the
envoy resource
type: string
required:
- name
- value
type: object
type: array
secrets:
description: Secrets is a list of references to Kubernetes Secret
objects.
Expand Down
86 changes: 56 additions & 30 deletions bundle/manifests/marin3r.clusterserviceversion.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -74,12 +74,12 @@ metadata:
certified: "false"
containerImage: quay.io/3scale/marin3r
description: Lighweight, CRD based Envoy control plane for Kubernetes
operators.operatorframework.io/builder: operator-sdk-v1.13.0+git
operators.operatorframework.io/builder: operator-sdk-v1.14.0+git
operators.operatorframework.io/internal-objects: '["envoyconfigrevisions.marin3r.3scale.net","discoveryservicecertificates.operator.marin3r.3scale.net"]'
operators.operatorframework.io/project_layout: go.kubebuilder.io/v3
repository: https://github.com/3scale-ops/marin3r
support: Red Hat, Inc.
name: marin3r.v0.9.2-alpha.1
name: marin3r.v0.10.0
namespace: placeholder
spec:
apiservicedefinitions: {}
Expand Down Expand Up @@ -277,6 +277,16 @@ spec:
- description: Value is the serialized representation of the envoy resource
displayName: Value
path: envoyResources.runtimes[0].value
- description: 'ScopedRoutes is a list of the envoy ScopeRoute resource type.
API V3 reference: https://www.envoyproxy.io/docs/envoy/latest/api-v3/config/route/v3/scoped_route.proto'
displayName: Scoped Routes
path: envoyResources.scopedRoutes
- description: Name of the envoy resource
displayName: Name
path: envoyResources.scopedRoutes[0].name
- description: Value is the serialized representation of the envoy resource
displayName: Value
path: envoyResources.scopedRoutes[0].value
- description: Secrets is a list of references to Kubernetes Secret objects.
displayName: Secrets
path: envoyResources.secrets
Expand Down Expand Up @@ -393,6 +403,16 @@ spec:
- description: Value is the serialized representation of the envoy resource
displayName: Value
path: envoyResources.runtimes[0].value
- description: 'ScopedRoutes is a list of the envoy ScopeRoute resource type.
API V3 reference: https://www.envoyproxy.io/docs/envoy/latest/api-v3/config/route/v3/scoped_route.proto'
displayName: Scoped Routes
path: envoyResources.scopedRoutes
- description: Name of the envoy resource
displayName: Name
path: envoyResources.scopedRoutes[0].name
- description: Value is the serialized representation of the envoy resource
displayName: Value
path: envoyResources.scopedRoutes[0].value
- description: Secrets is a list of references to Kubernetes Secret objects.
displayName: Secrets
path: envoyResources.secrets
Expand Down Expand Up @@ -602,6 +622,15 @@ spec:
which handles graceful termination of Envoy pods
displayName: Shutdown Manager
path: shutdownManager
- description: The drain strategy for the graceful shutdown. It also affects
drain when listeners are modified or removed via LDS.
displayName: Drain Strategy
path: shutdownManager.drainStrategy
- description: The time in seconds that Envoy will drain connections during
shutdown. It also affects drain behaviour when listeners are modified or
removed via LDS.
displayName: Drain Time
path: shutdownManager.drainTime
- description: Image is the shutdown manager image and tag to use
displayName: Image
path: shutdownManager.image
Expand Down Expand Up @@ -673,7 +702,7 @@ spec:
valueFrom:
fieldRef:
fieldPath: metadata.annotations['olm.targetNamespaces']
image: quay.io/3scale/marin3r:v0.9.2-alpha.1
image: quay.io/3scale/marin3r:v0.10.0
livenessProbe:
httpGet:
path: /healthz
Expand Down Expand Up @@ -729,7 +758,7 @@ spec:
valueFrom:
fieldRef:
fieldPath: metadata.annotations['olm.targetNamespaces']
image: quay.io/3scale/marin3r:v0.9.2-alpha.1
image: quay.io/3scale/marin3r:v0.10.0
livenessProbe:
httpGet:
path: /healthz
Expand Down Expand Up @@ -1020,72 +1049,69 @@ spec:
maturity: alpha
provider:
name: Red Hat
version: 0.9.2-alpha.1
version: 0.10.0
webhookdefinitions:
- admissionReviewVersions:
- v1
- v1beta1
containerPort: 443
deploymentName: marin3r-controller-webhook
failurePolicy: Fail
generateName: sidecar-injector.marin3r.3scale.net
matchPolicy: Equivalent
objectSelector:
matchLabels:
marin3r.3scale.net/status: enabled
reinvocationPolicy: Never
generateName: envoyconfig.marin3r.3scale.net
rules:
- apiGroups:
- ""
- marin3r.3scale.net
apiVersions:
- v1
- v1alpha1
operations:
- CREATE
- UPDATE
resources:
- pods
- envoyconfigs
sideEffects: None
targetPort: 9443
type: MutatingAdmissionWebhook
webhookPath: /pod-v1-mutate
type: ValidatingAdmissionWebhook
webhookPath: /validate-marin3r-3scale-net-v1alpha1-envoyconfig
- admissionReviewVersions:
- v1
- v1beta1
containerPort: 443
deploymentName: marin3r-controller-webhook
failurePolicy: Fail
generateName: envoyconfig.marin3r.3scale.net
generateName: envoydeployment.operator.marin3r.3scale.net
rules:
- apiGroups:
- marin3r.3scale.net
- operator.marin3r.3scale.net
apiVersions:
- v1alpha1
operations:
- CREATE
- UPDATE
resources:
- envoyconfigs
- envoydeployments
sideEffects: None
targetPort: 9443
type: ValidatingAdmissionWebhook
webhookPath: /validate-marin3r-3scale-net-v1alpha1-envoyconfig
webhookPath: /validate-operator-marin3r-3scale-net-v1alpha1-envoydeployment
- admissionReviewVersions:
- v1
- v1beta1
containerPort: 443
deploymentName: marin3r-controller-webhook
failurePolicy: Fail
generateName: envoydeployment.operator.marin3r.3scale.net
generateName: sidecar-injector.marin3r.3scale.net
matchPolicy: Equivalent
objectSelector:
matchLabels:
marin3r.3scale.net/status: enabled
reinvocationPolicy: Never
rules:
- apiGroups:
- operator.marin3r.3scale.net
- ""
apiVersions:
- v1alpha1
- v1
operations:
- CREATE
- UPDATE
resources:
- envoydeployments
- pods
sideEffects: None
targetPort: 9443
type: ValidatingAdmissionWebhook
webhookPath: /validate-operator-marin3r-3scale-net-v1alpha1-envoydeployment
type: MutatingAdmissionWebhook
webhookPath: /pod-v1-mutate
22 changes: 18 additions & 4 deletions bundle/manifests/operator.marin3r.3scale.net_envoydeployments.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,7 @@ spec:
field and the ones listed in the namespaces field.
null selector and null or empty namespaces list
means "this pod's namespace". An empty selector
({}) matches all namespaces. This field is alpha-level
({}) matches all namespaces. This field is beta-level
and is only honored when PodAffinityNamespaceSelector
feature is enabled.
properties:
Expand Down Expand Up @@ -488,7 +488,7 @@ spec:
the ones listed in the namespaces field. null selector
and null or empty namespaces list means "this pod's
namespace". An empty selector ({}) matches all namespaces.
This field is alpha-level and is only honored when
This field is beta-level and is only honored when
PodAffinityNamespaceSelector feature is enabled.
properties:
matchExpressions:
Expand Down Expand Up @@ -641,7 +641,7 @@ spec:
field and the ones listed in the namespaces field.
null selector and null or empty namespaces list
means "this pod's namespace". An empty selector
({}) matches all namespaces. This field is alpha-level
({}) matches all namespaces. This field is beta-level
and is only honored when PodAffinityNamespaceSelector
feature is enabled.
properties:
Expand Down Expand Up @@ -797,7 +797,7 @@ spec:
the ones listed in the namespaces field. null selector
and null or empty namespaces list means "this pod's
namespace". An empty selector ({}) matches all namespaces.
This field is alpha-level and is only honored when
This field is beta-level and is only honored when
PodAffinityNamespaceSelector feature is enabled.
properties:
matchExpressions:
Expand Down Expand Up @@ -1705,6 +1705,20 @@ spec:
description: ShutdownManager defines configuration for Envoy's shutdown
manager, which handles graceful termination of Envoy pods
properties:
drainStrategy:
description: The drain strategy for the graceful shutdown. It
also affects drain when listeners are modified or removed via
LDS.
enum:
- gradual
- immediate
type: string
drainTime:
description: The time in seconds that Envoy will drain connections
during shutdown. It also affects drain behaviour when listeners
are modified or removed via LDS.
format: int64
type: integer
image:
description: Image is the shutdown manager image and tag to use
type: string
Expand Down
5 changes: 3 additions & 2 deletions bundle/metadata/annotations.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,9 @@ annotations:
operators.operatorframework.io.bundle.manifests.v1: manifests/
operators.operatorframework.io.bundle.metadata.v1: metadata/
operators.operatorframework.io.bundle.package.v1: marin3r
operators.operatorframework.io.bundle.channels.v1: alpha
operators.operatorframework.io.metrics.builder: operator-sdk-v1.13.0+git
operators.operatorframework.io.bundle.channels.v1: alpha,stable
operators.operatorframework.io.bundle.channel.default.v1: stable
operators.operatorframework.io.metrics.builder: operator-sdk-v1.14.0+git
operators.operatorframework.io.metrics.mediatype.v1: metrics+v1
operators.operatorframework.io.metrics.project_layout: go.kubebuilder.io/v3

Expand Down
2 changes: 1 addition & 1 deletion config/manager/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ kind: Kustomization
images:
- name: controller
newName: quay.io/3scale/marin3r
newTag: v0.9.2-alpha.1
newTag: v0.10.0

patchesStrategicMerge:
- custom/manager_patch.yaml
29 changes: 29 additions & 0 deletions config/manifests/bases/marin3r.clusterserviceversion.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,16 @@ spec:
- description: Value is the serialized representation of the envoy resource
displayName: Value
path: envoyResources.runtimes[0].value
- description: 'ScopedRoutes is a list of the envoy ScopeRoute resource type.
API V3 reference: https://www.envoyproxy.io/docs/envoy/latest/api-v3/config/route/v3/scoped_route.proto'
displayName: Scoped Routes
path: envoyResources.scopedRoutes
- description: Name of the envoy resource
displayName: Name
path: envoyResources.scopedRoutes[0].name
- description: Value is the serialized representation of the envoy resource
displayName: Value
path: envoyResources.scopedRoutes[0].value
- description: Secrets is a list of references to Kubernetes Secret objects.
displayName: Secrets
path: envoyResources.secrets
Expand Down Expand Up @@ -323,6 +333,16 @@ spec:
- description: Value is the serialized representation of the envoy resource
displayName: Value
path: envoyResources.runtimes[0].value
- description: 'ScopedRoutes is a list of the envoy ScopeRoute resource type.
API V3 reference: https://www.envoyproxy.io/docs/envoy/latest/api-v3/config/route/v3/scoped_route.proto'
displayName: Scoped Routes
path: envoyResources.scopedRoutes
- description: Name of the envoy resource
displayName: Name
path: envoyResources.scopedRoutes[0].name
- description: Value is the serialized representation of the envoy resource
displayName: Value
path: envoyResources.scopedRoutes[0].value
- description: Secrets is a list of references to Kubernetes Secret objects.
displayName: Secrets
path: envoyResources.secrets
Expand Down Expand Up @@ -532,6 +552,15 @@ spec:
which handles graceful termination of Envoy pods
displayName: Shutdown Manager
path: shutdownManager
- description: The drain strategy for the graceful shutdown. It also affects
drain when listeners are modified or removed via LDS.
displayName: Drain Strategy
path: shutdownManager.drainStrategy
- description: The time in seconds that Envoy will drain connections during
shutdown. It also affects drain behaviour when listeners are modified or
removed via LDS.
displayName: Drain Time
path: shutdownManager.drainTime
- description: Image is the shutdown manager image and tag to use
displayName: Image
path: shutdownManager.image
Expand Down
2 changes: 1 addition & 1 deletion config/webhook/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ kind: Kustomization
images:
- name: controller
newName: quay.io/3scale/marin3r
newTag: v0.9.2-alpha.1
newTag: v0.10.0

# [CUSTOM: pod mutating webhook config] This patch adds a label selector to the MutatingWebhookConfig
patchesStrategicMerge:
Expand Down
Loading

0 comments on commit 60eceef

Please sign in to comment.