Skip to content

Commit

Permalink
on push: make
Browse files Browse the repository at this point in the history
  • Loading branch information
cblecker committed Mar 8, 2021
1 parent c2891ae commit de2eb69
Show file tree
Hide file tree
Showing 3 changed files with 75 additions and 0 deletions.
25 changes: 25 additions & 0 deletions hack/00-osd-managed-cluster-config-integration.yaml.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -4628,6 +4628,31 @@ objects:
applyMode: AlwaysApply
patch: '{"spec":{"channel":"fast-4.9"}}'
patchType: merge
- 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-channel-patch-nightly
spec:
clusterDeploymentSelector:
matchLabels:
api.openshift.com/managed: 'true'
matchExpressions:
- key: api.openshift.com/channel-group
operator: In
values:
- nightly
resourceApplyMode: Sync
patches:
- apiVersion: config.openshift.io/v1
kind: ClusterVersion
name: version
applyMode: AlwaysApply
patch: '{"spec":{"channel":""}}'
patchType: merge
- apiVersion: hive.openshift.io/v1
kind: SelectorSyncSet
metadata:
Expand Down
25 changes: 25 additions & 0 deletions hack/00-osd-managed-cluster-config-production.yaml.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -4628,6 +4628,31 @@ objects:
applyMode: AlwaysApply
patch: '{"spec":{"channel":"fast-4.9"}}'
patchType: merge
- 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-channel-patch-nightly
spec:
clusterDeploymentSelector:
matchLabels:
api.openshift.com/managed: 'true'
matchExpressions:
- key: api.openshift.com/channel-group
operator: In
values:
- nightly
resourceApplyMode: Sync
patches:
- apiVersion: config.openshift.io/v1
kind: ClusterVersion
name: version
applyMode: AlwaysApply
patch: '{"spec":{"channel":""}}'
patchType: merge
- apiVersion: hive.openshift.io/v1
kind: SelectorSyncSet
metadata:
Expand Down
25 changes: 25 additions & 0 deletions hack/00-osd-managed-cluster-config-stage.yaml.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -4628,6 +4628,31 @@ objects:
applyMode: AlwaysApply
patch: '{"spec":{"channel":"fast-4.9"}}'
patchType: merge
- 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-channel-patch-nightly
spec:
clusterDeploymentSelector:
matchLabels:
api.openshift.com/managed: 'true'
matchExpressions:
- key: api.openshift.com/channel-group
operator: In
values:
- nightly
resourceApplyMode: Sync
patches:
- apiVersion: config.openshift.io/v1
kind: ClusterVersion
name: version
applyMode: AlwaysApply
patch: '{"spec":{"channel":""}}'
patchType: merge
- apiVersion: hive.openshift.io/v1
kind: SelectorSyncSet
metadata:
Expand Down

0 comments on commit de2eb69

Please sign in to comment.