rbac-values.yaml 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114
  1. image:
  2. repository: traefik/whoami
  3. pullPolicy: IfNotPresent
  4. tag: latest
  5. service:
  6. main:
  7. enabled: true
  8. primary: true
  9. ports:
  10. main:
  11. enabled: true
  12. primary: true
  13. protocol: http
  14. port: 8080
  15. workload:
  16. main:
  17. enabled: true
  18. primary: true
  19. type: Deployment
  20. podSpec:
  21. containers:
  22. main:
  23. enabled: true
  24. primary: true
  25. args:
  26. - --port
  27. - "8080"
  28. probes:
  29. liveness:
  30. enabled: true
  31. type: http
  32. port: "{{ .Values.service.main.ports.main.port }}"
  33. readiness:
  34. enabled: true
  35. type: http
  36. port: "{{ .Values.service.main.ports.main.port }}"
  37. startup:
  38. enabled: true
  39. type: http
  40. port: "{{ .Values.service.main.ports.main.port }}"
  41. workload2:
  42. enabled: true
  43. primary: false
  44. type: Deployment
  45. podSpec:
  46. containers:
  47. main:
  48. enabled: true
  49. primary: true
  50. args:
  51. - --port
  52. - "8080"
  53. probes:
  54. liveness:
  55. enabled: true
  56. type: http
  57. port: "{{ .Values.service.main.ports.main.port }}"
  58. readiness:
  59. enabled: true
  60. type: http
  61. port: "{{ .Values.service.main.ports.main.port }}"
  62. startup:
  63. enabled: true
  64. type: http
  65. port: "{{ .Values.service.main.ports.main.port }}"
  66. rbac:
  67. main:
  68. enabled: true
  69. primary: true
  70. clusterWide: true
  71. allServiceAccounts: true
  72. labels:
  73. key: value
  74. key1: value1
  75. annotations:
  76. key: value
  77. key1: value1
  78. rules:
  79. - apiGroups:
  80. - ""
  81. resources:
  82. - services
  83. - endpoints
  84. - secrets
  85. verbs:
  86. - get
  87. - list
  88. - watch
  89. - apiGroups:
  90. - ""
  91. resources:
  92. - pods
  93. verbs:
  94. - get
  95. - list
  96. - watch
  97. serviceAccount:
  98. sa-name:
  99. enabled: true
  100. primary: true
  101. labels:
  102. key: value
  103. key2: value
  104. annotations:
  105. key: value
  106. key2: value
  107. other-sa-name:
  108. enabled: true
  109. targetSelector:
  110. - workload2