feat: add serviceAccountName field to HelmRelease generated to by sylva-units-operator

Objective

The idea behind this merge request is to have to the possibility to add serviceAccountName field in sylva-units HelmRelease generated by the operator.

Tests

CAPD bootstrap locally Ok

On sylva-units-operator resource when run kubectl explain

kubectl explain sur.spec | grep -A3 "serviceAccountName" 
  serviceAccountName	<string>
    ServiceAccountName is the name of the ServiceAccount to use for reconciling
    the HelmRelease.
    If not specified, the default ServiceAccount will be used.

On sylva-units-operator resource when deployed

kubectl -n sylva-system get sur sylva-units -o yaml | grep "serviceAccountName" 
  serviceAccountName: flux-reconciler

On sylva-units HelmRelease resource generated by the operator

kubectl -n sylva-system get hr sylva-units -o yaml | grep "serviceAccountName" 
  serviceAccountName: flux-reconciler
Edited by Oumar Ballo

Merge request reports

Loading