WIP: Adding support for git subtree
This commit is contained in:
@ -4,21 +4,22 @@
|
||||
name: zot
|
||||
repository: zot-git
|
||||
extensions:
|
||||
- name: Add VPA
|
||||
source_dir: ../extensions/vpa
|
||||
target_dir: templates/gs-vpa
|
||||
- name: Add values for CI
|
||||
source_dir: ../extensions/ci-values
|
||||
target_dir: ci
|
||||
#- name: Add VPA
|
||||
# source_dir: ../extensions/vpa
|
||||
# target_dir: templates/gs-vpa
|
||||
#- name: Add values for CI
|
||||
# source_dir: ../extensions/ci-values
|
||||
# target_dir: ci
|
||||
variables:
|
||||
target_repo: zot-app
|
||||
patches:
|
||||
- name: team annotation
|
||||
- name: set home
|
||||
- name: set engine
|
||||
- name: yamlfmt
|
||||
#- name: team annotation
|
||||
#- name: set home
|
||||
#- name: set engine
|
||||
#- name: yamlfmt
|
||||
- name: Git patch
|
||||
git:
|
||||
path: ../patches/git/zot.patch
|
||||
ref: d43aaea7bc0e21edb5cc391d4eb47866a5a94aba
|
||||
mirrors:
|
||||
- apps-git
|
||||
|
@ -8,6 +8,7 @@ include:
|
||||
path: ./charts/gitops-server.yaml
|
||||
- kind: Charts
|
||||
path: ./charts/external-secrets-operator.yaml
|
||||
|
||||
patches:
|
||||
- name: yamlfmt
|
||||
custom_command:
|
||||
@ -40,6 +41,7 @@ repositories:
|
||||
url: https://github.com/project-zot/helm-charts.git
|
||||
git_ref: zot-0.1.42
|
||||
path: charts
|
||||
subtree: true
|
||||
- name: weave
|
||||
helm:
|
||||
url: https://helm.gitops.weave.works
|
||||
@ -50,7 +52,7 @@ mirrors:
|
||||
- name: apps-git
|
||||
git:
|
||||
url: git@git.badhouseplants.net:allanger/{{ variables.target_repo }}.git
|
||||
git_dir: app-{{ name }}-git
|
||||
git_dir: app-{{ name }}
|
||||
branch: upgrade-{{ name }}-to-{{ version }}
|
||||
path: helm/{{ name }}
|
||||
commit: |-
|
||||
|
@ -109,13 +109,10 @@ index ac7f0f0..9730e9c 100644
|
||||
replicaCount: 1
|
||||
image:
|
||||
- repository: ghcr.io/project-zot/zot-linux-amd64
|
||||
- pullPolicy: IfNotPresent
|
||||
- # Overrides the image tag whose default is the chart appVersion.
|
||||
- tag: "v2.0.0"
|
||||
+ registry: gsoci.azurecr.io
|
||||
+ image: dummy/zot-linux
|
||||
+ pullPolicy: Always
|
||||
+ tag: ""
|
||||
+ repository: ghcr.io/project-zot/zot-linux-amd64-bla
|
||||
pullPolicy: IfNotPresent
|
||||
# Overrides the image tag whose default is the chart appVersion.
|
||||
tag: "v2.0.0"
|
||||
serviceAccount:
|
||||
# Specifies whether a service account should be created
|
||||
create: true
|
||||
|
Reference in New Issue
Block a user