|
|
|
@ -228,7 +228,7 @@ func generateDeployment(opts *Options) (*v1beta1.Deployment, error) {
|
|
|
|
|
ImagePullPolicy: opts.pullPolicy(),
|
|
|
|
|
Ports: []v1.ContainerPort{
|
|
|
|
|
{ContainerPort: environment.DefaultTillerPort, Name: "tiller"},
|
|
|
|
|
{ContainerPort: 44135, Name: "http"},
|
|
|
|
|
{ContainerPort: environment.DefaultTillerProbePort, Name: "http"},
|
|
|
|
|
},
|
|
|
|
|
Env: []v1.EnvVar{
|
|
|
|
|
{Name: "TILLER_NAMESPACE", Value: opts.Namespace},
|
|
|
|
@ -238,7 +238,7 @@ func generateDeployment(opts *Options) (*v1beta1.Deployment, error) {
|
|
|
|
|
Handler: v1.Handler{
|
|
|
|
|
HTTPGet: &v1.HTTPGetAction{
|
|
|
|
|
Path: "/liveness",
|
|
|
|
|
Port: intstr.FromInt(44135),
|
|
|
|
|
Port: intstr.FromInt(environment.DefaultTillerProbePort),
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
InitialDelaySeconds: 1,
|
|
|
|
@ -248,7 +248,7 @@ func generateDeployment(opts *Options) (*v1beta1.Deployment, error) {
|
|
|
|
|
Handler: v1.Handler{
|
|
|
|
|
HTTPGet: &v1.HTTPGetAction{
|
|
|
|
|
Path: "/readiness",
|
|
|
|
|
Port: intstr.FromInt(44135),
|
|
|
|
|
Port: intstr.FromInt(environment.DefaultTillerProbePort),
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
InitialDelaySeconds: 1,
|
|
|
|
|