Skip to content

Commit

Permalink
Update hazelcast-platform-operator to 5.14.0
Browse files Browse the repository at this point in the history
Signed-off-by: devOpsHelm <[email protected]>
  • Loading branch information
devOpsHelm committed Oct 18, 2024
1 parent a6a5827 commit 113cf17
Show file tree
Hide file tree
Showing 22 changed files with 10,862 additions and 0 deletions.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
---
apiVersion: v1
kind: Service
metadata:
creationTimestamp: null
labels:
app.kubernetes.io/component: webhook
app.kubernetes.io/created-by: hazelcast-platform-operator
app.kubernetes.io/instance: webhook-service
app.kubernetes.io/managed-by: kustomize
app.kubernetes.io/name: service
app.kubernetes.io/part-of: hazelcast-platform-operator
name: hazelcast-platform-webhook-service
spec:
ports:
- port: 443
protocol: TCP
targetPort: 9443
selector:
control-plane: controller-manager
status:
loadBalancer: {}
Original file line number Diff line number Diff line change
@@ -0,0 +1,173 @@
---
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.14.0
creationTimestamp: null
name: caches.hazelcast.com
spec:
group: hazelcast.com
names:
kind: Cache
listKind: CacheList
plural: caches
shortNames:
- ch
singular: cache
scope: Namespaced
versions:
- additionalPrinterColumns:
- description: Current state of the Cache Config
jsonPath: .status.state
name: Status
type: string
- description: Name of the Hazelcast resource that this resource is created for
jsonPath: .spec.hazelcastResourceName
name: Hazelcast-Resource
priority: 1
type: string
- description: Message for the current Cache Config
jsonPath: .status.message
name: Message
priority: 1
type: string
name: v1alpha1
schema:
openAPIV3Schema:
description: Cache is the Schema for the caches API
properties:
apiVersion:
description: |-
APIVersion defines the versioned schema of this representation of an object.
Servers should convert recognized schemas to the latest internal value, and
may reject unrecognized values.
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
type: string
kind:
description: |-
Kind is a string value representing the REST resource this object represents.
Servers may infer this from the endpoint the client submits requests to.
Cannot be updated.
In CamelCase.
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
type: string
metadata:
type: object
spec:
description: |-
CacheSpec defines the desired state of Cache
It cannot be updated after the Cache is created
properties:
asyncBackupCount:
default: 0
description: Number of asynchronous backups.
format: int32
maximum: 6
minimum: 0
type: integer
backupCount:
default: 1
description: Number of synchronous backups.
format: int32
maximum: 6
minimum: 0
type: integer
eventJournal:
description: EventJournal specifies event journal configuration of
the Cache
properties:
capacity:
default: 10000
description: Capacity sets the capacity of the ringbuffer underlying
the event journal.
format: int32
type: integer
timeToLiveSeconds:
default: 0
description: TimeToLiveSeconds indicates how long the items remain
in the event journal before they are expired.
format: int32
type: integer
type: object
hazelcastResourceName:
description: |-
HazelcastResourceName defines the name of the Hazelcast resource that this resource is
created for.
minLength: 1
type: string
inMemoryFormat:
default: BINARY
description: InMemoryFormat specifies in which format data will be
stored in your cache
enum:
- BINARY
- OBJECT
- NATIVE
type: string
keyType:
description: Class name of the key type
type: string
name:
description: |-
Name of the data structure config to be created. If empty, CR name will be used.
It cannot be updated after the config is created successfully.
type: string
persistenceEnabled:
default: false
description: When enabled, cache data will be persisted.
type: boolean
userCodeNamespace:
description: Name of the User Code Namespace applied to this instance
minLength: 1
type: string
valueType:
description: Class name of the value type
type: string
required:
- hazelcastResourceName
type: object
x-kubernetes-validations:
- message: the sum of backupCount and asyncBackupCount can't be larger
than 6
rule: (self.backupCount + self.asyncBackupCount) <= 6
status:
description: CacheStatus defines the observed state of Cache
properties:
memberStatuses:
additionalProperties:
enum:
- Success
- Failed
- Pending
- Persisting
- Terminating
type: string
description: Holds status of data structure for each Hazelcast member
type: object
message:
description: Message explaining the current state
type: string
state:
description: State of the data structure
enum:
- Success
- Failed
- Pending
- Persisting
- Terminating
type: string
type: object
required:
- spec
type: object
served: true
storage: true
subresources:
status: {}
status:
acceptedNames:
kind: ""
plural: ""
conditions: null
storedVersions: null
Original file line number Diff line number Diff line change
@@ -0,0 +1,146 @@
---
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.14.0
creationTimestamp: null
name: cronhotbackups.hazelcast.com
spec:
group: hazelcast.com
names:
kind: CronHotBackup
listKind: CronHotBackupList
plural: cronhotbackups
shortNames:
- chb
singular: cronhotbackup
scope: Namespaced
versions:
- additionalPrinterColumns:
- description: Suspention status of the CronHotBackup
jsonPath: .spec.suspend
name: SUSPENDED
type: boolean
- description: Name of the Hazelcast resource that this resource is created for
jsonPath: .spec.hotBackupTemplate.spec.hazelcastResourceName
name: Hazelcast-Resource
priority: 1
type: string
name: v1alpha1
schema:
openAPIV3Schema:
description: CronHotBackup is the Schema for the cronhotbackups API
properties:
apiVersion:
description: |-
APIVersion defines the versioned schema of this representation of an object.
Servers should convert recognized schemas to the latest internal value, and
may reject unrecognized values.
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
type: string
kind:
description: |-
Kind is a string value representing the REST resource this object represents.
Servers may infer this from the endpoint the client submits requests to.
Cannot be updated.
In CamelCase.
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
type: string
metadata:
type: object
spec:
description: CronHotBackupSpec defines the desired state of CronHotBackup
properties:
failedHotBackupsHistoryLimit:
default: 3
description: The number of failed finished hot backups to retain.
format: int32
minimum: 0
type: integer
hotBackupTemplate:
description: Specifies the hot backup that will be created when executing
a CronHotBackup.
properties:
metadata:
description: Standard object's metadata of the hot backups created
from this template.
type: object
x-kubernetes-preserve-unknown-fields: true
spec:
description: Specification of the desired behavior of the hot
backup.
properties:
bucketURI:
description: |-
URL of the bucket to download HotBackup folders.
AWS S3, GCP Bucket and Azure Blob storage buckets are supported.
Example bucket URIs:
- AWS S3 -> s3://bucket-name/path/to/folder
- GCP Bucket -> gs://bucket-name/path/to/folder
- Azure Blob -> azblob://bucket-name/path/to/folder
type: string
hazelcastResourceName:
description: HazelcastResourceName defines the name of the
Hazelcast resource
type: string
secret:
description: secret is a deprecated alias for secretName.
type: string
secretName:
description: Name of the secret with credentials for cloud
providers.
type: string
required:
- hazelcastResourceName
type: object
required:
- spec
type: object
schedule:
description: "Schedule contains a crontab-like expression that defines
the schedule in which HotBackup will be started.\nIf the Schedule
is empty the HotBackup will start only once when applied.\n---\nSeveral
pre-defined schedules in place of a cron expression can be used.\n\tEntry
\ | Description |
Equivalent To\n\t----- | ----------- |
-------------\n\t@yearly (or @annually) | Run once a year, midnight,
Jan. 1st | 0 0 1 1 *\n\t@monthly | Run once
a month, midnight, first of month | 0 0 1 * *\n\t@weekly |
Run once a week, midnight between Sat/Sun | 0 0 * * 0\n\t@daily
(or @midnight) | Run once a day, midnight | 0
0 * * *\n\t@hourly | Run once an hour, beginning
of hour | 0 * * * *"
minLength: 1
type: string
successfulHotBackupsHistoryLimit:
default: 5
description: The number of successful finished hot backups to retain.
format: int32
minimum: 0
type: integer
suspend:
default: false
description: When true, CronHotBackup will stop creating HotBackup
CRs until it is disabled
type: boolean
required:
- hotBackupTemplate
- schedule
type: object
status:
description: CronHotBackupStatus defines the observed state of CronHotBackup
type: object
required:
- spec
type: object
served: true
storage: true
subresources:
status: {}
status:
acceptedNames:
kind: ""
plural: ""
conditions: null
storedVersions: null
Loading

0 comments on commit 113cf17

Please sign in to comment.