-
Notifications
You must be signed in to change notification settings - Fork 145
Closed
Description
Testing my new k8s module, using the openshift client, I'm running into the following differences when submitting a Deployment Config multiple times:
"differences": [
[
"change",
[
"spec",
"template",
"spec",
"containers",
0,
"volume_mounts",
0,
"read_only"
],
[
null,
false
]
],
[
"change",
[
"spec",
"template",
"spec",
"containers",
0,
"security_context"
],
[
null,
{
"capabilities": null,
"privileged": null,
"read_only_root_filesystem": null,
"run_as_non_root": null,
"run_as_user": null,
"se_linux_options": null
}
]
]
Here's the Deployment Config I'm sending:
"kind": "DeploymentConfig",
"metadata": {
"labels": {
"app": "galaxy",
"service": "elastic"
},
"name": "elastic",
"namespace": "testing"
},
"spec": {
"replicas": 0,
"strategy": {
"type": "Rolling"
},
"template": {
"metadata": {
"labels": {
"app": "galaxy",
"service": "elastic"
}
},
"spec": {
"containers": [
{
"command": [
"elasticsearch"
],
"image": "ansible/galaxy-elasticsearch:2.4.6",
"name": "elastic",
"state": "present",
"volumeMounts": [
{
"mountPath": "/usr/share/elasticsearch/data",
"name": "elastic-volume"
}
]
}
],
"volumes": [
{
"name": "elastic-volume",
"persistentVolumeClaim": {
"claimName": "elastic-volume"
}
}
]
}
}
}
}
Metadata
Metadata
Assignees
Labels
No labels