Ansible hooks do not work with local subscription
Issue
Ansible hooks are not triggered when using a local subscription.
Sample of a local subscription like this one, where spec.placement.local: true:
apiVersion: apps.open-cluster-management.io/v1
kind: Subscription
metadata:
name: sub-rhacm-gitops-demo
namespace: hello-openshift
annotations:
apps.open-cluster-management.io/github-path: myapp
apps.open-cluster-management.io/github-branch: master
spec:
hooksecretref:
name: toweraccess
channel: rhacm-gitops-demo/ch-rhacm-gitops-demo
placement:
local: true
Environment
- Red Hat Advanced Cluster Management 2.1
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.