devel: expermenting with ref sources
This commit is contained in:
@@ -21,10 +21,13 @@ spec:
|
|||||||
destination:
|
destination:
|
||||||
namespace: oceanbox
|
namespace: oceanbox
|
||||||
server: '{{ cluster }}'
|
server: '{{ cluster }}'
|
||||||
source:
|
sources:
|
||||||
path: busynix
|
- path: busynix
|
||||||
plugin:
|
plugin:
|
||||||
name: kustomize-helm-with-rewrite
|
name: kustomize-helm-with-rewrite
|
||||||
|
env:
|
||||||
|
- name: MANIFESTS
|
||||||
|
value: $values
|
||||||
parameters:
|
parameters:
|
||||||
- name: env
|
- name: env
|
||||||
string: '{{ env }}'
|
string: '{{ env }}'
|
||||||
@@ -32,3 +35,7 @@ spec:
|
|||||||
string: '{{ hostname }}'
|
string: '{{ hostname }}'
|
||||||
repoURL: https://gitlab.com/oceanbox/charts.git
|
repoURL: https://gitlab.com/oceanbox/charts.git
|
||||||
targetRevision: HEAD
|
targetRevision: HEAD
|
||||||
|
- repoURL: https://gitlab.com/oceanbox/manifests.git
|
||||||
|
targetRevision: HEAD
|
||||||
|
path: busynix/{{ env }}
|
||||||
|
ref: values
|
||||||
|
|||||||
@@ -0,0 +1,16 @@
|
|||||||
|
fullnameOverride: busynix
|
||||||
|
|
||||||
|
ingress:
|
||||||
|
annotations:
|
||||||
|
cert-manager.io/cluster-issuer: letsencrypt-staging
|
||||||
|
nginx.ingress.kubernetes.io/proxy-buffer-size: 128k
|
||||||
|
nginx.ingress.kubernetes.io/whitelist-source-range: 10.0.0.0/8,172.16.0.0/12,192.168.0.0/16
|
||||||
|
hosts:
|
||||||
|
- host: busynix.srv.oceanbox.io
|
||||||
|
paths:
|
||||||
|
- path: /
|
||||||
|
pathType: ImplementationSpecific
|
||||||
|
tls:
|
||||||
|
- hosts:
|
||||||
|
- busynix.srv.oceanbox.io
|
||||||
|
secretName: prod-busynix-tls
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
apiVersion: v1
|
||||||
|
data:
|
||||||
|
foo: |
|
||||||
|
dummy
|
||||||
|
kind: ConfigMap
|
||||||
|
metadata:
|
||||||
|
name: prod-busynix-foo
|
||||||
|
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
apiVersion: v1
|
||||||
|
data:
|
||||||
|
foo: |
|
||||||
|
dummy
|
||||||
|
kind: ConfigMap
|
||||||
|
metadata:
|
||||||
|
name: staging-busynix-foo
|
||||||
|
|
||||||
@@ -0,0 +1,5 @@
|
|||||||
|
- op: replace
|
||||||
|
path: /spec/template/spec/containers/0/env/0
|
||||||
|
value:
|
||||||
|
name: LOG_LEVEL
|
||||||
|
value: "4"
|
||||||
@@ -0,0 +1,12 @@
|
|||||||
|
namePrefix: staging-
|
||||||
|
generatorOptions:
|
||||||
|
disableNameSuffixHash: true
|
||||||
|
patches:
|
||||||
|
- target:
|
||||||
|
group: apps
|
||||||
|
version: v1
|
||||||
|
kind: Deployment
|
||||||
|
name: busynix
|
||||||
|
path: deployment_patch.yaml
|
||||||
|
resources:
|
||||||
|
- ../base
|
||||||
Reference in New Issue
Block a user