Skip to content
This repository has been archived by the owner on Apr 19, 2023. It is now read-only.

v1.8.0 #167

Merged
merged 2 commits into from
Aug 30, 2021
Merged

v1.8.0 #167

merged 2 commits into from
Aug 30, 2021

Conversation

jackdelahunt
Copy link
Contributor

@jackdelahunt jackdelahunt commented Aug 4, 2021

Description

This pr updates AMO to 1.8.0. In this update we have updated the image used by prometheus, and fixed a bug relating to grafana not creating a service account when installed locally.

JIRA

https://issues.redhat.com/browse/MGDAPI-2372

Verification

  • Follow the steps in the updated README to install AMO locally.
  • Verify prometheus operator is using the image quay.io/openshift-release-dev/ocp-v4.0-art-dev@sha256:19ecf8f3cb62545bc81eeddd3ef8adc105ec5bad5538ee556aade7eb8f9d6dbf
  • Verify all expected pods are created and working

@jackdelahunt jackdelahunt changed the title WIP: Prometheus image bump WIP: v1.7.0 Aug 10, 2021
@jackdelahunt jackdelahunt changed the title WIP: v1.7.0 v1.7.0 Aug 12, 2021
Comment on lines +192 to +202
value, exist := os.LookupEnv("LOCAL_INSTALL")
if exist {
// If local install is true then do not skip service account creation
if value == "True" {
return "False"
} else {
return "True"
}
}

return "False"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

btw: in the version of operatorSDK that is used here currently, there is an env var that can be used to check if it's running locally, see:
https://github.com/integr8ly/application-monitoring-operator/blob/master/vendor/github.com/operator-framework/operator-sdk/pkg/k8sutil/k8sutil.go#L183

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I just realized that if we rely on the env var that I reference in the comment above, it will break whenever newer operator-sdk is used, so ignore this.
There are better ways to check if it's running locally, e.g.:
https://github.com/integr8ly/integreatly-operator/blob/master/pkg/resources/k8s/k8sutil.go#L26-L39
but for now, we can leave it as is.

README.md Outdated Show resolved Hide resolved
@jackdelahunt jackdelahunt changed the title v1.7.0 v1.8.0 Aug 25, 2021
@jjkiely
Copy link

jjkiely commented Aug 30, 2021

Followed the verification steps, prometheus operator image is correct and all pods are created and working

/lgtm

@openshift-ci
Copy link

openshift-ci bot commented Aug 30, 2021

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: matskiv
To complete the pull request process, please assign grdryn after the PR has been reviewed.
You can assign the PR to them by writing /assign @grdryn in a comment when ready.

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants