Skip to content

Commit

Permalink
operator infinispan (2.3.5)
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanemerson authored Oct 16, 2023
1 parent 8b26947 commit bf68fb8
Show file tree
Hide file tree
Showing 9 changed files with 2,711 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.

122 changes: 122 additions & 0 deletions operators/infinispan/2.3.5/manifests/infinispan.org_backups.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,122 @@
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.4.1
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: []
storedVersions: []
73 changes: 73 additions & 0 deletions operators/infinispan/2.3.5/manifests/infinispan.org_batches.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
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.4.1
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
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: []
storedVersions: []
134 changes: 134 additions & 0 deletions operators/infinispan/2.3.5/manifests/infinispan.org_caches.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,134 @@
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.4.1
creationTimestamp: null
labels:
app.kubernetes.io/name: infinispan-operator
name: caches.infinispan.org
spec:
group: infinispan.org
names:
kind: Cache
listKind: CacheList
plural: caches
singular: cache
scope: Namespaced
versions:
- name: v2alpha1
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
properties:
adminAuth:
description: Deprecated. This no longer has any effect. The operator's admin credentials are now used to perform cache operations
properties:
password:
description: Secret and key containing the admin password for authentication.
properties:
key:
description: The key of the secret to select from. Must be a valid secret key.
type: string
name:
description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?'
type: string
optional:
description: Specify whether the Secret or its key must be defined
type: boolean
required:
- key
type: object
secretName:
description: The secret that contains user credentials.
type: string
username:
description: Secret and key containing the admin username for authentication.
properties:
key:
description: The key of the secret to select from. Must be a valid secret key.
type: string
name:
description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?'
type: string
optional:
description: Specify whether the Secret or its key must be defined
type: boolean
required:
- key
type: object
type: object
clusterName:
description: Infinispan cluster name
type: string
name:
description: Name of the cache to be created. If empty ObjectMeta.Name will be used
type: string
template:
description: Cache template in XML format
type: string
templateName:
description: Name of the template to be used to create this cache
type: string
updates:
description: How updates to Cache CR template should be reconciled on the Infinispan server
properties:
strategy:
description: How updates to Cache CR template should be applied on the Infinispan server
enum:
- recreate
- retain
type: string
type: object
required:
- clusterName
type: object
status:
description: CacheStatus defines the observed state of Cache
properties:
conditions:
description: Conditions list for this cache
items:
description: CacheCondition define a condition of the cluster
properties:
message:
description: Human-readable message indicating details about last transition.
type: string
status:
description: Status is the status of the condition.
type: string
type:
description: Type is the type of the condition.
type: string
required:
- status
- type
type: object
type: array
serviceName:
description: Deprecated. This is no longer set. Service name that exposes the cache inside the cluster
type: string
type: object
type: object
served: true
storage: true
subresources:
status: {}
status:
acceptedNames:
kind: ""
plural: ""
conditions: []
storedVersions: []
Loading

0 comments on commit bf68fb8

Please sign in to comment.