Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
90000c5
Added support for resource requirements in GitOpsService
anandf Aug 8, 2025
6c230e2
Added initial version of e2e test which needs improvment and addition…
anandf Sep 16, 2025
fbdc05b
Added generated file
anandf Sep 16, 2025
87327e1
Added missing changes for crds and manifests
anandf Sep 16, 2025
7587313
[GITOPS-7743]: Cluster, gitoops-backend are not getting cleanedup whe…
akhilnittala Sep 17, 2025
ea681da
Merge branch 'master' into test_changes_2
akhilnittala Sep 17, 2025
b537dcb
[GITOPS-7743]: Cluster, gitoops-backend are not getting cleanedup whe…
akhilnittala Sep 17, 2025
c6ffed5
Resource requests and limits configurable
akhilnittala Sep 17, 2025
360bdba
Resource requests and limits configurable
akhilnittala Sep 18, 2025
1016289
Resource requests and limits configurable
akhilnittala Sep 18, 2025
ac44393
Resource requests and limits configurable
akhilnittala Sep 18, 2025
2c259c6
Resource requests and limits configurable
akhilnittala Sep 18, 2025
1f43602
Resource requests and limits configurable
akhilnittala Sep 19, 2025
3fe27d8
Resource requests and limits configurable
akhilnittala Sep 19, 2025
05c5764
Resource requests and limits configurable
akhilnittala Sep 19, 2025
c6e49f3
Resource requests and limits configurable
akhilnittala Sep 19, 2025
5bbd786
Resource requests and limits configurable
akhilnittala Sep 19, 2025
7b11d5c
Resource requests and limits configurable
akhilnittala Sep 22, 2025
e5a8fcd
Resource requests and limits configurable
akhilnittala Sep 23, 2025
0ac9909
Merge branch 'master' into test_changes_2
akhilnittala Sep 24, 2025
87bf422
Resource requests and limits configurable
akhilnittala Sep 24, 2025
b139e6e
Resource requests and limits configurable
akhilnittala Sep 24, 2025
10123f4
Merge branch 'master' into test_changes_2
akhilnittala Sep 25, 2025
2b9b19a
Resource requests and limits configurable
akhilnittala Sep 26, 2025
ad50169
Merge branch 'master' into test_changes_2
akhilnittala Sep 29, 2025
652f9c8
Resource requests and limits configurable
akhilnittala Oct 1, 2025
0198d6e
Resource requests and limits configurable
akhilnittala Oct 1, 2025
4d2914b
Resource requests and limits configurable
akhilnittala Oct 1, 2025
248bd84
Merge branch 'master' into test_changes_2
akhilnittala Oct 6, 2025
4b8ec46
Merge branch 'master' into test_changes_2
akhilnittala Oct 6, 2025
91bdf9a
Merge branch 'master' into test_changes_2
akhilnittala Oct 6, 2025
2afb6cf
Merge branch 'master' into test_changes_2
akhilnittala Oct 7, 2025
0295f0a
Merge branch 'master' into test_changes_2
akhilnittala Oct 9, 2025
fa4c7c2
Resource requests and limits configurable
akhilnittala Oct 13, 2025
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
22 changes: 22 additions & 0 deletions api/v1alpha1/gitopsservice_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,28 @@ type GitopsServiceSpec struct {
Tolerations []corev1.Toleration `json:"tolerations,omitempty"`
// NodeSelector is a map of key value pairs used for node selection in the default workloads
NodeSelector map[string]string `json:"nodeSelector,omitempty"`
// ConsolePlugin defines the Resource configuration for the Console Plugin components
ConsolePlugin *ConsolePluginStruct `json:"consolePlugin,omitempty"`
}

// ConsolePluginStruct defines the resource configuration for the Console Plugin components
type ConsolePluginStruct struct {
// Backend defines the resource requests and limits for the backend service
Backend *BackendStruct `json:"backend,omitempty"`
// GitopsPlugin defines the resource requests and limits for the gitops plugin service
GitopsPlugin *GitopsPluginStruct `json:"gitopsPlugin,omitempty"`
}

// BackendStruct defines the resource configuration for the Backend components
type BackendStruct struct {
// Resources defines the resource requests and limits for the backend service
Resources *corev1.ResourceRequirements `json:"resources,omitempty"`
}

// GitopsPluginStruct defines the resource configuration for the Gitops Plugin components
type GitopsPluginStruct struct {
// Resources defines the resource requests and limits for the gitops plugin service
Resources *corev1.ResourceRequirements `json:"resources,omitempty"`
}

// GitopsServiceStatus defines the observed state of GitopsService
Expand Down
70 changes: 70 additions & 0 deletions api/v1alpha1/zz_generated.deepcopy.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ metadata:
capabilities: Deep Insights
console.openshift.io/plugins: '["gitops-plugin"]'
containerImage: quay.io/redhat-developer/gitops-operator
createdAt: "2025-09-30T08:46:55Z"
createdAt: "2025-10-01T09:01:02Z"
description: Enables teams to adopt GitOps principles for managing cluster configurations
and application delivery across hybrid multi-cluster Kubernetes environments.
features.operators.openshift.io/disconnected: "true"
Expand Down
135 changes: 135 additions & 0 deletions bundle/manifests/pipelines.openshift.io_gitopsservices.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,141 @@ spec:
spec:
description: GitopsServiceSpec defines the desired state of GitopsService
properties:
consolePlugin:
description: ConsolePlugin defines the Resource configuration for
the Console Plugin components
properties:
backend:
description: Backend defines the resource requests and limits
for the backend service
properties:
resources:
description: Resources defines the resource requests and limits
for the backend service
properties:
claims:
description: |-
Claims lists the names of resources, defined in spec.resourceClaims,
that are used by this container.

This is an alpha field and requires enabling the
DynamicResourceAllocation feature gate.

This field is immutable. It can only be set for containers.
items:
description: ResourceClaim references one entry in PodSpec.ResourceClaims.
properties:
name:
description: |-
Name must match the name of one entry in pod.spec.resourceClaims of
the Pod where this field is used. It makes that resource available
inside a container.
type: string
request:
description: |-
Request is the name chosen for a request in the referenced claim.
If empty, everything from the claim is made available, otherwise
only the result of this request.
type: string
required:
- name
type: object
type: array
x-kubernetes-list-map-keys:
- name
x-kubernetes-list-type: map
limits:
additionalProperties:
anyOf:
- type: integer
- type: string
pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
x-kubernetes-int-or-string: true
description: |-
Limits describes the maximum amount of compute resources allowed.
More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
type: object
requests:
additionalProperties:
anyOf:
- type: integer
- type: string
pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
x-kubernetes-int-or-string: true
description: |-
Requests describes the minimum amount of compute resources required.
If Requests is omitted for a container, it defaults to Limits if that is explicitly specified,
otherwise to an implementation-defined value. Requests cannot exceed Limits.
More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
type: object
type: object
type: object
gitopsPlugin:
description: GitopsPlugin defines the resource requests and limits
for the gitops plugin service
properties:
resources:
description: Resources defines the resource requests and limits
for the gitops plugin service
properties:
claims:
description: |-
Claims lists the names of resources, defined in spec.resourceClaims,
that are used by this container.

This is an alpha field and requires enabling the
DynamicResourceAllocation feature gate.

This field is immutable. It can only be set for containers.
items:
description: ResourceClaim references one entry in PodSpec.ResourceClaims.
properties:
name:
description: |-
Name must match the name of one entry in pod.spec.resourceClaims of
the Pod where this field is used. It makes that resource available
inside a container.
type: string
request:
description: |-
Request is the name chosen for a request in the referenced claim.
If empty, everything from the claim is made available, otherwise
only the result of this request.
type: string
required:
- name
type: object
type: array
x-kubernetes-list-map-keys:
- name
x-kubernetes-list-type: map
limits:
additionalProperties:
anyOf:
- type: integer
- type: string
pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
x-kubernetes-int-or-string: true
description: |-
Limits describes the maximum amount of compute resources allowed.
More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
type: object
requests:
additionalProperties:
anyOf:
- type: integer
- type: string
pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
x-kubernetes-int-or-string: true
description: |-
Requests describes the minimum amount of compute resources required.
If Requests is omitted for a container, it defaults to Limits if that is explicitly specified,
otherwise to an implementation-defined value. Requests cannot exceed Limits.
More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
type: object
type: object
type: object
type: object
nodeSelector:
additionalProperties:
type: string
Expand Down
Loading