Skip to content

Commit 61752f6

Browse files
authored
also label new licensing subscription (#2598)
Signed-off-by: Allen Li <[email protected]>
1 parent 854e681 commit 61752f6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

velero/backup/common-service/label-common-service.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -357,6 +357,7 @@ function label_subscription() {
357357
local cs_pm="ibm-common-service-operator"
358358
local cm_pm="ibm-cert-manager-operator"
359359
local lis_pm="ibm-licensing-operator-app"
360+
local new_lis_pm="ibm-licensing-operator"
360361
local lsr_pm="ibm-license-service-reporter-operator"
361362

362363
${OC} label subscriptions.operators.coreos.com $cs_pm foundationservices.cloudpak.ibm.com=subscription -n $OPERATOR_NS --overwrite=true 2>/dev/null
@@ -365,6 +366,7 @@ function label_subscription() {
365366
fi
366367
if [[ $ENABLE_LICENSING -eq 1 ]]; then
367368
${OC} label subscriptions.operators.coreos.com $lis_pm foundationservices.cloudpak.ibm.com=singleton-subscription -n $LICENSING_NAMESPACE --overwrite=true 2>/dev/null
369+
${OC} label subscriptions.operators.coreos.com $new_lis_pm foundationservices.cloudpak.ibm.com=singleton-subscription -n $LICENSING_NAMESPACE --overwrite=true 2>/dev/null
368370
fi
369371
if [[ $ENABLE_LSR -eq 1 ]]; then
370372
${OC} label subscriptions.operators.coreos.com $lsr_pm foundationservices.cloudpak.ibm.com=singleton-subscription -n $LSR_NAMESPACE --overwrite=true 2>/dev/null

0 commit comments

Comments
 (0)