How add annotations to ARC listeners? #2901
-
In latest v0.5.0 version was added option to monitor behavior of runner scale set. How can I add required annotations to listener pods using provided Helm charts? Currently no annotations are inherited. apiVersion: v1
kind: Pod
metadata:
creationTimestamp: "2023-09-15T09:26:28Z"
labels:
actions.github.com/organization: HASH
actions.github.com/scale-set-name: general-standard
actions.github.com/scale-set-namespace: scale-set
app.kubernetes.io/component: runner-scale-set-listener
app.kubernetes.io/part-of: gha-runner-scale-set
app.kubernetes.io/version: 0.5.0
runner-spec-hash: HASH
name: general-standard-HASH-listener
namespace: scale-set |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 10 replies
-
You can do that in https://github.com/actions/actions-runner-controller/releases/tag/gha-runner-scale-set-0.6.0 which came out today. |
Beta Was this translation helpful? Give feedback.
-
@krohmag you don't need to provide the entire spec. The way it works is if the field is set by us, and the template field you provided is not empty, we will override our default value. Otherwise, we will just apply the value from the spec. @wburnett are you talking about the annotation on the |
Beta Was this translation helpful? Give feedback.
I think this is related to the nil map bug in annotations that is fixed in this PR.