Hi,
How can I add a custom job to Spinnaker manually?
I deployed Spinnaker on K8s cluster using stable/spinnaker chart.
Helm chart:
helm upgrade spinnaker stable/spinnaker \
–namespace spinnaker \
–install \
–timeout 600
Now I would like to add a custom job like below.
Custom job:
additionalProfileConfigMaps:
data:
orca-local.yml:
job:
preconfigured:
kubernetes:
- label: Test
enabled: true
type: test
description: Test
cloudProvider: kubernetes
account: cluster1
waitForCompletion: true
application: sampleapp
parameters: []
manifest:
apiVersion: batch/v1
kind: Job
metadata:
name: test
namespace: spinnaker
spec:
backoffLimit: 0
template:
spec:
restartPolicy: Never
containers:
- name: test
image: ubuntu:latest
command: /bin/bash
args:
- -c
- |
echo "Hello World"
I know that there is a way to provide that from helm values.yaml file but it takes too long to redeploy.
Is there a way to manually add custom job by getting to a container and adding the configuration?
I tried editing the config map but Spinnaker didn’t pick up the changes.