Skip to content

Commit

Permalink
Modify client deployment and service
Browse files Browse the repository at this point in the history
  • Loading branch information
CMHRXD committed May 22, 2023
1 parent 3965ef4 commit c48ae7c
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 13 deletions.
1 change: 0 additions & 1 deletion client/src/App.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ import { TicketContextProvider } from "./context/TicketContextProvider";
import Order from "./views/privateViews/Orders";
import { OrderContextProvider } from "./context/OrderContextProvider";


function App() {
return (
<BrowserRouter>
Expand Down
12 changes: 0 additions & 12 deletions infra/k8s/prod/client-depl.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,18 +17,6 @@ spec:
- name: client
image: cmhr007/ticketing-client
imagePullPolicy: Always
env:
- name: VITE_BACKEND_URL # this is name inside the container that will be used to access the value
valueFrom:
secretKeyRef: # this is the reference to the secret in k8s | this is the way to access the secret "kubectl get secret"
name: vite-backend-url # the name of the secret that we created in k8s
key: VITE_BACKEND_URL # the key of the secret that we created in k8s
- name: VITE_STRIPE_PUBLISHABLE_KEY # this is name inside the container that will be used to access the value
valueFrom:
secretKeyRef: # this is the reference to the secret in k8s | this is the way to access the secret "kubectl get secret"
name: vite-stripe-key # the name of the secret that we created in k8s
key: VITE_STRIPE_PUBLISHABLE_KEY # the key of the secret that we created in k8s

---
apiVersion: v1
kind: Service
Expand Down

0 comments on commit c48ae7c

Please sign in to comment.