fix: Replace WooCommerce env vars with Saleor API URL
Some checks failed
Build and Deploy / build (push) Has been cancelled
Some checks failed
Build and Deploy / build (push) Has been cancelled
- NEXT_PUBLIC_WOOCOMMERCE_URL → NEXT_PUBLIC_SALEOR_API_URL - Remove WooCommerce consumer key/secret (not needed for Saleor public API) - Saleor API is public, no authentication required
This commit is contained in:
@@ -72,21 +72,8 @@ spec:
|
|||||||
env:
|
env:
|
||||||
- name: NODE_ENV
|
- name: NODE_ENV
|
||||||
value: "production"
|
value: "production"
|
||||||
- name: NEXT_PUBLIC_WOOCOMMERCE_URL
|
- name: NEXT_PUBLIC_SALEOR_API_URL
|
||||||
valueFrom:
|
value: "https://api.manoonoils.com/graphql/"
|
||||||
secretKeyRef:
|
|
||||||
name: woocommerce-credentials
|
|
||||||
key: WOOCOMMERCE_URL
|
|
||||||
- name: NEXT_PUBLIC_WOOCOMMERCE_CONSUMER_KEY
|
|
||||||
valueFrom:
|
|
||||||
secretKeyRef:
|
|
||||||
name: woocommerce-credentials
|
|
||||||
key: WOOCOMMERCE_CONSUMER_KEY
|
|
||||||
- name: NEXT_PUBLIC_WOOCOMMERCE_CONSUMER_SECRET
|
|
||||||
valueFrom:
|
|
||||||
secretKeyRef:
|
|
||||||
name: woocommerce-credentials
|
|
||||||
key: WOOCOMMERCE_CONSUMER_SECRET
|
|
||||||
- name: NEXT_PUBLIC_SITE_URL
|
- name: NEXT_PUBLIC_SITE_URL
|
||||||
value: "https://dev.manoonoils.com"
|
value: "https://dev.manoonoils.com"
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
@@ -117,21 +104,8 @@ spec:
|
|||||||
value: "3000"
|
value: "3000"
|
||||||
- name: HOSTNAME
|
- name: HOSTNAME
|
||||||
value: "0.0.0.0"
|
value: "0.0.0.0"
|
||||||
- name: NEXT_PUBLIC_WOOCOMMERCE_URL
|
- name: NEXT_PUBLIC_SALEOR_API_URL
|
||||||
valueFrom:
|
value: "https://api.manoonoils.com/graphql/"
|
||||||
secretKeyRef:
|
|
||||||
name: woocommerce-credentials
|
|
||||||
key: WOOCOMMERCE_URL
|
|
||||||
- name: NEXT_PUBLIC_WOOCOMMERCE_CONSUMER_KEY
|
|
||||||
valueFrom:
|
|
||||||
secretKeyRef:
|
|
||||||
name: woocommerce-credentials
|
|
||||||
key: WOOCOMMERCE_CONSUMER_KEY
|
|
||||||
- name: NEXT_PUBLIC_WOOCOMMERCE_CONSUMER_SECRET
|
|
||||||
valueFrom:
|
|
||||||
secretKeyRef:
|
|
||||||
name: woocommerce-credentials
|
|
||||||
key: WOOCOMMERCE_CONSUMER_SECRET
|
|
||||||
- name: NEXT_PUBLIC_SITE_URL
|
- name: NEXT_PUBLIC_SITE_URL
|
||||||
value: "https://dev.manoonoils.com"
|
value: "https://dev.manoonoils.com"
|
||||||
resources:
|
resources:
|
||||||
|
|||||||
Reference in New Issue
Block a user