Ansible hooks do not work with local subscription

Solution In Progress - Updated -

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.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content