Closed martinothamar closed 1 month ago
cc @sduranc @bengtfredh - it's been a little while since we talked about this, but we agreed that I would post an ADR so here we are 😄 feel free to correct and/or rewrite as needed
Need -A or similar to make cross-app queries and similar
True, but this should be trivial for anyone working with k8s CLI.
I think the architecture decision should be more broad. We want to follow best practice. Namespace apps running in Kubernetes (platform, apps, etc.)
I think the architecture decision should be more broad.
@bengtfredh Agreed. I've now rewritten text and updated status.
Accepted in todays meeting.
Status
Accepted
- 19.09.2025Decision
We should always follow best practices for Kubernetes namespaces.
To be concrete, this means:
Context
While working on Maskinporten integration and automation in Altinn 3, we also discussed more general improvements around resource organisation in app clusters. This was something that had been discussed before in the Platform team.
Currently most resources are located in the default namespace of our clusters. Namespaces are practical in applying separation at various levels
Role
vsClusterRole
Consequences
-A
or similar to make cross-app queries and similarsvc.cluster.local
->namespace.svc.cluster.local