# SPDX-License-Identifier: MIT-0 apiVersion: v1 kind: Service metadata: name: {{ the_button_name | to_json }} namespace: {{ the_button_namespace | to_json }} labels: app.kubernetes.io/name: the-button app.kubernetes.io/instance: {{ the_button_name | to_json }} app.kubernetes.io/managed-by: ansible spec: type: ClusterIP selector: app.kubernetes.io/name: the-button app.kubernetes.io/instance: {{ the_button_name | to_json }} ports: - name: http port: 80 targetPort: http protocol: TCP