Last active
November 1, 2018 14:54
-
-
Save ethanfrogers/2d807a8e8f8c015329c6affe19a6eae2 to your computer and use it in GitHub Desktop.
Halyard Deployment for air-gapped environments
This file contains hidden or 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: apps/v1 | |
kind: Deployment | |
metadata: | |
name: armory-halyard | |
namespace: {some-namespace} | |
labels: | |
app: armory-halyard | |
spec: | |
replicas: 1 | |
selector: | |
matchLabels: | |
app: armory-halyard | |
template: | |
metadata: | |
labels: | |
app: armory-halyard | |
spec: | |
containers: | |
- name: halyard | |
image: docker.io/armory/halyard-armory:1.2.0 | |
env: | |
- name: AWS_ACCESS_KEY_ID | |
value: {aws-access-key-id} | |
- name: AWS_SECRET_ACCESS_KEY | |
value: {aws-secret-access-key} | |
volumeMounts: | |
- name: config | |
mountPath: /opt/spinnaker/config | |
volumes: | |
- name: config | |
configMap: | |
name: armory-halyard-config | |
--- | |
apiVersion: v1 | |
kind: ConfigMap | |
metadata: | |
name: armory-halyard-config | |
namespace: {some-namespace} | |
data: | |
halyard.yml: | | |
halyard: | |
halconfig: | |
directory: /home/spinnaker/.hal | |
spinnaker: | |
artifacts: | |
debianRepository: | |
dockerRegistry: | |
googleImageProject: | |
config: | |
input: | |
bucket: armory-halyard | |
region: {some-region} | |
endpoint: {some-endoint} | |
enablePathStyleAccess: true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment