Skip to content

Commit

Permalink
a
Browse files Browse the repository at this point in the history
  • Loading branch information
giautm committed Nov 28, 2023
1 parent d567ee4 commit 0cd127a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ $(HELMIFY): $(LOCALBIN)

.PHONY: helm
helm: manifests kustomize license helmify
$(KUSTOMIZE) build config/helm | $(HELMIFY) -crd-dir charts/atlas-operator
$(KUSTOMIZE) build config/helm | $(HELMIFY) -crd-dir -generate-defaults -image-pull-secrets charts/atlas-operator

.PHONY: cli-gen
cli-gen: generate manifests helm license
1 change: 1 addition & 0 deletions charts/atlas-operator/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ spec:
}}
securityContext: {{- toYaml .Values.controllerManager.manager.containerSecurityContext
| nindent 10 }}
imagePullSecrets: {{ .Values.imagePullSecrets | default list | toJson }}
securityContext:
runAsNonRoot: true
serviceAccountName: {{ include "atlas-operator.fullname" . }}-controller-manager
Expand Down
1 change: 1 addition & 0 deletions charts/atlas-operator/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,5 @@ controllerManager:
replicas: 1
serviceAccount:
annotations: {}
imagePullSecrets: []
kubernetesClusterDomain: cluster.local

0 comments on commit 0cd127a

Please sign in to comment.