File tree 2 files changed +24
-2
lines changed
2 files changed +24
-2
lines changed Original file line number Diff line number Diff line change @@ -1004,6 +1004,8 @@ Sets up a Kubernetes server instance
1004
1004
1005
1005
The following parameters are available in the ` k8s::server ` class:
1006
1006
1007
+ * [ ` admin_cert ` ] ( #-k8s--server--admin_cert )
1008
+ * [ ` admin_key ` ] ( #-k8s--server--admin_key )
1007
1009
* [ ` aggregator_ca_cert ` ] ( #-k8s--server--aggregator_ca_cert )
1008
1010
* [ ` aggregator_ca_key ` ] ( #-k8s--server--aggregator_ca_key )
1009
1011
* [ ` api_port ` ] ( #-k8s--server--api_port )
@@ -1031,6 +1033,22 @@ The following parameters are available in the `k8s::server` class:
1031
1033
* [ ` node_on_server ` ] ( #-k8s--server--node_on_server )
1032
1034
* [ ` puppetdb_discovery_tag ` ] ( #-k8s--server--puppetdb_discovery_tag )
1033
1035
1036
+ ##### <a name =" -k8s--server--admin_cert " ></a >` admin_cert `
1037
+
1038
+ Data type: ` Stdlib::Unixpath `
1039
+
1040
+ path to the admin cert
1041
+
1042
+ Default value: ` "${cert_path}/admin.pem" `
1043
+
1044
+ ##### <a name =" -k8s--server--admin_key " ></a >` admin_key `
1045
+
1046
+ Data type: ` Stdlib::Unixpath `
1047
+
1048
+ path to the admin key
1049
+
1050
+ Default value: ` "${cert_path}/admin.key" `
1051
+
1034
1052
##### <a name =" -k8s--server--aggregator_ca_cert " ></a >` aggregator_ca_cert `
1035
1053
1036
1054
Data type: ` Stdlib::Unixpath `
Original file line number Diff line number Diff line change 1
1
# @summary Sets up a Kubernetes server instance
2
2
#
3
+ # @param admin_cert path to the admin cert
4
+ # @param admin_key path to the admin key
3
5
# @param aggregator_ca_cert path to the aggregator ca cert
4
6
# @param aggregator_ca_key path to the aggregator ca key
5
7
# @param api_port Cluster API port
42
44
Stdlib::Unixpath $ca_cert = " ${cert_path} /ca.pem" ,
43
45
Stdlib::Unixpath $aggregator_ca_key = " ${cert_path} /aggregator-ca.key" ,
44
46
Stdlib::Unixpath $aggregator_ca_cert = " ${cert_path} /aggregator-ca.pem" ,
47
+ Stdlib::Unixpath $admin_cert = " ${cert_path} /admin.pem" ,
48
+ Stdlib::Unixpath $admin_key = " ${cert_path} /admin.key" ,
45
49
46
50
Boolean $generate_ca = false ,
47
51
Boolean $manage_etcd = $k8s::manage_etcd,
126
130
current_context => ' default' ,
127
131
128
132
ca_cert => $ca_cert ,
129
- client_cert => " ${cert_path} /admin.pem " ,
130
- client_key => " ${cert_path} /admin.key " ,
133
+ client_cert => $admin_cert ,
134
+ client_key => $admin_key ,
131
135
}
132
136
133
137
if $node_on_server {
You can’t perform that action at this time.
0 commit comments