labels:
name: swift
spec:
+ priorityClassName: "system-cluster-critical"
hostNetwork: true
dnsPolicy: ClusterFirstWithHostNet
nodeSelector:
- BACKEND
resources:
limits:
+ cpu: "1"
memory: "4Gi"
requests:
+ cpu: "200m"
memory: "1Gi"
env:
- name: "SWIFT_USER"
- value: "{{ swift_user_for_template.stdout }}"
+ value: "{{ caas.swift_credential.user }}"
- name: "SWIFT_TENANT"
- value: "{{ swift_tenant_for_template.stdout }}"
+ value: "{{ caas.swift_credential.tenant }}"
- name: "SWIFT_PASS"
- value: "{{ swift_password_for_template.stdout }}"
+ value: "{{ caas.swift_credential.password }}"
- name: "SWIFT_PART_POWER"
value: "7"
- name: "SWIFT_PART_HOUR"
- name: "SWIFT_OAM{{loop.index}}_IP"
value: "{{ hostvars[host]['networking']['infra_internal']['ip'] }}"
{% endfor %}
+ - name: "SWIFT_URL"
+ value: "{{ caas.swift }}"
volumeMounts:
- name: config
mountPath: /etc/swift/