Skip to content

Commit

Permalink
Merge pull request #91 from lmilleri/update-scripts
Browse files Browse the repository at this point in the history
Update installation scripts
  • Loading branch information
lmilleri authored Dec 19, 2024
2 parents 9d24f50 + 52af8d1 commit 5a0dd42
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
3 changes: 2 additions & 1 deletion scripts/install-helpers/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,8 @@ function apply_operator_manifests() {
# Function to apply the operator manifests
function override_trustee_image() {
if [ -n "$TRUSTEE_IMAGE" ]; then
oc patch csv -n trustee-operator-system trustee-operator.v0.1.0 --type=json -p="[
CSV=$(oc get csv -n trustee-operator-system -o name -l operators.coreos.com/trustee-operator.trustee-operator-system)
oc patch -n trustee-operator-system $CSV --type=json -p="[
{
"op": "replace",
"path": "/spec/install/spec/deployments/0/spec/template/spec/containers/1/env/1/value",
Expand Down
1 change: 0 additions & 1 deletion scripts/install-helpers/subs-ga.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,3 @@ spec:
name: trustee-operator
source: redhat-operators
sourceNamespace: openshift-marketplace
startingCSV: trustee-operator.v0.1.0
1 change: 0 additions & 1 deletion scripts/install-helpers/subs-upstream.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,3 @@ spec:
name: trustee-operator
source: trustee-upstream-catalog
sourceNamespace: openshift-marketplace
startingCSV: trustee-operator.v0.1.0

0 comments on commit 5a0dd42

Please sign in to comment.