Skip to content

Commit

Permalink
Fikse outbound rules og ingress mot oppgavehåndtering (gosys)
Browse files Browse the repository at this point in the history
  • Loading branch information
geiralund committed Apr 29, 2024
1 parent 2ef044a commit df58c7f
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
3 changes: 2 additions & 1 deletion .nais/dev-vars.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ pdl:
dokarkiv:
ingress: dokarkiv.dev-fss-pub.nais.io
oppgave:
ingress: oppgave-q1
app: oppgave-q1
ingress: http://oppgave-q1.oppgavehandtering.svc.nais.local
scope: api://dev-fss.oppgavehandtering.oppgave-q1/.default

2 changes: 1 addition & 1 deletion .nais/nais.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ spec:
rules:
- application: skjermede-personer-pip
namespace: nom
- application: {{ oppgave.ingress }}
- application: {{ oppgave.app }}
namespace: oppgavehandtering
external:
- host: {{dp_proxy.ingress}}
Expand Down
3 changes: 2 additions & 1 deletion .nais/prod-vars.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,6 @@ pdl:
dokarkiv:
ingress: dokarkiv.prod-fss-pub.nais.io
oppgave:
ingress: oppgave
app: oppgave
ingress: http://oppgave.oppgavehandtering.svc.nais.local
scope: api://prod-fss.oppgavehandtering.oppgave/.default
2 changes: 1 addition & 1 deletion mediator/src/main/kotlin/no/nav/dagpenger/mottak/Config.kt
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ internal object Config {

fun Configuration.pdlApiUrl() = this[Key("PDL_API_HOST", stringType)].addHttpsrotocoll()

fun Configuration.gosysUrl(): String = this[Key("OPPGAVE_URL", stringType)].addHttpsrotocoll()
fun Configuration.gosysUrl(): String = this[Key("GOSYS_URL", stringType)].addHttpsrotocoll()

fun asMap(): Map<String, String> =
properties.list().reversed().fold(emptyMap()) { map, pair ->
Expand Down

0 comments on commit df58c7f

Please sign in to comment.