Add unit tests for KubernetesCluster, Tenant, ServiceInstance, and RegisterClusterHandler
- Implement tests for KubernetesCluster including registration, connectivity status, and error handling. - Create tests for Tenant creation, member management, and status changes. - Add tests for ServiceInstance provisioning and state management. - Introduce RegisterClusterHandler tests to validate registration requests and error scenarios. - Set up project files for new test projects with necessary dependencies.
This commit is contained in:
84
Charts/entkube/values.yaml
Normal file
84
Charts/entkube/values.yaml
Normal file
@@ -0,0 +1,84 @@
|
||||
# Default values for EntKube Helm chart
|
||||
|
||||
replicaCount: 1
|
||||
|
||||
image:
|
||||
registry: gitea.example.com
|
||||
pullPolicy: IfNotPresent
|
||||
tag: "" # Defaults to appVersion
|
||||
|
||||
imagePullSecrets: []
|
||||
nameOverride: ""
|
||||
fullnameOverride: ""
|
||||
|
||||
# Service configurations per microservice
|
||||
web:
|
||||
enabled: true
|
||||
replicaCount: 1
|
||||
image:
|
||||
repository: entkube/web
|
||||
port: 5000
|
||||
resources:
|
||||
requests:
|
||||
cpu: 100m
|
||||
memory: 128Mi
|
||||
limits:
|
||||
cpu: 500m
|
||||
memory: 512Mi
|
||||
|
||||
clusters:
|
||||
enabled: true
|
||||
replicaCount: 1
|
||||
image:
|
||||
repository: entkube/clusters
|
||||
port: 5010
|
||||
resources:
|
||||
requests:
|
||||
cpu: 100m
|
||||
memory: 128Mi
|
||||
limits:
|
||||
cpu: 500m
|
||||
memory: 256Mi
|
||||
|
||||
provisioning:
|
||||
enabled: true
|
||||
replicaCount: 1
|
||||
image:
|
||||
repository: entkube/provisioning
|
||||
port: 5020
|
||||
resources:
|
||||
requests:
|
||||
cpu: 100m
|
||||
memory: 128Mi
|
||||
limits:
|
||||
cpu: 500m
|
||||
memory: 256Mi
|
||||
|
||||
identity:
|
||||
enabled: true
|
||||
replicaCount: 1
|
||||
image:
|
||||
repository: entkube/identity
|
||||
port: 5030
|
||||
resources:
|
||||
requests:
|
||||
cpu: 100m
|
||||
memory: 128Mi
|
||||
limits:
|
||||
cpu: 500m
|
||||
memory: 256Mi
|
||||
|
||||
# Ingress configuration — select your strategy
|
||||
ingress:
|
||||
enabled: true
|
||||
provider: traefik # Options: traefik | istio | gatewayapi
|
||||
host: entkube.example.com
|
||||
tls:
|
||||
enabled: true
|
||||
secretName: entkube-tls
|
||||
annotations: {}
|
||||
|
||||
serviceAccount:
|
||||
create: true
|
||||
name: ""
|
||||
annotations: {}
|
||||
Reference in New Issue
Block a user