İçeriğe geç
Korur
Başarı Öykülerine dön

Cloud Platform Engineering as Code: A GitOps-Operated Azure Platform for Fiber Network Construction

Korur designed, built and ran MDF Infra's operations platform on Microsoft Azure in West Europe: Kubernetes delivered by ArgoCD, Microsoft sign-in through Keycloak, hardened workloads and no secret in Git.

Can a construction company without an operations team run its own business software in the cloud, securely and without manual server work? For MDF Infra, Korur built that software and the platform under it: every component described in Git, every release a commit that ArgoCD rolled out, staff signing in with the Microsoft accounts they already had, and no password, key or certificate stored in a repository.

Client
MDF Infra B.V.
Engagement
Platform design, build and operation
Cloud
Microsoft Azure, West Europe
Delivery
GitOps with ArgoCD
Operated by Korur
Until August 2026
Industry
Fiber network construction

The client and the software

MDF Infra B.V. builds telecom fiber optic networks. The work is organised in projects, and every project breaks down into production work of three kinds: civil work in the ground, technical work on the network itself, and extra work outside the original order. Around that work sit subcontractors and crews, equipment that is rented out and returned, damage that has to be reported, and hours that have to be registered, approved and invoiced.

Korur built MDF Infra's own operations software for all of it. The system covered production work orders, projects, relations with clients and subcontractors, asset management and rentals, damage reports and time registration, with approval flows, Excel and PDF reporting, and real-time notifications.

The parts of the operations software Korur built
PartBuilt withUsed for
APISpring Boot, PostgreSQLThe business rules, approvals, reports and integrations
Web portalReactPlanning, approval and administration in the office
Offer appReactOffers to clients
Mobile appReact Native with ExpoField supervisors on site
IntegrationsExact Online, Microsoft Graph, Azure Blob StorageAccounting, Microsoft 365 and document storage

Access was role-based, with eleven application roles that separated administration, production, finance, material management, project management, supervision and the crews in the field. A field worker and a finance administrator saw different parts of the same system, and the API enforced that difference on every request.

The problem

Software of this kind carries the business. It holds the work that is waiting to be invoiced, the hours of every crew, and the relations with every client and subcontractor. When it is down, the office stops; when it leaks, the company's commercial position and its staff's personal data leak with it.

A construction company does not keep a team of system administrators to look after such a system, and it should not have to. The platform under the software therefore had to meet three demands at once.

  1. It had to run without manual server work. Every change, from a new version of the software to a new setting, had to reach production through a reviewed and repeatable path rather than through someone logging in to a server.
  2. Staff had to sign in with the Microsoft accounts they already used for mail and documents, so that a person who leaves the company loses access to the operations software at the same moment they lose access to everything else.
  3. Credentials had to stay out of the code. Database passwords, integration keys and certificates are the first thing an attacker looks for in a repository, and the first thing an auditor asks about.

The architecture

The platform ran on Microsoft Azure in the West Europe region, on Korur's own subscription and on the Kubernetes cluster that Korur operates for its products and clients. MDF Infra's workloads were isolated in a namespace of their own, and the infrastructure under them was described in Terraform and changed only through reviewed pull requests.

The layers of the platform, from the internet inward
LayerComponentRole
EdgeCloudflarePublic entry point for every host; TLS to the origin with a Cloudflare origin certificate
IngressTraefikRoutes each host to its application on the TLS entrypoint inside the cluster
ComputeAzure Kubernetes ServiceRuns the API and the web applications in the client's own namespace
DeliveryArgoCDKeeps the cluster equal to what Git describes, in a project limited to the client's namespace
IdentityKeycloak with Microsoft Entra IDA realm of the client's own that brokers sign-in to the staff's Microsoft accounts
DataAzure Database for PostgreSQL Flexible ServerA database of the client's own on a server without public network access, TLS required
FilesAzure Blob StorageA private container of the client's own for documents and attachments
ImagesAzure Container RegistryPrivate registry for the application images and the mirrored base images
SecretsKagi and Azure Key VaultSecrets written into the namespace at run time, never stored in Git
ObservabilityPrometheus and GrafanaMetrics scraped from the API and shown on dashboards

Tenancy was enforced at two levels. In Kubernetes, the applications ran in their own namespace. In ArgoCD, they belonged to a project of their own that could deploy only into that namespace and the namespace of the secrets operator, could read only the client's own repository, and was allowed no cluster-scoped resources at all. Before that whitelist was set to empty, every manifest of every application was checked for cluster-scoped kinds and the live cluster was cross-checked for anything the project owned; neither turned up a single one. A mistake or a compromise in the client's repository could therefore not reach other tenants or the cluster itself through the delivery path.

What we built

Six decisions shaped the platform. Each is given with the reason behind it and the alternative it replaced, because the reasons are what a technical reviewer on the buyer's side will want to test.

Decision 1

Decision
Deliver everything with GitOps: ArgoCD ApplicationSets for the API, the web portal and the shared resources, each on a Kustomize base with a production overlay, synchronised automatically with pruning and self-healing.
Why
With GitOps the repository is the single description of production. A change is a commit, so it has an author, a review and a history, and rolling back is reverting a commit. Self-healing undoes any change made by hand in the cluster, and pruning removes what was deleted from Git, so production cannot drift away from what was reviewed.
Alternative rejected
Deploying with kubectl from the build pipeline. It is simpler to start with, but it gives the pipeline write access to the cluster and leaves no record of what production is supposed to look like between deployments.

Decision 2

Decision
Release through one pipeline: on a merge to the main branch, GitHub Actions builds and tests the API with Korur's shared Java workflow, builds the image, pushes it to the private registry and commits the new image tag to the manifests; ArgoCD then rolls it out.
Why
A pull request only builds and tests; nothing reaches production without a merge. Because the last step of the pipeline is a commit rather than a deployment, the release history of production and the history of the repository are the same thing. The shared workflow means every Korur project is built the same way, so an improvement to the pipeline reaches all of them at once.
Alternative rejected
A pipeline of the project's own. The earlier builds ran on Azure Pipelines; a bespoke pipeline per project ages on its own schedule and has to be secured on its own.

Decision 3

Decision
Patch the base images continuously: the base images were mirrored nightly into the private registry, and every application build upgraded the operating system packages and built without the layer cache.
Why
An image is only as current as the moment it was built. Mirroring keeps builds independent of a public registry, and upgrading packages at build time with the cache off means each release carries the latest operating system fixes, even when the base image itself has not changed.
Alternative rejected
Pulling public base images directly and relying on the build cache. It is faster, but a cached layer can carry an unpatched package for months without anyone noticing.

Decision 4

Decision
Harden every workload by default: containers ran as a non-root user with privilege escalation disallowed, the API on a read-only root filesystem with a scratch volume for temporary files, with separate startup, liveness and readiness probes on the health endpoints and memory limits; the web portal scaled from one to four replicas on CPU and memory and never retired an old pod before its replacement was ready.
Why
An attacker who finds a flaw in the application inherits the container's rights. Without root, without escalation and without a writable filesystem there is little to inherit and nowhere to persist. Separate probes let Kubernetes tell a slow start from a hung process, and the rollout rule keeps the portal available while a new version comes up.
Alternative rejected
The defaults of the container images, which in many cases run as root on a writable filesystem.

Decision 5

Decision
Keep every secret out of Git: the Kagi operator wrote each application's secrets and the Cloudflare origin certificate into the namespace at run time, a reloader restarted a pod when its secret changed, and the remaining database credentials came from Azure Key Vault through a sync controller.
Why
A secret in a repository is copied to every clone, every build agent and every backup, and it can never be fully removed from the history. Writing secrets into the cluster at run time keeps the repository safe to share with every engineer who works on it, and the reloader means a rotated secret takes effect without anyone touching the cluster.
Alternative rejected
Encrypted secrets committed to the repository. They keep the value out of plain sight, but the encrypted value and the key to it still have to be managed, and rotation still needs a commit and a release.

Decision 6

Decision
Sign in through Keycloak with Microsoft: a realm of MDF Infra's own brokered sign-in to Microsoft Entra ID, with self-registration, self-service password reset and remember-me switched off; the API was a stateless resource server that validated the realm's tokens, mapped its roles to the eleven application roles, and created a person record on first sign-in.
Why
Staff already had Microsoft accounts with the company's own sign-in policies. Brokering those accounts means there is no second password to steal or forget, and leaving the company in Microsoft ends access everywhere. Keycloak in between keeps the application independent of one identity provider and gives it its own roles. A stateless API holds no sessions, so it can be restarted or scaled without signing anyone out.
Alternative rejected
Local accounts in the application. Every local password is one more credential outside the company's control, and every leaver has to be removed twice.

Observability was part of the same design. Prometheus scraped the API's metrics endpoint every thirty seconds, and four Grafana dashboards showed the JVM, the HTTP traffic, the database connection pool and the runtime. A problem in production was therefore visible as a trend before it became an outage.

Evidence

The excerpts below come from the platform's manifests. Names that would identify the client's systems are replaced by generic ones; the structure and the settings are unchanged.

apiVersion: argoproj.io/v1alpha1
kind: ApplicationSet
metadata:
  name: client-api
  namespace: argocd
spec:
  generators:
    - list:
        elements:
          - cluster: production
            clusterName: in-cluster
            path: backend/kubernetes/overlays/production
            target: main
  template:
    metadata:
      name: client-api-{{cluster}}
    spec:
      project: client
      source:
        repoURL: https://github.com/<organisation>/<repository>.git
        path: "{{path}}"
        targetRevision: "{{target}}"
      destination:
        name: "{{clusterName}}"
        namespace: client
      syncPolicy:
        automated:
          prune: true
          selfHeal: true
          allowEmpty: false
The ApplicationSet that delivered the API: one source of truth in Git, synchronised automatically, pruned and self-healed, and refusing an empty sync.
The security settings of the API workload and what each one protects
SettingValueWhat it protects
Run as userNon-root user and groupNo root inside the container to inherit
allowPrivilegeEscalationfalseNo way to gain more rights than the process started with
privilegedfalseNo access to the host's devices or kernel features
readOnlyRootFilesystemtrue, with a scratch volume for /tmpNo place to drop a tool or change the application on disk
Startup probeHealth endpoint, a generous budgetA slow start is not mistaken for a failure
Liveness and readiness probesSeparate health endpointsA hung process is restarted; an unready one gets no traffic
Memory limitSet, equal to the requestOne workload cannot starve the others on the node
SecretsFrom the cluster, reloaded on changeNothing sensitive in the image or the repository
  1. An engineer opens a pull request; the pipeline builds and runs the tests, and nothing is deployed.
  2. After review the pull request is merged into the main branch.
  3. The pipeline builds the application on the shared workflow, on a freshly patched base image, and pushes the image to the private registry.
  4. The pipeline commits the new image tag to the production manifests in the same repository.
  5. ArgoCD sees the commit and brings the cluster in line with it; the probes decide when the new version receives traffic.
  6. To roll back, the tag commit is reverted, and ArgoCD rolls the previous version out the same way.

The result

MDF Infra had a production platform for its operations software that it did not have to operate itself. Every part of it was described in a repository: the infrastructure in Terraform, the workloads in Kubernetes manifests, the delivery in ArgoCD. Releases were commits, sign-in was the staff's own Microsoft account, and the only place secrets existed was the secret store and the running cluster.

Korur ran the platform on its cluster until August 2026, when the applications were taken off it; the remaining resources were removed from the cluster and the Terraform state in September 2026. Because the whole platform was code, that move was itself a set of reviewed changes rather than a manual clean-up.

What we would do next

Platforms are never finished, and an honest case says where this one would have gone next. These are the steps we would take on a platform of this kind today.

  • A dedicated node pool, or a cluster of its own, for each client whose software carries its business, so that its workloads never share a machine with another tenant.
  • Default-deny network policies in the client's namespace, then explicit allowances from the ingress to each application, from the applications to the API, and from the API to its database, identity provider and secret store.
  • Pod Security Admission at the restricted level on the namespace, so that the hardening above is enforced by the cluster rather than only written into each manifest.
  • An image scan and a software bill of materials in the shared pipeline, and signed images verified when they are admitted to the cluster.

Stack

  • Microsoft Azure
  • Azure Kubernetes Service
  • Azure Container Registry
  • Azure Database for PostgreSQL
  • Azure Blob Storage
  • Azure Key Vault
  • Kubernetes
  • Kustomize
  • ArgoCD
  • Traefik
  • Cloudflare
  • Keycloak
  • Microsoft Entra ID
  • Terraform
  • GitHub Actions
  • Prometheus
  • Grafana
  • Kagi
  • Spring Boot
  • React
  • Expo

Siz de işinizi güvene almak ister misiniz?

Yükümlülüksüz görüşme. Sabit fiyat.

Buraya nasıl geldiğinizi ölçebilir miyiz?

Hangi sayfaların işe yaradığını ve sizi buraya hangi reklamın getirdiğini görmek için analitik çerezler kullanıyoruz. Reddederseniz site tamamen aynı şekilde çalışır ve hiçbir analitik çerez yerleştirmeyiz. Çerez politikası