File tree Expand file tree Collapse file tree 7 files changed +14
-14
lines changed Expand file tree Collapse file tree 7 files changed +14
-14
lines changed Original file line number Diff line number Diff line change @@ -16,8 +16,8 @@ apiVersion: v2
1616name : haproxy 
1717description : A Helm chart for HAProxy on Kubernetes 
1818type : application 
19- version : 1.19.3  
20- appVersion : 2.8 .2 
19+ version : 1.20.0  
20+ appVersion : 2.9 .2 
2121kubeVersion : " >=1.17.0-0" 
2222keywords :
2323  - haproxy 
@@ -31,5 +31,5 @@ maintainers:
3131engine : gotpl 
3232annotations :
3333  artifacthub.io/changes : | 
34-     - Update base image to HAProxy 2.8 .2 
35-     - Fix includes name in haproxy charts (#203 ) 
34+     - Update base image to HAProxy 2.9 .2 
35+     - Add automountServiceAccountToken feature for ServiceAccount (#192 ) 
Original file line number Diff line number Diff line change @@ -26,4 +26,7 @@ metadata:
2626  annotations :
2727    {{- toYaml . | nindent 4 }} 
2828  {{- end }} 
29+ {{- if hasKey .Values.serviceAccount "automountServiceAccountToken" }} 
30+ automountServiceAccountToken : {{ .Values.serviceAccount.automountServiceAccountToken }} 
31+ {{- end }} 
2932{{- end }} 
Original file line number Diff line number Diff line change @@ -20,6 +20,7 @@ serviceAccount:
2020  annotations : {} 
2121  create : true 
2222  name :
23+   automountServiceAccountToken : true 
2324
2425# # Override namespace for for the whole chart
2526# # If namespaceOverride is set, helm will use it's value instead of .Release.Namespace for all chart components.
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ apiVersion: v2
1616name : kubernetes-ingress 
1717description : A Helm chart for HAProxy Kubernetes Ingress Controller 
1818type : application 
19- version : 1.36.0  
19+ version : 1.36.1  
2020appVersion : 1.10.10 
2121kubeVersion : " >=1.22.0-0" 
2222keywords :
@@ -32,5 +32,4 @@ maintainers:
3232engine : gotpl 
3333annotations :
3434  artifacthub.io/changes : | 
35-     - Enable automountServiceAccountToken use (#217) 
36-     - Automatically mount /tmp and /run as tmpfs for S6 overlay v3 
35+     - Move automountServiceAccountToken flag from pods to ServiceAccount configuration (fixes for #217) 
Original file line number Diff line number Diff line change 5757    spec :
5858      enableServiceLinks : {{ .Values.controller.enableServiceLinks }} 
5959      serviceAccountName : {{ include "kubernetes-ingress.serviceAccountName" . }} 
60-       {{- if hasKey .Values.controller "automountServiceAccountToken" }} 
61-       automountServiceAccountToken : {{ .Values.controller.automountServiceAccountToken }} 
62-       {{- end }} 
6360      terminationGracePeriodSeconds : {{ .Values.controller.terminationGracePeriodSeconds }} 
6461{{- with .Values.controller.topologySpreadConstraints }} 
6562      topologySpreadConstraints :
Original file line number Diff line number Diff line change @@ -26,4 +26,7 @@ metadata:
2626    app.kubernetes.io/managed-by : {{ .Release.Service }} 
2727    app.kubernetes.io/instance : {{ .Release.Name }} 
2828    app.kubernetes.io/version : {{ .Chart.AppVersion }} 
29+ {{- if hasKey .Values.serviceAccount "automountServiceAccountToken" }} 
30+ automountServiceAccountToken : {{ .Values.serviceAccount.automountServiceAccountToken }} 
31+ {{- end }} 
2932{{- end -}} 
Original file line number Diff line number Diff line change @@ -43,6 +43,7 @@ namespace:
4343serviceAccount :
4444  create : true 
4545  name :
46+   automountServiceAccountToken : true 
4647
4748# # Namespace override
4849# # Allow the release namespace to be overridden for multi-namespace deployments in combined charts
@@ -538,7 +539,3 @@ controller:
538539  # # Toggle to add the RBAC permissions needed for the techdump tool.
539540  techdump :
540541    enabled : false 
541- 
542-   # # automountServiceAccountToken
543-   # # Automatically mount a ServiceAccount's API credentials
544-   automountServiceAccountToken : true 
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments