Created
September 30, 2020 15:47
-
-
Save MattMencel/3fd097a14289bb39a42cad8dcf0f458f to your computer and use it in GitHub Desktop.
azdo-pipeline-template kustomize manifest
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: v1 | |
kind: Namespace | |
metadata: | |
labels: | |
azure-key-vault-env-injection: enabled | |
name: azure-pipelines-agent | |
--- | |
apiVersion: helm.fluxcd.io/v1 | |
kind: HelmRelease | |
metadata: | |
annotations: | |
fluxcd.io/automated: "true" | |
fluxcd.io/tag.config: glob:* | |
name: azure-pipelines-agent | |
namespace: azure-pipelines-agent | |
spec: | |
chart: | |
git: [email protected]:v3/ORGANIZATION/PROJECT/azure-pipelines-agent | |
path: helm/azure-pipelines-agent | |
ref: master | |
helmVersion: v3 | |
releaseName: azure-pipelines-agent | |
rollback: | |
enable: true | |
values: | |
image: | |
repository: ACRNAME.azurecr.io/aks-build-agent | |
tag: latest | |
pipelines: | |
pat: azure-pipelines-agent-pat-token@azurekeyvault | |
pool: AGENT_POOL_NAME | |
url: https://dev.azure.com/ORGANIZATION/ | |
resources: | |
limits: | |
cpu: 2 | |
memory: 4Gi | |
requests: | |
cpu: 100m | |
memory: 192Mi | |
--- | |
apiVersion: spv.no/v1 | |
kind: AzureKeyVaultSecret | |
metadata: | |
name: azure-pipelines-agent-pat-token | |
namespace: azure-pipelines-agent | |
spec: | |
vault: | |
name: __KEYVAULTNAME__ | |
object: | |
name: azure-pipelines-agent-pat-token | |
type: secret |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment