Skip to content

Commit

Permalink
chore: Release version 3.1.0 on OperatorHub (#7)
Browse files Browse the repository at this point in the history
k8s-operatorhub/community-operators#3188

Signed-off-by: Sergiy Kulanov <[email protected]>
Change-Id: I7bd7418a34ee47878d3b970b6388525f20099b9e
  • Loading branch information
SergK committed Sep 8, 2023
1 parent ca7bdca commit 895000c
Show file tree
Hide file tree
Showing 6 changed files with 34 additions and 22 deletions.
9 changes: 0 additions & 9 deletions bundle/manifests/edp.epam.com_sonargroups.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,15 +46,6 @@ spec:
example: sonar-users
maxLength: 255
type: string
permissionTemplates:
description: PermissionTemplates is a list of permissions templates
assigned to group.
example:
- scan
items:
type: string
nullable: true
type: array
permissions:
description: Permissions is a list of permissions assigned to group.
example:
Expand Down
13 changes: 13 additions & 0 deletions bundle/manifests/edp.epam.com_sonarpermissiontemplates.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,19 @@ spec:
description: Description of sonar permission template.
example: Default permission template for new users
type: string
groupsPermissions:
additionalProperties:
items:
type: string
type: array
description: GroupsPermissions is a map of groups and permissions
assigned to them.
example:
sonar-users:
- codeviewer
- scan
nullable: true
type: object
name:
description: Name is a name of permission template. Name should be
unique across all permission templates. Do not edit this field after
Expand Down
21 changes: 16 additions & 5 deletions bundle/manifests/sonar-operator.clusterserviceversion.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,9 @@ metadata:
"spec": {
"description": "Developers",
"name": "sonar-developers",
"permissions": [
"admin"
],
"sonarRef": {
"name": "sonar"
}
Expand All @@ -80,6 +83,14 @@ metadata:
"spec": {
"default": true,
"description": "EDP permission templates",
"groupsPermissions": {
"sonar-developers": [
"scan"
],
"sonar-users": [
"issueadmin"
]
},
"name": "edp-default",
"projectKeyPattern": ".+",
"sonarRef": {
Expand Down Expand Up @@ -174,13 +185,13 @@ metadata:
]
capabilities: Deep Insights
categories: Developer Tools
containerImage: docker.io/epamedp/sonar-operator:3.0.0
createdAt: "2023-09-05T16:43:26Z"
containerImage: docker.io/epamedp/sonar-operator:3.1.0
createdAt: "2023-09-08T12:53:57Z"
description: An Operator for managing Sonar entities.
operators.operatorframework.io/builder: operator-sdk-v1.31.0
operators.operatorframework.io/project_layout: go.kubebuilder.io/v3
repository: https://github.com/epam/edp-sonar-operator
name: sonar-operator.v3.0.0
name: sonar-operator.v3.1.0
namespace: placeholder
spec:
apiservicedefinitions: {}
Expand Down Expand Up @@ -261,7 +272,7 @@ spec:
valueFrom:
fieldRef:
fieldPath: metadata.annotations['olm.targetNamespaces']
image: docker.io/epamedp/sonar-operator:3.0.0
image: docker.io/epamedp/sonar-operator:3.1.0
livenessProbe:
httpGet:
path: /healthz
Expand Down Expand Up @@ -527,4 +538,4 @@ spec:
provider:
name: EPAM Delivery Platform
url: https://epam.github.io/edp-install/
version: 3.0.0
version: 3.1.0
5 changes: 1 addition & 4 deletions bundle/metadata/annotations.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ annotations:
operators.operatorframework.io.bundle.mediatype.v1: registry+v1
operators.operatorframework.io.bundle.manifests.v1: manifests/
operators.operatorframework.io.bundle.metadata.v1: metadata/
operators.operatorframework.io.bundle.package.v1: edp-sonar-operator
operators.operatorframework.io.bundle.package.v1: sonar-operator
operators.operatorframework.io.bundle.channels.v1: alpha
operators.operatorframework.io.metrics.builder: operator-sdk-v1.31.0
operators.operatorframework.io.metrics.mediatype.v1: metrics+v1
Expand All @@ -12,6 +12,3 @@ annotations:
# Annotations for testing.
operators.operatorframework.io.test.mediatype.v1: scorecard+v1
operators.operatorframework.io.test.config.v1: tests/scorecard/

# Annotations for OpenShift.
com.redhat.openshift.versions: "v4.7-v4.13"
2 changes: 1 addition & 1 deletion config/manager/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ kind: Kustomization
images:
- name: controller
newName: docker.io/epamedp/sonar-operator
newTag: 3.0.0
newTag: 3.1.0
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ metadata:
alm-examples: '[]'
capabilities: Deep Insights
categories: Developer Tools
containerImage: docker.io/epamedp/sonar-operator:3.0.0
containerImage: docker.io/epamedp/sonar-operator:3.1.0
description: An Operator for managing Sonar entities.
repository: https://github.com/epam/edp-sonar-operator
name: sonar-operator.v3.0.0
name: sonar-operator.v3.1.0
namespace: placeholder
spec:
apiservicedefinitions: {}
Expand Down Expand Up @@ -95,4 +95,4 @@ spec:
provider:
name: EPAM Delivery Platform
url: https://epam.github.io/edp-install/
version: 3.0.0
version: 3.1.0

0 comments on commit 895000c

Please sign in to comment.