@@ -316,6 +316,20 @@ parameters to `spk service create --helm-config-git`:
316316
317317` https://dev.azure.com/fabrikam/fabrikam-project/_git/fabrikam-helm-charts `
318318
319+ When you invoke ` spk service create ` with ` --helm-config ` argments, there is a
320+ 4th optional argument that can be provided
321+ ` --helm-config-access-token-variable ` . This configuration option is the name of
322+ the environment variable containing a Personal Access Token to access the git
323+ repository in ` helm config git ` . In this scenario, however, both git
324+ repositories are in the same Azure DevOps project, ` fabrikam-project ` , so it is
325+ un-necessary to provide ` --helm-config-access-token-variable ` , as the Personal
326+ Access Token utilized by the pipelines, ` ACCESS_TOKEN_SECRET ` , will be the same
327+ for both application repository and helm chart repository. When
328+ ` --helm-config-access-token-variable ` is not provided, the repository defined by
329+ ` --helm-config-git ` will automatically use ` ACCESS_TOKEN_SECRET ` . The following
330+ scenario covers a situation in which you will want to configure the
331+ ` --helm-config-access-token-variable ` to something custom.
332+
319333##### Helm Charts in a distinct Git Repository from Application Sources in a different Azure DevOps Project
320334
321335If your Helm Charts are in their own distinct Git Repository in a different
@@ -337,12 +351,12 @@ The `helm-config-git` parameter _must not_ contain the username portion of a
337351url. If you retrieve the URL from Azure DevOps's "Clone Repository" UI, it will
338352automatically have the username filled for an HTTPs clone ie:
339353
340- ` https://fabrikam@dev.azure.com/fabrikam/fabrikam-project/_git/fabrikam-helm-charts `
354+ ` https://fabrikam@dev.azure.com/fabrikam/fabrikam-helm-charts- project/_git/fabrikam-helm-charts `
341355
342356Ensure that the you _ remove_ the ` fabrikam@ ` portion of the URL when passing
343357parameters to ` spk service create --helm-config-git ` :
344358
345- ` https://dev.azure.com/fabrikam/fabrikam-project/_git/fabrikam-helm-charts `
359+ ` https://dev.azure.com/fabrikam/fabrikam-helm-charts- project/_git/fabrikam-helm-charts `
346360
347361Note the different Azure DevOps URL for the helm charts project in Azure DevOps
348362and the addition of the ` --helm-config-access-token-variable ` parameter.
0 commit comments