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

fix: for Red Hat community prod operators repo we need lower K8s to be compatible with all Openshift versions #170

Merged
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
11 changes: 11 additions & 0 deletions operator/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,17 @@ bundle: kustomize operator-sdk ## Generate bundle manifests and metadata, then v
ls -al bundle/
ls -al bundle/manifests
ls -al bundle/metadata
ls -al bundle/metadata/annotations.yaml
# -------------------
echo 'before adding the annotation required for red hat community prod repo'
cat bundle/metadata/annotations.yaml
$(eval MYYQEXPR2 := '.annotations."com.redhat.openshift.versions"="v4.1"')
echo ${MYYQEXPR2}
yq eval --exit-status ${MYYQEXPR2} bundle/metadata/annotations.yaml > foo.yaml
mv foo.yaml bundle/metadata/annotations.yaml
echo 'after adding the annotation required for red hat community prod repo'
cat bundle/metadata/annotations.yaml
# -------------------


.PHONY: bundle-build
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ spec:
- email: [email protected]
name: Padmanabha V Seshadri
maturity: alpha
minKubeVersion: 1.22.0
minKubeVersion: 1.13.0
provider:
name: Konveyor
url: https://konveyor.io
Expand Down
Loading