Skip to content

Commit

Permalink
Fix Kubernetes Server URL
Browse files Browse the repository at this point in the history
  • Loading branch information
ruprict committed Mar 30, 2018
1 parent 5053a68 commit c9637eb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions skookum-jenkins/config.xml
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@
<imagePullSecrets/>
</org.csanchez.jenkins.plugins.kubernetes.PodTemplate>
</templates>
<serverUrl>https://kubernetes.default</serverUrl>
<serverUrl>https://kubernetes.default.svc</serverUrl>
<skipTlsVerify>false</skipTlsVerify>
<namespace>default</namespace>
<jenkinsUrl>http://jenkins-jenkins:8080</jenkinsUrl>
Expand Down Expand Up @@ -129,4 +129,4 @@
<nodeProperties/>
<globalNodeProperties/>
<noUsageStatistics>true</noUsageStatistics>
</hudson>
</hudson>
4 changes: 2 additions & 2 deletions skookum-jenkins/templates/config.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ data:
</org.csanchez.jenkins.plugins.kubernetes.PodTemplate>
{{- end -}}
</templates>
<serverUrl>https://kubernetes.default</serverUrl>
<serverUrl>https://kubernetes.default.svc</serverUrl>
<skipTlsVerify>false</skipTlsVerify>
<namespace>{{ .Release.Namespace }}</namespace>
<jenkinsUrl>http://{{ template "jenkins.fullname" . }}:{{.Values.Master.ServicePort}}{{ default "" .Values.Master.JenkinsUriPrefix }}</jenkinsUrl>
Expand Down Expand Up @@ -209,4 +209,4 @@ data:
{{ $val | indent 4 }}
{{- end }}
{{- end }}
{{ end }}
{{ end }}

0 comments on commit c9637eb

Please sign in to comment.