ministryofjustice / cloud-platform

Documentation on the MoJ cloud platform
MIT License
84 stars 44 forks source link

Add slack channel annotation to all namespaces #2214

Closed digitalronin closed 3 years ago

digitalronin commented 4 years ago

We ask for a slack channel for any new namespaces, and then add it as an annotation.

But, most of the existing namespaces don't have that annotation, which means it can be hard to track down responsible people in the event of a problem.

Find out what slack channel is appropriate for each of the namespaces in the cluster, and add the relevant annotations via the definitions in the environments repository.

digitalronin commented 4 years ago

FYI, to list all the namespace definitions that don't specify a slack channel:

for f in namespaces/live-1.cloud-platform.service.justice.gov.uk/*/00-namespace.yaml; do \
  grep -q slack $f || echo $f; \
done
ghost commented 3 years ago

Reviewed and merged:

https://github.com/ministryofjustice/cloud-platform-environments/pull/3093

digitalronin commented 3 years ago

I don't think this ticket is done yet. According to

 for f in namespaces/live-1.cloud-platform.service.justice.gov.uk/*/00-namespace.yaml; do   grep -q slack $f || echo $f; done | sed 's/.*gov.uk.//' | sed 's/.00-namespace.*//'

...we still have the following namespaces with no slack annotations:

c100-application-metabase
c100-application-production
c100-application-staging
chrisfaulkner-dev
contact-moj-development
contact-moj-production
contact-moj-staging
correspondence-staff-staging
cp-terraform-module-testing
cts-prototype-dev-poc
estatesdb-dev
formbuilder-product-page-staging
formbuilder-publisher-live
formbuilder-publisher-test
formbuilder-repos
hmcts-complaints-formbuilder-adapter-production
hmcts-complaints-formbuilder-adapter-staging
hmcts-mock-api-dev
how-out-of-date-are-we
interventions-catalogue-service-dev
interventions-catalogue-ui-dev
jason-lab
javidtest-development
keyworker-api-dev
keyworker-api-preprod
keyworker-api-prod
kiam
kube-system
kuberos
laa-aws-dev
laa-get-access-service-improvement
learning-cloud-deployments-dev
logging
manage-key-workers-dev
manage-key-workers-preprod
manage-key-workers-prod
manage-soc-cases-dev
markberridge-dev
matttei-wordpress-av-demo
monitoring
oasys-keycloak-development
oasys-keycloak-prod
offender-management-preprod
offender-management-production
offender-management-staging
opa
parliamentary-questions-development
parliamentary-questions-production
parliamentary-questions-staging
poornima-dev
poornima-staging
prison-visits-booking-production
prison-visits-booking-staging
prisoner-content-hub-development
prisoner-content-hub-production
prisoner-content-hub-staging
probation-case-sampler-dev
probation-prod
proffeapp-dev
sentence-planning-preprod
sentence-planning-prod
sheffield-demo
support-labelling-webhook
whereabouts-api-dev
whereabouts-api-preprod
whereabouts-api-prod
ghost commented 3 years ago

Thanks @digitalronin - There are bunch of namespaces here based on 'user' name. Do we still want to chase them up or discard these ones ?

ghost commented 3 years ago

Slack channel annotations added to remaining namespaces https://github.com/ministryofjustice/cloud-platform-environments/pull/3158