Skip to content

Remove references to operator_service_account_name - #285

Open
skashid1882 wants to merge 1 commit into
ansible:mainfrom
skashid1882:remove-operator-service-account-name
Open

skashid1882 wants to merge 1 commit into
ansible:mainfrom
skashid1882:remove-operator-service-account-name

Conversation

@skashid1882

Copy link
Copy Markdown

Description

Removes the vestigial operator_service_account_name variable which is no longer used by any operator role or template.

Fixes #50

Changes

  • roles/common/defaults/main.yml — Removed the variable definition
  • config/testing/manager_image.yaml — Removed the OPERATOR_SA_NAME env var
  • molecule/kind/molecule.yml — Removed the variable override in molecule group vars
  • molecule/default/tasks/pulp_test.yml — Removed the two RBAC tasks (Role and RoleBinding) that existed solely to grant permissions on the operator service account

Notes

The hardcoded service account name galaxy-operator-sa in config/rbac/role.yaml and the ClusterServiceVersion manifest are NOT touched by this PR — those are direct references used by the operator's RBAC configuration and are still needed.

The operator_service_account_name variable is no longer used by any
operator role or template. This commit removes:
- The variable definition from roles/common/defaults/main.yml
- The OPERATOR_SA_NAME env var from config/testing/manager_image.yaml
- The molecule test variable override from molecule/kind/molecule.yml
- The RBAC Role/RoleBinding test tasks from molecule/default/tasks/pulp_test.yml

Fixes ansible#50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Remove references to operator_service_account_name

1 participant