deploy
This commit is contained in:
Родитель
e82efed452
Коммит
5247fd702d
|
@ -21,7 +21,8 @@ env:
|
||||||
ARM_TENANT_ID: ${{ secrets.TENANT }}
|
ARM_TENANT_ID: ${{ secrets.TENANT }}
|
||||||
PREFIX: ${{ secrets.RESOURCE_PREFIX }}
|
PREFIX: ${{ secrets.RESOURCE_PREFIX }}
|
||||||
ENVIRONMENT: ${{ secrets.ENVIRONMENT }}
|
ENVIRONMENT: ${{ secrets.ENVIRONMENT }}
|
||||||
TF_VAR_github_repo: ${{ github.repository }}
|
TF_VAR_repository_name: ${{ github.repository }}
|
||||||
|
TF_VAR_github_owner: ${{ github.repository_owner }}
|
||||||
TF_VAR_github_token: ${{secrets.GITHUB_TOKEN}}
|
TF_VAR_github_token: ${{secrets.GITHUB_TOKEN}}
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
|
|
|
@ -21,7 +21,7 @@ data "flux_install" "main" {
|
||||||
|
|
||||||
data "flux_sync" "main" {
|
data "flux_sync" "main" {
|
||||||
target_path = var.target_sync_path
|
target_path = var.target_sync_path
|
||||||
url = "https://github.com/${var.github_repo}.git"
|
url = "https://github.com/${var.repository_name}.git"
|
||||||
branch = var.branch
|
branch = var.branch
|
||||||
secret = var.flux_auth_secret
|
secret = var.flux_auth_secret
|
||||||
}
|
}
|
||||||
|
|
|
@ -57,8 +57,4 @@ variable "k8s_configPath" {
|
||||||
default = ""
|
default = ""
|
||||||
}
|
}
|
||||||
|
|
||||||
variable "github_repo" {
|
|
||||||
type = string
|
|
||||||
default = ""
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче