Add Measurements app to yc-ecp: define namespace, update HelmRelease with chart details, and include in cluster Kustomization
This commit is contained in:
parent
4abcd33cd5
commit
64412e1b94
@ -1,10 +1,7 @@
|
||||
---
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
namespace: measurements
|
||||
resources:
|
||||
- measurements.yaml
|
||||
#patches:
|
||||
# - path: measurements.yaml
|
||||
# target:
|
||||
# kind: HelmRelease
|
||||
# name: measurements
|
||||
- namespace.yaml
|
||||
|
||||
@ -7,6 +7,25 @@ metadata:
|
||||
spec:
|
||||
interval: 5m
|
||||
timeout: 10m
|
||||
|
||||
chart:
|
||||
spec:
|
||||
chart: universal-chart
|
||||
version: "0.1.9"
|
||||
sourceRef:
|
||||
kind: HelmRepository
|
||||
name: yc-oci-charts
|
||||
namespace: flux-system
|
||||
interval: 10m
|
||||
|
||||
install:
|
||||
remediation:
|
||||
retries: 3
|
||||
|
||||
upgrade:
|
||||
remediation:
|
||||
retries: 3
|
||||
|
||||
values:
|
||||
services:
|
||||
backend:
|
||||
@ -49,14 +68,6 @@ spec:
|
||||
name:
|
||||
_default: dockerhub
|
||||
|
||||
envs:
|
||||
- name: DJANGO_HOST
|
||||
value:
|
||||
_default: "https://aero.invest.sarex.io"
|
||||
|
||||
- name: CLASSIC_MODE
|
||||
value:
|
||||
_default: "0"
|
||||
|
||||
secretEnvs:
|
||||
- name: S3_JSON_SETTINGS
|
||||
|
||||
7
apps/measurements/yc-ecp/namespace.yaml
Normal file
7
apps/measurements/yc-ecp/namespace.yaml
Normal file
@ -0,0 +1,7 @@
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Namespace
|
||||
metadata:
|
||||
name: measurements
|
||||
labels:
|
||||
istio-injection: enabled
|
||||
@ -11,4 +11,4 @@ resources:
|
||||
- ../../infrastructure/vault/yc-ecp
|
||||
|
||||
# apps
|
||||
# - ../../apps/measurements/yc-ecp
|
||||
- ../../apps/measurements/yc-ecp
|
||||
|
||||
Loading…
Reference in New Issue
Block a user