diff --git a/enterprise/metallb/5.0.3/CHANGELOG.md b/enterprise/metallb/5.0.3/CHANGELOG.md new file mode 100644 index 00000000000..22d2206fcbc --- /dev/null +++ b/enterprise/metallb/5.0.3/CHANGELOG.md @@ -0,0 +1,99 @@ +# Changelog + + + +## [metallb-5.0.3](https://github.com/truecharts/charts/compare/metallb-4.0.21...metallb-5.0.3) (2022-11-06) + +### Chore + +- Auto-update chart README [skip ci] + + ### Feat + +- rework metallb to use manifest-included metallb ([#4320](https://github.com/truecharts/charts/issues/4320)) + + ### Fix + +- Ensure metallb is running before creating resources ([#4321](https://github.com/truecharts/charts/issues/4321)) + + + + +## [metallb-4.0.21](https://github.com/truecharts/charts/compare/metallb-4.0.20...metallb-4.0.21) (2022-11-06) + +### Chore + +- Auto-update chart README [skip ci] + - update helm general non-major ([#4317](https://github.com/truecharts/charts/issues/4317)) + + + + +## [metallb-4.0.20](https://github.com/truecharts/charts/compare/metallb-4.0.19...metallb-4.0.20) (2022-11-05) + +### Chore + +- Auto-update chart README [skip ci] + - update helm general non-major ([#4308](https://github.com/truecharts/charts/issues/4308)) + + + + +## [metallb-4.0.19](https://github.com/truecharts/charts/compare/metallb-4.0.18...metallb-4.0.19) (2022-11-02) + +### Chore + +- Auto-update chart README [skip ci] + - update helm general non-major ([#4261](https://github.com/truecharts/charts/issues/4261)) + + + + +## [metallb-4.0.18](https://github.com/truecharts/charts/compare/metallb-4.0.17...metallb-4.0.18) (2022-10-25) + +### Chore + +- Auto-update chart README [skip ci] + - update helm general non-major ([#4182](https://github.com/truecharts/charts/issues/4182)) + + + + +## [metallb-4.0.17](https://github.com/truecharts/charts/compare/metallb-4.0.16...metallb-4.0.17) (2022-10-19) + +### Chore + +- Auto-update chart README [skip ci] + - update helm general non-major ([#4122](https://github.com/truecharts/charts/issues/4122)) + + ### Fix + +- enable crd updating ([#4068](https://github.com/truecharts/charts/issues/4068)) + + + + +## [metallb-4.0.16](https://github.com/truecharts/charts/compare/metallb-4.0.15...metallb-4.0.16) (2022-10-12) + +### Chore + +- Auto-update chart README [skip ci] + - update helm general non-major ([#4071](https://github.com/truecharts/charts/issues/4071)) + + + + +## [metallb-4.0.15](https://github.com/truecharts/charts/compare/metallb-4.0.14...metallb-4.0.15) (2022-10-07) + +### Chore + +- Auto-update chart README [skip ci] + - Auto-update chart README [skip ci] + - update helm general non-major + + + + +## [metallb-4.0.15](https://github.com/truecharts/charts/compare/metallb-4.0.14...metallb-4.0.15) (2022-10-07) + +### Chore diff --git a/enterprise/metallb/5.0.3/Chart.lock b/enterprise/metallb/5.0.3/Chart.lock new file mode 100644 index 00000000000..62b8f809962 --- /dev/null +++ b/enterprise/metallb/5.0.3/Chart.lock @@ -0,0 +1,6 @@ +dependencies: +- name: common + repository: https://library-charts.truecharts.org + version: 10.8.0 +digest: sha256:d785b2570d9d8e34bc823031f8475942fc79600ba0164ec2185e7d6d7c4db697 +generated: "2022-11-06T19:24:10.149037098Z" diff --git a/enterprise/metallb/5.0.3/Chart.yaml b/enterprise/metallb/5.0.3/Chart.yaml new file mode 100644 index 00000000000..21afdd0844e --- /dev/null +++ b/enterprise/metallb/5.0.3/Chart.yaml @@ -0,0 +1,30 @@ +apiVersion: v2 +appVersion: "upstream" +deprecated: false +description: A network load-balancer implementation for Kubernetes using standard routing protocols +home: https://truecharts.org/docs/charts/enterprise/metallb +icon: https://truecharts.org/img/hotlink-ok/chart-icons/metallb.png +keywords: + - metallb + - loadbalancer +dependencies: + - name: common + repository: https://library-charts.truecharts.org + version: 10.8.0 +kubeVersion: ">=1.16.0-0" +maintainers: + - email: info@truecharts.org + name: TrueCharts + url: https://truecharts.org +name: metallb +sources: + - https://github.com/truecharts/charts/tree/master/charts/enterprise/metallb + - https://github.com/metallb/metallb + - https://metallb.universe.tf +type: application +version: 5.0.3 +annotations: + truecharts.org/catagories: | + - core + truecharts.org/SCALE-support: "true" + truecharts.org/grade: U diff --git a/enterprise/metallb/5.0.3/README.md b/enterprise/metallb/5.0.3/README.md new file mode 100644 index 00000000000..7af64b9ac28 --- /dev/null +++ b/enterprise/metallb/5.0.3/README.md @@ -0,0 +1,107 @@ +# metallb + +A network load-balancer implementation for Kubernetes using standard routing protocols + +TrueCharts can be installed as both *normal* Helm Charts or as Apps on TrueNAS SCALE. + +This readme is just an automatically generated general guide on installing our Helm Charts and Apps. +For more information, please click here: [metallb](https://truecharts.org/docs/charts/enterprise/metallb) + +**This chart is not maintained by the upstream project and any issues with the chart should be raised [here](https://github.com/truecharts/charts/issues/new/choose)** + +## Source Code + +* +* +* + +## Requirements + +Kubernetes: `>=1.16.0-0` + +## Dependencies + +| Repository | Name | Version | +|------------|------|---------| +| https://library-charts.truecharts.org | common | 10.8.0 | + +## Installing the Chart + +### TrueNAS SCALE + +To install this Chart on TrueNAS SCALE check our [Quick-Start Guide](https://truecharts.org/docs/manual/SCALE%20Apps/Installing-an-App). + +### Helm + +To install the chart with the release name `metallb` + +```console +helm repo add TrueCharts https://charts.truecharts.org +helm repo update +helm install metallb TrueCharts/metallb +``` + +## Uninstall + +### TrueNAS SCALE + +**Upgrading, Rolling Back and Uninstalling the Chart** + +To upgrade, rollback or delete this Chart from TrueNAS SCALE check our [Quick-Start Guide](https://truecharts.org/docs/manual/SCALE%20Apps/Upgrade-rollback-delete-an-App). + +### Helm + +To uninstall the `metallb` deployment + +```console +helm uninstall metallb +``` + +## Configuration + +### Helm + +#### Available Settings + +Read through the values.yaml file. It has several commented out suggested values. +Other values may be used from the [values.yaml](https://github.com/truecharts/library-charts/tree/main/charts/stable/common/values.yaml) from the [common library](https://github.com/truecharts/library-charts/tree/main/charts/common). + +#### Configure using the command line + +Specify each parameter using the `--set key=value[,key=value]` argument to `helm install`. + +```console +helm install metallb \ + --set env.TZ="America/New York" \ + TrueCharts/metallb +``` + +#### Configure using a yaml file + +Alternatively, a YAML file that specifies the values for the above parameters can be provided while installing the chart. + +```console +helm install metallb TrueCharts/metallb -f values.yaml +``` + +#### Connecting to other charts + +If you need to connect this Chart to other Charts on TrueNAS SCALE, please refer to our [Linking Charts Internally](https://truecharts.org/docs/manual/SCALE%20Apps/linking-apps) quick-start guide. + +## Support + +- Please check our [quick-start guides for TrueNAS SCALE](https://truecharts.org/docs/manual/SCALE%20Apps/Important-MUST-READ). +- See the [Website](https://truecharts.org) +- Check our [Discord](https://discord.gg/tVsPTHWTtr) +- Open a [issue](https://github.com/truecharts/apps/issues/new/choose) + +--- + +## Sponsor TrueCharts + +TrueCharts can only exist due to the incredible effort of our staff. +Please consider making a [donation](https://truecharts.org/sponsor) or contributing back to the project any way you can! + +--- + +All Rights Reserved - The TrueCharts Project diff --git a/enterprise/metallb/5.0.3/app-readme.md b/enterprise/metallb/5.0.3/app-readme.md new file mode 100644 index 00000000000..279327ccde6 --- /dev/null +++ b/enterprise/metallb/5.0.3/app-readme.md @@ -0,0 +1,8 @@ +A network load-balancer implementation for Kubernetes using standard routing protocols + +This App is supplied by TrueCharts, for more information visit the manual: [https://truecharts.org/docs/charts/enterprise/metallb](https://truecharts.org/docs/charts/enterprise/metallb) + +--- + +TrueCharts can only exist due to the incredible effort of our staff. +Please consider making a [donation](https://truecharts.org/docs/about/sponsor) or contributing back to the project any way you can! diff --git a/stable/joplin-server/8.1.9/charts/common-10.8.0.tgz b/enterprise/metallb/5.0.3/charts/common-10.8.0.tgz similarity index 100% rename from stable/joplin-server/8.1.9/charts/common-10.8.0.tgz rename to enterprise/metallb/5.0.3/charts/common-10.8.0.tgz diff --git a/stable/joplin-server/8.1.9/values.yaml b/enterprise/metallb/5.0.3/ci/basic-values.yaml similarity index 100% rename from stable/joplin-server/8.1.9/values.yaml rename to enterprise/metallb/5.0.3/ci/basic-values.yaml diff --git a/enterprise/metallb/5.0.3/ci/pool-values.yaml b/enterprise/metallb/5.0.3/ci/pool-values.yaml new file mode 100644 index 00000000000..e69714e3142 --- /dev/null +++ b/enterprise/metallb/5.0.3/ci/pool-values.yaml @@ -0,0 +1,6 @@ +ipAddressPools: + - name: example + autoAssign: true + avoidBuggyIPs: true + addresses: + - 192.168.1.1-192.168.1.100 diff --git a/enterprise/metallb/5.0.3/ix_values.yaml b/enterprise/metallb/5.0.3/ix_values.yaml new file mode 100644 index 00000000000..a307267d5d9 --- /dev/null +++ b/enterprise/metallb/5.0.3/ix_values.yaml @@ -0,0 +1,68 @@ +image: + repository: placeholder + tag: upstream + pullPolicy: IfNotPresent + +controller: + enabled: false + +service: + main: + enabled: false + ports: + main: + enabled: false + port: 9999 + +updateCRD: false + +portal: + enabled: false + +probes: + liveness: + enabled: false + readiness: + enabled: false + startup: + enabled: false + +ipAddressPools: [] +# - name: example +# autoAssign: true +# avoidBuggyIPs: true +# addresses: +# - 192.168.1.1-192.168.1.100 +L2Advertisements: [] +# - name: l2adv +# addressPools: +# - pool1 +# nodeSelectors: +# - nodeA +BGPAdvertisements: [] +# - name: bgpadv +# addressPools: +# - pool1 +# aggregationLength: 24 +# localpref: 100 +# communities: +# - 1234:1 +# peers: +# - peer1 +Communities: [] +# - name: community1 +# value: 1234:1 +Peers: [] +# - name: peer1 +# myASN: 1234 +# password: pass +# routerID: 1234 +# bfdProfile: profile +# ebgpMultiHop: false +# holdTime: 10 +# keepaliveTime: 10 +# peerAddress: 172.30.0.2 +# peerPort: 179 +# sourceAddress: 172.30.0.3 +# nodeSelectors: +# - nodeA diff --git a/enterprise/metallb/5.0.3/questions.yaml b/enterprise/metallb/5.0.3/questions.yaml new file mode 100644 index 00000000000..31dadeac205 --- /dev/null +++ b/enterprise/metallb/5.0.3/questions.yaml @@ -0,0 +1,389 @@ +groups: + - name: Container Image + description: Image to be used for container + - name: Controller + description: Configure Workload Deployment + - name: Container Configuration + description: Additional Container Configuration + - name: App Configuration + description: App Specific Config Options + - name: Networking and Services + description: Configure Network and Services for Container + - name: Storage and Persistence + description: Persist and Share Data that is Separate from the Container + - name: Ingress + description: Ingress Configuration + - name: Security and Permissions + description: Configure Security Context and Permissions + - name: Resources and Devices + description: "Specify Resources/Devices to be Allocated to Workload" + - name: Middlewares + description: Traefik Middlewares + - name: Metrics + description: Metrics + - name: Addons + description: Addon Configuration + - name: Advanced + description: Advanced Configuration + - name: Documentation + description: Documentation +questions: + - variable: global + label: Global Settings + group: Controller + schema: + type: dict + hidden: true + attrs: + - variable: isSCALE + label: Flag this is SCALE + schema: + type: boolean + default: true + hidden: true + - variable: controller + group: Controller + label: "" + schema: + additional_attrs: true + type: dict + attrs: + - variable: advanced + label: Show Advanced Controller Settings + schema: + type: boolean + default: false + show_subquestions_if: true + subquestions: + - variable: type + description: Please specify type of workload to deploy + label: (Advanced) Controller Type + schema: + type: string + required: true + enum: + - value: deployment + description: Deployment + - value: statefulset + description: Statefulset + - value: daemonset + description: Daemonset + - variable: ipAddressPools + group: App Configuration + label: IP Address Pools Object + schema: + type: list + default: [] + items: + - variable: ipAddressPoolsEntry + label: IP Address Pool Entry + schema: + additional_attrs: true + type: dict + attrs: + - variable: name + label: Name + description: Name of the IP address pool + schema: + type: string + required: true + default: "" + - variable: autoAssign + label: Auto Assign + description: AutoAssign flag used to prevent MetallB from automatic + allocation for a pool. + schema: + type: boolean + default: true + - variable: avoidBuggyIPs + label: Avoid Buggy IPs + description: AvoidBuggyIPs prevents addresses ending with .0 and .255 + to be used by a pool. + schema: + type: boolean + default: false + - variable: addresses + label: Addresses Pools + description: A list of IP address ranges over which MetalLB has authority. + You can list multiple ranges in a single pool, they will all share + the same settings. Each range can be either a CIDR prefix, or an + explicit start-end range of IPs. + schema: + type: list + default: [] + items: + - variable: addressPoolEntry + label: Address Pool Entry + schema: + type: string + default: "" + required: true + - variable: L2Advertisements + group: App Configuration + label: L2 Advertisements + description: L2Advertisement allows to advertise the LoadBalancer IPs provided + by the selected pools via L2. + schema: + type: list + default: [] + items: + - variable: L2AdvertisementEntry + label: L2 Advertisement Entry + schema: + additional_attrs: true + type: dict + attrs: + - variable: name + label: Name + description: Name of the L2 Advertisement + schema: + type: string + required: true + default: "" + - variable: addressPools + label: Address Pools + description: The list of IPAddressPools to advertise via this advertisement, + selected by name. + schema: + type: list + default: [] + items: + - variable: addressPoolEntry + label: Address Pool Entry + schema: + type: string + default: "" + required: true + - variable: nodeSelectors + label: Node Selectors + description: NodeSelectors allows to limit the nodes to announce as + next hops for the LoadBalancer IP. When empty, all the nodes having are + announced as next hops. + schema: + type: list + default: [] + items: + - variable: nodeSelectorEntry + label: Node Selector Entry + schema: + type: string + default: "" + required: true + - variable: Communities + group: App Configuration + label: Communities + description: Community is a collection of aliases for communities. Users can + define named aliases to be used in the BGPPeer CRD. + schema: + type: list + default: [] + items: + - variable: CommunityEntry + label: Community Entry + schema: + additional_attrs: true + type: dict + attrs: + - variable: name + label: Name + description: The name of the alias for the community. + schema: + type: string + required: true + default: "" + - variable: value + label: Value + description: The BGP community value corresponding to the given name. + schema: + type: string + required: true + default: "" + - variable: Peers + group: App Configuration + label: Peers + description: BGPPeer is the Schema for the peers API. + schema: + type: list + default: [] + items: + - variable: PeerEntry + label: Peer Entry + schema: + additional_attrs: true + type: dict + attrs: + - variable: name + label: Name + description: The name of the peer. + schema: + type: string + required: true + default: "" + - variable: bfdProfile + label: BFD Profile + description: The name of the BFD Profile to be used for the BFD session + associated to the BGP session. If not set, the BFD session won't + be set up. + schema: + type: string + default: "" + - variable: ebgpMultiHop + label: EBGP MultiHop + description: TTo set if the BGPPeer is multi-hops away. Needed for + FRR mode only. + schema: + type: boolean + default: false + - variable: holdTime + label: Hold Time + description: Requested BGP hold time, per RFC4271. + schema: + type: int + - variable: keepaliveTime + label: Keep Alive Time + description: Requested BGP keep alive time, per RFC4271. + schema: + type: int + - variable: myASN + label: My ASN + description: AS number to use for the local end of the session. + schema: + type: int + - variable: password + label: Password + description: Authentication password for routers enforcing TCP MD5 + authenticated sessions + schema: + type: string + private: true + default: "" + - variable: peerASN + label: Peer ASN + description: AS number to expect from the remote end of the session. + schema: + type: string + valid_chars: '^[0-9]*$' + default: "" + - variable: peerAddress + label: Peer Address + description: Address to dial when establishing the session. + schema: + type: string + default: "" + - variable: peerPort + label: Peer Port + description: Port to dial when establishing the session. + schema: + type: string + valid_chars: '^[0-9]*$' + default: "" + - variable: routerID + label: Router ID + description: BGP router ID to advertise to the peer + schema: + type: string + default: "" + - variable: sourceAddress + label: Source Address + description: Source address to use when establishing the session. + schema: + type: string + default: "" + - variable: nodeSelectors + label: Node Selectors + description: Only connect to this peer on nodes that match one of + these selectors. + schema: + type: list + default: [] + items: + - variable: nodeSelectorEntry + label: Node Selector Entry + schema: + type: string + default: "" + required: true + - variable: BGPAdvertisements + group: App Configuration + label: BGP Advertisements + description: BGPAdvertisement allows to advertise the IPs coming from the + selected IPAddressPools via BGP. + schema: + type: list + default: [] + items: + - variable: BGPAdvertisementEntry + label: BGP Advertisement Entry + schema: + additional_attrs: true + type: dict + attrs: + - variable: name + label: Name + description: Name of the BGP Advertisement + schema: + type: string + required: true + default: "" + - variable: addressPools + label: Address Pools + description: The list of IPAddressPools to advertise via this advertisement, + selected by name. + schema: + type: list + default: [] + items: + - variable: addressPoolEntry + label: Address Pool Entry + schema: + type: string + default: "" + required: true + - variable: aggregationLength + label: Aggregation Length + description: The aggregation-length advertisement option lets you + "roll up" the /32s into a larger prefix. Defaults to 32. Works for + IPv4 addresses. + schema: + type: string + valid_chars: '^[0-9]*$' + default: "" + - variable: localpref + label: Local Pref + description: The BGP LOCAL_PREF attribute which is used by BGP best + path algorithm, Path with higher localpref is preferred over one + with lower localpref. + schema: + type: string + valid_chars: '^[0-9]*$' + default: "" + - variable: communities + label: Communities + description: The BGP communities to be associated with the announcement. + Each item can be a community of the form 1234:1234 or the name of + an alias defined in the Community CRD. + schema: + type: list + default: [] + items: + - variable: communityEntry + label: Community Entry + schema: + type: string + default: "" + required: true + - variable: peers + label: Peers + description: Peers limits the BGPpeer to advertise the ips of the + selected pools to. When empty, the loadbalancer IP is announced + to all the BGPPeers configured. + schema: + type: list + default: [] + items: + - variable: peerEntry + label: Peer Entry + schema: + type: string + default: "" + required: true diff --git a/enterprise/metallb/5.0.3/templates/_bgpadvertisement.tpl b/enterprise/metallb/5.0.3/templates/_bgpadvertisement.tpl new file mode 100644 index 00000000000..8800867bea3 --- /dev/null +++ b/enterprise/metallb/5.0.3/templates/_bgpadvertisement.tpl @@ -0,0 +1,33 @@ +{{- define "metallb.bgpadv" -}} +{{- range .Values.BGPAdvertisements }} +--- +apiVersion: metallb.io/v1beta1 +kind: BGPAdvertisement +metadata: + name: {{ $.Release.Name }}-{{ .name }} + namespace: metallb-system +spec: + ipAddressPools: + {{- range .addressPools }} + - {{ . }} + {{- end }} + {{- with .aggregationLength }} + aggregationLength: {{ . | int }} + {{- end }} + {{- with .localpref }} + localpref: {{ . | int }} + {{- end }} + {{- if .communities }} + communities: + {{- range .communities }} + - {{ . }} + {{- end }} + {{- end }} + {{- if .peers }} + peers: + {{- range .peers }} + - {{ . }} + {{- end }} + {{- end }} +{{- end }} +{{- end -}} diff --git a/enterprise/metallb/5.0.3/templates/_community.tpl b/enterprise/metallb/5.0.3/templates/_community.tpl new file mode 100644 index 00000000000..3684a2e8d06 --- /dev/null +++ b/enterprise/metallb/5.0.3/templates/_community.tpl @@ -0,0 +1,16 @@ +{{- define "metallb.comm" -}} +{{- if .Values.Communities }} +--- +apiVersion: metallb.io/v1beta1 +kind: Community +metadata: + name: {{ $.Release.Name }}-communities + namespace: metallb-system +spec: + communities: + {{- range .Values.Communities }} + - name: {{ .name }} + value: {{ .value }} + {{- end }} +{{- end }} +{{- end -}} diff --git a/enterprise/metallb/5.0.3/templates/_ipaddresspool.tpl b/enterprise/metallb/5.0.3/templates/_ipaddresspool.tpl new file mode 100644 index 00000000000..2393d082b12 --- /dev/null +++ b/enterprise/metallb/5.0.3/templates/_ipaddresspool.tpl @@ -0,0 +1,17 @@ +{{- define "metallb.pool" -}} +{{- range .Values.ipAddressPools }} +--- +apiVersion: metallb.io/v1beta1 +kind: IPAddressPool +metadata: + name: {{ $.Release.Name }}-{{ .name }} + namespace: metallb-system +spec: + addresses: + {{- range .addresses }} + - {{ . }} + {{- end }} + autoAssign: {{ .autoAssign | default true }} + avoidBuggyIPs: {{ .avoidBuggyIPs | default false }} +{{- end }} +{{- end -}} diff --git a/enterprise/metallb/5.0.3/templates/_l2advertisement.tpl b/enterprise/metallb/5.0.3/templates/_l2advertisement.tpl new file mode 100644 index 00000000000..a63374623a8 --- /dev/null +++ b/enterprise/metallb/5.0.3/templates/_l2advertisement.tpl @@ -0,0 +1,22 @@ +{{- define "metallb.l2adv" -}} +{{- range .Values.L2Advertisements }} +--- +apiVersion: metallb.io/v1beta1 +kind: L2Advertisement +metadata: + name: {{ $.Release.Name }}-{{ .name }} + namespace: metallb-system +spec: + ipAddressPools: + {{- range .addressPools }} + - {{ . }} + {{- end }} + {{- if .nodeSelectors }} + {{- range .nodeSelectors }} + nodeSelectors: + - matchLabels: + kubernetes.io/hostname: {{ . }} + {{- end }} + {{- end }} +{{- end }} +{{- end -}} diff --git a/enterprise/metallb/5.0.3/templates/_peers.tpl b/enterprise/metallb/5.0.3/templates/_peers.tpl new file mode 100644 index 00000000000..58d7d108103 --- /dev/null +++ b/enterprise/metallb/5.0.3/templates/_peers.tpl @@ -0,0 +1,51 @@ +{{- define "metallb.peers" -}} +{{- range .Values.Peers }} +--- +apiVersion: metallb.io/v1beta2 +kind: BGPPeer +metadata: + name: {{ $.Release.Name }}-{{ .name }} + namespace: metallb-system +spec: + {{- with .password }} + password: {{ . }} + {{- end }} + {{- with .routerID }} + routerID: {{ . }} + {{- end }} + {{- with .bfdProfile }} + bfdProfile: {{ . }} + {{- end }} + {{- with .ebgpMultiHop }} + ebgpMultiHop: {{ . }} + {{- end }} + {{- with .holdTime }} + holdTime: {{ . }} + {{- end }} + {{- with .keepaliveTime }} + keepaliveTime: {{ . }} + {{- end }} + {{- with .myASN }} + myASN: {{ . }} + {{- end }} + {{- with .peerASN }} + peerASN: {{ . | int }} + {{- end }} + {{- with .peerAddress }} + peerAddress: {{ . }} + {{- end }} + {{- with .peerPort }} + peerPort: {{ . | int }} + {{- end }} + {{- with .sourceAddress }} + sourceAddress: {{ . }} + {{- end }} + {{- if .nodeSelectors }} + nodeSelectors: + {{- range .nodeSelectors }} + - matchLabels: + kubernetes.io/hostname: {{ . }} + {{- end }} + {{- end }} +{{- end }} +{{- end -}} diff --git a/enterprise/metallb/5.0.3/templates/_wait.tpl b/enterprise/metallb/5.0.3/templates/_wait.tpl new file mode 100644 index 00000000000..587f2532329 --- /dev/null +++ b/enterprise/metallb/5.0.3/templates/_wait.tpl @@ -0,0 +1,68 @@ +{{- define "metallb.wait" -}} +{{- $fullName := include "tc.common.names.fullname" . -}} +--- +apiVersion: batch/v1 +kind: Job +metadata: + namespace: {{ .Release.Namespace }} + name: {{ $fullName }}-wait + annotations: + "helm.sh/hook": pre-install, pre-upgrade + "helm.sh/hook-weight": "-1" + "helm.sh/hook-delete-policy": hook-succeeded,before-hook-creation +spec: + template: + spec: + serviceAccountName: {{ $fullName }}-wait + containers: + - name: {{ $fullName }}-wait + image: {{ .Values.ubuntuImage.repository }}:{{ .Values.ubuntuImage.tag }} + command: + - "/bin/sh" + - "-c" + - | + /bin/bash <<'EOF' + kubectl wait --namespace metallb-system --for=condition=ready pod --selector=app=metallb --timeout=90s + EOF + restartPolicy: OnFailure +--- +apiVersion: rbac.authorization.k8s.io/v1 +kind: ClusterRole +metadata: + name: {{ $fullName }}-wait + annotations: + "helm.sh/hook": pre-install, pre-upgrade + "helm.sh/hook-weight": "-2" + "helm.sh/hook-delete-policy": hook-succeeded,before-hook-creation +rules: + - apiGroups: ["*"] + resources: ["pods"] + verbs: ["get", "list", "watch"] +--- +apiVersion: rbac.authorization.k8s.io/v1 +kind: ClusterRoleBinding +metadata: + name: {{ $fullName }}-wait + annotations: + "helm.sh/hook": pre-install, pre-upgrade + "helm.sh/hook-weight": "-2" + "helm.sh/hook-delete-policy": hook-succeeded,before-hook-creation +roleRef: + apiGroup: rbac.authorization.k8s.io + kind: ClusterRole + name: {{ $fullName }}-wait +subjects: + - kind: ServiceAccount + name: {{ $fullName }}-wait + namespace: {{ .Release.Namespace }} +--- +apiVersion: v1 +kind: ServiceAccount +metadata: + name: {{ $fullName }}-wait + namespace: {{ .Release.Namespace }} + annotations: + "helm.sh/hook": pre-install, pre-upgrade + "helm.sh/hook-weight": "-2" + "helm.sh/hook-delete-policy": hook-succeeded,before-hook-creation +{{- end -}} diff --git a/enterprise/metallb/5.0.3/templates/common.yaml b/enterprise/metallb/5.0.3/templates/common.yaml new file mode 100644 index 00000000000..d545fb257f6 --- /dev/null +++ b/enterprise/metallb/5.0.3/templates/common.yaml @@ -0,0 +1,17 @@ +{{/* Make sure all variables are set properly */}} +{{- include "tc.common.loader.init" . }} + +{{/* Render the templates */}} +{{ include "tc.common.loader.apply" . }} + +{{- include "metallb.l2adv" . }} + +{{- include "metallb.peers" . }} + +{{- include "metallb.bgpadv" . }} + +{{- include "metallb.comm" . }} + +{{- include "metallb.pool" . }} + +{{- include "metallb.wait" . }} diff --git a/enterprise/metallb/5.0.3/values.yaml b/enterprise/metallb/5.0.3/values.yaml new file mode 100644 index 00000000000..e69de29bb2d diff --git a/stable/joplin-server/8.1.9/CHANGELOG.md b/stable/joplin-server/8.1.11/CHANGELOG.md similarity index 95% rename from stable/joplin-server/8.1.9/CHANGELOG.md rename to stable/joplin-server/8.1.11/CHANGELOG.md index e717f1cee78..7003ad053cc 100644 --- a/stable/joplin-server/8.1.9/CHANGELOG.md +++ b/stable/joplin-server/8.1.11/CHANGELOG.md @@ -2,6 +2,15 @@ +## [joplin-server-8.1.11](https://github.com/truecharts/charts/compare/joplin-server-8.1.9...joplin-server-8.1.11) (2022-11-06) + +### Chore + +- Auto-update chart README [skip ci] + + + + ## [joplin-server-8.1.9](https://github.com/truecharts/charts/compare/joplin-server-8.1.8...joplin-server-8.1.9) (2022-11-06) ### Chore @@ -88,12 +97,3 @@ - Auto-update chart README [skip ci] - fix show-if's ([#4037](https://github.com/truecharts/charts/issues/4037)) - - - - -## [joplin-server-8.1.0](https://github.com/truecharts/charts/compare/joplin-server-8.0.42...joplin-server-8.1.0) (2022-10-08) - -### Chore - -- Auto-update chart README [skip ci] diff --git a/stable/joplin-server/8.1.9/Chart.lock b/stable/joplin-server/8.1.11/Chart.lock similarity index 85% rename from stable/joplin-server/8.1.9/Chart.lock rename to stable/joplin-server/8.1.11/Chart.lock index d7501ce799c..e8e85327bfd 100644 --- a/stable/joplin-server/8.1.9/Chart.lock +++ b/stable/joplin-server/8.1.11/Chart.lock @@ -6,4 +6,4 @@ dependencies: repository: https://charts.truecharts.org/ version: 8.0.118 digest: sha256:af9af2a5972e60b044ca0eb90c89933782d7b67d14da0967700c778860acb7fc -generated: "2022-11-06T11:51:32.401362873Z" +generated: "2022-11-06T19:24:20.822756395Z" diff --git a/stable/joplin-server/8.1.9/Chart.yaml b/stable/joplin-server/8.1.11/Chart.yaml similarity index 90% rename from stable/joplin-server/8.1.9/Chart.yaml rename to stable/joplin-server/8.1.11/Chart.yaml index 896cfdfc1da..96c8b4a486c 100644 --- a/stable/joplin-server/8.1.9/Chart.yaml +++ b/stable/joplin-server/8.1.11/Chart.yaml @@ -1,19 +1,5 @@ apiVersion: v2 appVersion: "2.9.5" -description: This server allows you to sync any Joplin client -name: joplin-server -version: 8.1.9 -kubeVersion: ">=1.16.0-0" -keywords: - - joplin - - notes -home: https://truecharts.org/docs/charts/stable/joplin-server -icon: https://truecharts.org/img/hotlink-ok/chart-icons/joplin-server.png -sources: - - https://github.com/truecharts/charts/tree/master/charts/stable/joplin-server - - https://github.com/laurent22/joplin/tree/dev/packages/server - - https://github.com/laurent22/joplin - - https://hub.docker.com/r/joplin/server dependencies: - name: common repository: https://library-charts.truecharts.org @@ -22,10 +8,26 @@ dependencies: name: postgresql repository: https://charts.truecharts.org/ version: 8.0.118 +deprecated: false +description: Allows you to sync any Joplin client. +home: https://truecharts.org/docs/charts/stable/joplin-server +icon: https://truecharts.org/img/hotlink-ok/chart-icons/joplin-server.png +keywords: + - joplin + - notes +kubeVersion: ">=1.16.0-0" maintainers: - email: info@truecharts.org name: TrueCharts url: https://truecharts.org +name: joplin-server +sources: + - https://github.com/truecharts/charts/tree/master/charts/stable/joplin-server + - https://github.com/laurent22/joplin/tree/dev/packages/server + - https://github.com/laurent22/joplin + - https://hub.docker.com/r/joplin/server +type: application +version: 8.1.11 annotations: truecharts.org/catagories: | - media diff --git a/stable/joplin-server/8.1.9/README.md b/stable/joplin-server/8.1.11/README.md similarity index 98% rename from stable/joplin-server/8.1.9/README.md rename to stable/joplin-server/8.1.11/README.md index 62954942757..975997fb7e9 100644 --- a/stable/joplin-server/8.1.9/README.md +++ b/stable/joplin-server/8.1.11/README.md @@ -1,6 +1,6 @@ # joplin-server -This server allows you to sync any Joplin client +Allows you to sync any Joplin client. TrueCharts can be installed as both *normal* Helm Charts or as Apps on TrueNAS SCALE. diff --git a/stable/joplin-server/8.1.9/app-readme.md b/stable/joplin-server/8.1.11/app-readme.md similarity index 89% rename from stable/joplin-server/8.1.9/app-readme.md rename to stable/joplin-server/8.1.11/app-readme.md index e3d63294110..8e5a49fe12e 100644 --- a/stable/joplin-server/8.1.9/app-readme.md +++ b/stable/joplin-server/8.1.11/app-readme.md @@ -1,4 +1,4 @@ -This server allows you to sync any Joplin client +Allows you to sync any Joplin client. This App is supplied by TrueCharts, for more information visit the manual: [https://truecharts.org/docs/charts/stable/joplin-server](https://truecharts.org/docs/charts/stable/joplin-server) diff --git a/stable/joplin-server/8.1.11/charts/common-10.8.0.tgz b/stable/joplin-server/8.1.11/charts/common-10.8.0.tgz new file mode 100644 index 00000000000..33a3aaa2770 Binary files /dev/null and b/stable/joplin-server/8.1.11/charts/common-10.8.0.tgz differ diff --git a/stable/joplin-server/8.1.9/charts/postgresql-8.0.118.tgz b/stable/joplin-server/8.1.11/charts/postgresql-8.0.118.tgz similarity index 100% rename from stable/joplin-server/8.1.9/charts/postgresql-8.0.118.tgz rename to stable/joplin-server/8.1.11/charts/postgresql-8.0.118.tgz diff --git a/stable/joplin-server/8.1.9/ix_values.yaml b/stable/joplin-server/8.1.11/ix_values.yaml similarity index 100% rename from stable/joplin-server/8.1.9/ix_values.yaml rename to stable/joplin-server/8.1.11/ix_values.yaml diff --git a/stable/joplin-server/8.1.9/questions.yaml b/stable/joplin-server/8.1.11/questions.yaml similarity index 99% rename from stable/joplin-server/8.1.9/questions.yaml rename to stable/joplin-server/8.1.11/questions.yaml index 356083b3a0c..c8faea888f1 100644 --- a/stable/joplin-server/8.1.9/questions.yaml +++ b/stable/joplin-server/8.1.11/questions.yaml @@ -172,14 +172,14 @@ questions: type: dict attrs: - variable: APP_BASE_URL - label: APP_BASE_URL - description: Sets the APP_BASE_URL env var + label: App Base Url + description: Sets the APP BASE URL, eg http://ip:port | https://app.mydomain.tld:443 schema: type: string required: true default: "" - variable: MAILER_ENABLED - label: MAILER_ENABLED + label: Mailer Enabled description: Set 1 to enabled and 0 to disable schema: type: int @@ -188,35 +188,35 @@ questions: default: 0 - variable: MAILER_HOST label: Mailer Host - description: Sets the MAILER_HOST env var, eg smtp.example.com + description: Set the mail host, eg smtp.example.com schema: show_if: [["MAILER_ENABLED", "=", 1]] type: string default: "" - variable: MAILER_PORT label: Mailer Port - description: Sets the MAILER_PORT env var, eg SMTP PORT 465 + description: Sets the mail port, eg SMTP PORT 465 schema: show_if: [["MAILER_ENABLED", "=", 1]] type: int default: 465 - variable: MAILER_SECURE label: Mailer Secure - description: Sets the MAILER_SECURE env var, HTTPS for the smtp + description: Enable SSL for SMTP schema: show_if: [["MAILER_ENABLED", "=", 1]] type: boolean default: true - variable: MAILER_AUTH_USER label: Mailer Auth User - description: Sets the MAILER_AUTH_USER env var, username for Email server + description: Sets the username for the email server schema: show_if: [["MAILER_ENABLED", "=", 1]] type: string default: "" - variable: MAILER_AUTH_PASSWORD label: Mailer Auth Password - description: Sets the MAILER_AUTH_PASSWORD env var, password for Email server + description: Sets the password for the email server schema: show_if: [["MAILER_ENABLED", "=", 1]] type: string @@ -224,14 +224,14 @@ questions: default: "" - variable: MAILER_NOREPLY_NAME label: Mailer No Reply Name - description: Sets the MAILER_NOREPLY_NAME env var, No Reply email name + description: Sets the No Reply email name schema: show_if: [["MAILER_ENABLED", "=", 1]] type: string default: "" - variable: MAILER_NOREPLY_EMAIL label: Mailer No Reply Email - description: Sets the MAILER_NOREPLY_EMAIL env var, No Reply default email + description: Sets the No Reply default email schema: show_if: [["MAILER_ENABLED", "=", 1]] type: string diff --git a/stable/joplin-server/8.1.9/templates/common.yaml b/stable/joplin-server/8.1.11/templates/common.yaml similarity index 100% rename from stable/joplin-server/8.1.9/templates/common.yaml rename to stable/joplin-server/8.1.11/templates/common.yaml diff --git a/stable/joplin-server/8.1.11/values.yaml b/stable/joplin-server/8.1.11/values.yaml new file mode 100644 index 00000000000..e69de29bb2d