This is probably a copy/paste issue.
https://github.com/ViaQ/elasticsearch-templates/blob/master/namespaces/kubernetes.yml#L77-L80
It seems kubernetes.labels.deploymentconfig is already a keyword with very similar properties as kubernetes.labels.deploymentconfig.raw.