{"id":23248785,"url":"https://github.com/stuttgart-things/flux","last_synced_at":"2025-04-06T01:17:16.582Z","repository":{"id":268262365,"uuid":"903803348","full_name":"stuttgart-things/flux","owner":"stuttgart-things","description":"flux infra \u0026 app kustomizations","archived":false,"fork":false,"pushed_at":"2025-04-03T21:58:04.000Z","size":105,"stargazers_count":0,"open_issues_count":4,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-04-03T22:34:29.268Z","etag":null,"topics":["apps","cluster","flux","gitops","infra","k8s","kubernetes-operator","microservice"],"latest_commit_sha":null,"homepage":"","language":"Smarty","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/stuttgart-things.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2024-12-15T15:47:32.000Z","updated_at":"2025-02-23T18:14:39.000Z","dependencies_parsed_at":"2024-12-15T16:41:00.441Z","dependency_job_id":"f195da3b-8103-4edd-8c81-7443f4a8bab7","html_url":"https://github.com/stuttgart-things/flux","commit_stats":null,"previous_names":["stuttgart-things/flux"],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stuttgart-things%2Fflux","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stuttgart-things%2Fflux/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stuttgart-things%2Fflux/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stuttgart-things%2Fflux/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/stuttgart-things","download_url":"https://codeload.github.com/stuttgart-things/flux/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247419864,"owners_count":20936015,"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":["apps","cluster","flux","gitops","infra","k8s","kubernetes-operator","microservice"],"created_at":"2024-12-19T08:15:40.879Z","updated_at":"2025-04-06T01:17:16.565Z","avatar_url":"https://github.com/stuttgart-things.png","language":"Smarty","funding_links":[],"categories":[],"sub_categories":[],"readme":"# stuttgart-things/flux\n\nflux infra \u0026 app kustomizations\n\n## FLUX BOOSTRAP\n\n\u003cdetails\u003e\u003csummary\u003eGITHUB SCM + FLUX CLI\u003c/summary\u003e\n\n```bash\n# BOOTSTRAP GITHUB\nexport KUBECONFIG=\u003cKUBECONFIG\u003e\nexport GITHUB_TOKEN=\u003cTOKEN\u003e\n\nflux bootstrap github \\\n--owner=stuttgart-things \\\n--repository=stuttgart-things \\\n--path=clusters/dev-cluster\n```\n\n\u003c/details\u003e\n\n## ADD GITREPOSITORY\n\n\u003cdetails\u003e\u003csummary\u003eFLUX APPS REPO (KUBECTL)\u003c/summary\u003e\n\n```bash\nkubectl apply -f - \u003c\u003cEOF\napiVersion: source.toolkit.fluxcd.io/v1\nkind: GitRepository\nmetadata:\n  name: flux-apps\n  namespace: flux-system\nspec:\n  interval: 1m0s\n  ref:\n    tag: v1.0.0\n  url: https://github.com/stuttgart-things/flux.git\nEOF\n```\n\n\u003c/details\u003e\n\n## ADD KUSTOMIZATIONS\n\n\u003cdetails\u003e\u003csummary\u003eADD w/ KUBECTL (TESTING)\u003c/summary\u003e\n\n```bash\nkubectl apply -f - \u003c\u003cEOF\n---\napiVersion: kustomize.toolkit.fluxcd.io/v1\nkind: Kustomization\nmetadata:\n  name: tekton\n  namespace: flux-system\nspec:\n  interval: 1h\n  retryInterval: 1m\n  timeout: 5m\n  sourceRef:\n    kind: GitRepository\n    name: flux-apps\n  path: ./apps/tekton\n  prune: true\n  wait: true\n  postBuild:\n    substitute:\n      TEKTON_NAMESPACE: tekton-pipelines\n      TEKTON_PIPELINE_NAMESPACE: tektoncd\n      TEKTON_VERSION: v0.60.4\nEOF\n```\n\n\u003c/details\u003e\n\n\u003cdetails\u003e\u003csummary\u003eADD w/ GIT\u003c/summary\u003e\n\n* Create (single or --- seperated) yaml-files on cluster Folder (e.g. clusters/dev-cluster)\n* Examples:\n\n```yaml\n# cat clusters/dev-cluster/app-repo.yaml\n---\napiVersion: source.toolkit.fluxcd.io/v1\nkind: GitRepository\nmetadata:\n  name: flux-apps\n  namespace: flux-system\nspec:\n  interval: 1m0s\n  ref:\n    tag: v1.0.0\n  url: https://github.com/stuttgart-things/flux.git\n```\n\n```yaml\n# cat clusters/dev-cluster/apps.yaml\n---\napiVersion: kustomize.toolkit.fluxcd.io/v1\nkind: Kustomization\nmetadata:\n  name: tekton\n  namespace: flux-system\nspec:\n  interval: 1h\n  retryInterval: 1m\n  timeout: 5m\n  sourceRef:\n    kind: GitRepository\n    name: flux-apps\n  path: ./apps/tekton\n  prune: true\n  wait: true\n  postBuild:\n    substitute:\n      TEKTON_NAMESPACE: tekton-pipelines\n      TEKTON_PIPELINE_NAMESPACE: tektoncd\n      TEKTON_VERSION: v0.60.4\n---\napiVersion: kustomize.toolkit.fluxcd.io/v1\nkind: Kustomization\nmetadata:\n  name: crossplane\n  namespace: flux-system\n#.....\n```\n\n\u003c/details\u003e\n\n## LICENSE\n\n\u003cdetails\u003e\u003csummary\u003e\u003cb\u003eAPACHE 2.0\u003c/b\u003e\u003c/summary\u003e\n\nCopyright 2023 patrick hermann.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n    http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n\u003c/details\u003e\n\nAuthor Information\n------------------\nPatrick Hermann, stuttgart-things 11/2024\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstuttgart-things%2Fflux","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstuttgart-things%2Fflux","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstuttgart-things%2Fflux/lists"}