Skip to content

Commit 9924b55

Browse files
committed
Removing refrence to secret that is no longer used
1 parent 7e362cf commit 9924b55

File tree

3 files changed

+0
-27
lines changed

3 files changed

+0
-27
lines changed

deployment/base/maas-api/deployment.yaml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -52,11 +52,6 @@ spec:
5252
value: "gateway-token-rate-limits"
5353
- name: AUTH_POLICY_NAME
5454
value: "gateway-auth-policy"
55-
- name: ADMIN_API_KEY
56-
valueFrom:
57-
secretKeyRef:
58-
name: maas-api-admin
59-
key: admin-key
6055
- name: GIN_MODE
6156
value: "debug"
6257
livenessProbe:

maas-api/deploy/overlays/secret/kustomization.yaml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,7 @@ resources:
99

1010
patches:
1111
- path: patches/secrets-provider.yaml
12-
- path: patches/api-key-env-var.yaml
1312
- path: patches/clusterrole.yaml
1413
target:
1514
kind: ClusterRole
1615
name: maas-api
17-
18-
# See https://kubernetes.io/docs/tasks/configmap-secret/managing-secret-using-kustomize/
19-
secretGenerator:
20-
- name: maas-api-admin-secret
21-
envs:
22-
- admin.secret.env # secret for the admin API key, e.g. `admin-api-key=letmein`

maas-api/deploy/overlays/secret/patches/api-key-env-var.yaml

Lines changed: 0 additions & 15 deletions
This file was deleted.

0 commit comments

Comments
 (0)