GitShow/kelseyhightower/konfd
kelseyhightower

konfd

Manage application configuration using Kubernetes secrets, configmaps, and Go templates.

by kelseyhightower
Star on GitHubFork

Go

491 stars31 forks2 contributorsQuiet · 8y agoSince 2016Apache-2.0

Meet the team

See all 2 on GitHub →
kelseyhightower
kelseyhightower60 contributions
nakato
nakato1 contribution

Languages

View on GitHub →
Go96.5%
Shell3.5%

Commit activity

Last 12 weeks · 0 commits

Full graph →

Community health

2 of 6 standards met

Community profile →
42
✓README✓License○Contributing○Code of Conduct○Issue Template○PR Template

Recent PRs & issues

Quiet · 1 in progress · Last activity 8y ago
See all on GitHub →
moyavuz
Template data and special character (&,',<,>,+ etc.) problem OpenIssue

When i use configmap keys which contains these special characters (&,',,+ etc.) problem occuring because of html escape. sample input "userAddressBookGetPayload": "?userID=%s&appType=%d", output "userAddressBookGetPayload": "?userID=%s&a m p ;appType=%d", For resolve these problem It would be usefull if konfd would disable EscapeHTML flag with an annotation on template something like: konfd.io/escape-html: "false" sample: apiVersion: v1 kind: ConfigMap metadata: name: vault-template annotations: konfd.io/kind: configmap konfd.io/name: vault konfd.io/key: server.hcl konfd.io/escape-html: "false" labels: konfd.io/template: "true" data: template: | default_lease_ttl = {{configmap "vault-configs" "default_lease_ttl"}} backend "mysql" thanks for interest.

moyavuz · 7y ago
moyavuz
Add feature Escape-Html on templateOpenPR
moyavuz · 8y ago
blakebarnett
Feature: Global configmaps and secretsOpenIssue

This might be a little bit crazier than the last one, but I keep getting asked why it's not possible to have a global/default configmap or secret. It seems that with RBAC enabled, and control over what gets written to the default namespace this is reasonable. It would be awesome if something like konfd would enable this with an annotation on a resource in the default namespace, something like: I can see the case being made that it should only behave as a default (given the namespace name) and should not overwrite existing resources in other namespaces if they already exist.

blakebarnett · 8y ago

Recent fixes

View closed PRs →
gokhansengun
Add detailed error log when konfd got a non-20x responses from hyperkubeMergedPR

Debugging #8 was difficult due to lack of detail error logging. This PR aims to add http response code and error detail in the http request's body to the logs to ease troubleshooting. 's log before: After:

gokhansengun · 6y ago
gokhansengun
konfd is not rendering templates for k8s v1.8.1 and aboveClosedIssue

So following the instructions in README with k8s v1.8.1 and above command fails with below error. Bisecting versions with GKE, it looks 1.7.11 was the last version konfd is working fine for README. konfd container logs with the error case is below.

gokhansengun · 6y ago
nakato
configmap slice points to multiple copies of the same configmapClosedIssue

The pointer used at https://github.com/kelseyhightower/konfd/blob/master/template.go#L120,L121 ends up pointing to something in the iterator, which changes every time we iterate, so the configmap that is the last in the iteration gets processed the number of configmaps in the namespace and no other configmap template will be processed.

nakato · 8y ago
Structured data for AI agents

Repository: kelseyhightower/konfd. Description: Manage application configuration using Kubernetes secrets, configmaps, and Go templates. Stars: 491, Forks: 31. Primary language: Go. Languages: Go (96.5%), Shell (3.5%). License: Apache-2.0. Open PRs: 1, open issues: 3. Last activity: 8y ago. Community health: 42%. Top contributors: kelseyhightower, nakato.

·@ofershap

Replace github.com with gitshow.dev