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
9 changes: 1 addition & 8 deletions .github/workflows/release-tag.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -75,11 +75,4 @@ jobs:
charts_url: https://charts.krateo.io
owner: krateoplatformops
repository: helm-charts
branch: gh-pages

update-crd-doc:
runs-on: ubuntu-latest
steps:
- name: Update CRD doc
run: |
curl -s https://doc.crds.dev/github.com/${{ github.repository }}@${{ github.ref_name }}
branch: gh-pages
15 changes: 14 additions & 1 deletion chart/crds/git.krateo.io_repoes.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.16.1
controller-gen.kubebuilder.io/version: v0.17.1
name: repoes.git.krateo.io
spec:
group: git.krateo.io
Expand Down Expand Up @@ -111,6 +111,11 @@ spec:
- If the branch exists, the parameter is ignored.
- If the parameter is not set, the branch is created empty and has no parents (no history) - `git switch --orphan branch-name`
type: string
krateoIgnorePath:
default: /
description: 'KrateoIgnorePath: path to the krateo ignore file,
if not set the default is `/`, the root of the repository'
type: string
path:
default: /
description: 'Path: if in spec.fromRepo, Represents the folder
Expand Down Expand Up @@ -168,6 +173,14 @@ spec:
description: 'Insecure: Insecure is useful with hand made SSL certs
(default: false)'
type: boolean
override:
default: false
description: |-
Override: If `true`, the provider will override the existing files in the destination repository with the files from the source repository.
If `false`, the provider will only add new files and update existing files in the destination repository.
If not set, the provider will use the default behavior of adding new files.
Avoid using this option with originPath from / to /, as it will override also service folders like .git, .github, .gitignore, etc.
type: boolean
toRepo:
description: 'ToRepo: repo destination to copy to'
properties:
Expand Down
2 changes: 1 addition & 1 deletion chart/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,6 @@ tolerations: []
affinity: {}

env:
GIT_PROVIDER_DEBUG: "true"
GIT_PROVIDER_DEBUG: "false"
GIT_PROVIDER_POLL_INTERVAL: "3m"
GIT_PROVIDER_SERVICE_PORT_HACK: "false"