Skip to content

Commit

Permalink
fix: Updated imagepullsecretes
Browse files Browse the repository at this point in the history
  • Loading branch information
vamsidharpanithi committed Aug 8, 2024
1 parent ebd77a0 commit f968b86
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ Dockerfile.cross
# Go workspace file
go.work

.DS_Store
*.DS_Store*

# Kubernetes Generated files - skip generated files, except for vendored files
!vendor/**/zz_generated.*

Expand Down
5 changes: 4 additions & 1 deletion internal/controller/githubrelease_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ func (r *GitHubReleaseReconciler) jobForGitHubRelease(gitHubRelease *cveoperator
Containers: []corev1.Container{
{
Name: "cve-processor",
Image: "vamsidharp/webapp-cve-processor:v7",
Image: "vamsidharp/webapp-cve-processor:v10",
Args: []string{cveListURL},
Env: []corev1.EnvVar{
{
Expand All @@ -165,6 +165,9 @@ func (r *GitHubReleaseReconciler) jobForGitHubRelease(gitHubRelease *cveoperator
},
},
},
ImagePullSecrets: []corev1.LocalObjectReference{
{Name: "docker-creds"}},

RestartPolicy: corev1.RestartPolicyOnFailure,
},
},
Expand Down

0 comments on commit f968b86

Please sign in to comment.