Remove default service token from all pod spec

Change-Id: I3c182806245056bfc87c8737a7ffbf611614b2af
This commit is contained in:
okozachenko 2020-07-24 16:50:20 +03:00
parent 65df8ffac6
commit 809caecd82
13 changed files with 13 additions and 0 deletions

View File

@ -32,6 +32,7 @@ spec:
labels: labels:
{{ labels("ceilometer", "ceilometer") | indent(8) }} {{ labels("ceilometer", "ceilometer") | indent(8) }}
spec: spec:
automountServiceAccountToken: false
containers: containers:
- name: agent - name: agent
image: vexxhost/ceilometer-agent-notification:latest image: vexxhost/ceilometer-agent-notification:latest

View File

@ -33,6 +33,7 @@ spec:
labels: labels:
{{ labels("chronyd", "chronyd") | indent(8) }} {{ labels("chronyd", "chronyd") | indent(8) }}
spec: spec:
automountServiceAccountToken: false
containers: containers:
- name: main - name: main
image: vexxhost/chronyd:latest image: vexxhost/chronyd:latest

View File

@ -35,6 +35,7 @@ spec:
annotations: annotations:
checksum/config: "{{ config_hash }}" checksum/config: "{{ config_hash }}"
spec: spec:
automountServiceAccountToken: false
initContainers: initContainers:
- name: db-sync - name: db-sync
image: vexxhost/glance-api:latest image: vexxhost/glance-api:latest

View File

@ -26,6 +26,7 @@ spec:
spec: spec:
template: template:
spec: spec:
automountServiceAccountToken: false
containers: containers:
- name: service-clean - name: service-clean
image: vexxhost/heat-engine:latest image: vexxhost/heat-engine:latest

View File

@ -41,6 +41,7 @@ spec:
annotations: annotations:
checksum/config: "{{ config_hash }}" checksum/config: "{{ config_hash }}"
spec: spec:
automountServiceAccountToken: false
{% if 'engine' in component %} {% if 'engine' in component %}
terminationGracePeriodSeconds: 300 terminationGracePeriodSeconds: 300
initContainers: initContainers:

View File

@ -35,6 +35,7 @@ spec:
annotations: annotations:
checksum/config: "{{ config_hash }}" checksum/config: "{{ config_hash }}"
spec: spec:
automountServiceAccountToken: false
containers: containers:
- name: horizon - name: horizon
image: vexxhost/horizon:latest image: vexxhost/horizon:latest

View File

@ -35,6 +35,7 @@ spec:
annotations: annotations:
checksum/config: "{{ config_hash }}" checksum/config: "{{ config_hash }}"
spec: spec:
automountServiceAccountToken: false
initContainers: initContainers:
- name: db-sync - name: db-sync
image: vexxhost/keystone:latest image: vexxhost/keystone:latest

View File

@ -29,6 +29,7 @@ spec:
labels: labels:
{{ labels("libvirtd-exporter", "libvirtd-exporter") | indent(8) }} {{ labels("libvirtd-exporter", "libvirtd-exporter") | indent(8) }}
spec: spec:
automountServiceAccountToken: false
containers: containers:
- name: main - name: main
image: vexxhost/libvirtd-exporter:latest image: vexxhost/libvirtd-exporter:latest

View File

@ -35,6 +35,7 @@ spec:
annotations: annotations:
checksum/config: "{{ config_hash }}" checksum/config: "{{ config_hash }}"
spec: spec:
automountServiceAccountToken: false
{% if 'conductor' in component %} {% if 'conductor' in component %}
initContainers: initContainers:
- name: db-sync - name: db-sync

View File

@ -29,6 +29,7 @@ spec:
labels: labels:
{{ labels("mcrouter", name) | indent(8) }} {{ labels("mcrouter", name) | indent(8) }}
spec: spec:
automountServiceAccountToken: false
containers: containers:
- name: mcrouter - name: mcrouter
image: vexxhost/mcrouter:latest image: vexxhost/mcrouter:latest

View File

@ -29,6 +29,7 @@ spec:
labels: labels:
{{ labels("memcached", name) | indent(8) }} {{ labels("memcached", name) | indent(8) }}
spec: spec:
automountServiceAccountToken: false
containers: containers:
- name: memcached - name: memcached
image: vexxhost/memcached:latest image: vexxhost/memcached:latest

View File

@ -30,6 +30,7 @@ spec:
labels: labels:
{{ labels("memcached", name) | indent(8) }} {{ labels("memcached", name) | indent(8) }}
spec: spec:
automountServiceAccountToken: false
containers: containers:
- name: memcached - name: memcached
image: vexxhost/memcached:latest image: vexxhost/memcached:latest

View File

@ -29,6 +29,7 @@ spec:
labels: labels:
{{ labels("rabbitmq", name) | indent(8) }} {{ labels("rabbitmq", name) | indent(8) }}
spec: spec:
automountServiceAccountToken: false
containers: containers:
- name: rabbitmq - name: rabbitmq
env: env: