Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
k3s
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jacklull
k3s
Commits
4db41718
Commit
4db41718
authored
Aug 16, 2020
by
Jacob Blain Christen
Committed by
Jacob Blain Christen
Aug 16, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
helm-controller: bring in a fix for tolerations
Signed-off-by:
Jacob Blain Christen
<
jacob@rancher.com
>
parent
186c441a
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
7 deletions
+6
-7
go.mod
go.mod
+1
-1
go.sum
go.sum
+2
-2
controller.go
...github.com/rancher/helm-controller/pkg/helm/controller.go
+2
-3
modules.txt
vendor/modules.txt
+1
-1
No files found.
go.mod
View file @
4db41718
...
...
@@ -95,7 +95,7 @@ require (
github.com/opencontainers/selinux v1.5.3-0.20200613095409-bb88c45a3863
github.com/pkg/errors v0.9.1
github.com/rancher/dynamiclistener v0.2.1-0.20200418023342-52ede5ec9234
github.com/rancher/helm-controller v0.6.
4
github.com/rancher/helm-controller v0.6.
5
github.com/rancher/kine v0.4.0
github.com/rancher/remotedialer v0.2.0
github.com/rancher/spur v0.0.0-20200617165101-8702c8e4ce7a
...
...
go.sum
View file @
4db41718
...
...
@@ -638,8 +638,8 @@ github.com/rancher/go-powershell v0.0.0-20200701182037-6845e6fcfa79 h1:UeC0rjrIe
github.com/rancher/go-powershell v0.0.0-20200701182037-6845e6fcfa79/go.mod h1:xi4WpK6Op4m1Lknq61/e+VSjYlTs9bulVOaDNyBdzvk=
github.com/rancher/go-powershell v0.0.0-20200701184732-233247d45373 h1:BePi97poJ4hXnkP9yX96EmNQgMg+dGScvB1sqIheJ7w=
github.com/rancher/go-powershell v0.0.0-20200701184732-233247d45373/go.mod h1:Vz8oLnHgttpo/aZrTpjbcpZEDzzElqNau2zmorToY0E=
github.com/rancher/helm-controller v0.6.
4 h1:Q1N89ad5ejaBlQ4FFwDzfn/4C64FVwkqLatdFcqLn1Q
=
github.com/rancher/helm-controller v0.6.
4
/go.mod h1:ZylsxIMGNADRPRNW+NiBWhrwwks9vnKLQiCHYWb6Bi0=
github.com/rancher/helm-controller v0.6.
5 h1:gL6R3fbsBFBnrp2Wc36zn0zLQ8q2ckbLpfaN2XkrLVE
=
github.com/rancher/helm-controller v0.6.
5
/go.mod h1:ZylsxIMGNADRPRNW+NiBWhrwwks9vnKLQiCHYWb6Bi0=
github.com/rancher/kine v0.4.0 h1:1IhWy3TzjExG8xnj46eyUEWdzqNAD1WrgL4eEBKm6Uc=
github.com/rancher/kine v0.4.0/go.mod h1:IImtCJ68AIkE+VY/kUI0NkyJL5q5WzO8QvMsSXqbrpA=
github.com/rancher/kubernetes v1.18.6-k3s1 h1:UyO6rKHsFg48cG7V19Ji0XPXScNxPJRlPPYWBKMmo6Y=
...
...
vendor/github.com/rancher/helm-controller/pkg/helm/controller.go
View file @
4db41718
...
...
@@ -21,7 +21,6 @@ import (
rbac
"k8s.io/api/rbac/v1"
"k8s.io/apimachinery/pkg/api/errors"
meta
"k8s.io/apimachinery/pkg/apis/meta/v1"
metav1
"k8s.io/apimachinery/pkg/apis/meta/v1"
"k8s.io/apimachinery/pkg/runtime"
"k8s.io/apimachinery/pkg/types"
"k8s.io/apimachinery/pkg/util/intstr"
...
...
@@ -54,7 +53,7 @@ func Register(ctx context.Context, apply apply.Apply,
apply
=
apply
.
WithSetID
(
Name
)
.
WithCacheTypes
(
helms
,
jobs
,
crbs
,
sas
,
cm
)
.
WithStrictCaching
()
.
WithPatcher
(
batch
.
SchemeGroupVersion
.
WithKind
(
"Job"
),
func
(
namespace
,
name
string
,
pt
types
.
PatchType
,
data
[]
byte
)
(
runtime
.
Object
,
error
)
{
err
:=
jobs
.
Delete
(
namespace
,
name
,
&
meta
v1
.
DeleteOptions
{})
err
:=
jobs
.
Delete
(
namespace
,
name
,
&
meta
.
DeleteOptions
{})
if
err
==
nil
{
return
nil
,
fmt
.
Errorf
(
"replace job"
)
}
...
...
@@ -238,7 +237,7 @@ func job(chart *helmv1.HelmChart) (*batch.Job, *core.ConfigMap, *core.ConfigMap)
},
{
Key
:
"node.cloudprovider.kubernetes.io/uninitialized"
,
Operator
:
"="
,
Operator
:
core
.
TolerationOpEqual
,
Value
:
"true"
,
Effect
:
"NoSchedule"
,
},
...
...
vendor/modules.txt
View file @
4db41718
...
...
@@ -736,7 +736,7 @@ github.com/rancher/dynamiclistener/storage/memory
# github.com/rancher/go-powershell v0.0.0-20200701182037-6845e6fcfa79
github.com/rancher/go-powershell/backend
github.com/rancher/go-powershell/utils
# github.com/rancher/helm-controller v0.6.
4
# github.com/rancher/helm-controller v0.6.
5
github.com/rancher/helm-controller/pkg/apis/helm.cattle.io
github.com/rancher/helm-controller/pkg/apis/helm.cattle.io/v1
github.com/rancher/helm-controller/pkg/generated/clientset/versioned
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment