Skip to content

Commit

Permalink
use OnePasswordItem instead of FLAIS onepassword since it doesnt supp…
Browse files Browse the repository at this point in the history
…ort multiple onepassword entries
  • Loading branch information
Battlestad committed Nov 1, 2024
1 parent ea2459f commit bcbbf9d
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 13 deletions.
9 changes: 0 additions & 9 deletions kustomize/overlays/vlfk-no/beta/altinn-oauth2-client.yaml

This file was deleted.

7 changes: 7 additions & 0 deletions kustomize/overlays/vlfk-no/beta/altinn-onepassword.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
apiVersion: onepassword.com/v1
kind: OnePasswordItem
metadata:
name: fint-flyt-altinn-oauth2-client
namespace: vlfk-no
spec:
itemPath: "vaults/aks-beta-vault/items/fint-flyt-altinn-oauth2-client"
7 changes: 7 additions & 0 deletions kustomize/overlays/vlfk-no/beta/egrunnerverv-onepassword.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
apiVersion: onepassword.com/v1
kind: OnePasswordItem
metadata:
name: fint-flyt-egrunnerverv-oauth2-client
namespace: vlfk-no
spec:
itemPath: "vaults/aks-beta-vault/items/fint-flyt-egrunnerverv-oauth2-client"
4 changes: 0 additions & 4 deletions kustomize/overlays/vlfk-no/beta/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ namespace: vlfk-no
resources:
- ../../../base
- digisak-oauth2-client.yaml
- altinn-oauth2-client.yaml

commonLabels:
app.kubernetes.io/instance: fint-flyt-authorization-service_vlfk_no
Expand All @@ -25,9 +24,6 @@ patches:
- op: replace
path: "/spec/ingress/basePath"
value: "/beta/vlfk-no/api/intern/authorization"
- op: replace
path: "/spec/onePassword/itemPath"
value: "vaults/aks-beta-vault/items/fint-flyt-egrunnerverv-oauth2-client"
- op: replace
path: "/spec/env/1/value"
value: |
Expand Down

0 comments on commit bcbbf9d

Please sign in to comment.