|
@ -4,25 +4,20 @@ metadata: |
|
|
name: myapps |
|
|
name: myapps |
|
|
spec: |
|
|
spec: |
|
|
generators: |
|
|
generators: |
|
|
- scmProvider: |
|
|
- pullRequest: |
|
|
github: |
|
|
github: |
|
|
# The GitHub organization to scan. |
|
|
# The GitHub organization or user. |
|
|
organization: geekbozu |
|
|
owner: geekbozu |
|
|
- repositoryMatch: ^argocd-example-apps |
|
|
# The Github repository |
|
|
# For GitHub Enterprise: |
|
|
repo: argocd-example-apps |
|
|
allBranches: true |
|
|
|
|
|
# Reference to a Secret containing an access token. (optional) |
|
|
|
|
|
tokenRef: |
|
|
|
|
|
secretName: github-token |
|
|
|
|
|
key: token |
|
|
|
|
|
template: |
|
|
template: |
|
|
metadata: |
|
|
metadata: |
|
|
name: '{{ repository }}+{{ branch }}' |
|
|
name: 'myapp-{{branch}}-{{number}}' |
|
|
spec: |
|
|
spec: |
|
|
source: |
|
|
source: |
|
|
repoURL: '{{ url }}' |
|
|
repoURL: 'https://github.com/geekbozu/argocd-example-apps.git' |
|
|
targetRevision: '{{ branch }}' |
|
|
targetRevision: '{{head_sha}}' |
|
|
path: testApp/ |
|
|
path: Test/ |
|
|
project: default |
|
|
project: default |
|
|
destination: |
|
|
destination: |
|
|
server: https://kubernetes.default.svc |
|
|
server: https://kubernetes.default.svc |
|
|