Skip to content

Commit 3551561

Browse files
authored
fix: set annotations for VPN config variables (#109)
Signed-off-by: Chris Gianelloni <[email protected]>
1 parent 155aa72 commit 3551561

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

internal/config/config.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -83,9 +83,9 @@ type S3Config struct {
8383
}
8484

8585
type VpnConfig struct {
86-
Domain string `yaml:"domain"`
87-
Region string `yaml:"region"`
88-
Port int `yaml:"port"`
86+
Domain string `yaml:"domain" envconfig:"VPN_DOMAIN"`
87+
Region string `yaml:"region" envconfig:"VPN_REGION"`
88+
Port int `yaml:"port" envconfig:"VPN_PORT"`
8989
}
9090

9191
type CrlConfig struct {

0 commit comments

Comments
 (0)