{"id":16928682,"url":"https://github.com/hasheddan/crossfaas","last_synced_at":"2025-04-11T17:50:26.576Z","repository":{"id":104323129,"uuid":"283823700","full_name":"hasheddan/crossfaas","owner":"hasheddan","description":null,"archived":false,"fork":false,"pushed_at":"2020-07-31T16:02:21.000Z","size":14,"stargazers_count":9,"open_issues_count":1,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-04-22T00:37:19.717Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hasheddan.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-07-30T16:25:22.000Z","updated_at":"2024-06-19T09:04:17.071Z","dependencies_parsed_at":"2023-05-15T04:30:45.792Z","dependency_job_id":null,"html_url":"https://github.com/hasheddan/crossfaas","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hasheddan%2Fcrossfaas","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hasheddan%2Fcrossfaas/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hasheddan%2Fcrossfaas/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hasheddan%2Fcrossfaas/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hasheddan","download_url":"https://codeload.github.com/hasheddan/crossfaas/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248455238,"owners_count":21106590,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-13T20:37:25.891Z","updated_at":"2025-04-11T17:50:26.550Z","avatar_url":"https://github.com/hasheddan.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# crossfaas\n\n`crossfaas` brings together [Crossplane](https://crossplane.io/),\n[OpenFaaS](https://www.openfaas.com/), and [ArgoCD](https://argoproj.github.io/)\nto provide a GitOps-driven serverless platform on\n[Kubernetes](https://kubernetes.io/).\n\n## Setup\n\nInstall ArgoCD.\n```\nkubectl create namespace argocd\nkubectl apply -n argocd -f https://raw.githubusercontent.com/argoproj/argo-cd/stable/manifests/install.yaml\n```\n\nExpose ArgoCD server.\n```\nkubectl patch svc argocd-server -n argocd -p '{\"spec\": {\"type\": \"LoadBalancer\"}}'\n```\n\nInstall OpenFaaS using Arkade.\n```\ncurl -SLsf https://dl.get-arkade.dev/ | sudo sh\n\narkade install openfaas --load-balancer\n```\n\nInstall Crossplane and any providers.\n```\nkubectl create namespace crossplane-system\n\nhelm repo add crossplane-alpha https://charts.crossplane.io/alpha\nhelm install crossplane --namespace crossplane-system crossplane-alpha/crossplane --set clusterPackages.gcp.deploy=true --set clusterPackages.gcp.version=master --devel\n```\n\nLogin to ArgoCD.\n```\nARGO_URL=$(kubectl get svc -n argocd argocd-server | awk 'FNR == 2 {print $4}')\nARGO_PASSWORD=$(kubectl get pods -n argocd -l app.kubernetes.io/name=argocd-server -o name | cut -d'/' -f 2)\n\nargocd login $ARGO_URL\n```\n\nLogin to OpenFaaS.\n```\nexport OPENFAAS_URL=$(kubectl get svc -o wide gateway-external -n openfaas | awk 'FNR == 2 {print $4}'):8080\n\nOPENFAAS_PASSWORD=$(kubectl get secret -n openfaas basic-auth -o jsonpath=\"{.data.basic-auth-password}\" | base64 --decode; echo)\n\necho -n $OPENFAAS_PASSWORD | faas-cli login --username admin --password-stdin\n```\n\nBuild functions.\n```\nfaas-cli build -f crossfaas.yaml --build-arg GO111MODULE=on --parallel 3\nfaas-cli push -f crossfaas.yaml\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhasheddan%2Fcrossfaas","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhasheddan%2Fcrossfaas","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhasheddan%2Fcrossfaas/lists"}