Skip to content

Instantly share code, notes, and snippets.

@rms1000watt
Created July 2, 2019 00:19
Show Gist options
  • Save rms1000watt/c96a375336f0c36163cb5686c731cd1f to your computer and use it in GitHub Desktop.
Save rms1000watt/c96a375336f0c36163cb5686c731cd1f to your computer and use it in GitHub Desktop.
Ignore Versioning in Spinnaker
# https://www.spinnaker.io/reference/providers/kubernetes-v2/#strategy
# https://github.com/spinnaker/spinnaker/issues/3202#issuecomment-413527927
apiVersion: v1
kind: Secret
metadata:
name: myregistrykey
annotations:
'strategy.spinnaker.io/versioned': 'false' # <-- this is the important part
type: kubernetes.io/dockerconfigjson
data:
.dockerconfigjson: {{ template "imagePullSecret" . }}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment