Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[OSD-28074] Change Deployment SSS #665

Merged
merged 1 commit into from
Jan 30, 2025
Merged
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
124 changes: 121 additions & 3 deletions deploy/olm/syncselector-template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,124 @@ objects:
annotations:
openshift.io/node-selector: ''
name: openshift-observability-operator
- apiVersion: hive.openshift.io/v1
kind: SelectorSyncSet
metadata:
name: observability-operator-hypershift
spec:
clusterDeploymentSelector:
matchLabels:
api.openshift.com/managed: 'true'
matchExpressions:
- key: ext-hypershift.openshift.io/cluster-type
operator: In
values:
- management-cluster
- service-cluster
resourceApplyMode: Sync
resources:
- apiVersion: operators.coreos.com/v1alpha1
kind: CatalogSource
metadata:
name: observability-operator-catalog
namespace: openshift-observability-operator
spec:
displayName: Red Hat Observability Operator
image: ${REGISTRY_IMG}@${IMAGE_DIGEST}
publisher: OSD Red Hat Addons
sourceType: grpc
grpcPodConfig:
securityContextConfig: restricted
nodeSelector:
node-role.kubernetes.io: infra
tolerations:
- effect: NoSchedule
key: node-role.kubernetes.io/infra
operator: Exists
- apiVersion: operators.coreos.com/v1alpha2
kind: OperatorGroup
metadata:
name: observability-operator-og
namespace: openshift-observability-operator
- apiVersion: operators.coreos.com/v1alpha1
kind: Subscription
metadata:
name: observability-operator
namespace: openshift-observability-operator
spec:
channel: ${CHANNEL}
name: observability-operator
source: observability-operator-catalog
sourceNamespace: openshift-observability-operator
config:
resources:
limits:
cpu: ${RESOURCE_LIMIT_CPU}
memory: ${RESOURCE_LIMIT_MEMORY}
requests:
cpu: ${RESOURCE_REQUEST_CPU}
memory: ${RESOURCE_REQUEST_MEMORY}
- apiVersion: hive.openshift.io/v1
kind: SelectorSyncSet
metadata:
name: observability-operator-rhoam
spec:
clusterDeploymentSelector:
matchLabels:
api.openshift.com/addon-managed-api-service: 'true'
resourceApplyMode: Sync
resources:
- apiVersion: operators.coreos.com/v1alpha1
kind: CatalogSource
metadata:
name: observability-operator-catalog
namespace: openshift-observability-operator
spec:
displayName: Red Hat Observability Operator
image: ${REGISTRY_IMG}@${IMAGE_DIGEST}
publisher: OSD Red Hat Addons
sourceType: grpc
grpcPodConfig:
securityContextConfig: restricted
nodeSelector:
node-role.kubernetes.io: infra
tolerations:
- effect: NoSchedule
key: node-role.kubernetes.io/infra
operator: Exists
- apiVersion: operators.coreos.com/v1alpha2
kind: OperatorGroup
metadata:
name: observability-operator-og
namespace: openshift-observability-operator
- apiVersion: operators.coreos.com/v1alpha1
kind: Subscription
metadata:
name: observability-operator
namespace: openshift-observability-operator
spec:
channel: ${CHANNEL}
name: observability-operator
source: observability-operator-catalog
sourceNamespace: openshift-observability-operator
config:
resources:
limits:
cpu: ${RESOURCE_LIMIT_CPU}
memory: ${RESOURCE_LIMIT_MEMORY}
requests:
cpu: ${RESOURCE_REQUEST_CPU}
memory: ${RESOURCE_REQUEST_MEMORY}
- apiVersion: hive.openshift.io/v1
kind: SelectorSyncSet
metadata:
name: observability-operator-rhoam-int
spec:
clusterDeploymentSelector:
matchLabels:
api.openshift.com/addon-managed-api-service-internal: 'true'
resourceApplyMode: Sync
resources:
- apiVersion: operators.coreos.com/v1alpha1
kind: CatalogSource
metadata:
Expand All @@ -58,9 +176,9 @@ objects:
nodeSelector:
node-role.kubernetes.io: infra
tolerations:
- effect: NoSchedule
key: node-role.kubernetes.io/infra
operator: Exists
- effect: NoSchedule
key: node-role.kubernetes.io/infra
operator: Exists
- apiVersion: operators.coreos.com/v1alpha2
kind: OperatorGroup
metadata:
Expand Down