Skip to content

Commit

Permalink
Refine UAT overlays
Browse files Browse the repository at this point in the history
  • Loading branch information
ropable committed Oct 16, 2023
1 parent 83b39ea commit 9324add
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 81 deletions.
2 changes: 1 addition & 1 deletion kustomize/overlays/uat/clusterip_patch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ metadata:
name: itassets-clusterip
spec:
selector:
app: itassets-uat
app: itassets
variant: uat
79 changes: 1 addition & 78 deletions kustomize/overlays/uat/deployment_patch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,10 @@ apiVersion: apps/v1
kind: Deployment
metadata:
name: itassets-deployment
labels:
app: itassets-uat
spec:
selector:
matchLabels:
app: itassets-uat
app: itassets
variant: uat
template:
metadata:
Expand Down Expand Up @@ -38,81 +36,6 @@ spec:
secretKeyRef:
name: itassets-env-uat
key: EMAIL_HOST
- name: AZURE_CONNECTION_STRING
valueFrom:
secretKeyRef:
name: itassets-env-uat
key: AZURE_CONNECTION_STRING
- name: AZURE_TENANT_ID
valueFrom:
secretKeyRef:
name: itassets-env-uat
key: AZURE_TENANT_ID
- name: MS_GRAPH_API_CLIENT_ID
valueFrom:
secretKeyRef:
name: itassets-env-uat
key: MS_GRAPH_API_CLIENT_ID
- name: MS_GRAPH_API_CLIENT_SECRET
valueFrom:
secretKeyRef:
name: itassets-env-uat
key: MS_GRAPH_API_CLIENT_SECRET
- name: FOREIGN_DB_HOST
valueFrom:
secretKeyRef:
name: itassets-env-uat
key: FOREIGN_DB_HOST
- name: FOREIGN_DB_PORT
valueFrom:
secretKeyRef:
name: itassets-env-uat
key: FOREIGN_DB_PORT
- name: FOREIGN_DB_NAME
valueFrom:
secretKeyRef:
name: itassets-env-uat
key: FOREIGN_DB_NAME
- name: FOREIGN_DB_USERNAME
valueFrom:
secretKeyRef:
name: itassets-env-uat
key: FOREIGN_DB_USERNAME
- name: FOREIGN_DB_PASSWORD
valueFrom:
secretKeyRef:
name: itassets-env-uat
key: FOREIGN_DB_PASSWORD
- name: FOREIGN_SCHEMA
valueFrom:
secretKeyRef:
name: itassets-env-uat
key: FOREIGN_SCHEMA
- name: FOREIGN_SERVER
valueFrom:
secretKeyRef:
name: itassets-env-uat
key: FOREIGN_SERVER
- name: FOREIGN_TABLE
valueFrom:
secretKeyRef:
name: itassets-env-uat
key: FOREIGN_TABLE
- name: FOREIGN_TABLE_CC_MANAGER
valueFrom:
secretKeyRef:
name: itassets-env-uat
key: FOREIGN_TABLE_CC_MANAGER
- name: FRESHSERVICE_ENDPOINT
valueFrom:
secretKeyRef:
name: itassets-env-uat
key: FRESHSERVICE_ENDPOINT
- name: FRESHSERVICE_API_KEY
valueFrom:
secretKeyRef:
name: itassets-env-uat
key: FRESHSERVICE_API_KEY
- name: AZURE_ACCOUNT_NAME
valueFrom:
secretKeyRef:
Expand Down
2 changes: 1 addition & 1 deletion kustomize/overlays/uat/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ resources:
labels:
- includeSelectors: true
pairs:
app: itassets
variant: uat
app: itassets-uat
images:
- name: ghcr.io/dbca-wa/it-assets
newTag: latest
Expand Down
2 changes: 1 addition & 1 deletion kustomize/overlays/uat/pdb_patch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ metadata:
spec:
selector:
matchLabels:
app: itassets-uat
app: itassets
variant: uat

0 comments on commit 9324add

Please sign in to comment.