Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HMS-2814 feat: IPA client installer and automount #12

Merged
merged 1 commit into from
Oct 18, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 19 additions & 1 deletion public.openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -735,6 +735,16 @@
"$ref": "#/components/schemas/DomainIpaServer"
}
},
"automount_locations": {
"description": "List of automount locations for AutoFS",
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"minItems": 0,
tiran marked this conversation as resolved.
Show resolved Hide resolved
"example": "[\"default\"]"
},
"ca_certs": {
"description": "A base64 representation of all the list of chain of certificates, including the server ca.",
"type": "array",
Expand All @@ -744,7 +754,7 @@
"example": "[\n {\n \"nickname\": \"MYDOMAIN.EXAMPLE IPA CA\",\n \"issuer\": \"CN=Certificate Authority,O=MYDOMAIN.EXAMPLE\",\n \"subject\": \"CN=Certificate Authority,O=MYDOMAIN.EXAMPLE\",\n \"serial_number\": \"1\",\n \"not_before\": \"2023-01-31T13:23:36Z\",\n \"not_after\": \"2023-01-31T13:23:36Z\"\n \"pem\": \"-----BEGIN CERTIFICATE-----\\nMIIE...\\n-----END CERTIFICATE-----\\n\",\n }\n]"
},
"locations": {
"description": "List of allowed locations",
"description": "List of DNS locations",
"type": "array",
"items": {
"$ref": "#/components/schemas/Location"
Expand Down Expand Up @@ -1096,6 +1106,14 @@
},
"example": "[{\"fqdn\": \"server1.mydomain.example\"}, {\"fqdn\": \"server2.mydomain.example\"}]"
},
"ipa_client_install_args": {
"description": "List of additional arguments for ipa-client-install",
"type": "array",
"items": {
"type": "string"
},
"example": "[\"--automount-location=default\", \"--enable-dns-updates\"]"
},
"realm_name": {
"$ref": "#/components/schemas/RealmName"
}
Expand Down
16 changes: 15 additions & 1 deletion public.openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -481,6 +481,14 @@ components:
type: array
items:
$ref: '#/components/schemas/DomainIpaServer'
automount_locations:
description: List of automount locations for AutoFS
type: array
items:
type: string
minLength: 1
minItems: 0
example: '["default"]'
ca_certs:
description: A base64 representation of all the list of chain of certificates, including the server ca.
type: array
Expand All @@ -499,7 +507,7 @@ components:
}
]
locations:
description: List of allowed locations
description: List of DNS locations
type: array
items:
$ref: '#/components/schemas/Location'
Expand Down Expand Up @@ -770,6 +778,12 @@ components:
items:
$ref: '#/components/schemas/HostConfIpaServer'
example: '[{"fqdn": "server1.mydomain.example"}, {"fqdn": "server2.mydomain.example"}]'
ipa_client_install_args:
description: List of additional arguments for ipa-client-install
type: array
items:
type: string
example: '["--automount-location=default", "--enable-dns-updates"]'
realm_name:
$ref: '#/components/schemas/RealmName'
x-rh-ipa-hcc:
Expand Down