opendatahub-io / opendatahub-operator

Open Data Hub operator to manage ODH component integrations
https://opendatahub.io
Apache License 2.0
59 stars 128 forks source link

chore: get operator namespace from deployment as env variable #1139

Closed zdtsw closed 1 month ago

zdtsw commented 1 month ago

Description

this reduce the call to read local /var/ file if it is already there this is the env variable we already used in makefile/readme

How Has This Been Tested?

local build: quay.io/wenzhou/opendatahub-operator-catalog:v2.15.84

debug shows operatorNS got the value openshift-operator on this local build.

Screenshot or short clip

Merge criteria

openshift-ci[bot] commented 1 month ago

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: lburgazzoli, VaishnaviHire

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

The pull request process is described here

Needs approval from an approver in each of these files: - ~~[OWNERS](https://github.com/opendatahub-io/opendatahub-operator/blob/incubation/OWNERS)~~ [VaishnaviHire,lburgazzoli] Approvers can indicate their approval by writing `/approve` in a comment Approvers can cancel approval by writing `/approve cancel` in a comment