Skip to content

Commit

Permalink
converted helm release "cf-gitops-runtime" to GitOps
Browse files Browse the repository at this point in the history
  • Loading branch information
chen-keinan committed Dec 24, 2024
1 parent 570c8b1 commit 2f27054
Show file tree
Hide file tree
Showing 4 changed files with 61 additions and 1 deletion.
23 changes: 23 additions & 0 deletions resources/codefresh/cf-gitops-runtime.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: cf-gitops-runtime
labels:
codefresh.io/entity: runtime
codefresh.io/internal: 'true'
spec:
project: default
source:
repoURL: https://github.com/chen-keinan/kube-beacon.git
targetRevision: HEAD
path: resources/codefresh/chart
helm:
releaseName: cf-gitops-runtime
destination:
namespace: codefresh
server: https://kubernetes.default.svc
syncPolicy:
automated:
allowEmpty: true
prune: true
selfHeal: true
9 changes: 9 additions & 0 deletions resources/codefresh/chart/Chart.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
apiVersion: v2
appVersion: 1.0.0
description: Codefresh gitops runtime umbrella chart
name: codefresh-gitops-runtime
version: 0.15.0
dependencies:
- name: gitops-runtime
repository: oci://quay.io/codefresh
version: 0.15.0
28 changes: 28 additions & 0 deletions resources/codefresh/chart/values.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
gitops-runtime:
app-proxy:
config:
cors: http://local.codefresh.io,https://chenk-platform.ngrok.app
global:
codefresh:
accountId: 6107f96b1895b556b7835b26
url: https://chenk-platform.ngrok.app
userToken:
secretKeyRef:
name: codefresh-user-token
key: token
runtime:
cluster: https://kubernetes.default.svc
codefreshHosted: false
ingress:
enabled: false
ingressUrl: http://host.docker.internal:8080
isConfigurationRuntime: true
name: codefresh
installer:
skipValidation: true
internal-router:
service:
nodePort: 31243
type: NodePort
tunnel-client:
enabled: false
2 changes: 1 addition & 1 deletion runtimes/codefresh/in-cluster.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ spec:
source:
directory:
include: >-
{all-runtimes-all-clusters/**/*.yaml,all-runtimes-all-clusters/*.yaml,codefresh/trivy-operator.yaml,configurations/**/*.yaml,control-planes/**/*.yaml,control-planes/*.yaml,runtimes/codefresh/**/*.yaml,runtimes/codefresh/*.yaml}
{all-runtimes-all-clusters/**/*.yaml,all-runtimes-all-clusters/*.yaml,codefresh/cf-gitops-runtime.yaml,codefresh/trivy-operator.yaml,configurations/**/*.yaml,control-planes/**/*.yaml,control-planes/*.yaml,runtimes/codefresh/**/*.yaml,runtimes/codefresh/*.yaml}
recurse: true
path: resources
repoURL: https://github.com/chen-keinan/kube-beacon.git
Expand Down

0 comments on commit 2f27054

Please sign in to comment.