GoogleCloudPlatform / marketplace-k8s-app-tools

Apache License 2.0
75 stars 76 forks source link

Creating KSA with annotation #588

Open caddac opened 2 years ago

caddac commented 2 years ago

Per https://github.com/GoogleCloudPlatform/marketplace-k8s-app-tools/blob/master/docs/schema.md#type-service_account I need to declare all KSAs in my schema.yaml file.

However, I currently have a set of manifests that are successfully creating a KSA without declaring the service account in the schema.yaml file (This seems like a bug). To make sure this doesn't trip me up as I move forward in the process, I am trying to add my KSA to the schema.yaml file. However, my KSA requires an annotation be added.

How do I add an annotation to the KSA created via the schema.yaml declaration?