[19.02.20] Secret for repository revert
This commit is contained in:
parent
42f82f8937
commit
b1b52dec23
@ -72,4 +72,4 @@ spec:
|
||||
memory: 256Mi
|
||||
restartPolicy: Always
|
||||
imagePullSecrets:
|
||||
- name: $KUBERNETES_SECRET_NAME
|
||||
- name: registry-secret
|
||||
@ -46,7 +46,7 @@ def deploy( Integer replicas ) {
|
||||
}
|
||||
|
||||
try {
|
||||
// timestamps {
|
||||
timestamps {
|
||||
node ("${env.SLAVE_LABEL}") {
|
||||
stage('Initialise') {
|
||||
checkout([$class: 'GitSCM', branches: [[name: 'master']], doGenerateSubmoduleConfigurations: false, extensions: [], submoduleCfg: [], userRemoteConfigs: [[credentialsId: 'Github', url: 'https://github.com/andyjk15/db-gateway.git']]])
|
||||
@ -119,14 +119,7 @@ try {
|
||||
sh "kubectl apply -f configuration/kubernetes/service.yaml"
|
||||
|
||||
sh "kubectl get pods"
|
||||
// kubernetesDeploy configs: '**/configuration/kubernetes/*.yaml',
|
||||
// deleteResource: true,
|
||||
// dockerCredentials: [[credentialsId: 'Registry', url: "${env.DOCKER_REPOSITORY_URL}"]],
|
||||
// kubeConfig: [path: ''],
|
||||
// kubeconfigId: 'Kubernetes',
|
||||
//// secretName: '',
|
||||
// ssh: [sshCredentialsId: '*', sshServer: ''],
|
||||
// textCredentials: [certificateAuthorityData: '', clientCertificateData: '', clientKeyData: '', serverUrl: 'https://']
|
||||
}
|
||||
}
|
||||
}
|
||||
} catch ( exception ) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user