# apply

Create the ConfigMap in Kubernetes.

```rhai
configmap.apply() -> string
```

## Returns

Returns a string with the result of the ConfigMap creation.

## Examples

```rhai
let result = namespace.configmap("app-config")
    .set("database_host", "db.example.com")
    .set("log_level", "debug")
    .apply();

print("ConfigMap created: " + result);
```

## Notes

- This is a terminal method (executes the ConfigMap creation)
- ConfigMap is created with all configured key-value pairs
- Throws error if creation fails
- Can be mounted as files or environment variables in pods
