kustomization.yaml 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. apiVersion: kustomize.config.k8s.io/v1beta1
  2. kind: Kustomization
  3. helmCharts:
  4. - name: web
  5. repo: https://charts.getporter.dev
  6. releaseName: porter-server
  7. valuesFile: server.yaml
  8. - name: web
  9. repo: https://charts.getporter.dev
  10. releaseName: porter-auth
  11. valuesFile: auth.yaml
  12. configMapGenerator:
  13. - name: porter-server-env
  14. env: .server.env
  15. generatorOptions:
  16. disableNameSuffixHash: true
  17. patchesStrategicMerge:
  18. - |-
  19. apiVersion: apps/v1
  20. kind: Deployment
  21. metadata:
  22. name: porter-server-web
  23. spec:
  24. template:
  25. spec:
  26. containers:
  27. - name: web
  28. envFrom:
  29. - configMapRef:
  30. name: porter-server-env
  31. volumeMounts:
  32. - mountPath: /app/ssh
  33. name: ssh-keys
  34. volumes:
  35. - name: ssh-keys
  36. hostPath:
  37. path: /local-user/.ssh
  38. - |-
  39. apiVersion: apps/v1
  40. kind: Deployment
  41. metadata:
  42. name: porter-auth-web
  43. spec:
  44. template:
  45. spec:
  46. containers:
  47. - name: web
  48. envFrom:
  49. - configMapRef:
  50. name: porter-server-env
  51. volumeMounts:
  52. - mountPath: /app/ssh
  53. name: ssh-keys
  54. volumes:
  55. - name: ssh-keys
  56. hostPath:
  57. path: /local-user/.ssh