Skip to content

Commit

Permalink
Release ndmspc-v0.3.3
Browse files Browse the repository at this point in the history
Signed-off-by: ndmspc <[email protected]>
  • Loading branch information
ndmspc committed Oct 11, 2023
1 parent e1ebbb5 commit d2ccc65
Show file tree
Hide file tree
Showing 7 changed files with 584 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,156 @@
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
creationTimestamp: null
name: ndmspcconfigs.apps.ndmspc.io
spec:
group: apps.ndmspc.io
names:
kind: NdmSpcConfig
listKind: NdmSpcConfigList
plural: ndmspcconfigs
singular: ndmspcconfig
scope: Namespaced
versions:
- name: v1alpha1
schema:
openAPIV3Schema:
description: NdmSpcConfig is the Schema for the ndmspcconfigs 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: Spec defines the desired state of NdmSpcConfig
properties:
executor:
description: ExecutorSpec defines the desired state of Executor
properties:
host:
default: executor.127.0.0.1.nip.io
description: Hostname used for ingress
type: string
image:
default: registry.gitlab.com/ndmspc/api:v0.1.1
description: Custom Executor image
type: string
type: object
executors:
default: 1
description: Desired number of Executor pods
type: integer
ndmvr:
description: NDMVR defines the desired state of Zmq2ws
properties:
host:
default: ndmvr.127.0.0.1.nip.io
description: Hostname used for ingress
type: string
image:
default: registry.gitlab.com/ndmspc/ndmvr:v0.20230424.0
description: Custom NDMVR image
type: string
type: object
salsa:
description: SalsaSpec defines the desired state of Salsa
properties:
image:
default: registry.gitlab.com/ndmspc/salsa:v0.4.12
description: Custom SALSA image
type: string
worker:
description: SALSA worker customization
properties:
resources:
description: SALSA worker resources
properties:
limits:
description: SALSA worker resources limits
properties:
cpu:
default: "1"
description: SALSA worker cpu limits
type: string
memory:
default: 2Gi
description: SALSA worker memory limits
type: string
type: object
requests:
description: SALSA worker resources requests
properties:
cpu:
default: 500m
description: SALSA worker cpu request
type: string
memory:
default: 1Gi
description: SALSA worker memory request
type: string
type: object
type: object
type: object
type: object
webapp:
description: WebAppSpec defines the desired state of WebApp
properties:
host:
default: ndmspc-web.127.0.0.1.nip.io
description: Hostname used for ingress
type: string
image:
default: registry.gitlab.com/ndmspc/react-ndmspc:v0.20230124.0
description: Custom WebApp image
type: string
type: object
webappContainerPort:
default: 8080
description: Container port used to expose WebApp (80 for nginx, 8080
for nginx-unprivileged)
type: integer
webapps:
default: 1
description: Desired number of WebApp pods
type: integer
workers:
default: 2
description: Desired number of Salsa worker pods
type: integer
zmq2ws:
description: Zmq2WsSpec defines the desired state of Zmq2ws
properties:
host:
default: zmq2ws.127.0.0.1.nip.io
description: Hostname used for ingress
type: string
image:
default: registry.gitlab.com/ndmspc/zmq2ws:v1.0.0
description: Custom Zmq2ws image
type: string
type: object
type: object
x-kubernetes-preserve-unknown-fields: true
status:
description: Status defines the observed state of NdmSpcConfig
type: object
x-kubernetes-preserve-unknown-fields: true
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,17 @@
apiVersion: v1
kind: Service
metadata:
creationTimestamp: null
labels:
control-plane: controller-manager
name: ndmspc-operator-controller-manager-metrics-service
spec:
ports:
- name: https
port: 8443
protocol: TCP
targetPort: https
selector:
control-plane: controller-manager
status:
loadBalancer: {}
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
apiVersion: v1
data:
controller_manager_config.yaml: |
apiVersion: controller-runtime.sigs.k8s.io/v1alpha1
kind: ControllerManagerConfig
health:
healthProbeBindAddress: :6789
metrics:
bindAddress: 127.0.0.1:8080
leaderElection:
leaderElect: true
resourceName: 811c9dc5.ndmspc.io
# leaderElectionReleaseOnCancel defines if the leader should step down volume
# when the Manager ends. This requires the binary to immediately end when the
# Manager is stopped, otherwise, this setting is unsafe. Setting this significantly
# speeds up voluntary leader transitions as the new leader don't have to wait
# LeaseDuration time first.
# In the default scaffold provided, the program ends immediately after
# the manager stops, so would be fine to enable this option. However,
# if you are doing or is intended to do any operation such as perform cleanups
# after the manager stops then its usage might be unsafe.
# leaderElectionReleaseOnCancel: true
kind: ConfigMap
metadata:
name: ndmspc-operator-manager-config
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
creationTimestamp: null
name: ndmspc-operator-metrics-reader
rules:
- nonResourceURLs:
- /metrics
verbs:
- get
Loading

0 comments on commit d2ccc65

Please sign in to comment.