Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found

Target

Select target project
  • stackspin/stackspin-flux-example
  • xeruf/stackspout
2 results
Show changes
Commits on Source (21)
......@@ -28,17 +28,16 @@ basic/install.sh
List the resource created by this flux repo:
```sh
kubectl -n example-basic get gitrepositories
kubectl -n example-basic get kustomizations
kubectl -n example-basic get helmreleases
kubectl -n example-basic get pods
kubectl -n stackspout get gitrepositories
kubectl -n stackspout get kustomizations
kubectl -n stackspout get helmreleases
kubectl -n stackspout get pods
```
Show output of the single app applied, [podinfo](https://github.com/stefanprodan/podinfo)
## Customizations
```sh
curl --resolve podinfo.local:80:CLUSTER_IPV4_ADDRESS http://podinfo.local
```
- Nextcloud apps overrides
- Gitea installed
## What's next ?
......
apiVersion: helm.toolkit.fluxcd.io/v2beta1
kind: HelmRelease
metadata:
name: podinfo
namespace: example-basic
name: gitea
namespace: stackspout
spec:
releaseName: podinfo
releaseName: gitea
chart:
spec:
# https://artifacthub.io/packages/helm/podinfo/podinfo
chart: podinfo
version: 6.1.1
chart: gitea
version: 5.0.4
sourceRef:
kind: HelmRepository
name: podinfo
namespace: example-basic
interval: 60m
# Default values
# https://github.com/stefanprodan/podinfo/blob/master/charts/podinfo/values.yaml
name: gitea
namespace: stackspout
interval: 10m
values:
ingress:
enabled: true
hosts:
- host: git.ftt.gmbh
paths:
- path: /
pathType: Prefix
apiVersion: kustomize.toolkit.fluxcd.io/v1beta1
kind: Kustomization
metadata:
name: examle-apps
namespace: example-basic
name: apps
namespace: stackspout
spec:
interval: 24h
interval: 10m
sourceRef:
kind: GitRepository
name: stackspin-flux-example
name: stackspout
path: ./basic/apps
prune: true
validation: client
......@@ -2,12 +2,12 @@ apiVersion: kustomize.toolkit.fluxcd.io/v1beta1
kind: Kustomization
metadata:
name: example-infrastructure
namespace: example-basic
namespace: stackspout
spec:
interval: 24h
interval: 10m
sourceRef:
kind: GitRepository
name: stackspin-flux-example
name: stackspout
path: ./basic/infrastructure
prune: true
validation: client
apiVersion: kustomize.toolkit.fluxcd.io/v1beta1
kind: Kustomization
metadata:
name: overrides
namespace: stackspout
spec:
interval: 2m
sourceRef:
kind: GitRepository
name: stackspout
path: ./basic/overrides
prune: true
validation: client
apiVersion: v1
kind: Namespace
metadata:
name: example-basic
name: stackspout
apiVersion: source.toolkit.fluxcd.io/v1beta1
kind: HelmRepository
metadata:
name: podinfo
namespace: example-basic
name: gitea
namespace: stackspout
spec:
interval: 1h
url: https://stefanprodan.github.io/podinfo
interval: 10m
url: https://dl.gitea.io/charts/
#!/usr/bin/env bash
echo "Creating / updating gitRepository stackspin-flux-example-basic in namespace example-basic"
flux create source git stackspin-flux-example \
--namespace=example-basic \
--url=https://open.greenhost.net/stackspin/stackspin-flux-example.git \
kubectl get namespace stackspout 2>/dev/null || kubectl create namespace stackspout
echo "Creating / updating gitRepository stackspout in namespace stackspout"
flux create source git stackspout \
--namespace=stackspout \
--url=https://open.greenhost.net/xeruf/stackspout.git \
--branch=main \
--interval=1h
--interval=10m
echo "Creating / updating kustomization stackspin-flux-example in namespace example-basic"
flux create kustomization stackspin-flux-example \
--namespace=example-basic \
--source=GitRepository/stackspin-flux-example \
echo "Creating / updating kustomization stackspout in namespace stackspout"
flux create kustomization stackspout \
--namespace=stackspout \
--source=GitRepository/stackspout \
--path="./basic/clusters/production/" \
--prune=true \
--interval=1h
--interval=10m
---
apiVersion: v1
kind: ConfigMap
metadata:
namespace: stackspin-apps
name: stackspin-nextcloud-override
data:
values.yaml: |
nextcloud:
# https://artifacthub.io/packages/helm/nextcloud/nextcloud#configuration
# https://docs.nextcloud.com/server/latest/admin_manual/configuration_server/config_sample_php_parameters.html#user-experience
#'defaultapp' => 'dashboard,files',
# https://github.com/moment/moment/tree/2.18.1/locale
#'default_language' => 'en_de', # https://www.transifex.com/explore/languages/
#'theme' => 'dark',
nextcloud:
configs:
defaults.config.php: |-
<?php
$CONFIG = array (
'allow_user_to_change_display_name' => false,
'default_phone_region' => 'DE',
'default_locale' => 'en-gb',
'lost_password_link' => 'https://sso.ftt.gmbh/login/recovery',
);
apps:
# Basics
- name: password_policy
enabled: false
- name: photos
enabled: false
- name: passwords
enabled: false
- name: contacts
enabled: true
# Common Apps
- name: external
enabled: true
- name: polls
enabled: false
#unsure - maybe redundant to forms?
- name: forms
enabled: true
#- name: spreed
# enabled: false
# redundant to Zulip & Jitsi
- name: appointments
enabled: true
# Management
- name: deck
enabled: true
- name: tasks
enabled: true
# Convenience
- name: files_rightclick
enabled: true
- name: metadata
enabled: true
- name: extract
enabled: true
# Collaborative apps
#- name: drawio
# enabled: false
#buggy
- name: notes
enabled: true
#- name: files_mindmap
# enabled: false
#buggy
- name: files_markdown
enabled: true
- name: files_texteditor
enabled: true
- name: maps
enabled: true
- name: jitsi
enabled: false
# waiting for /var/lib/Stackspin/local-storage/pvc-3b008674-544c-46e7-b456-f20932eb9f23_stackspin-apps_nextcloud-files/custom_apps
# Aesthetics
#- name: theming
# enabled: true
- name: apporder
enabled: true
- name: side_menu
enabled: true
- name: breezedark
enabled: true
#- name: unsplash
# enabled: true
# Flow
- name: analytics
enabled: true
- name: workflow_pdf_converter
enabled: true
- name: files_accesscontrol
enabled: true
- name: files_automatedtagging
enabled: true
- name: workflow_media_converter
enabled: true
- name: workflow_ocr
enabled: true
# Testing
- name: event_update_notification
enabled: true
- name: integration_google
enabled: true