AIAP: Add environment variables for auth settings

This adds the required auth variables to the runner environment so that
a user can configure passwords/keys needed to pull manifests from a
private repository.

Closes: #627

Change-Id: I185a86c0c82be38a0d41bb69f425a8fac8b5b913
changes/98/807198/3
Ian Howell 1 year ago
parent 1d09fa090c
commit 4dffb330ec
  1. 13
      tools/airship-in-a-pod/examples/base/airship-in-a-pod.yaml

@ -320,6 +320,19 @@ spec:
value:
- name: https_proxy
value:
- name: AIRSHIP_CONFIG_MANIFEST_REPO_AUTH_TYPE
value: "none"
- name: AIRSHIP_CONFIG_MANIFEST_REPO_AUTH_KEY_PASSWORD
value: ""
- name: AIRSHIP_CONFIG_MANIFEST_REPO_AUTH_KEY_PATH
value: ""
- name: AIRSHIP_CONFIG_MANIFEST_REPO_AUTH_HTTP_PASSWORD
value: ""
- name: AIRSHIP_CONFIG_MANIFEST_REPO_AUTH_SSH_PASSWORD
value: ""
- name: AIRSHIP_CONFIG_MANIFEST_REPO_AUTH_USERNAME
value: ""
volumeMounts:
- name: cache
mountPath: /opt/aiap-cache

Loading…
Cancel
Save