Skip to content

Instantly share code, notes, and snippets.

@imosquera
Created September 21, 2018 17:49
Show Gist options
  • Save imosquera/e6b42a187bd921dbb8a61e523cf568d8 to your computer and use it in GitHub Desktop.
Save imosquera/e6b42a187bd921dbb8a61e523cf568d8 to your computer and use it in GitHub Desktop.
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:latest
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}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment