We've got checked-in YML files which contain our k8s "deployment descriptors" (is there a better name for these things?)
I'm looking at a Service descriptor like...
apiVersion: v1
kind: Service
metadata:
name: regalia-service
namespace: sem
spec:
selector:
app: "proxy"
ports:
- protocol: TCP
port: 8080
targetPort: 8080
I look in a different repo that is doing basically the same thing and I notice the spec.selector.app value is missing the quotes. Like...
apiVersion: v1
kind: Service
metadata:
name: scimitar-service
namespace: sem
spec:
selector:
app: proxy
ports:
- protocol: TCP
port: 8080
targetPort: 8080
I think these 2 Service descriptors are doing the same thing but how do I know?
Are the quotes significant in k8s descriptors?
Is this a YML thing or a k8s thing?