Skip to content

Support creation of service accounts and default assignment #236

@brandtkeller

Description

@brandtkeller

Looking over the chart - I see the ability to assign a serviceAccount to pods based on the 'serviceAccountName` of each service.

What I would like to see is a default serviceAccount resource be available for creation - Example - and the assignment of that serviceAccount to the services that do not have serviceAccountName declared.

Summary:

  • ServiceAccount.enabled defaulted to false and no serviceAccountName entries = same default state as is currently.
  • ServiceAccount.enabled defaulted to true and no serviceAccountName entries = baseline service account for all services.
  • ServiceAccount.enabled defaulted to true and a serviceAccountName entry on an individual service = baseline service account on all services except that individual service.

I believe this further encapsulates possible resources that should be created with the chart and those that could be integrated by overrides.

I'll do some testing around this concept and leave some more thoughts as I go - just wanted to get it written down such that others could review, and possibly indicate that not having the ability to create a baseline serviceAccount was explicitly by design.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions