Resource name changes
CharlieC3 opened this issue · 1 comments
CharlieC3 commented
For consistency with our other services, can we update some resource names? Here are some suggestions that would make us aligned with our other infra.
Pods
- change
stacks-api
tostacks-blockchain-api
- change
stacks-node
tostacks-blockchain
Containers
- Exclude -container suffix where applicable
- Update container names to match the repository/project they came from (e.g. stacks-api-container > stacks-blockchain-api, stacks-api-postgres > postgres, etc)
Services
- Service names should match the pod they're routing traffic to (e.g.
stacks-api-service
would change tostacks-blockchain-api
)
PVC
stacks-api-pvc
should change tostacks-blockchain-api-pg
Configmap
- Exclude
-conf
suffix where applicable - I think the
namespace-conf
CM can be replaced with a slight change in the bitcoind container.- If you add this to the
env:
section of the bitcoind container definition, you won't need this CM anymore.
- name: NAMESPACE valueFrom: fieldRef: apiVersion: v1 fieldPath: metadata.namespace
- If you add this to the
- Update stacks-api-conf to stacks-blockchain-api
- Update stacks-api-postgres-conf to stacks-blockchain-api-pg
- Update stacks-node-conf to stacks-blockchain
MicaiahReid commented
Fixed by #69