Skip to content

Commit

Permalink
update pullpolicy
Browse files Browse the repository at this point in the history
  • Loading branch information
kikakkz committed Feb 28, 2024
1 parent 599df11 commit 79c00a0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -362,6 +362,7 @@ pipeline {
REPLICAS_COUNT=2
fi
sed -i "s/replicas: 2/replicas: $REPLICAS_COUNT/g" cmd/account-middleware/k8s/02-account-middleware.yaml
sed -i "s/imagePullPolicy: Always/imagePullPolicy: IfNotPresent/g" cmd/account-middleware/k8s/02-account-middleware.yaml
make deploy-to-k8s-cluster
'''.stripIndent())
}
Expand Down Expand Up @@ -390,6 +391,7 @@ pipeline {
REPLICAS_COUNT=2
fi
sed -i "s/replicas: 2/replicas: $REPLICAS_COUNT/g" cmd/account-middleware/k8s/02-account-middleware.yaml
sed -i "s/imagePullPolicy: Always/imagePullPolicy: IfNotPresent/g" cmd/account-middleware/k8s/02-account-middleware.yaml
make deploy-to-k8s-cluster
'''.stripIndent())
}
Expand Down

0 comments on commit 79c00a0

Please sign in to comment.