pull/1217/merge
Ville Aikas 9 years ago committed by GitHub
commit a1fafaa451

@ -181,6 +181,10 @@ message UpdateReleaseRequest {
// DisableHooks causes the server to skip running any hooks for the upgrade.
bool disable_hooks = 5;
// Validate requests that Tiller uses kubernetes validation logic on the
// manifest before handing it off for reification
bool validate = 6;
}
// UpdateReleaseResponse is the response to an update request.
@ -212,6 +216,10 @@ message InstallReleaseRequest {
// ReuseName requests that Tiller re-uses a name, instead of erroring out.
bool reuse_name = 7;
// Validate requests that Tiller uses kubernetes validation logic on the
// manifest before handing it off for reification
bool validate = 8;
}
// InstallReleaseResponse is the response from a release installation.

@ -71,6 +71,7 @@ type installCmd struct {
disableHooks bool
replace bool
verify bool
validate bool
keyring string
out io.Writer
client helm.Interface
@ -115,6 +116,7 @@ func newInstallCmd(c helm.Interface, out io.Writer) *cobra.Command {
f.Var(inst.values, "set", "set values on the command line. Separate values with commas: key1=val1,key2=val2")
f.StringVar(&inst.nameTemplate, "name-template", "", "specify template used to name the release")
f.BoolVar(&inst.verify, "verify", false, "verify the package before installing it")
f.BoolVar(&inst.validate, "validate", false, "validate manifest before reifying it")
f.StringVar(&inst.keyring, "keyring", defaultKeyring(), "location of public keys used for verification")
return cmd
}
@ -146,6 +148,7 @@ func (i *installCmd) run() error {
helm.ReleaseName(i.name),
helm.InstallDryRun(i.dryRun),
helm.InstallReuseName(i.replace),
helm.InstallValidate(i.validate),
helm.InstallDisableHooks(i.disableHooks))
if err != nil {
return prettyError(err)

@ -49,6 +49,7 @@ type upgradeCmd struct {
valuesFile string
values *values
verify bool
validate bool
keyring string
install bool
namespace string
@ -86,6 +87,7 @@ func newUpgradeCmd(client helm.Interface, out io.Writer) *cobra.Command {
f.Var(upgrade.values, "set", "set values on the command line. Separate values with commas: key1=val1,key2=val2")
f.BoolVar(&upgrade.disableHooks, "disable-hooks", false, "disable pre/post upgrade hooks")
f.BoolVar(&upgrade.verify, "verify", false, "verify the provenance of the chart before upgrading")
f.BoolVar(&upgrade.validate, "validate", false, "validate manifest before reifying it")
f.StringVar(&upgrade.keyring, "keyring", defaultKeyring(), "the path to the keyring that contains public singing keys")
f.BoolVarP(&upgrade.install, "install", "i", false, "if a release by this name doesn't already exist, run an install")
f.StringVar(&upgrade.namespace, "namespace", "default", "the namespace to install the release into (only used if --install is set)")
@ -131,7 +133,7 @@ func (u *upgradeCmd) run() error {
return err
}
_, err = u.client.UpdateRelease(u.release, chartPath, helm.UpdateValueOverrides(rawVals), helm.UpgradeDryRun(u.dryRun), helm.UpgradeDisableHooks(u.disableHooks))
_, err = u.client.UpdateRelease(u.release, chartPath, helm.UpdateValueOverrides(rawVals), helm.UpgradeDryRun(u.dryRun), helm.UpgradeDisableHooks(u.disableHooks), helm.UpgradeValidate(u.validate))
if err != nil {
return fmt.Errorf("UPGRADE FAILED: %v", prettyError(err))
}

@ -24,6 +24,7 @@ package environment
import (
"io"
"os"
"k8s.io/helm/pkg/chartutil"
"k8s.io/helm/pkg/engine"
@ -195,6 +196,8 @@ type Environment struct {
Releases *storage.Storage
// KubeClient is a Kubernetes API client.
KubeClient KubeClient
// Validation schema directory.
SchemaDir string
}
// New returns an environment initialized with the defaults.
@ -210,5 +213,6 @@ func New() *Environment {
EngineYard: ey,
Releases: storage.Init(driver.NewMemory()),
KubeClient: kube.New(nil),
SchemaDir: os.TempDir(),
}
}

@ -40,6 +40,8 @@ import (
"k8s.io/helm/pkg/timeconv"
"k8s.io/helm/pkg/version"
"k8s.io/kubernetes/pkg/api/unversioned"
cmdutil "k8s.io/kubernetes/pkg/kubectl/cmd/util"
"k8s.io/kubernetes/pkg/kubectl/resource"
)
var srv *releaseServer
@ -306,6 +308,15 @@ func (s *releaseServer) performUpdate(originalRelease, updatedRelease *release.R
kubeCli := s.env.KubeClient
original := bytes.NewBufferString(originalRelease.Manifest)
modified := bytes.NewBufferString(updatedRelease.Manifest)
// Validate the manifest
if req.Validate {
err := validateResources(updatedRelease.Namespace, s.env.SchemaDir, modified)
if err != nil {
return nil, err
}
}
if err := kubeCli.Update(updatedRelease.Namespace, original, modified); err != nil {
return nil, err
}
@ -600,6 +611,15 @@ func (s *releaseServer) performRelease(r *release.Release, req *services.Install
// regular manifests
kubeCli := s.env.KubeClient
b := bytes.NewBufferString(r.Manifest)
// Validate the manifest
if req.Validate {
err := validateResources(r.Namespace, s.env.SchemaDir, b)
if err != nil {
return res, err
}
}
if err := kubeCli.Create(r.Namespace, b); err != nil {
log.Printf("warning: Release %q failed: %s", r.Name, err)
r.Info.Status.Code = release.Status_FAILED
@ -732,6 +752,39 @@ func (s *releaseServer) UninstallRelease(c ctx.Context, req *services.UninstallR
return res, nil
}
// validateResources takes a namespace and a manifest (fully expanded set of templates) and
// validates resources.
func validateResources(namespace string, schemaDir string, manifest *bytes.Buffer) error {
f := cmdutil.NewFactory(nil)
schema, err := f.Validator(true, schemaDir)
if err != nil {
return err
}
mapper, typer := f.Object(true)
r := resource.NewBuilder(mapper, typer, resource.ClientMapperFunc(f.ClientForMapping), f.Decoder(true)).
Schema(schema).
NamespaceParam(namespace).DefaultNamespace().
Stream(manifest, "release").
Flatten().
Do()
err = r.Err()
if err != nil {
return err
}
err = r.Visit(func(info *resource.Info, err error) error {
if err != nil {
return err
}
return nil
})
if err != nil {
return err
}
return nil
}
// byName implements the sort.Interface for []*release.Release.
type byName []*release.Release

@ -17,6 +17,7 @@ limitations under the License.
package main
import (
"bytes"
"errors"
"fmt"
"io"
@ -60,6 +61,22 @@ data:
name: value
`
var invalidResource = `apiVersion: v1
kind: ConfigMap
metadata:
naaame: test-cm
data:
name: value
`
var validResource = `apiVersion: v1
kind: ConfigMap
metadata:
name: test-cm
data:
name: value
`
func rsFixture() *releaseServer {
return &releaseServer{
env: mockEnvironment(),
@ -484,6 +501,148 @@ func TestInstallReleaseReuseName(t *testing.T) {
}
}
func TestInstallReleaseWithValidationFailsForInvalid(t *testing.T) {
c := context.Background()
rs := rsFixture()
// TODO: Refactor this into a mock.
req := &services.InstallReleaseRequest{
Namespace: "spaced",
Validate: true,
Chart: &chart.Chart{
Metadata: &chart.Metadata{Name: "hello"},
Templates: []*chart.Template{
{Name: "invalid", Data: []byte(invalidResource)},
},
},
}
_, err := rs.InstallRelease(c, req)
if err == nil {
t.Fatalf("Install succeeded but was expected to fail")
}
if !strings.Contains(err.Error(), "naaame") {
t.Errorf("didn't fail with expected error")
}
}
func TestInstallReleaseWithValidationWorksForValid(t *testing.T) {
c := context.Background()
rs := rsFixture()
// TODO: Refactor this into a mock.
req := &services.InstallReleaseRequest{
Namespace: "spaced",
Validate: true,
Chart: &chart.Chart{
Metadata: &chart.Metadata{Name: "hello"},
Templates: []*chart.Template{
{Name: "invalid", Data: []byte(validResource)},
},
},
}
res, err := rs.InstallRelease(c, req)
if err != nil {
t.Fatalf("Failed install: %s %s", err, req.Chart)
}
if res.Release.Name == "" {
t.Errorf("Expected release name.")
}
if res.Release.Namespace != "spaced" {
t.Errorf("Expected release namespace 'spaced', got '%s'.", res.Release.Namespace)
}
rel, err := rs.env.Releases.Get(res.Release.Name, res.Release.Version)
if err != nil {
t.Errorf("Expected release for %s (%v).", res.Release.Name, rs.env.Releases)
}
if len(rel.Manifest) == 0 {
t.Errorf("Expected manifest in %v", res)
}
}
func TestUpdateReleaseWithValidationFailsForInvalid(t *testing.T) {
c := context.Background()
rs := rsFixture()
req := &services.InstallReleaseRequest{
Name: "myspecialone",
Namespace: "spaced",
Validate: true,
Chart: &chart.Chart{
Metadata: &chart.Metadata{Name: "hello"},
Templates: []*chart.Template{
{Name: "invalid", Data: []byte(validResource)},
},
},
}
_, err := rs.InstallRelease(c, req)
if err != nil {
t.Fatalf("Install failed: %v", err)
}
uReq := &services.UpdateReleaseRequest{
Name: "myspecialone",
Validate: true,
DisableHooks: true,
Chart: &chart.Chart{
Metadata: &chart.Metadata{Name: "hello"},
Templates: []*chart.Template{
{Name: "invalid", Data: []byte(invalidResource)},
},
},
}
_, err = rs.UpdateRelease(c, uReq)
if err == nil {
t.Fatalf("Install succeeded but was expected to fail")
}
if !strings.Contains(err.Error(), "naaame") {
t.Errorf("didn't fail with expected error")
}
}
func TestUpdateReleaseWithValidationWorksForValid(t *testing.T) {
c := context.Background()
rs := rsFixture()
req := &services.InstallReleaseRequest{
Name: "myspecialone",
Namespace: "spaced",
Chart: &chart.Chart{
Metadata: &chart.Metadata{Name: "hello"},
Templates: []*chart.Template{
{Name: "invalid", Data: []byte(invalidResource)},
},
},
}
_, err := rs.InstallRelease(c, req)
if err != nil {
t.Fatalf("Install failed: %v", err)
}
uReq := &services.UpdateReleaseRequest{
Name: "myspecialone",
Validate: true,
DisableHooks: true,
Chart: &chart.Chart{
Metadata: &chart.Metadata{Name: "hello"},
Templates: []*chart.Template{
{Name: "invalid", Data: []byte(validResource)},
},
},
}
_, err = rs.UpdateRelease(c, uReq)
if err != nil {
t.Fatalf("Install failed: %v", err)
}
}
func TestUpdateRelease(t *testing.T) {
c := helm.NewContext()
rs := rsFixture()
@ -931,10 +1090,16 @@ func TestListReleasesFilter(t *testing.T) {
}
}
func testValidateResources(t *testing.T) {
b := bytes.NewBufferString("")
validateResources("default", "", b)
}
func mockEnvironment() *environment.Environment {
e := environment.New()
e.Releases = storage.Init(driver.NewMemory())
e.KubeClient = &environment.PrintingKubeClient{Out: os.Stdout}
e.SchemaDir = "cmd/tiller/testdata"
return e
}

File diff suppressed because it is too large Load Diff

@ -37,6 +37,8 @@ type options struct {
host string
// if set dry-run helm client calls
dryRun bool
// if set validate manifest
validate bool
// if set, re-use an existing name
reuseName bool
// if set, skip running hooks
@ -173,6 +175,14 @@ func UpgradeDryRun(dry bool) UpdateOption {
}
}
// UpgradeValidate will (if true) instruct Tiller to validate manifest before
// reifying
func UpgradeValidate(validate bool) UpdateOption {
return func(opts *options) {
opts.validate = validate
}
}
// InstallDisableHooks disables hooks during installation.
func InstallDisableHooks(disable bool) InstallOption {
return func(opts *options) {
@ -187,6 +197,14 @@ func InstallDryRun(dry bool) InstallOption {
}
}
// InstallValidate will (if true) instruct Tiller to validate manifest before
// reifying
func InstallValidate(validate bool) InstallOption {
return func(opts *options) {
opts.validate = validate
}
}
// InstallReuseName will (if true) instruct Tiller to re-use an existing name.
func InstallReuseName(reuse bool) InstallOption {
return func(opts *options) {
@ -266,6 +284,7 @@ func (o *options) rpcInstallRelease(chr *cpb.Chart, rlc rls.ReleaseServiceClient
o.instReq.DryRun = o.dryRun
o.instReq.DisableHooks = o.disableHooks
o.instReq.ReuseName = o.reuseName
o.instReq.Validate = o.validate
return rlc.InstallRelease(NewContext(), &o.instReq)
}
@ -299,6 +318,7 @@ func (o *options) rpcUpdateRelease(rlsName string, chr *cpb.Chart, rlc rls.Relea
o.updateReq.Chart = chr
o.updateReq.DryRun = o.dryRun
o.updateReq.Name = rlsName
o.updateReq.Validate = o.validate
return rlc.UpdateRelease(NewContext(), &o.updateReq)
}

@ -240,6 +240,9 @@ type UpdateReleaseRequest struct {
DryRun bool `protobuf:"varint,4,opt,name=dry_run,json=dryRun" json:"dry_run,omitempty"`
// DisableHooks causes the server to skip running any hooks for the upgrade.
DisableHooks bool `protobuf:"varint,5,opt,name=disable_hooks,json=disableHooks" json:"disable_hooks,omitempty"`
// Validate requests that Tiller uses kubernetes validation logic on the
// manifest before handing it off for reification
Validate bool `protobuf:"varint,6,opt,name=validate" json:"validate,omitempty"`
}
func (m *UpdateReleaseRequest) Reset() { *m = UpdateReleaseRequest{} }
@ -298,6 +301,9 @@ type InstallReleaseRequest struct {
Namespace string `protobuf:"bytes,6,opt,name=namespace" json:"namespace,omitempty"`
// ReuseName requests that Tiller re-uses a name, instead of erroring out.
ReuseName bool `protobuf:"varint,7,opt,name=reuse_name,json=reuseName" json:"reuse_name,omitempty"`
// Validate requests that Tiller uses kubernetes validation logic on the
// manifest before handing it off for reification
Validate bool `protobuf:"varint,8,opt,name=validate" json:"validate,omitempty"`
}
func (m *InstallReleaseRequest) Reset() { *m = InstallReleaseRequest{} }
@ -696,61 +702,62 @@ var _ReleaseService_serviceDesc = grpc.ServiceDesc{
}
var fileDescriptor0 = []byte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0xd3, 0x78, 0xdd,
0xb3, 0xbd, 0xbf, 0x4c, 0x38, 0xd6, 0x13, 0x47, 0x7e, 0x1f, 0x90, 0x07, 0x87, 0xdb, 0xa3, 0x15,
0x7d, 0x96, 0xff, 0xf9, 0xd8, 0xf9, 0x06, 0xda, 0x2f, 0x8a, 0x40, 0x65, 0xa8, 0xce, 0x93, 0xaf,
0x0c, 0x44, 0xa1, 0xb9, 0x3b, 0xf1, 0xd0, 0x97, 0xd9, 0x1c, 0x39, 0x23, 0xd6, 0xee, 0x14, 0x85,
0x6b, 0xb7, 0x68, 0x23, 0xe4, 0x4c, 0x8f, 0x29, 0xf4, 0x28, 0x4d, 0x7a, 0x32, 0xda, 0xdd, 0xc2,
0xf8, 0xc4, 0xef, 0xaf, 0x70, 0x94, 0x1a, 0x08, 0x28, 0x47, 0xad, 0xac, 0xa1, 0x67, 0x7f, 0x5e,
0x08, 0x9b, 0xf8, 0xba, 0x85, 0xe3, 0x74, 0xd3, 0xa0, 0x1c, 0x82, 0xcc, 0xb9, 0x62, 0x7f, 0x51,
0x0c, 0x9c, 0xb8, 0xe3, 0x75, 0xdc, 0xbd, 0xee, 0x79, 0x75, 0xcc, 0x69, 0xc0, 0xbc, 0x3a, 0xe6,
0x75, 0x11, 0x77, 0xea, 0x02, 0xdc, 0x77, 0x00, 0x7a, 0x9e, 0x5b, 0x90, 0x74, 0xe3, 0xd8, 0xed,
0xc7, 0x81, 0xda, 0xc5, 0x4b, 0xf8, 0xb9, 0xa6, 0x71, 0x37, 0xa6, 0xf8, 0xfb, 0xf7, 0xcd, 0x7f,
0x01, 0x00, 0x00, 0xff, 0xff, 0x14, 0xb2, 0x9f, 0x07, 0xcf, 0x0a, 0x00, 0x00,
// 909 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0x9c, 0x56, 0xdd, 0x6e, 0xe3, 0x44,
0x14, 0xde, 0xfc, 0xd4, 0x71, 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