File tree Expand file tree Collapse file tree 5 files changed +21
-0
lines changed
product-service/templates
terraform/environments/qa Expand file tree Collapse file tree 5 files changed +21
-0
lines changed Original file line number Diff line number Diff line change 1414 labels :
1515 app : {{ .Chart.Name }}
1616 spec :
17+ imagePullSecrets :
18+ - name : ghcr-secret
1719 containers :
1820 - name : {{ .Chart.Name }}
1921 image : " {{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
Original file line number Diff line number Diff line change 1414 labels :
1515 app : {{ .Chart.Name }}
1616 spec :
17+ imagePullSecrets :
18+ - name : ghcr-secret
1719 containers :
1820 - name : {{ .Chart.Name }}
1921 image : " {{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
Original file line number Diff line number Diff line change 1414 labels :
1515 app : {{ .Chart.Name }}
1616 spec :
17+ imagePullSecrets :
18+ - name : ghcr-secret
1719 containers :
1820 - name : {{ .Chart.Name }}
1921 image : " {{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
Original file line number Diff line number Diff line change @@ -33,6 +33,9 @@ module "aks" {
3333 resource_group_name = var. resource_group_name
3434 location = var. location
3535 cluster_name = var. cluster_name
36+
37+ ghcr_username = var. ghcr_username
38+ ghcr_pat = var. ghcr_pat
3639}
3740
3841module "key_vault" {
Original file line number Diff line number Diff line change @@ -14,4 +14,16 @@ variable "container_name" {
1414variable "tags" {
1515 type = map (string )
1616 default = {}
17+ }
18+
19+ variable "ghcr_username" {
20+ description = " GitHub username for GHCR authentication"
21+ type = string
22+ sensitive = true
23+ }
24+
25+ variable "ghcr_pat" {
26+ description = " GitHub PAT for GHCR authentication"
27+ type = string
28+ sensitive = true
1729}
You can’t perform that action at this time.
0 commit comments