fixing staticcheck
This commit is contained in:
parent
f17a4c5dce
commit
4150b6c767
|
|
@ -155,7 +155,6 @@ type JenkinsMaster struct {
|
||||||
// +optional
|
// +optional
|
||||||
NodeSelector map[string]string `json:"nodeSelector,omitempty"`
|
NodeSelector map[string]string `json:"nodeSelector,omitempty"`
|
||||||
|
|
||||||
|
|
||||||
// SecurityContext that applies to all the containers of the Jenkins
|
// SecurityContext that applies to all the containers of the Jenkins
|
||||||
// Master. As per kubernetes specification, it can be overidden
|
// Master. As per kubernetes specification, it can be overidden
|
||||||
// for each container individually.
|
// for each container individually.
|
||||||
|
|
|
||||||
|
|
@ -46,8 +46,6 @@ const (
|
||||||
slavePortName = "slavelistener"
|
slavePortName = "slavelistener"
|
||||||
// HTTPPortInt defines Jenkins master HTTP port
|
// HTTPPortInt defines Jenkins master HTTP port
|
||||||
HTTPPortInt = 8080
|
HTTPPortInt = 8080
|
||||||
|
|
||||||
jenkinsUserUID = int64(1000) // build in Docker image jenkins user UID
|
|
||||||
)
|
)
|
||||||
|
|
||||||
func buildPodTypeMeta() metav1.TypeMeta {
|
func buildPodTypeMeta() metav1.TypeMeta {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue