ContainerImage.Pinniped/internal/controller/apicerts
Ryan Richard 80a520390b Rename many of resources that are created in Kubernetes by Pinniped
New resource naming conventions:
- Do not repeat the Kind in the name,
  e.g. do not call it foo-cluster-role-binding, just call it foo
- Names will generally start with a prefix to identify our component,
  so when a user lists all objects of that kind, they can tell to which
  component it is related,
  e.g. `kubectl get configmaps` would list one named "pinniped-config"
- It should be possible for an operator to make the word "pinniped"
  mostly disappear if they choose, by specifying the app_name in
  values.yaml, to the extent that is practical (but not from APIService
  names because those are hardcoded in golang)
- Each role/clusterrole and its corresponding binding have the same name
- Pinniped resource names that must be known by the server golang code
  are passed to the code at run time via ConfigMap, rather than
  hardcoded in the golang code. This also allows them to be prepended
  with the app_name from values.yaml while creating the ConfigMap.
- Since the CLI `get-kubeconfig` command cannot guess the name of the
  CredentialIssuerConfig resource in advance anymore, it lists all
  CredentialIssuerConfig in the app's namespace and returns an error
  if there is not exactly one found, and then uses that one regardless
  of its name
2020-09-18 15:56:50 -07:00
..
apiservice_updater_test.go Rename many of resources that are created in Kubernetes by Pinniped 2020-09-18 15:56:50 -07:00
apiservice_updater.go Rename many of resources that are created in Kubernetes by Pinniped 2020-09-18 15:56:50 -07:00
certs_expirer_test.go Rename many of resources that are created in Kubernetes by Pinniped 2020-09-18 15:56:50 -07:00
certs_expirer.go Rename many of resources that are created in Kubernetes by Pinniped 2020-09-18 15:56:50 -07:00
certs_manager_test.go Rename many of resources that are created in Kubernetes by Pinniped 2020-09-18 15:56:50 -07:00
certs_manager.go Rename many of resources that are created in Kubernetes by Pinniped 2020-09-18 15:56:50 -07:00
certs_observer_test.go Rename many of resources that are created in Kubernetes by Pinniped 2020-09-18 15:56:50 -07:00
certs_observer.go Rename many of resources that are created in Kubernetes by Pinniped 2020-09-18 15:56:50 -07:00
doc.go Save 2 lines by using inline-style comments for Copyright 2020-09-16 10:35:19 -04:00
update_api_service_test.go Update module/package names to match GitHub org switch. 2020-09-17 12:56:54 -05:00
update_api_service.go Paramaterize the APIService name in apiServiceUpdaterController rather than hardcoding. 2020-09-17 09:52:23 -05:00