devel: expermenting with ref sources

This commit is contained in:
Jonas Juselius
2024-01-31 11:38:32 +01:00
parent a6b6d19c7c
commit 14e75ce358
9 changed files with 58 additions and 2 deletions
+9 -2
View File
@@ -21,10 +21,13 @@ spec:
destination:
namespace: oceanbox
server: '{{ cluster }}'
source:
path: busynix
sources:
- path: busynix
plugin:
name: kustomize-helm-with-rewrite
env:
- name: MANIFESTS
value: $values
parameters:
- name: env
string: '{{ env }}'
@@ -32,3 +35,7 @@ spec:
string: '{{ hostname }}'
repoURL: https://gitlab.com/oceanbox/charts.git
targetRevision: HEAD
- repoURL: https://gitlab.com/oceanbox/manifests.git
targetRevision: HEAD
path: busynix/{{ env }}
ref: values
+16
View File
@@ -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
+8
View File
@@ -0,0 +1,8 @@
apiVersion: v1
data:
foo: |
dummy
kind: ConfigMap
metadata:
name: prod-busynix-foo
+8
View File
@@ -0,0 +1,8 @@
apiVersion: v1
data:
foo: |
dummy
kind: ConfigMap
metadata:
name: staging-busynix-foo
+5
View File
@@ -0,0 +1,5 @@
- op: replace
path: /spec/template/spec/containers/0/env/0
value:
name: LOG_LEVEL
value: "4"
+12
View File
@@ -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