feat(Apps): Moving cloudflareddns to stable (#3205)

* Moving cloudflareddns to stable

Moving files

* Update version to 1.0.0

Updated chart version to Stable versions numbering scheme
This commit is contained in:
StevenMcElligott
2022-07-18 06:44:39 +00:00
committed by GitHub
parent edafba6f27
commit d8d3badf08
9 changed files with 1 additions and 1 deletions
+30
View File
@@ -0,0 +1,30 @@
# Patterns to ignore when building packages.
# This supports shell glob matching, relative path matching, and
# negation (prefixed with !). Only one pattern per line.
.DS_Store
# Common VCS dirs
.git/
.gitignore
.bzr/
.bzrignore
.hg/
.hgignore
.svn/
# Common backup files
*.swp
*.bak
*.tmp
*~
# Various IDEs
.project
.idea/
*.tmproj
.vscode/
# OWNERS file for Kubernetes
OWNERS
# helm-docs templates
*.gotmpl
# docs folder
/docs
# icon
icon.png
+131
View File
@@ -0,0 +1,131 @@
# Changelog
## [cloudflareddns-0.0.16](https://github.com/truecharts/apps/compare/cloudflareddns-0.0.15...cloudflareddns-0.0.16) (2022-07-17)
### Chore
- Auto-update chart README [skip ci]
- extend linter and apply lint ([#3200](https://github.com/truecharts/apps/issues/3200))
### Feat
- Add Setup-Guide for cloudflareddns ([#3197](https://github.com/truecharts/apps/issues/3197))
## [cloudflareddns-0.0.15](https://github.com/truecharts/apps/compare/cloudflareddns-0.0.14...cloudflareddns-0.0.15) (2022-07-14)
### Fix
- regenerate catalog and update template
## [cloudflareddns-0.0.14](https://github.com/truecharts/apps/compare/cloudflareddns-0.0.12...cloudflareddns-0.0.14) (2022-07-14)
### Fix
- bump to ensure .helmignore is present on all Charts
## [cloudflareddns-0.0.12](https://github.com/truecharts/apps/compare/cloudflareddns-0.0.10...cloudflareddns-0.0.12) (2022-07-12)
### Chore
- update icons ([#3156](https://github.com/truecharts/apps/issues/3156))
- bump to cleanup old docs and use correct icon urls
## [cloudflareddns-0.0.10](https://github.com/truecharts/apps/compare/cloudflareddns-0.0.9...cloudflareddns-0.0.10) (2022-07-12)
### Chore
- bump to regenerate documentation
<a name="cloudflareddns-0.0.9"></a>
### [cloudflareddns-0.0.9](https://github.com/truecharts/apps/compare/cloudflareddns-0.0.8...cloudflareddns-0.0.9) (2022-07-12)
#### Chore
* update helm general non-major helm releases ([#3147](https://github.com/truecharts/apps/issues/3147))
<a name="cloudflareddns-0.0.8"></a>
### [cloudflareddns-0.0.8](https://github.com/truecharts/apps/compare/cloudflareddns-0.0.7...cloudflareddns-0.0.8) (2022-07-11)
#### Chore
* move icons into the apps folder ([#3139](https://github.com/truecharts/apps/issues/3139))
<a name="cloudflareddns-0.0.7"></a>
### [cloudflareddns-0.0.7](https://github.com/truecharts/apps/compare/cloudflareddns-0.0.6...cloudflareddns-0.0.7) (2022-07-11)
#### Chore
* update image refs ([#3135](https://github.com/truecharts/apps/issues/3135))
<a name="cloudflareddns-0.0.6"></a>
### [cloudflareddns-0.0.6](https://github.com/truecharts/apps/compare/cloudflareddns-0.0.5...cloudflareddns-0.0.6) (2022-07-10)
#### Chore
* update docker general non-major ([#3115](https://github.com/truecharts/apps/issues/3115))
<a name="cloudflareddns-0.0.5"></a>
### [cloudflareddns-0.0.5](https://github.com/truecharts/apps/compare/cloudflareddns-0.0.4...cloudflareddns-0.0.5) (2022-07-09)
#### Chore
* update helm general non-major helm releases ([#3113](https://github.com/truecharts/apps/issues/3113))
<a name="cloudflareddns-0.0.4"></a>
### [cloudflareddns-0.0.4](https://github.com/truecharts/apps/compare/cloudflareddns-0.0.3...cloudflareddns-0.0.4) (2022-07-04)
#### Chore
* update helm general non-major helm releases ([#3066](https://github.com/truecharts/apps/issues/3066))
<a name="cloudflareddns-0.0.3"></a>
### [cloudflareddns-0.0.3](https://github.com/truecharts/apps/compare/cloudflareddns-0.0.2...cloudflareddns-0.0.3) (2022-07-04)
#### Fix
* fix DETECTION_MODE ([#3063](https://github.com/truecharts/apps/issues/3063))
<a name="cloudflareddns-0.0.2"></a>
### [cloudflareddns-0.0.2](https://github.com/truecharts/apps/compare/cloudflareddns-0.0.1...cloudflareddns-0.0.2) (2022-07-03)
#### Chore
* Auto-update chart README [skip ci]
#### Fix
* Fix CF_ZONES env var ([#3054](https://github.com/truecharts/apps/issues/3054))
<a name="cloudflareddns-0.0.1"></a>
### cloudflareddns-0.0.1 (2022-07-02)
#### Feat
* Add CloudflareDDNS to incubator ([#3037](https://github.com/truecharts/apps/issues/3037))
+32
View File
@@ -0,0 +1,32 @@
apiVersion: v2
kubeVersion: ">=1.16.0-0"
name: cloudflareddns
version: 1.0.0
appVersion: "latest"
description: Update your Cloudflare DNS records using dynamically
type: application
deprecated: false
home: https://github.com/truecharts/apps/tree/master/charts/stable/cloudflareddns
icon: https://truecharts.org/img/chart-icons/cloudflareddns.png
keywords:
- ddns
- cloudflare
- cloudflareddns
sources:
- https://github.com/hotio/cloudflareddns
- https://hotio.dev/containers/cloudflareddns/
dependencies:
- name: common
repository: https://library-charts.truecharts.org
version: 10.4.4
# condition:
maintainers:
- email: info@truecharts.org
name: TrueCharts
url: https://truecharts.org
annotations:
truecharts.org/catagories: |
- incubator
- networking
truecharts.org/SCALE-support: "true"
truecharts.org/grade: U
+43
View File
@@ -0,0 +1,43 @@
# cloudflareddns
Update your Cloudflare DNS records using dynamically
TrueCharts are designed to be installed as TrueNAS SCALE app only. We can not guarantee this charts works as a stand-alone helm installation.
**This chart is not maintained by the upstream project and any issues with the chart should be raised [here](https://github.com/truecharts/apps/issues/new/choose)**
## Source Code
* <https://github.com/hotio/cloudflareddns>
* <https://hotio.dev/containers/cloudflareddns/>
## Requirements
Kubernetes: `>=1.16.0-0`
## Dependencies
| Repository | Name | Version |
|------------|------|---------|
| https://library-charts.truecharts.org | common | 10.4.4 |
## Installing the Chart
To install this App on TrueNAS SCALE check our [Quick-Start Guide](https://truecharts.org/manual/Quick-Start%20Guides/02-Installing-an-App/).
## Upgrading, Rolling Back and Uninstalling the Chart
To upgrade, rollback or delete this App from TrueNAS SCALE check our [Quick-Start Guide](https://truecharts.org/manual/Quick-Start%20Guides/04-Upgrade-rollback-delete-an-App/).
##### Connecting to other apps
If you need to connect this App to other Apps on TrueNAS SCALE, please refer to our [Linking Apps Internally](https://truecharts.org/manual/Quick-Start%20Guides/06-linking-apps/) quick-start guide.
## Support
- Please check our [quick-start guides](https://truecharts.org/manual/Quick-Start%20Guides/01-Adding-TrueCharts/) first.
- See the [Wiki](https://truecharts.org)
- Check our [Discord](https://discord.gg/tVsPTHWTtr)
- Open a [issue](https://github.com/truecharts/apps/issues/new/choose)
---
All Rights Reserved - The TrueCharts Project
@@ -0,0 +1,60 @@
# How-To
So you've followed some of our TrueNAS guides, setup your domain name, certificates and use Cloudflare for your DNS management, however you don't have a static IP, then this guide is for you. This quick guide will help you go through the steps to use Cloudflareddns to update your dynamic IP along with your entire deployment so that even if you change IP your domain will point to the right address.
## Requirements
Domain name (can be purchased through Cloudflare or etc)
Cloudflare DNS management
- Sign up for Cloudflare free
- Point your nameservers to the ones Cloudflare assigns to you
![image](https://user-images.githubusercontent.com/89483932/179332161-e903e46e-ed8c-4b58-81fc-6fcadf1a9851.png)
Cloudflareddns chart
## Prerequisites
This guide assumes you've followed our main [Quick-Start Guide](https://truecharts.org/docs/manual/SCALE%20Apps/Quick-Start%20Guides/adding-letsencrypt) with your domain on TrueNAS and done the configuration for your DNS on Cloudflare (see [this video](https://www.youtube.com/watch?v=hJVghecs3rE) on our YouTube channel)
The recommended way is to setup CNAMEs for your subdomains (charts) and keep your A record pointed to your base domain, such as below
![image](https://user-images.githubusercontent.com/89483932/179334653-316e462f-7bf7-4cda-a9dc-dd8842e76021.png)
Take note of the `Zone ID` and `Account ID`, that's what we'll use inside the Cloudflareddns chart.
![Overview](https://user-images.githubusercontent.com/89483932/179336819-64a32521-c64b-4ae6-8d5d-225b7342b786.png)
## Cloudflareddns chart setup
Step 1-2: Name chart and leave defaults for Step 2
![Step 1](https://user-images.githubusercontent.com/89483932/179336761-2ce2da3a-cd75-43ba-befe-4c3775f04027.png)
Step 3:
![Step 3 Part 1](https://user-images.githubusercontent.com/89483932/179336779-e2aa5273-8527-40f1-bc3c-3768931ea289.png)
Use ZoneID from Cloudflare Domain Overview page (see above) for the `CF_APITOKEN_ZONE` field
Use Account ID from Cloudflare Domain Overview page (see above) for the `CF_APITOKEN` field
![Step 3 Part 2](https://user-images.githubusercontent.com/89483932/179336787-338b1939-546c-42fa-86a2-afe89da91e8d.png)
You can leave everything but the `CF_RECORDTYPES` to defaults if you're only changing your A record, (refer to the upstream documentation for more options [here](https://hotio.dev/containers/cloudflareddns/))
Change `CF_RECORDTYPES` to A if you're only changing your main domain
Steps 4-8: Adjust as necessary but defaults are fine
## Support
- If you need more details or have a more custom setup the documentation on the [upstream](https://hotio.dev/containers/cloudflareddns/) is very complete so check the descriptions of the options there.
- You can also reach us using Discord for real-time feedback and support
- Check our [Discord](https://discord.gg/tVsPTHWTtr)
- If you found a bug in our chart, open a Github [issue](https://github.com/truecharts/apps/issues/new/choose)
---
All Rights Reserved - The TrueCharts Project
Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

+250
View File
@@ -0,0 +1,250 @@
# Include{groups}
portals: {}
questions:
# Include{global}
- 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
default: "deployment"
required: true
enum:
- value: "deployment"
description: "Deployment"
- value: "statefulset"
description: "Statefulset"
- value: "daemonset"
description: "Daemonset"
- variable: replicas
description: "Number of desired pod replicas"
label: "Desired Replicas"
schema:
type: int
default: 1
required: true
- variable: strategy
description: "Please specify type of workload to deploy"
label: "(Advanced) Update Strategy"
schema:
type: string
default: "Recreate"
required: true
enum:
- value: "Recreate"
description: "Recreate: Kill existing pods before creating new ones"
- value: "RollingUpdate"
description: "RollingUpdate: Create new pods and then kill old ones"
- value: "OnDelete"
description: "(Legacy) OnDelete: ignore .spec.template changes"
# Include{controllerExpert}
- variable: secretEnv
group: "Container Configuration"
label: "Image Secrets"
schema:
additional_attrs: true
type: dict
attrs:
- variable: CF_APITOKEN
label: "CF_APITOKEN"
schema:
type: string
private: true
default: ""
- variable: CF_APIKEY
label: "CF_APIKEY"
schema:
type: string
private: true
default: ""
- variable: CF_APITOKEN_ZONE
label: "CF_APITOKEN_ZONE"
schema:
type: string
private: true
default: ""
- variable: env
group: "Container Configuration"
label: "Image Environment"
schema:
additional_attrs: true
type: dict
attrs:
- variable: INTERVAL
label: "INTERVAL"
description: "Update your DDNS interval in seconds"
schema:
type: int
default: 300
- variable: LOG_LEVEL
label: "LOG_LEVEL"
description: "Level of detail your logs need"
schema:
type: int
default: 3
- variable: DETECT_MODE
label: "DETECTION_MODE"
description: "How you want to get your WAN IP"
schema:
type: string
default: "dig-whoami.cloudflare"
enum:
- value: "dig-whoami.cloudflare"
description: "dig-whoami.cloudflare"
- value: "curl-ifconfig.co"
description: "curl-ifconfig.co"
- value: "curl-icanhazip.com"
description: "curl-icanhazip.com"
- value: "curl-wtfismyip.com"
description: "curl-wtfismyip.com"
- value: "curl-showmyip.ca"
description: "curl-showmyip.ca"
- value: "curl-da.gd"
description: "curl-da.gd"
- value: "curl-seeip.org"
description: "curl-seeip.org"
- value: "dig-google.com"
description: "dig-google.com"
- value: "dig-opendns.com"
description: "dig-opendns.com"
- variable: DETECT_OVERRIDE
label: "DETECTION_MODE_OVERRIDE"
description: "If you want to set DETECTION_MODE to 'local:eth0' for a local interface, this will override the dropdown selection"
schema:
type: string
default: ""
- variable: CF_USER
label: "CF_USER"
description: "Cloudflare Username (eg. your.cf.email@example.com)"
schema:
type: string
default: ""
- variable: CF_HOSTS
label: "CF_HOSTS"
description: "Cloudflare Hosts (Domains) (eg. test.example.com;test.foobar.com)"
schema:
type: string
default: ""
- variable: CF_ZONES
label: "CF_ZONES"
description: "Cloudflare DNS Zones (eg. example.com;foobar.com;foobar.com)"
schema:
type: string
default: ""
- variable: CF_RECORDTYPES
label: "CF_RECORDTYPES"
description: "Cloudflare DNS Zones"
schema:
type: string
default: "A;A;AAAA"
# Include{containerConfig}
# Include{serviceList}
- variable: persistence
label: "Integrated Persistent Storage"
description: "Integrated Persistent Storage"
group: "Storage and Persistence"
schema:
additional_attrs: true
type: dict
attrs:
- variable: config
label: "App Config Storage"
description: "Stores the Application Configuration."
schema:
additional_attrs: true
type: dict
attrs:
# Include{persistenceBasic}
# Include{persistenceAdvanced}
# Include{persistenceList}
# Include{ingressList}
# Include{security}
- variable: advancedSecurity
label: "Show Advanced Security Settings"
group: "Security and Permissions"
schema:
type: boolean
default: false
show_subquestions_if: true
subquestions:
- variable: securityContext
label: "Security Context"
schema:
additional_attrs: true
type: dict
attrs:
- variable: privileged
label: "Privileged mode"
schema:
type: boolean
default: false
- variable: readOnlyRootFilesystem
label: "ReadOnly Root Filesystem"
schema:
type: boolean
default: false
- variable: allowPrivilegeEscalation
label: "Allow Privilege Escalation"
schema:
type: boolean
default: false
- variable: runAsNonRoot
label: "runAsNonRoot"
schema:
type: boolean
default: false
# Include{securityContextAdvanced}
- variable: podSecurityContext
group: "Security and Permissions"
label: "Pod Security Context"
schema:
additional_attrs: true
type: dict
attrs:
- variable: runAsUser
label: "runAsUser"
description: "The UserID of the user running the application"
schema:
type: int
default: 0
- variable: runAsGroup
label: "runAsGroup"
description: "The groupID this App of the user running the application"
schema:
type: int
default: 0
- variable: fsGroup
label: "fsGroup"
description: "The group that should own ALL storage."
schema:
type: int
default: 568
# Include{podSecurityContextAdvanced}
# Include{resources}
# Include{advanced}
# Include{addons}
@@ -0,0 +1 @@
{{ include "tc.common.loader.all" . }}
+52
View File
@@ -0,0 +1,52 @@
image:
repository: tccr.io/truecharts/cloudflareddns
pullPolicy: IfNotPresent
tag: latest@sha256:21393f2edec6838dde0e1db48e37a976bdf26f991d775057e95480e6983d4a6e
securityContext:
runAsNonRoot: false
readOnlyRootFilesystem: false
podSecurityContext:
runAsUser: 0
runAsGroup: 0
secretEnv:
CF_APITOKEN: ""
CF_APIKEY: ""
CF_APITOKEN_ZONE: ""
env:
DETECTION_MODE: '{{ ternary .Values.env.DETECT_MODE .Values.env.DETECT_OVERRIDE (eq .Values.env.DETECT_OVERRIDE "") }}'
# Use Defined
INTERVAL: 300
DETECT_MODE: "dig-whoami.cloudflare"
DETECT_OVERRIDE: ""
LOG_LEVEL: 3
cloudflareddns: ""
CF_USER: "your.cf.email@example.com"
CF_HOSTS: "test.example.com;test.foobar.com;test2.foobar.com"
CF_ZONES: "example.com;foobar.com;foobar.com"
CF_RECORDTYPES: "A;A;AAAA"
probes:
liveness:
enabled: false
readiness:
enabled: false
startup:
enabled: false
service:
main:
enabled: false
ports:
main:
enabled: false
persistence:
config:
enabled: true
mountPath: "/config"
varrun:
enabled: true