Skip to content

Commit

Permalink
Prepare for release v0.20.0
Browse files Browse the repository at this point in the history
  • Loading branch information
roivaz committed Oct 17, 2023
1 parent e081080 commit 961bce6
Show file tree
Hide file tree
Showing 14 changed files with 595 additions and 28 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.20.0-alpha.18
VERSION ?= 0.20.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
3 changes: 2 additions & 1 deletion bundle.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ 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=saas-operator
LABEL operators.operatorframework.io.bundle.channels.v1=alpha
LABEL operators.operatorframework.io.bundle.channels.v1=alpha,stable
LABEL operators.operatorframework.io.bundle.channel.default.v1=alpha
LABEL operators.operatorframework.io.metrics.builder=operator-sdk-v1.27.0
LABEL operators.operatorframework.io.metrics.mediatype.v1=metrics+v1
LABEL operators.operatorframework.io.metrics.project_layout=go.kubebuilder.io/v3
Expand Down
134 changes: 128 additions & 6 deletions bundle/manifests/saas-operator.clusterserviceversion.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -341,6 +341,36 @@ metadata:
}
}
},
{
"apiVersion": "saas.3scale.net/v1alpha1",
"kind": "ShardedRedisBackup",
"metadata": {
"name": "backup",
"namespace": "default"
},
"spec": {
"dbFile": "/data/dump.rdb",
"historyLimit": 10,
"pollInterval": "10s",
"s3Options": {
"bucket": "my-bucket",
"credentialsSecretRef": {
"name": "aws-credentials"
},
"path": "backups",
"region": "us-east-1"
},
"schedule": "*/30 * * * *",
"sentinelRef": "sentinel",
"sshOptions": {
"privateKeySecretRef": {
"name": "redis-ssh-private-key"
},
"user": "root"
},
"timeout": "5m"
}
},
{
"apiVersion": "saas.3scale.net/v1alpha1",
"kind": "System",
Expand Down Expand Up @@ -627,15 +657,15 @@ metadata:
capabilities: Basic Install
categories: Integration & Delivery
containerImage: quay.io/3scale/saas-operator
createdAt: "2023-09-13T11:59:21Z"
createdAt: "2023-10-16T08:57:47Z"
description: |-
The 3scale SaaS Operator creates and maintains a SaaS-ready deployment
of the Red Hat 3scale API Management on OpenShift.
operators.operatorframework.io/builder: operator-sdk-v1.27.0
operators.operatorframework.io/project_layout: go.kubebuilder.io/v3
repository: https://github.com/3scale/saas-operator
support: Red Hat
name: saas-operator.v0.20.0-alpha.10
name: saas-operator.v0.20.0
namespace: placeholder
spec:
apiservicedefinitions: {}
Expand Down Expand Up @@ -2460,6 +2490,9 @@ spec:
kind: RedisShard
name: redisshards.saas.3scale.net
specDescriptors:
- description: Command overrides the redis container command
displayName: Command
path: command
- description: Image specification for the component
displayName: Image
path: image
Expand Down Expand Up @@ -2626,6 +2659,69 @@ spec:
displayName: Sentinels
path: sentinels
version: v1alpha1
- description: ShardedRedisBackup is the Schema for the shardedredisbackups API
displayName: Sharded Redis Backup
kind: ShardedRedisBackup
name: shardedredisbackups.saas.3scale.net
specDescriptors:
- description: Name of the dbfile in the redis instances
displayName: DBFile
path: dbFile
- description: Max number of backup history to keep
displayName: History Limit
path: historyLimit
- description: If true, backup execution is stopped
displayName: Pause
path: pause
- description: How frequently redis is polled for the BGSave status
displayName: Poll Interval
path: pollInterval
- description: S3 storage options
displayName: S3 Options
path: s3Options
- description: S3 bucket name
displayName: Bucket
path: s3Options.bucket
- description: 'Reference to a Secret tha contains credentials to access S3
API. The credentials must have the following permissions: s3:GetObject,
s3:PutObject, and s3:ListBucket, s3:ListObjects, s3:PutObjectTagging.'
displayName: Credentials Secret Ref
path: s3Options.credentialsSecretRef
- description: S3 path where backups should be uploaded
displayName: Path
path: s3Options.path
- description: AWS region
displayName: Region
path: s3Options.region
- description: Optionally use a custom s3 service endpoint. Useful for testing
with Minio.
displayName: Service Endpoint
path: s3Options.serviceEndpoint
- description: Cron-like schedule specification
displayName: Schedule
path: schedule
- description: Reference to a sentinel instance
displayName: Sentinel Ref
path: sentinelRef
- description: SSH connection options
displayName: SSHOptions
path: sshOptions
- description: SSH port (default is 22)
displayName: Port
path: sshOptions.port
- description: Reference to a Secret that contains the SSH private key
displayName: Private Key Secret Ref
path: sshOptions.privateKeySecretRef
- description: Use sudo to execute commands agains the remote host
displayName: Sudo
path: sshOptions.sudo
- description: SSH user
displayName: User
path: sshOptions.user
- description: Max allowed time for a backup to complete
displayName: Timeout
path: timeout
version: v1alpha1
- description: System is the Schema for the systems API
displayName: System
kind: System
Expand Down Expand Up @@ -3971,8 +4067,8 @@ spec:
- description: Label value used by grafana-operator for dashboard discovery
displayName: Selector Value
path: grafanaDashboard.selectorValue
- description: SentinelURI is the redis URI of sentinel. If not set, the controller
will try to autodiscover Sentinel within the namespace.
- description: 'SentinelURI is the redis URI of sentinel. If not set, the controller
will try to autodiscover Sentinel within the namespace. TODO: remove, unused'
displayName: Sentinel URIs
path: sentinelURIs
- description: 'ServerPools is the list of Twemproxy server pools WARNING: only
Expand Down Expand Up @@ -4444,7 +4540,7 @@ spec:
valueFrom:
fieldRef:
fieldPath: metadata.annotations['olm.targetNamespaces']
image: quay.io/3scale/saas-operator:v0.20.0-alpha.10
image: quay.io/3scale/saas-operator:v0.20.0
livenessProbe:
httpGet:
path: /healthz
Expand Down Expand Up @@ -4853,6 +4949,32 @@ spec:
- get
- patch
- update
- apiGroups:
- saas.3scale.net
resources:
- shardedredisbackups
verbs:
- create
- delete
- get
- list
- patch
- update
- watch
- apiGroups:
- saas.3scale.net
resources:
- shardedredisbackups/finalizers
verbs:
- update
- apiGroups:
- saas.3scale.net
resources:
- shardedredisbackups/status
verbs:
- get
- patch
- update
- apiGroups:
- saas.3scale.net
resources:
Expand Down Expand Up @@ -4982,4 +5104,4 @@ spec:
provider:
name: Red Hat
url: https://www.3scale.net/
version: 0.20.0-alpha.10
version: 0.20.0
3 changes: 3 additions & 0 deletions bundle/manifests/saas.3scale.net_redisshards.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@ spec:
spec:
description: RedisShardSpec defines the desired state of RedisShard
properties:
command:
description: Command overrides the redis container command
type: string
image:
description: Image specification for the component
properties:
Expand Down
4 changes: 4 additions & 0 deletions bundle/manifests/saas.3scale.net_sentinels.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -499,6 +499,10 @@ spec:
additionalProperties:
type: string
type: object
info:
additionalProperties:
type: string
type: object
role:
description: Role represents the role of a redis server
within a shard
Expand Down
Loading

0 comments on commit 961bce6

Please sign in to comment.