You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert

8
8
9
9
## Why?
10
10
11
-
- Dynamically create, update or delete Cloudflare® DNS records based on Traefik http rules
11
+
- Dynamically create, update or delete Cloudflare® DNS records based on Traefik http rules and/or Kubernetes Ingresses (apiVersion: networking.k8s.io/v1)
@@ -61,25 +62,9 @@ You can run SyncFlaer as a Kubernetes CronJob. For an example deployment, please
61
62
62
63
### Overview
63
64
64
-
SyncFlaer must be configured via a [YAML config file](#full-config-file). Some secrets can be configured using [environment variables](#environment-variables).
65
+
SyncFlaer must be configured via a [YAML config file](#config-file). Some secrets can be configured using [environment variables](#environment-variables).
65
66
66
-
#### Minimal Config File
67
-
68
-
The following configuration is required:
69
-
70
-
```yaml
71
-
---
72
-
traefikInstances:
73
-
- name: main
74
-
url: https://traefik.example.com
75
-
76
-
cloudflare:
77
-
apiToken: abc
78
-
zoneNames:
79
-
- example.com
80
-
```
81
-
82
-
#### Full Config File
67
+
#### Config File
83
68
84
69
The full configuration file can be found at `configs/config.yml`.
85
70
@@ -110,6 +95,25 @@ traefikInstances:
110
95
111
96
Every instance can be configured to use different HTTP basic auth, custom request headers and ignored rules.
112
97
98
+
#### Kubernetes Ingress Support
99
+
100
+
SyncFlaer can be configured to support Kubernetes Ingresses. By default, SyncFlaer will sync all Ingresses.
101
+
102
+
If you run SyncFlaer in a Kubernetes cluster, please refer to the `deployments/kubernetes` folder for an example deployment.
103
+
If you run SyncFlaer outside a Kubernetes cluster, you can use the `KUBECONFIG` environment variable to configure a specific kubeconfig file.
104
+
If the `KUBECONFIG` environment variable is not set, SyncFlaer will use the default kubeconfig file located at `$HOME/.kube/config`.
105
+
106
+
If you want to ignore specific Ingresses, use the annotation `syncflaer.containeroo.ch/ignore=true`.
107
+
108
+
To overwrite the default configuration for DNS records, you can specify the following annotations for each Ingress:
0 commit comments