Skip to content
Snippets Groups Projects
Commit 592308c7 authored by steeve.chailloux's avatar steeve.chailloux
Browse files

[clean] remove unused fixtures

parent 26efb76c
No related branches found
No related tags found
No related merge requests found
Pipeline #36513 passed
Showing with 0 additions and 128 deletions
......@@ -13,7 +13,6 @@
var (
fixtures = "fixtures/f1"
secondFixtures = "fixtures/f2"
)
func TestConfig(t *testing.T) {
......
apiVersion: beaver.cloudcrane.io/v1alpha0
kind: Config
spec:
variables:
- name: VAULT_KV
value: orus.io
- name: ROLE
value: odoo-batch
charts:
postgres:
type: helm
path: vendor/helm/postgresql
odoo:
type: ytt
path: vendor/ytt/odoo
#@data/values
---
odoo:
image: odoo
serviceAccountName: {{.namespace}}-odoo
role: {{.ROLE}}
\ No newline at end of file
persistence:
storageClass: huawei-iscsi
initdbScripts:
create.sql: |
CREATE EXTENSION IF NOT EXISTS unaccent;
postgresqlUsername: "<path:{{.VAULT_KV}}/data/{{.namespace}}/postgres#username>"
postgresqlDatabase: "<path:{{.VAULT_KV}}/data/{{.namespace}}/postgres#database>"
#@data/values
---
hello: {{.namespace}}-base
\ No newline at end of file
#@ load("@ytt:overlay", "overlay")
#@overlay/match by=overlay.subset({"kind": "Certificate"}), expects="0+"
---
#@overlay/match missing_ok=True
apiVersion: cert-manager.io/v1
\ No newline at end of file
apiVersion: beaver.cloudcrane.io/v1alpha0
kind: Config
spec:
namespace: ns1
inherit: ../../base
variables:
- name: VAULT_KV
value: k8s.orus.io
create:
- type: configmap
name: xbus-pipelines
args:
- flag: --from-file
value: environments/ns1/pipelines
#@data/values
---
odoo:
tag: 15.0
\ No newline at end of file
image:
tag: 14
#@data/values
---
hello: {{.namespace}}-ns1
#@ load("@ytt:data", "data")
#@ load("@ytt:overlay", "overlay")
#@overlay/match by=overlay.subset({"kind":"ConfigMap","metadata":{"name":"argocd-cm"}})
#@overlay/match-child-defaults missing_ok=True
---
data:
beaverDemo: #@ data.values.hello
configManagementPlugins: |
- name: argocd-vault-plugin
generate:
command:
- /bin/bash
- -ce
args:
- |
cat * | argocd-vault-plugin generate -
\ No newline at end of file
---
apiVersion: v1
kind: ConfigMap
metadata:
name: name
data:
key: value
---
apiVersion: v1
kind: Secret
metadata:
name: secret-name
type: Opaque
data:
key: value
---
apiVersion: v1
kind: Service
metadata:
name: frontend
labels:
app: someApp
tier: frontend
spec:
ports:
- port: 80
selector:
app: someApp
tier: frontend
apiVersion: vendir.k14s.io/v1alpha1
kind: Config
directories:
- path: vendor/helm
contents:
- path: postgresql
helmChart:
name: postgresql
version: "10.5.0"
repository:
url: https://charts.bitnami.com/bitnami
- path: vendor/ytt
contents:
- path: odoo
hg:
url: https://orus.io/cloudcrane/charts/odoo
ref: default
secretRef:
name: orus-heptapod-auth
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment