Skip to content

Commit

Permalink
Add /dev/urandom mount option to createDeployment() method
Browse files Browse the repository at this point in the history
  • Loading branch information
jrmyr committed Dec 21, 2021
1 parent 5879b11 commit cde2794
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/lib/_ytt_lib/k8syaml/main.lib.yaml
Expand Up @@ -72,6 +72,13 @@
- path: #@ CONFIG_FILE_NAME
fieldRef:
fieldPath: metadata.annotations['composedServiceConfig']
#@ if withDb:
# Needed for some db connection libs to ensure a proper entropy
- name: urandom
hostPath:
path: /dev/urandom
type: File
#@ end
#@ end

#@ def mainContainerName(name):
Expand Down

0 comments on commit cde2794

Please sign in to comment.