Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add init script to factory to force SHA1 #169

Closed
wants to merge 1 commit into from

Conversation

jdost321
Copy link
Contributor

No description provided.

@matyasselmeci
Copy link
Contributor

matyasselmeci commented Jan 10, 2024

We take care of this in the software-base image: if you launch the image with the environment variable ENABLE_SHA1=YES then it does exactly this.

https://github.com/opensciencegrid/docker-software-base/blob/master/Dockerfile#L87-L90

@jdost321
Copy link
Contributor Author

How do I set ENABLE_SHA1=YES then for the k8s factory?

@matyasselmeci
Copy link
Contributor

In the env section for the container in the deployment. So add

- name: ENABLE_SHA1
  value: YES

in tiger-osg-config under manifests/base/gwms-factory/deployment.yaml, here
https://github.com/opensciencegrid/tiger-osg-config/blob/0048feca1931a9933342617ecfea1ee7a60c117a/manifests/base/gwms-factory/deployment.yaml#L47

@jdost321
Copy link
Contributor Author

great thanks. I forgot we're already setting some vars that way. I'll close this one then.

Jeff

@jdost321 jdost321 closed this Jan 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants