App-of-apps
This commit is contained in:
parent
7440265ed4
commit
160a204a28
@ -20,7 +20,6 @@ steps:
|
||||
from_secret: gitea_password
|
||||
ARGO_TOKEN:
|
||||
from_secret: argo_token
|
||||
# TODO - step to apply manifests
|
||||
|
||||
image_pull_secrets:
|
||||
- dockerconfigjson
|
||||
|
13
README.md
13
README.md
@ -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>
|
||||
```
|
||||
Bootstrap with `kubectl apply -f main-manifest.yaml`
|
||||
|
||||
and/or
|
||||
|
||||
```bash
|
||||
$ kubectl apply -f application-manifests.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
|
||||
|
||||
|
7
app-of-apps/Chart.yaml
Normal file
7
app-of-apps/Chart.yaml
Normal file
@ -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
|
||||
|
22
main-manifest.yaml
Normal file
22
main-manifest.yaml
Normal file
@ -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…
x
Reference in New Issue
Block a user