diff --git a/kustomize/overlays/vlfk-no/beta/altinn-oauth2-client.yaml b/kustomize/overlays/vlfk-no/beta/altinn-oauth2-client.yaml deleted file mode 100644 index a150db7..0000000 --- a/kustomize/overlays/vlfk-no/beta/altinn-oauth2-client.yaml +++ /dev/null @@ -1,9 +0,0 @@ -apiVersion: "fintlabs.no/v1alpha1" -kind: NamOAuthClientApplicationResource -metadata: - name: fint-flyt-altinn-oauth2-client -spec: - clientIdProperty: fint.flyt.altinn.sso.client-id - clientSecretProperty: fint.flyt.altinn.sso.client-secret - grantTypes: - - client_credentials \ No newline at end of file diff --git a/kustomize/overlays/vlfk-no/beta/altinn-onepassword.yaml b/kustomize/overlays/vlfk-no/beta/altinn-onepassword.yaml new file mode 100644 index 0000000..79f086c --- /dev/null +++ b/kustomize/overlays/vlfk-no/beta/altinn-onepassword.yaml @@ -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" \ No newline at end of file diff --git a/kustomize/overlays/vlfk-no/beta/egrunnerverv-onepassword.yaml b/kustomize/overlays/vlfk-no/beta/egrunnerverv-onepassword.yaml new file mode 100644 index 0000000..afe7f04 --- /dev/null +++ b/kustomize/overlays/vlfk-no/beta/egrunnerverv-onepassword.yaml @@ -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" \ No newline at end of file diff --git a/kustomize/overlays/vlfk-no/beta/kustomization.yaml b/kustomize/overlays/vlfk-no/beta/kustomization.yaml index 26beb48..0d35839 100644 --- a/kustomize/overlays/vlfk-no/beta/kustomization.yaml +++ b/kustomize/overlays/vlfk-no/beta/kustomization.yaml @@ -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 @@ -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: |