Skip to content

Commit

Permalink
fixing syntax error, updating comment, and removing checksum for dele…
Browse files Browse the repository at this point in the history
…ted configmap.
  • Loading branch information
EliseCastle23 committed Dec 6, 2024
1 parent 394ba8c commit fadd642
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 6 deletions.
1 change: 0 additions & 1 deletion helm/metadata/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ spec:
{{- include "metadata.selectorLabels" . | nindent 8 }}
{{- include "common.extraLabels" . | nindent 8 }}
annotations:
checksum/config: {{ include (print $.Template.BasePath "/metadata.yaml") . | sha256sum }}
{{- if .Values.metricsEnabled }}
{{- include "common.grafanaAnnotations" . | nindent 8 }}
{{- end }}
Expand Down
2 changes: 1 addition & 1 deletion helm/sower/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ A Helm chart for gen3 sower
| sowerConfig[1].restart_policy | string | `"Never"` | |
| sowerConfig[1].volumes[0].name | string | `"pelican-creds-volume"` | |
| sowerConfig[1].volumes[0].secret.secretName | string | `"pelicanservice-g3auto"` | |
| sowerjobsG3auto | string | `"{\n \"index-object-manifest\": {\n \"job_requires\": {\n \"arborist_url\": \"http://arborist-service\",\n \"job_access_req\": []\n },\n \"bucket\": \"$bucketName\",\n \"indexd_user\": \"diirm\",\n \"indexd_password\": \"$indexdPassword\"\n },\n \"download-indexd-manifest\": {\n \"job_requires\": {\n \"arborist_url\": \"http://arborist-service\",\n \"job_access_req\": []\n },\n \"bucket\": \"$bucketName\"\n },\n \"get-dbgap-metadata\": {\n \"job_requires\": {\n \"arborist_url\": \"http://arborist-service\",\n \"job_access_req\": []\n },\n \"bucket\": \"$bucketName\"\n },\n \"ingest-metadata-manifest\": {\n \"job_requires\": {\n \"arborist_url\": \"http://arborist-service\",\n \"job_access_req\": []\n },\n \"bucket\": \"$bucketName\"\n }\n}\n"` | Additional configuration for Sower Jobs Passed in as a multiline string. |
| sowerjobsG3auto | string | `"{\n \"index-object-manifest\": {\n \"job_requires\": {\n \"arborist_url\": \"http://arborist-service\",\n \"job_access_req\": []\n },\n \"bucket\": \"$bucketName\",\n \"indexd_user\": \"diirm\",\n \"indexd_password\": \"$indexdPassword\"\n },\n \"download-indexd-manifest\": {\n \"job_requires\": {\n \"arborist_url\": \"http://arborist-service\",\n \"job_access_req\": []\n },\n \"bucket\": \"$bucketName\"\n },\n \"get-dbgap-metadata\": {\n \"job_requires\": {\n \"arborist_url\": \"http://arborist-service\",\n \"job_access_req\": []\n },\n \"bucket\": \"$bucketName\"\n },\n \"ingest-metadata-manifest\": {\n \"job_requires\": {\n \"arborist_url\": \"http://arborist-service\",\n \"job_access_req\": []\n },\n \"bucket\": \"$bucketName\"\n }\n}\n"` | Additional configuration for Sower Jobs Passed in as a multiline string. This secret can be mounted in sowerConfig. |
| strategy | map | `{"rollingUpdate":{"maxSurge":1,"maxUnavailable":0},"type":"RollingUpdate"}` | Rolling update deployment strategy |
| strategy.rollingUpdate.maxSurge | int | `1` | Number of additional replicas to add during rollout. |
| strategy.rollingUpdate.maxUnavailable | int | `0` | Maximum amount of pods that can be unavailable during the update. |
Expand Down
6 changes: 3 additions & 3 deletions helm/sower/templates/external-secret.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,18 +20,18 @@ spec:
apiVersion: external-secrets.io/v1beta1
kind: ExternalSecret
metadata:
name: pelicanservice-g3auto
name: sower-jobs-g3auto
spec:
refreshInterval: 5m
secretStoreRef:
name: {{include "common.SecretStore" .}}
kind: SecretStore
target:
name: pelicanservice-g3auto
name: sower-jobs-g3auto
creationPolicy: Owner
data:
- secretKey: config.json
remoteRef:
#name of secret in secrets manager
key: {{include "pelicanservice-g3auto" .}}
key: {{include "sower-jobs-g3auto" .}}
{{- end }}
2 changes: 1 addition & 1 deletion helm/sower/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -341,7 +341,7 @@ sowerConfig:
secretName: pelicanservice-g3auto
restart_policy: Never

# -- (string) Additional configuration for Sower Jobs Passed in as a multiline string.
# -- (string) Additional configuration for Sower Jobs Passed in as a multiline string. This secret can be mounted in sowerConfig.
sowerjobsG3auto: |
{
"index-object-manifest": {
Expand Down

0 comments on commit fadd642

Please sign in to comment.