Skip to content

Commit

Permalink
bump v0.0.314
Browse files Browse the repository at this point in the history
  • Loading branch information
roi-codefresh committed May 2, 2022
1 parent 1cb03b0 commit dc726ed
Show file tree
Hide file tree
Showing 2 changed files with 137 additions and 0 deletions.
109 changes: 109 additions & 0 deletions csdp/base/appset.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,109 @@
apiVersion: argoproj.io/v1alpha1
kind: AppProject
metadata:
annotations:
argocd.argoproj.io/sync-options: PruneLast=true
argocd.argoproj.io/sync-wave: "-2"
creationTimestamp: null
name: csdp
namespace: default # replace
spec:
clusterResourceWhitelist:
- group: "*"
kind: "*"
description: csdp project
destinations:
- namespace: "*"
server: "*"
namespaceResourceWhitelist:
- group: "*"
kind: "*"
sourceRepos:
- "*"

---
apiVersion: argoproj.io/v1alpha1
kind: ApplicationSet
metadata:
annotations:
argocd.argoproj.io/sync-wave: "0"
name: csdp
namespace: default # replace
spec:
syncPolicy:
preserveResourcesOnDeletion: true
generators:
- git:
repoURL: https://github.com/codefresh-io/csdp-official-poc.git
revision: RUNTIME_VERSION
directories:
- path: csdp/hybrid/*
requeueAfterSeconds: 15
template:
metadata:
finalizers:
- resources-finalizer.argocd.argoproj.io
spec:
destination: {}
project: ""
source:
repoURL: ""
- git:
repoURL: https://github.com/codefresh-io/csdp-official-poc.git
revision: RUNTIME_VERSION
directories:
- path: csdp/hybrid/argo-cd
requeueAfterSeconds: 15
template:
metadata: {}
spec:
destination: {}
project: ""
source:
repoURL: ""
- git:
files:
- path: csdp/hybrid/**/config_dir.json
repoURL: https://github.com/codefresh-io/csdp-official-poc.git
requeueAfterSeconds: 15
revision: RUNTIME_VERSION
template:
metadata:
finalizers:
- resources-finalizer.argocd.argoproj.io
spec:
destination: {}
project: ""
source:
repoURL: ""
directory:
exclude: "{{exclude}}"
include: "{{include}}"
recurse: true
template:
metadata:
labels:
app.kubernetes.io/name: "{{path.basenameNormalized}}"
codefresh.io/entity: "component"
codefresh.io/internal: "true"
name: csdp-{{path.basenameNormalized}}
namespace: default # replace
spec:
destination:
namespace: default # replace
server: "https://kubernetes.default.svc"
ignoreDifferences:
- group: argoproj.io
jsonPointers:
- /status
kind: Application
project: csdp
source:
path: csdp/hybrid/{{path.basenameNormalized}}
repoURL: https://github.com/codefresh-io/csdp-official-poc.git
targetRevision: RUNTIME_VERSION # replace with runtime version
syncPolicy:
automated:
allowEmpty: true
prune: true
selfHeal: true
28 changes: 28 additions & 0 deletions csdp/base/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- ./appset.yaml

generatorOptions:
disableNameSuffixHash: true

configMapGenerator:
- name: codefresh-cm
behavior: create
literals:
- version=v0.0.314

replacements:
- source:
kind: ConfigMap
name: codefresh-cm
fieldPath: data.version
targets:
- select:
kind: ApplicationSet
name: csdp
fieldPaths:
- spec.generators.0.git.revision
- spec.generators.1.git.revision
- spec.generators.2.git.revision
- spec.template.spec.source.targetRevision

0 comments on commit dc726ed

Please sign in to comment.