You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a spinnaker deploy step that deploys a kubernetes chart saved within (manifest source: text)
When I try to publish the pipeline template file the line under apiGroups with "" is replaced by "null" at one line and in the second line, apiGroups is deleted (because the value is null). But kubernetes chart requires the presence of apiGroups to work correctly, and value should be equal to ""
I tried different things including '', "", ~, [].... But was not able to get the needed ""
any ideas? or suggestions?
schema: "1"
id: kubernetes-job
protect: false
metadata:
description: This template does not have a description
name: kubernetes-job
owner: [email protected]
scopes:
I have a spinnaker deploy step that deploys a kubernetes chart saved within (manifest source: text)
When I try to publish the pipeline template file the line under apiGroups with "" is replaced by "null" at one line and in the second line, apiGroups is deleted (because the value is null). But kubernetes chart requires the presence of apiGroups to work correctly, and value should be equal to ""
I tried different things including '', "", ~, [].... But was not able to get the needed ""
any ideas? or suggestions?
schema: "1"
id: kubernetes-job
protect: false
metadata:
description: This template does not have a description
name: kubernetes-job
owner: [email protected]
scopes:
variables:
configuration:
parameters:
stages:
account: dev
cloudProvider: kubernetes
manifestArtifactAccount: embedded-artifact
manifests:
kind: Job
metadata:
name: maintenance-job
namespace: myns
spec:
completions: 1
template:
metadata:
name: my-job
spec:
containers:
- command:
- bash
- bashscript.sh
image: docker.image.com
name: mycontainer
restartPolicy: Never
kind: Role
metadata:
name: run-role-job
namespace: myns
rules:
resources:
verbs:
kind: RoleBinding
metadata:
name: run-maintenance
namespace: myns
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: Role
name: run-role-maintenance
subjects:
kind: ServiceAccount
name: default
namespace: myns
moniker:
app: myapp
relationships:
loadBalancers: []
securityGroups: []
source: text
dependsOn:
id: deployManifest1
inheritanceControl: {}
inject: {}
name: Deploy (Manifest
type: deployManifest
account: dev
cloudProvider: kubernetes
kinds:
location: myns
manifestName: my-best-job
options:
cascading: true
id: deleteManifest2
inheritanceControl: {}
inject: {}
name: Delete (Manifest)
type: deleteManifest
The text was updated successfully, but these errors were encountered: