App-of-apps

main
Jack Jackson 11 months ago
parent 7440265ed4
commit 160a204a28
  1. 1
      .drone.yml
  2. 13
      README.md
  3. 7
      app-of-apps/Chart.yaml
  4. 4
      app-of-apps/templates/apps.yaml
  5. 22
      main-manifest.yaml

@ -20,7 +20,6 @@ steps:
from_secret: gitea_password
ARGO_TOKEN:
from_secret: argo_token
# TODO - step to apply manifests
image_pull_secrets:
- dockerconfigjson

@ -14,18 +14,9 @@ $ curl --user <username>:<password> -X POST --upload-file ./<package>.tgz https:
### Installation
```bash
$ helm repo add --username <username> --password <password> <repo-alias> https://hostname.of.gitea/api/packages/<user>/helm
$ helm install <release-name> <repo-alias>/<name>
```
and/or
```bash
$ kubectl apply -f application-manifests.yaml
```
Bootstrap with `kubectl apply -f main-manifest.yaml`
TODO: [App-of-apps](https://argo-cd.readthedocs.io/en/stable/operator-manual/cluster-bootstrapping/#app-of-apps-pattern) to manage whole-cluster configuration.
TODO: [App-of-apps](https://argo-cd.readthedocs.io/en/stable/operator-manual/cluster-bootstrapping/#app-of-apps-pattern) to manage whole-cluster configuration in a more programmatic way.
## Other links

@ -0,0 +1,7 @@
apiVersion: v2
name: jackjack-app-of-apps
description: App-of-apps for deployment to Homelab
type: application
version: 0.1.0
appVersion: "0.1.0"

@ -122,11 +122,11 @@ spec:
- name: image.tag
value: "9.3.2"
- name: ingress.enabled
value: true
value: "true"
- name: ingress.hosts[0]
value: grafana.avril
- name: persistence.enabled
value: true
value: "true"
- name: persistence.storageClassName
value: longhorn

@ -0,0 +1,22 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: jackjack-app-of-apps
namespace: argo
spec:
project: default
source:
repoURL: https://gitea.scubbo.org/scubbo/helm-charts.git
targetRevision: HEAD
path: app-of-apps
destination:
server: "https://kubernetes.default.svc"
namespace: default
syncPolicy:
automated:
prune: true
syncOptions:
- CreateNamespace=true
Loading…
Cancel
Save