Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { TenantID string `envconfig:"AZURE_TENANT_ID"` AutoDetectOidcIssuerUrl bool `envconfig:"AUTO_DETECT_OIDC_ISSUER_URL"` OidcIssuerUrl string `envconfig:"OIDC_ISSUER_URL"` // add filter tags here via 'export FILTER_TAGS="aks-clientid-syncer:true"'. // There are also two special tags: <NAMESPACE> and <SERVICE_ACCOUNT_NAME> which will be replaced with the actual values of the mutation request during runtime. GcpProjectId string `envconfig:"GCP_PROJECT_ID"` FilterTags map[string]string `envconfig:"FILTER_TAGS"` // acts as a prefix for the tags in the azure portal allowing multi tenancy ClusterIdentifier string `envconfig:"CLUSTER_IDENTIFIER"` ProviderType string `envconfig:"PROVIDER_TYPE" default:"azure"` }
Config holds configuration from the env variables
func ParseConfig ¶
ParseConfig parses the configuration from env variables
Click to show internal directories.
Click to hide internal directories.