Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletions devplanetv2/dev-environments/qa-vectis/Chart.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
apiVersion: v2
name: qa-vectis.dev.planx-pla.net
description: A template manifest for spinning up dev environments using gitops

# A chart can be either an 'application' or a 'library' chart.
#
# Application charts are a collection of templates that can be packaged into versioned archives
# to be deployed.
#
# Library charts provide useful utilities or functions for the chart developer. They're included as
# a dependency of application charts to inject those utilities and functions into the rendering
# pipeline. Library charts do not define any templates and therefore cannot be deployed.
type: application

# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.1.4

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
# follow Semantic Versioning. They should reflect the version the application is using.
appVersion: "1.0"
32 changes: 32 additions & 0 deletions devplanetv2/dev-environments/qa-vectis/templates/app.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: gen3-dev-{{ .Values.name }}
namespace: argocd
finalizers:
- resources-finalizer.argocd.argoproj.io
spec:
project: default
sources:
- path: helm/gen3
repoURL: https://github.com/uc-cdis/gen3-helm
targetRevision: {{ .Values.helmBranch }}
helm:
releaseName: {{ .Values.Name }}
valueFiles:
- $values/devplanetv2/dev-environments/{{ .Values.name }}/values/values.yaml
- repoURL: 'https://github.com/uc-cdis/gen3-gitops-dev.git'
targetRevision: {{ .Values.gitopsBranch }}
ref: values
destination:
server: "https://kubernetes.default.svc"
namespace: {{ .Values.name }}
ignoreDifferences:
-
kind: "Secret"
jsonPointers:
- /data
syncPolicy:
syncOptions:
- CreateNamespace=true
- RespectIgnoreDifferences=true
10 changes: 10 additions & 0 deletions devplanetv2/dev-environments/qa-vectis/values.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# Change this to your env.
# !!! Needs to match the folder name.
# F.ex qa-brh
name: qa-vectis

# What branch of helm -- http://github.com/uc-cdis/gen3-helm
helmBranch: master

# What branch of gitops -- http://github.com/uc-cdis/gen3-gitops-dev
gitopsBranch: master
Loading
Loading