Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions api/v1alpha1/capoperator_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,8 @@ type MaxConcurrentReconciles struct {
Domain string `json:"domain,omitempty"`
// Maximum number of concurrent reconciles for the cluster domain
ClusterDomain string `json:"clusterDomain,omitempty"`
// Maximum number of concurrent reconciles for the subscription
Subscription string `json:"subscription,omitempty"`
}

type VersionMonitoring struct {
Expand Down
1 change: 1 addition & 0 deletions chart/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ Helm chart to deploy CAP Operator https://sap.github.io/cap-operator/
| controller.maxConcurrentReconciles.capTenantOperation | string | `""` | The maximum number of concurrent reconciles (e.g. "10") for the cap tenant operation |
| controller.maxConcurrentReconciles.domain | string | `""` | The maximum number of concurrent reconciles (e.g. "1") for the domain |
| controller.maxConcurrentReconciles.clusterDomain | string | `""` | The maximum number of concurrent reconciles (e.g. "1") for the cluster domain |
| controller.maxConcurrentReconciles.subscription | string | `""` | The maximum number of concurrent reconciles (e.g. "10") for the subscription |
| controller.versionMonitoring.prometheusAddress | string | `""` | The URL of the Prometheus server from which metrics related to managed application versions can be queried |
| controller.versionMonitoring.metricsEvaluationInterval | string | `"1h"` | The duration (example 2h) after which versions are evaluated for deletion; based on specified workload metrics |
| controller.versionMonitoring.promClientAcquireRetryDelay | string | `"1h"` | The duration (example 10m) to wait before retrying to acquire Prometheus client and verify connection, after a failed attempt |
Expand Down
4 changes: 4 additions & 0 deletions chart/templates/controller-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,10 @@ spec:
- name: MAX_CONCURRENT_RECONCILES_CLUSTER_DOMAIN
value: "{{ .clusterDomain }}"
{{- end }}
{{- if .subscription }}
- name: MAX_CONCURRENT_RECONCILES_SUBSCRIPTION
value: "{{ .subscription }}"
{{- end }}
{{- end }}
{{- with .Values.controller.versionMonitoring }}
{{- if .prometheusAddress }}
Expand Down
2 changes: 2 additions & 0 deletions chart/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,8 @@ controller:
domain: ""
# -- The maximum number of concurrent reconciles (e.g. "1") for the cluster domain
clusterDomain: ""
# -- The maximum number of concurrent reconciles (e.g. "10") for the subscription
subscription: ""
versionMonitoring:
# -- The URL of the Prometheus server from which metrics related to managed application versions can be queried
prometheusAddress: ""
Expand Down
2 changes: 2 additions & 0 deletions config/crd/operator.sme.sap.com_capoperators.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -498,6 +498,8 @@ spec:
type: string
domain:
type: string
subscription:
type: string
type: object
nodeSelector:
additionalProperties:
Expand Down
Loading