Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion kubernetes-ingress/templates/controller-crdjob-rbac.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/}}

{{- if .Values.crdjob.enabled }}
{{- if .Values.rbac.create -}}
apiVersion: v1
kind: ServiceAccount
Expand Down Expand Up @@ -76,3 +76,4 @@ subjects:
name: {{ include "kubernetes-ingress.crdjob.saName" . }}
namespace: {{ include "kubernetes-ingress.namespace" . }}
{{- end -}}
{{- end -}}
2 changes: 2 additions & 0 deletions kubernetes-ingress/templates/controller-crdjob.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and
limitations under the License.
*/}}

{{- if .Values.crdjob.enabled }}
apiVersion: batch/v1
kind: Job
metadata:
Expand Down Expand Up @@ -108,3 +109,4 @@ spec:
tolerations:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- end }}
3 changes: 3 additions & 0 deletions kubernetes-ingress/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -701,6 +701,9 @@ controller:

## CRD job default values
crdjob:
## Enable or disable the CRD job
enabled: true

## Additional annotations to add to the pod container metadata
## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/
podAnnotations: {}
Expand Down