crossplane / crossplane/function-template-go

Standardize environment variables

Open
#123 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Go
Stars
39
Forks
38
PR merge metrics
No merged PRs in 30d

Description

### What problem are you facing?

Functions based on this template are independently setting the environment variables. While this is completely fine, we should aim for standard environment variables, similarly as we do for CLI arguments (think of --tls-certs-dir and `TLS_SERVER_CERTS_DIR`, which many functions share today).

### How could this Function help solve your problem?

All "common" CLI arguments should have an associated env variable.

Contributor guide

No contributing guide indexed for this repository

Research direction

No files or tests are identified. Start by mapping the common CLI arguments in the template and comparing existing conventions such as --tls-certs-dir and TLS_SERVER_CERTS_DIR; done means every agreed common CLI argument has a corresponding standardized environment variable.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
cli, tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.