Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
5748aad8
Commit
5748aad8
authored
Feb 10, 2021
by
Ben Ewen
Committed by
Mike Jang
Feb 10, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
API URL must exist in the SANs for the Kubernetes certificate
parent
de0fce61
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
0 deletions
+10
-0
doc/user/project/clusters/add_remove_clusters.md
doc/user/project/clusters/add_remove_clusters.md
+10
-0
No files found.
doc/user/project/clusters/add_remove_clusters.md
View file @
5748aad8
...
...
@@ -387,3 +387,13 @@ If you encounter this error while adding a Kubernetes cluster, ensure you're
properly pasting the service token. Some shells may add a line break to the
service token, making it invalid. Ensure that there are no line breaks by
pasting your token into an editor and removing any additional spaces.
You may also experience this error if your certificate is not valid. To check that your certificate's
subject alternative names contain the correct domain for your cluster's API, run this:
```
shell
echo
| openssl s_client
-showcerts
-connect
kubernetes.example.com:443 2>/dev/null |
openssl x509
-inform
pem
-noout
-text
```
Note that the
`-connect`
argument expects a
`host:port`
combination. For example,
`https://kubernetes.example.com`
would be
`kubernetes.example.com:443`
.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment