Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/stuttgart-things/flux
flux infra & app kustomizations
https://github.com/stuttgart-things/flux
apps cluster flux gitops infra k8s kubernetes-operator microservice
Last synced: about 13 hours ago
JSON representation
flux infra & app kustomizations
- Host: GitHub
- URL: https://github.com/stuttgart-things/flux
- Owner: stuttgart-things
- License: apache-2.0
- Created: 2024-12-15T15:47:32.000Z (about 2 months ago)
- Default Branch: main
- Last Pushed: 2025-02-10T16:27:11.000Z (2 days ago)
- Last Synced: 2025-02-10T16:31:19.905Z (2 days ago)
- Topics: apps, cluster, flux, gitops, infra, k8s, kubernetes-operator, microservice
- Language: Smarty
- Homepage:
- Size: 68.4 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# stuttgart-things/flux
flux infra & app kustomizations
## FLUX BOOSTRAP
GITHUB SCM + FLUX CLI
```bash
# BOOTSTRAP GITHUB
export KUBECONFIG=
export GITHUB_TOKEN=flux bootstrap github \
--owner=stuttgart-things \
--repository=stuttgart-things \
--path=clusters/dev-cluster
```## ADD GITREPOSITORY
FLUX APPS REPO (KUBECTL)
```bash
kubectl apply -f - <## ADD KUSTOMIZATIONS
ADD w/ KUBECTL (TESTING)
```bash
kubectl apply -f - <ADD w/ GIT
* Create (single or --- seperated) yaml-files on cluster Folder (e.g. clusters/dev-cluster)
* Examples:```yaml
# cat clusters/dev-cluster/app-repo.yaml
---
apiVersion: source.toolkit.fluxcd.io/v1
kind: GitRepository
metadata:
name: flux-apps
namespace: flux-system
spec:
interval: 1m0s
ref:
tag: v1.0.0
url: https://github.com/stuttgart-things/flux.git
``````yaml
# cat clusters/dev-cluster/apps.yaml
---
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
name: tekton
namespace: flux-system
spec:
interval: 1h
retryInterval: 1m
timeout: 5m
sourceRef:
kind: GitRepository
name: flux-apps
path: ./apps/tekton
prune: true
wait: true
postBuild:
substitute:
TEKTON_NAMESPACE: tekton-pipelines
TEKTON_PIPELINE_NAMESPACE: tektoncd
TEKTON_VERSION: v0.60.4
---
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
name: crossplane
namespace: flux-system
#.....
```## LICENSE
APACHE 2.0
Copyright 2023 patrick hermann.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License athttp://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.Author Information
------------------
Patrick Hermann, stuttgart-things 11/2024