Skip to content

Commit 23ebbf8

Browse files
Rename AnsibleMCPServer to AnsibleMCPConnect (#659)
* Rename AnsibleMCPServer to AnsibleMCPConnect * allow_write_operations parameter support --------- Co-authored-by: James Wong <[email protected]>
1 parent a68334c commit 23ebbf8

23 files changed

+61
-61
lines changed

README.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ A Kubernetes operator for Kubernetes built with [Operator SDK](https://github.co
1313
- [Deploy an `AnsibleAIConnect` instance](#deploy-an-ansibleaiconnect-instance)
1414
- [Deploying on OpenShift](#deploying-on-openshift)
1515
- [Deploying on `minikube`](#deploying-on-minikube)
16-
- [Deploy an `AnsibleMCPServer` instance](#deploy-an-ansiblemcpserver-instance)
16+
- [Deploy an `AnsibleMCPConnect` instance](#deploy-an-ansiblemcpconnect-instance)
1717
- [Upgrades](#upgrades)
1818
- [Integrating with Ansible Automation Platform and IBM watsonx Code Assistant](#integrating-with-ansible-automation-platform-and-ibm-watsonx-code-assistant)
1919
- [Advanced Configuration for `AnsibleAIConnect`](#advanced-configuration-for-ansibleaiconnect)
@@ -24,7 +24,7 @@ A Kubernetes operator for Kubernetes built with [Operator SDK](https://github.co
2424
- [Database Fields Encryption Configuration](#database-fields-encryption-configuration)
2525
- [TLS Communication (OpenShift)](#tls-communication-openshift)
2626
- [Additional Advanced Configuration](#additional-advanced-configuration)
27-
- [Advanced Configuration for `AnsibleMCPServer`](#advanced-configuration-for-ansiblemcpserver)
27+
- [Advanced Configuration for `AnsibleMCPConnect`](#advanced-configuration-for-ansiblemcpconnect)
2828
- [Ignore certificate errors](#ignore-certificate-errors)
2929
- [Programmatic usage of the API](docs/user-guide/programmatic-api-use.md)
3030
- [Maintainers Docs](#maintainers-docs)
@@ -34,7 +34,7 @@ A Kubernetes operator for Kubernetes built with [Operator SDK](https://github.co
3434
This operator is meant to provide a more Kubernetes-native installation method for
3535

3636
- Ansible AI Connect via an `AnsibleAIConnect` Custom Resource Definition (CRD) and
37-
- Ansible MCP Server via an `AnsibleMCPServer` CRD.
37+
- Ansible MCP Server via an `AnsibleMCPConnect` CRD.
3838

3939
In the future, this operator will grow to be able to maintain the full life-cycle of deployments.
4040
Currently, it can handle fresh installs and upgrades.
@@ -101,11 +101,11 @@ Full instructions for using an OpenShift cluster are [here](./docs/running-on-op
101101

102102
Full instructions for using a `minikube` cluster are [here](./docs/running-on-minikube-cluster.md).
103103

104-
## Deploy an `AnsibleMCPServer` instance
104+
## Deploy an `AnsibleMCPConnect` instance
105105

106-
Full instructions for deploying an `AnsibleMCPServer` using an OpenShift cluster are [here](./docs/running-on-openshift-cluster.md).
106+
Full instructions for deploying an `AnsibleMCPConnect` using an OpenShift cluster are [here](./docs/running-on-openshift-cluster.md).
107107

108-
Note: Deployment of an `AnsibleMCPServer` is not tested yet.
108+
Note: Deployment of an `AnsibleMCPConnect` is not tested yet.
109109

110110
## Integrating with Ansible Automation Platform and IBM watsonx Code Assistant
111111

@@ -251,12 +251,12 @@ oc get secret <resourcename>-chatbot-api-tls \
251251
- [Deploy a Specific Version of `AnsibleAIConnect`](./docs/user-guide/advanced-configuration/deploying-a-specific-version.md)
252252
- [Trusting a Custom Certificate Authority](./docs/user-guide/advanced-configuration/trusting-a-custom-certificate-authority.md)
253253

254-
## Advanced Configuration for `AnsibleMCPServer`
254+
## Advanced Configuration for `AnsibleMCPConnect`
255255

256256
### Ignore certificate errors
257-
If your AAP setup uses a self-signed certificate, configure the `AnsibleMCPServer`
257+
If your AAP setup uses a self-signed certificate, configure the `AnsibleMCPConnect`
258258
to ignore certificate errors by setting `IGNORE_CERTIFICATE_ERRORS: true`
259-
within the `extra_settings` of the `AnsibleMCPServer` CRD.
259+
within the `extra_settings` of the `AnsibleMCPConnect` CRD.
260260

261261
```yaml
262262
---

config/crd/bases/mcpserver.ansible.com_ansiblemcpservers.yaml renamed to config/crd/bases/mcpserver.ansible.com_ansiblemcpconnects.yaml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,20 +2,20 @@
22
apiVersion: apiextensions.k8s.io/v1
33
kind: CustomResourceDefinition
44
metadata:
5-
name: ansiblemcpservers.mcpserver.ansible.com
5+
name: ansiblemcpconnects.mcpserver.ansible.com
66
spec:
77
group: mcpserver.ansible.com
88
names:
9-
kind: AnsibleMCPServer
10-
listKind: AnsibleMCPServerList
11-
plural: ansiblemcpservers
12-
singular: ansiblemcpserver
9+
kind: AnsibleMCPConnect
10+
listKind: AnsibleMCPConnectList
11+
plural: ansiblemcpconnects
12+
singular: ansiblemcpconnect
1313
scope: Namespaced
1414
versions:
1515
- name: v1alpha1
1616
schema:
1717
openAPIV3Schema:
18-
description: AnsibleMCPServer is the Schema for the ansiblemcpserver API
18+
description: AnsibleMCPConnect is the Schema for the ansiblemcpconnect API
1919
properties:
2020
apiVersion:
2121
description: 'APIVersion defines the versioned schema of this representation
@@ -30,7 +30,7 @@ spec:
3030
metadata:
3131
type: object
3232
spec:
33-
description: Spec defines the desired state of AnsibleMCPServer
33+
description: Spec defines the desired state of AnsibleMCPConnect
3434
type: object
3535
required:
3636
- public_base_url
@@ -496,7 +496,7 @@ spec:
496496
type: object
497497
type: array
498498
status:
499-
description: Status defines the observed state of AnsibleMCPServer
499+
description: Status defines the observed state of AnsibleMCPConnect
500500
x-kubernetes-preserve-unknown-fields: true
501501
properties:
502502
image:

config/crd/kustomization.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@
33
# It should be run by config/default
44
resources:
55
- bases/aiconnect.ansible.com_ansibleaiconnects.yaml
6-
- bases/mcpserver.ansible.com_ansiblemcpservers.yaml
6+
- bases/mcpserver.ansible.com_ansiblemcpconnects.yaml
77
#+kubebuilder:scaffold:crdkustomizeresource

config/manager/kustomization.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ kind: Kustomization
55
images:
66
- name: controller
77
newName: quay.io/ansible/ansible-ai-connect-operator
8-
newTag: 0.1.0
8+
newTag: 0.6.457-pr-659-202511040120

config/manifests/bases/ansible-ai-connect-operator.clusterserviceversion.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -440,9 +440,9 @@ spec:
440440
- urn:alm:descriptor:org.w3:link
441441
version: v1alpha1
442442
- description: Deploy a new instance of Ansible MCP Server.
443-
displayName: AnsibleMCPServer
444-
kind: AnsibleMCPServer
445-
name: ansiblemcpservers.mcpserver.ansible.com
443+
displayName: AnsibleMCPConnect
444+
kind: AnsibleMCPConnect
445+
name: ansiblemcpconnects.mcpserver.ansible.com
446446
specDescriptors:
447447
- displayName: Image Pull Policy
448448
path: image_pull_policy

config/rbac/role.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -162,14 +162,14 @@ rules:
162162
- watch
163163

164164
##
165-
## Rules for mcpserver.ansible.com/v1alpha1, Kind: AnsibleMCPServer
165+
## Rules for mcpserver.ansible.com/v1alpha1, Kind: AnsibleMCPConnectmv
166166
##
167167
- apiGroups:
168168
- mcpserver.ansible.com
169169
resources:
170-
- ansiblemcpservers
171-
- ansiblemcpservers/status
172-
- ansiblemcpservers/finalizers
170+
- ansiblemcpconnects
171+
- ansiblemcpconnects/status
172+
- ansiblemcpconnects/finalizers
173173
verbs:
174174
- create
175175
- delete

config/samples/kustomization.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
## Append samples of your project ##
22
resources:
33
- aiconnect_v1alpha1_ansibleaiconnect.yaml
4-
- mcpserver_v1alpha1_ansiblemcpserver.yaml
4+
- mcpserver_v1alpha1_ansiblemcpconnect.yaml
55
#+kubebuilder:scaffold:manifestskustomizesamples

config/samples/mcpserver_v1alpha1_ansiblemcpserver.yaml renamed to config/samples/mcpserver_v1alpha1_ansiblemcpconnect.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
apiVersion: mcpserver.ansible.com/v1alpha1
2-
kind: AnsibleMCPServer
2+
kind: AnsibleMCPConnect
33
metadata:
44
labels:
5-
app.kubernetes.io/name: ansiblemcpserver
6-
app.kubernetes.io/instance: ansiblemcpserver-sample
5+
app.kubernetes.io/name: ansiblemcpconnect
6+
app.kubernetes.io/instance: ansiblemcpconnect-sample
77
app.kubernetes.io/part-of: ansible-ai-connect-operator
88
app.kubernetes.io/managed-by: kustomize
99
app.kubernetes.io/created-by: ansible-ai-connect-operator
10-
name: ansiblemcpserver-sample
10+
name: ansiblemcpconnect-sample
1111
spec:
1212
no_log: false
1313
service_type: ClusterIP

docs/running-on-openshift-cluster.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
## Overview
44

5-
This guide shows you how to deploy `AnsibleAIConnect` or `AnsibleMCPServer` on
5+
This guide shows you how to deploy `AnsibleAIConnect` or `AnsibleMCPConnect` on
66
an OpenShift cluster.
77

88
## Permissions
@@ -174,23 +174,23 @@ gp3-customer-kms (default) ebs.csi.aws.com
174174

175175
These are [provisioned](https://docs.openshift.com/rosa/storage/persistent_storage/persistent-storage-aws.html) by OpenShift ROSA.
176176

177-
## Create an `AnsibleMCPServer` instance
177+
## Create an `AnsibleMCPConnect` instance
178178

179179
The Ansible MCP (Model Context Protocol) Server can be deployed alongside the `AnsibleAIConnect` instance to provide MCP functionality.
180180

181181
### Using Operator Lifecycle Management
182182

183-
If the Operator was installed using the Operator Lifecycle Manager's `Catalog`, you can create an `AnsibleMCPServer` instance through the OpenShift console using the Operator's UI components.
183+
If the Operator was installed using the Operator Lifecycle Manager's `Catalog`, you can create an `AnsibleMCPConnect` instance through the OpenShift console using the Operator's UI components.
184184

185185
### Using the CLI
186186

187-
To create an `AnsibleMCPServer` instance using the CLI:
187+
To create an `AnsibleMCPConnect` instance using the CLI:
188188

189189
1. Create a file `mcpserver.yaml` with the following content:
190190

191191
```yaml
192192
apiVersion: mcpserver.ansible.com/v1alpha1
193-
kind: AnsibleMCPServer
193+
kind: AnsibleMCPConnect
194194
metadata:
195195
name: my-mcpserver
196196
namespace: <target-namespace>
@@ -210,15 +210,15 @@ spec:
210210
kubectl apply -f mcpserver.yaml
211211
```
212212

213-
3. Once deployed, the `AnsibleMCPServer` instance will be accessible by running:
213+
3. Once deployed, the `AnsibleMCPConnect` instance will be accessible by running:
214214

215215
```bash
216216
oc get route -n <target-namespace> my-mcpserver
217217
```
218218

219219
### Configuration Options
220220

221-
Key configuration options for the `AnsibleMCPServer` include:
221+
Key configuration options for the `AnsibleMCPConnect` include:
222222

223223
- `public_base_url`: **Required.** The URL of your Ansible Automation Platform
224224
- `allow_write_operations` : Enable tools that support modification and data changes (using POST, DELETE, and PATCH methods). (default: `false`)

molecule/default/tasks/0_delete_existing_instance.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
- name: Delete existing AnsibleAIConnect and AnsibleMCPServer instances
2+
- name: Delete existing AnsibleAIConnect and AnsibleMCPConnect instances
33
kubernetes.core.k8s:
44
state: absent
55
namespace: '{{ namespace }}'

0 commit comments

Comments
 (0)