Skip to content

Commit

Permalink
on push: make
Browse files Browse the repository at this point in the history
  • Loading branch information
mmazur committed Dec 6, 2024
1 parent bb3f9df commit 9bd1b34
Show file tree
Hide file tree
Showing 3 changed files with 126 additions and 0 deletions.
42 changes: 42 additions & 0 deletions hack/00-osd-managed-cluster-config-integration.yaml.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -26890,6 +26890,48 @@ objects:
serviceAccountName: capa-annotator
automountServiceAccountToken: true
restartPolicy: Never
- apiVersion: hive.openshift.io/v1
kind: SelectorSyncSet
metadata:
labels:
managed.openshift.io/gitHash: ${IMAGE_TAG}
managed.openshift.io/gitRepoName: ${REPO_NAME}
managed.openshift.io/osd: 'true'
name: osd-26887-deamonset-tolerations
spec:
clusterDeploymentSelector:
matchLabels:
api.openshift.com/managed: 'true'
matchExpressions:
- key: hive.openshift.io/version-major-minor
operator: NotIn
values:
- '4.6'
- '4.7'
- '4.8'
- '4.9'
- '4.10'
- '4.11'
- '4.12'
- '4.13'
- '4.14'
- '4.15'
- '4.16'
- '4.17'
resourceApplyMode: Sync
patches:
- apiVersion: operator.openshift.io/v1
kind: DNS
name: default
applyMode: AlwaysApply
patch: "{\n \"spec\": {\n \"nodePlacement\": {\n \"tolerations\"\
: [\n {\n \"effect\": \"NoSchedule\",\n \
\ \"key\": \"node-role.kubernetes.io/infra\",\n \
\ \"operator\": \"Exists\"\n },\n {\n \
\ \"effect\": \"NoSchedule\",\n \"key\": \"node-role.kubernetes.io/master\"\
,\n \"operator\": \"Exists\"\n }\n \
\ ]\n }\n}\n"
patchType: merge
- apiVersion: hive.openshift.io/v1
kind: SelectorSyncSet
metadata:
Expand Down
42 changes: 42 additions & 0 deletions hack/00-osd-managed-cluster-config-production.yaml.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -26890,6 +26890,48 @@ objects:
serviceAccountName: capa-annotator
automountServiceAccountToken: true
restartPolicy: Never
- apiVersion: hive.openshift.io/v1
kind: SelectorSyncSet
metadata:
labels:
managed.openshift.io/gitHash: ${IMAGE_TAG}
managed.openshift.io/gitRepoName: ${REPO_NAME}
managed.openshift.io/osd: 'true'
name: osd-26887-deamonset-tolerations
spec:
clusterDeploymentSelector:
matchLabels:
api.openshift.com/managed: 'true'
matchExpressions:
- key: hive.openshift.io/version-major-minor
operator: NotIn
values:
- '4.6'
- '4.7'
- '4.8'
- '4.9'
- '4.10'
- '4.11'
- '4.12'
- '4.13'
- '4.14'
- '4.15'
- '4.16'
- '4.17'
resourceApplyMode: Sync
patches:
- apiVersion: operator.openshift.io/v1
kind: DNS
name: default
applyMode: AlwaysApply
patch: "{\n \"spec\": {\n \"nodePlacement\": {\n \"tolerations\"\
: [\n {\n \"effect\": \"NoSchedule\",\n \
\ \"key\": \"node-role.kubernetes.io/infra\",\n \
\ \"operator\": \"Exists\"\n },\n {\n \
\ \"effect\": \"NoSchedule\",\n \"key\": \"node-role.kubernetes.io/master\"\
,\n \"operator\": \"Exists\"\n }\n \
\ ]\n }\n}\n"
patchType: merge
- apiVersion: hive.openshift.io/v1
kind: SelectorSyncSet
metadata:
Expand Down
42 changes: 42 additions & 0 deletions hack/00-osd-managed-cluster-config-stage.yaml.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -26890,6 +26890,48 @@ objects:
serviceAccountName: capa-annotator
automountServiceAccountToken: true
restartPolicy: Never
- apiVersion: hive.openshift.io/v1
kind: SelectorSyncSet
metadata:
labels:
managed.openshift.io/gitHash: ${IMAGE_TAG}
managed.openshift.io/gitRepoName: ${REPO_NAME}
managed.openshift.io/osd: 'true'
name: osd-26887-deamonset-tolerations
spec:
clusterDeploymentSelector:
matchLabels:
api.openshift.com/managed: 'true'
matchExpressions:
- key: hive.openshift.io/version-major-minor
operator: NotIn
values:
- '4.6'
- '4.7'
- '4.8'
- '4.9'
- '4.10'
- '4.11'
- '4.12'
- '4.13'
- '4.14'
- '4.15'
- '4.16'
- '4.17'
resourceApplyMode: Sync
patches:
- apiVersion: operator.openshift.io/v1
kind: DNS
name: default
applyMode: AlwaysApply
patch: "{\n \"spec\": {\n \"nodePlacement\": {\n \"tolerations\"\
: [\n {\n \"effect\": \"NoSchedule\",\n \
\ \"key\": \"node-role.kubernetes.io/infra\",\n \
\ \"operator\": \"Exists\"\n },\n {\n \
\ \"effect\": \"NoSchedule\",\n \"key\": \"node-role.kubernetes.io/master\"\
,\n \"operator\": \"Exists\"\n }\n \
\ ]\n }\n}\n"
patchType: merge
- apiVersion: hive.openshift.io/v1
kind: SelectorSyncSet
metadata:
Expand Down

0 comments on commit 9bd1b34

Please sign in to comment.