fleet.yaml
· 1.1 KiB · YAML
Orginalformat
---
defaultNamespace: trillium
helm:
repo: https://charts.example.com
# Name of the chart within the repo
chart: trilium
# A custom release name to deploy the chart as. If not specified a release name
# will be generated by combining the invoking GitRepo.name + GitRepo.path.
releaseName: trillium
# The version of the chart or semver constraint of the chart to find. If a constraint
# is specified it is evaluated each time git changes.
# The version also determines which chart to download from OCI registries.
version: 0.1.0
# Makes helm skip the check for its own annotations
takeOwnership: false
# Any values that should be placed in the `values.yaml` and passed to helm during
# install.
values:
persistentVolume:
enabled: true
ingress:
enabled: true
annotations:
cert-manager.io/cluster-issuer: letsencrypt-prod
tls:
- secretName: notes-tls
hosts:
- notes.example.com
hosts:
- host: notes.example.com
paths:
- path: /
pathType: ImplementationSpecific
kustomize:
dir: overlays/
1 | --- |
2 | defaultNamespace: trillium |
3 | |
4 | helm: |
5 | repo: https://charts.example.com |
6 | |
7 | # Name of the chart within the repo |
8 | chart: trilium |
9 | # A custom release name to deploy the chart as. If not specified a release name |
10 | # will be generated by combining the invoking GitRepo.name + GitRepo.path. |
11 | releaseName: trillium |
12 | |
13 | # The version of the chart or semver constraint of the chart to find. If a constraint |
14 | # is specified it is evaluated each time git changes. |
15 | # The version also determines which chart to download from OCI registries. |
16 | version: 0.1.0 |
17 | |
18 | # Makes helm skip the check for its own annotations |
19 | takeOwnership: false |
20 | |
21 | # Any values that should be placed in the `values.yaml` and passed to helm during |
22 | # install. |
23 | values: |
24 | persistentVolume: |
25 | enabled: true |
26 | ingress: |
27 | enabled: true |
28 | annotations: |
29 | cert-manager.io/cluster-issuer: letsencrypt-prod |
30 | tls: |
31 | - secretName: notes-tls |
32 | hosts: |
33 | - notes.example.com |
34 | hosts: |
35 | - host: notes.example.com |
36 | paths: |
37 | - path: / |
38 | pathType: ImplementationSpecific |
39 | |
40 | |
41 | kustomize: |
42 | dir: overlays/ |
overlays-kustomization.yaml
· 190 B · YAML
Orginalformat
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
patches:
- target:
group: apps
version: v1
kind: StatefulSet
name: trillium-trilium
path: statefulset.yaml
1 | apiVersion: kustomize.config.k8s.io/v1beta1 |
2 | kind: Kustomization |
3 | |
4 | patches: |
5 | - target: |
6 | group: apps |
7 | version: v1 |
8 | kind: StatefulSet |
9 | name: trillium-trilium |
10 | path: statefulset.yaml |
overlays-statefulset.yaml
· 260 B · YAML
Orginalformat
---
- op: add
path: /spec/template/spec/containers/0/startupProbe
value:
failureThreshold: 300
httpGet:
path: /
port: 8080
scheme: HTTP
initialDelaySeconds: 1
periodSeconds: 1
successThreshold: 1
timeoutSeconds: 1%
1 | --- |
2 | - op: add |
3 | path: /spec/template/spec/containers/0/startupProbe |
4 | value: |
5 | failureThreshold: 300 |
6 | httpGet: |
7 | path: / |
8 | port: 8080 |
9 | scheme: HTTP |
10 | initialDelaySeconds: 1 |
11 | periodSeconds: 1 |
12 | successThreshold: 1 |
13 | timeoutSeconds: 1% |