nais / nais/device

Migrere terraform oppsett til nais-terraform-modules

Open
#375 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

preserve
Dominant language
Go
Stars
18
Forks
6
Avg merge
2h
Merged PRs (30d)
7

Description

Beskrivelse / Essensen

Migrere NAV's naisdevice terraform kode inn i nais-terraform-modules og flytte alle NAV brukere over i ny "instans" som kjører der.

Investeringsvilje

3 uker

Løsningen i grove trekk

Dagens oppsett for NAV er i dag helt separat fra oppsettet for tenants. Det ligger i nais/naisdevice-terraform.
Oppsettet for tenants er definert i nais/nais-terraform-modules.

Vi må gjøre noen tilpassninger i nais-terraform-modules:

  • Støtte for onprem/custom-gcp gateways
    • må definere:
      • navn
      • routes
      • access groups
      • network / subnetwork
      • tags
      • additional-firewall-rules
      • jita

Ellers:

  • NAV tenant slettes, nav.no tar over
  • Om det blir veldig mye jobb å støtte gamle naisdevice releases er det GREIT om vi brekker de, og krever en oppdatering - men det beste er om vi slipper dette.
  • NAV sine gateways må bytte til autoenroll:
    • onprem gateways må få service account keys
    • autoenroll må muligens tilpasses litt for å fungere onprem

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Compare the current NAV setup in nais/naisdevice-terraform with the tenant setup in nais/nais-terraform-modules. Start by mapping the required gateway fields and autoenroll changes, including on-premise service account keys. Done means NAV users run through the new instance, the NAV tenant is removed, and the gateway migration requirements are covered.

Written by the indexing model from the issue text.

Assessment

Tech stack
terraform
Domain
cloud, infrastructure
Issue type
Refactor
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.