Skip to content
This repository has been archived by the owner on Jan 21, 2022. It is now read-only.

Commit

Permalink
Pin docker image tags to alpha versions
Browse files Browse the repository at this point in the history
- refactor smb-csi-driver ytt templates to make base config point to a standard (non test) image

[#171579585](https://www.pivotaltracker.com/story/show/171579585)

Co-authored-by: Dennis Leon <[email protected]>
Co-authored-by: Julian Hjortshoj <[email protected]>
  • Loading branch information
DennisDenuto and julian-hj committed Mar 25, 2020
1 parent d16b758 commit 4a077e2
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,6 @@ fly-e2e:

kapp: SHELL=/bin/bash
kapp:
kapp deploy -y -a smb-csi-driver -f <(ytt -f ytt/base -v image.repository=cfpersi/smb-csi-driver -v image.tag=latest)
kapp deploy -y -a smb-csi-driver -f <(ytt -f ytt/base)

.PHONY: test fly fly-e2e image-local-registry
2 changes: 1 addition & 1 deletion e2e_suite_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ var _ = BeforeSuite(func() {

local_k8s_cluster.CreateK8sCluster(nodeName, kubeConfigPath, os.Getenv("K8S_IMAGE"))

kubectlStdOut := local_k8s_cluster.YttStdout("-f", "./ytt/base")
kubectlStdOut := local_k8s_cluster.YttStdout("-f", "./ytt/base", "-f", "ytt/test.yaml")
local_k8s_cluster.KappWithStringAsStdIn("-y", "deploy", "-a", "smb-csi-driver", "-f")(kubectlStdOut)

Eventually(func()string{
Expand Down
4 changes: 2 additions & 2 deletions ytt/base/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@
namespace: default

image:
repository: registry:5000/cfpersi/smb-plugin
tag: local-test
repository: cfpersi/smb-csi-driver
tag: 0.143.0
5 changes: 5 additions & 0 deletions ytt/test.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#@data/values
---
image:
repository: registry:5000/cfpersi/smb-plugin
tag: local-test

0 comments on commit 4a077e2

Please sign in to comment.