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
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
kind: Kustomization
|
kind: Kustomization
|
||||||
|
namespace: measurements
|
||||||
resources:
|
resources:
|
||||||
- measurements.yaml
|
- measurements.yaml
|
||||||
#patches:
|
- namespace.yaml
|
||||||
# - path: measurements.yaml
|
|
||||||
# target:
|
|
||||||
# kind: HelmRelease
|
|
||||||
# name: measurements
|
|
||||||
|
|||||||
@ -7,6 +7,25 @@ metadata:
|
|||||||
spec:
|
spec:
|
||||||
interval: 5m
|
interval: 5m
|
||||||
timeout: 10m
|
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:
|
values:
|
||||||
services:
|
services:
|
||||||
backend:
|
backend:
|
||||||
@ -49,14 +68,6 @@ spec:
|
|||||||
name:
|
name:
|
||||||
_default: dockerhub
|
_default: dockerhub
|
||||||
|
|
||||||
envs:
|
|
||||||
- name: DJANGO_HOST
|
|
||||||
value:
|
|
||||||
_default: "https://aero.invest.sarex.io"
|
|
||||||
|
|
||||||
- name: CLASSIC_MODE
|
|
||||||
value:
|
|
||||||
_default: "0"
|
|
||||||
|
|
||||||
secretEnvs:
|
secretEnvs:
|
||||||
- name: S3_JSON_SETTINGS
|
- 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
|
- ../../infrastructure/vault/yc-ecp
|
||||||
|
|
||||||
# apps
|
# apps
|
||||||
# - ../../apps/measurements/yc-ecp
|
- ../../apps/measurements/yc-ecp
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user