Skip to content
This repository has been archived by the owner on Jul 28, 2023. It is now read-only.

Commit

Permalink
Upgraded Runtime Component version to v0.5.0 (#259)
Browse files Browse the repository at this point in the history
  • Loading branch information
navidsh authored Apr 23, 2020
1 parent 6f32db2 commit 19d0e44
Show file tree
Hide file tree
Showing 27 changed files with 1,287 additions and 391 deletions.
12 changes: 11 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,15 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

All notable changes to this project will be documented in this file.

## [0.5.0]

### Added

- Added Ingress (vanilla) support ([#79](https://github.com/application-stacks/runtime-component-operator/pull/79))
- Added support for external service bindings ([#76](https://github.com/application-stacks/runtime-component-operator/pull/76))
- Added additional service ports support ([#80](https://github.com/application-stacks/runtime-component-operator/pull/80))
- Added support to specify NodePort on service ([#60](https://github.com/application-stacks/runtime-component-operator/pull/60))

## [0.4.1]

### Fixed
Expand Down Expand Up @@ -89,7 +98,8 @@ All notable changes to this project will be documented in this file.

The initial release of the Appsody Operator 🎉🥳

[Unreleased]: https://github.com/appsody/appsody-operator/compare/v0.4.1...HEAD
[Unreleased]: https://github.com/appsody/appsody-operator/compare/v0.5.0...HEAD
[0.5.0]: https://github.com/appsody/appsody-operator/compare/v0.4.1...v0.5.0
[0.4.1]: https://github.com/appsody/appsody-operator/compare/v0.4.0...v0.4.1
[0.4.0]: https://github.com/appsody/appsody-operator/compare/v0.3.0...v0.4.0
[0.3.0]: https://github.com/appsody/appsody-operator/compare/v0.2.2...v0.3.0
Expand Down
2 changes: 1 addition & 1 deletion build/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ FROM registry.access.redhat.com/ubi8/ubi-minimal:latest

LABEL vendor="Appsody" \
name="Appsody Application Operator" \
version="0.4.1" \
version="0.5.0" \
summary="Image for Appsody Application Operator" \
description="This image contains the controller for Appsody Application Operator. See https://github.com/appsody/appsody-operator#appsody-application-operator"

Expand Down
13 changes: 13 additions & 0 deletions deploy/cluster_role.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -83,4 +83,17 @@ rules:
resources:
- applications
verbs:
- '*'
- apiGroups:
- apps.openshift.io
resources:
- servicebindingrequests
verbs:
- '*'
- apiGroups:
- networking.k8s.io
- extensions
resources:
- ingresses
verbs:
- '*'
62 changes: 62 additions & 0 deletions deploy/crds/appsody.dev_appsodyapplications_crd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,14 @@ spec:
format: int32
type: integer
type: object
bindings:
description: AppsodyBindings represents service binding related parameters
properties:
autoDetect:
type: boolean
resourceRef:
type: string
type: object
createAppDefinition:
type: boolean
createKnativeService:
Expand Down Expand Up @@ -2154,13 +2162,63 @@ spec:
- name
type: object
type: array
nodePort:
format: int32
maximum: 65535
minimum: 0
type: integer
port:
format: int32
maximum: 65535
minimum: 1
type: integer
portName:
type: string
ports:
items:
description: ServicePort contains information on service's port.
properties:
name:
description: The name of this port within the service. This
must be a DNS_LABEL. All ports within a ServiceSpec must
have unique names. When considering the endpoints for a
Service, this must match the 'name' field in the EndpointPort.
Optional if only one ServicePort is defined on this service.
type: string
nodePort:
description: 'The port on each node on which this service
is exposed when type=NodePort or LoadBalancer. Usually assigned
by the system. If specified, it will be allocated to the
service if unused or else creation of the service will fail.
Default is to auto-allocate a port if the ServiceType of
this Service requires one. More info: https://kubernetes.io/docs/concepts/services-networking/service/#type-nodeport'
format: int32
type: integer
port:
description: The port that will be exposed by this service.
format: int32
type: integer
protocol:
description: The IP protocol for this port. Supports "TCP",
"UDP", and "SCTP". Default is TCP.
type: string
targetPort:
anyOf:
- type: integer
- type: string
description: 'Number or name of the port to access on the
pods targeted by the service. Number must be in the range
1 to 65535. Name must be an IANA_SVC_NAME. If this is a
string, it will be looked up as a named port in the target
Pod''s container ports. If this is not specified, the value
of the ''port'' field is used (an identity map). This field
is ignored for services with clusterIP=None, and should
be omitted or set equal to the ''port'' field. More info:
https://kubernetes.io/docs/concepts/services-networking/service/#defining-a-service'
required:
- port
type: object
type: array
provides:
description: ServiceBindingProvides represents information about
properties:
Expand Down Expand Up @@ -4711,6 +4769,10 @@ spec:
type: object
imageReference:
type: string
resolvedBindings:
items:
type: string
type: array
type: object
version: v1beta1
versions:
Expand Down
13 changes: 13 additions & 0 deletions deploy/releases/daily/appsody-app-cluster-rbac.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,19 @@ rules:
- applications
verbs:
- '*'
- apiGroups:
- apps.openshift.io
resources:
- servicebindingrequests
verbs:
- '*'
- apiGroups:
- networking.k8s.io
- extensions
resources:
- ingresses
verbs:
- '*'
---
kind: ClusterRoleBinding
apiVersion: rbac.authorization.k8s.io/v1
Expand Down
62 changes: 62 additions & 0 deletions deploy/releases/daily/appsody-app-crd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,14 @@ spec:
format: int32
type: integer
type: object
bindings:
description: AppsodyBindings represents service binding related parameters
properties:
autoDetect:
type: boolean
resourceRef:
type: string
type: object
createAppDefinition:
type: boolean
createKnativeService:
Expand Down Expand Up @@ -2154,13 +2162,63 @@ spec:
- name
type: object
type: array
nodePort:
format: int32
maximum: 65535
minimum: 0
type: integer
port:
format: int32
maximum: 65535
minimum: 1
type: integer
portName:
type: string
ports:
items:
description: ServicePort contains information on service's port.
properties:
name:
description: The name of this port within the service. This
must be a DNS_LABEL. All ports within a ServiceSpec must
have unique names. When considering the endpoints for a
Service, this must match the 'name' field in the EndpointPort.
Optional if only one ServicePort is defined on this service.
type: string
nodePort:
description: 'The port on each node on which this service
is exposed when type=NodePort or LoadBalancer. Usually assigned
by the system. If specified, it will be allocated to the
service if unused or else creation of the service will fail.
Default is to auto-allocate a port if the ServiceType of
this Service requires one. More info: https://kubernetes.io/docs/concepts/services-networking/service/#type-nodeport'
format: int32
type: integer
port:
description: The port that will be exposed by this service.
format: int32
type: integer
protocol:
description: The IP protocol for this port. Supports "TCP",
"UDP", and "SCTP". Default is TCP.
type: string
targetPort:
anyOf:
- type: integer
- type: string
description: 'Number or name of the port to access on the
pods targeted by the service. Number must be in the range
1 to 65535. Name must be an IANA_SVC_NAME. If this is a
string, it will be looked up as a named port in the target
Pod''s container ports. If this is not specified, the value
of the ''port'' field is used (an identity map). This field
is ignored for services with clusterIP=None, and should
be omitted or set equal to the ''port'' field. More info:
https://kubernetes.io/docs/concepts/services-networking/service/#defining-a-service'
required:
- port
type: object
type: array
provides:
description: ServiceBindingProvides represents information about
properties:
Expand Down Expand Up @@ -4711,6 +4769,10 @@ spec:
type: object
imageReference:
type: string
resolvedBindings:
items:
type: string
type: array
type: object
version: v1beta1
versions:
Expand Down
13 changes: 13 additions & 0 deletions deploy/releases/daily/appsody-app-operator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,19 @@ rules:
- applications
verbs:
- '*'
- apiGroups:
- apps.openshift.io
resources:
- servicebindingrequests
verbs:
- '*'
- apiGroups:
- networking.k8s.io
- extensions
resources:
- ingresses
verbs:
- '*'
---
kind: RoleBinding
apiVersion: rbac.authorization.k8s.io/v1
Expand Down
13 changes: 13 additions & 0 deletions deploy/role.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -82,4 +82,17 @@ rules:
resources:
- applications
verbs:
- '*'
- apiGroups:
- apps.openshift.io
resources:
- servicebindingrequests
verbs:
- '*'
- apiGroups:
- networking.k8s.io
- extensions
resources:
- ingresses
verbs:
- '*'
2 changes: 2 additions & 0 deletions doc/user-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,9 @@ Each `AppsodyApplication` CR must at least specify the `applicationImage` parame
| `service.port` | The port exposed by the container, directing traffic to the application. |
| `service.portName` | The name for the port exposed by the container. |
| `service.targetPort` | The port that the appsody application uses within the container. Defaults to the value of `service.port`. |
| `service.ports` | An array consisting of service ports. |
| `service.type` | The Kubernetes [Service Type](https://kubernetes.io/docs/concepts/services-networking/service/#publishing-services-service-types). |
| `service.nodePort` | Node proxies this port into your service. Please note once this port is set to a non-zero value it cannot be reset to zero. |
| `service.annotations` | Annotations to be added to the service. |
| `service.certificate` | A YAML object representing a [Certificate](https://cert-manager.io/docs/reference/api-docs/#cert-manager.io/v1alpha2.CertificateSpec). |
| `service.certificateSecretRef` | A name of a secret that already contains TLS key, certificate and CA to be mounted in the pod. |
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ module github.com/appsody/appsody-operator
go 1.13

require (
github.com/application-stacks/runtime-component-operator v0.4.2
github.com/application-stacks/runtime-component-operator v0.5.0
github.com/coreos/prometheus-operator v0.34.0
github.com/go-openapi/spec v0.19.4
github.com/jetstack/cert-manager v0.12.0
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,8 @@ github.com/alecthomas/units v0.0.0-20190717042225-c3de453c63f4/go.mod h1:ybxpYRF
github.com/ant31/crd-validation v0.0.0-20180702145049-30f8a35d0ac2/go.mod h1:X0noFIik9YqfhGYBLEHg8LJKEwy7QIitLQuFMpKLcPk=
github.com/antihax/optional v0.0.0-20180407024304-ca021399b1a6/go.mod h1:V8iCPQYkqmusNa815XgQio277wI47sdRh1dUOLdyC6Q=
github.com/apache/thrift v0.12.0/go.mod h1:cp2SuWMxlEZw2r+iP2GNCdIi4C1qmUzdZFSVb+bacwQ=
github.com/application-stacks/runtime-component-operator v0.4.2 h1:itFM372355B1Ka4TT1uMOmgLLndF9qxUq1p76HSNX7k=
github.com/application-stacks/runtime-component-operator v0.4.2/go.mod h1:3TJa36rzYElnHB7MRA/2GCpEq4SbGmBVw5O7ueN/JeM=
github.com/application-stacks/runtime-component-operator v0.5.0 h1:m06rPIUi5Btgn3QMmMA79U0r7/IJztPgJ3maV3KMIGQ=
github.com/application-stacks/runtime-component-operator v0.5.0/go.mod h1:fcbZ5gYAnxyl+LANAlOqNO09R/e6jdCXIlSgvHVae9s=
github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e/go.mod h1:3U/XgcO3hCbHZ8TKRvWD2dDTCfh9M9ya+I9JpbB7O8o=
github.com/armon/consul-api v0.0.0-20180202201655-eb2c6b5be1b6/go.mod h1:grANhF5doyWs3UAsr3K4I6qtAmlQcZDesFNEHPZAzj8=
github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da/go.mod h1:Q73ZrmVTwzkszR9V5SSuryQ31EELlFMUz1kKyl939pY=
Expand Down
Loading

0 comments on commit 19d0e44

Please sign in to comment.