diff --git a/resources/codefresh/cf-gitops-runtime.yaml b/resources/codefresh/cf-gitops-runtime.yaml new file mode 100644 index 0000000..57b37b1 --- /dev/null +++ b/resources/codefresh/cf-gitops-runtime.yaml @@ -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 diff --git a/resources/codefresh/chart/Chart.yaml b/resources/codefresh/chart/Chart.yaml new file mode 100644 index 0000000..65a6642 --- /dev/null +++ b/resources/codefresh/chart/Chart.yaml @@ -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 diff --git a/resources/codefresh/chart/values.yaml b/resources/codefresh/chart/values.yaml new file mode 100644 index 0000000..377c184 --- /dev/null +++ b/resources/codefresh/chart/values.yaml @@ -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 diff --git a/runtimes/codefresh/in-cluster.yaml b/runtimes/codefresh/in-cluster.yaml index 08c28b3..916ca3c 100644 --- a/runtimes/codefresh/in-cluster.yaml +++ b/runtimes/codefresh/in-cluster.yaml @@ -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