-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: add readonly config test/example (#215)
* ci: add readonly config test/example * ci: add readonly config test/example
- Loading branch information
1 parent
34ef546
commit 7e0c19a
Showing
1 changed file
with
105 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,105 @@ | ||
# Read-Only configuration. Use this if you are running in an environment where containers must run as read-only. | ||
config: | ||
langGraphCloudLicenseKey: "YOUR_LICENSE_KEY" | ||
|
||
apiServer: | ||
deployment: | ||
resources: | ||
requests: | ||
cpu: 100m | ||
memory: 500Mi | ||
podSecurityContext: | ||
runAsNonRoot: true | ||
runAsUser: 1000 | ||
runAsGroup: 1000 | ||
fsGroup: 1000 | ||
securityContext: | ||
capabilities: | ||
drop: | ||
- ALL | ||
seccompProfile: | ||
type: RuntimeDefault | ||
allowPrivilegeEscalation: false | ||
readOnlyRootFilesystem: true | ||
# Note you may need to mount tmp directories if your graph writes to disk | ||
|
||
studio: | ||
deployment: | ||
resources: | ||
requests: | ||
cpu: 100m | ||
memory: 500Mi | ||
podSecurityContext: | ||
runAsNonRoot: true | ||
runAsUser: 1000 | ||
runAsGroup: 1000 | ||
fsGroup: 1000 | ||
securityContext: | ||
capabilities: | ||
drop: | ||
- ALL | ||
seccompProfile: | ||
type: RuntimeDefault | ||
allowPrivilegeEscalation: false | ||
readOnlyRootFilesystem: true | ||
volumes: | ||
- name: tmp | ||
emptyDir: {} | ||
- name: etc | ||
emptyDir: {} | ||
volumeMounts: | ||
- name: tmp | ||
mountPath: /tmp | ||
- name: etc | ||
mountPath: /etc/nginx/conf.d | ||
|
||
|
||
postgres: | ||
statefulSet: | ||
resources: | ||
requests: | ||
cpu: 500m | ||
memory: 1000Mi | ||
podSecurityContext: | ||
runAsNonRoot: true | ||
runAsUser: 1000 | ||
runAsGroup: 1000 | ||
fsGroup: 1000 | ||
securityContext: | ||
capabilities: | ||
drop: | ||
- ALL | ||
seccompProfile: | ||
type: RuntimeDefault | ||
allowPrivilegeEscalation: false | ||
readOnlyRootFilesystem: true | ||
volumes: | ||
- name: tmp | ||
emptyDir: {} | ||
- name: postgres | ||
emptyDir: {} | ||
volumeMounts: | ||
- name: tmp | ||
mountPath: /tmp | ||
- name: postgres | ||
mountPath: /run/postgresql | ||
|
||
redis: | ||
deployment: | ||
resources: | ||
requests: | ||
cpu: 200m | ||
memory: 500Mi | ||
podSecurityContext: | ||
runAsNonRoot: true | ||
runAsUser: 1000 | ||
runAsGroup: 1000 | ||
fsGroup: 1000 | ||
securityContext: | ||
capabilities: | ||
drop: | ||
- ALL | ||
seccompProfile: | ||
type: RuntimeDefault | ||
allowPrivilegeEscalation: false | ||
readOnlyRootFilesystem: true |