Skip to content

Commit

Permalink
operator infinispan (2.4.8)
Browse files Browse the repository at this point in the history
  • Loading branch information
fax4ever authored Dec 20, 2024
1 parent 9186bce commit d81f481
Show file tree
Hide file tree
Showing 9 changed files with 4,090 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
apiVersion: v1
data:
controller_manager_config.yaml: |
apiVersion: controller-runtime.sigs.k8s.io/v1alpha1
kind: ControllerManagerConfig
health:
healthProbeBindAddress: :8081
metrics:
bindAddress: 127.0.0.1:8080
webhook:
port: 9443
leaderElection:
leaderElect: true
resourceName: 632512e4.infinispan.org
kind: ConfigMap
metadata:
labels:
app.kubernetes.io/name: infinispan-operator
name: infinispan-operator-manager-config

Large diffs are not rendered by default.

136 changes: 136 additions & 0 deletions operators/infinispan/2.4.8/manifests/infinispan.org_backups.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,136 @@
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
cert-manager.io/inject-ca-from: infinispan-operator-system/infinispan-operator-serving-cert
controller-gen.kubebuilder.io/version: v0.14.0
creationTimestamp: null
labels:
app.kubernetes.io/name: infinispan-operator
name: backups.infinispan.org
spec:
group: infinispan.org
names:
kind: Backup
listKind: BackupList
plural: backups
singular: backup
scope: Namespaced
versions:
- name: v2alpha1
schema:
openAPIV3Schema:
description: Backup is the Schema for the backups 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: BackupSpec defines the desired state of Backup
properties:
cluster:
description: Infinispan cluster name
type: string
container:
description: InfinispanContainerSpec specify resource requirements
per container
properties:
cliExtraJvmOpts:
type: string
cpu:
type: string
extraJvmOpts:
type: string
memory:
type: string
routerExtraJvmOpts:
type: string
type: object
resources:
properties:
cacheConfigs:
description: Deprecated and to be removed on subsequent release.
Use .Templates instead.
items:
type: string
type: array
caches:
items:
type: string
type: array
counters:
items:
type: string
type: array
protoSchemas:
items:
type: string
type: array
scripts:
description: Deprecated and to be removed on subsequent release.
Use .Tasks instead.
items:
type: string
type: array
tasks:
items:
type: string
type: array
templates:
items:
type: string
type: array
type: object
volume:
properties:
storage:
type: string
storageClassName:
description: Names the storage class object for persistent volume
claims.
type: string
type: object
required:
- cluster
type: object
status:
description: BackupStatus defines the observed state of Backup
properties:
phase:
description: Current phase of the backup operation
type: string
pvc:
description: The name of the created PersistentVolumeClaim used to
store the backup
type: string
reason:
description: Reason indicates the reason for any backup related failures.
type: string
required:
- phase
type: object
type: object
served: true
storage: true
subresources:
status: {}
status:
acceptedNames:
kind: ""
plural: ""
conditions: null
storedVersions: null
92 changes: 92 additions & 0 deletions operators/infinispan/2.4.8/manifests/infinispan.org_batches.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,92 @@
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
cert-manager.io/inject-ca-from: infinispan-operator-system/infinispan-operator-serving-cert
controller-gen.kubebuilder.io/version: v0.14.0
creationTimestamp: null
labels:
app.kubernetes.io/name: infinispan-operator
name: batches.infinispan.org
spec:
group: infinispan.org
names:
kind: Batch
listKind: BatchList
plural: batches
singular: batch
scope: Namespaced
versions:
- name: v2alpha1
schema:
openAPIV3Schema:
description: Batch is the Schema for the batches 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: BatchSpec defines the desired state of Batch
properties:
cluster:
description: Infinispan cluster name
type: string
config:
description: Batch string to be executed
type: string
configMap:
description: Name of the ConfigMap containing the batch and resource
files to be executed
type: string
container:
description: Specify resource requirements per container
properties:
cpu:
type: string
memory:
type: string
type: object
required:
- cluster
type: object
status:
description: BatchStatus defines the observed state of Batch
properties:
clusterUID:
description: The UUID of the Infinispan instance that the Batch is
associated with
type: string
phase:
description: Current phase of the batch operation
type: string
reason:
description: The reason for any batch related failures
type: string
required:
- phase
type: object
type: object
served: true
storage: true
subresources:
status: {}
status:
acceptedNames:
kind: ""
plural: ""
conditions: null
storedVersions: null
Loading

0 comments on commit d81f481

Please sign in to comment.