# set

Set a key-value pair in the ConfigMap.

```rhai
configmap.set(key, value) -> ConfigMap
```

## Parameters

- `key` (string): Configuration key
- `value` (string): Configuration value

## Returns

Returns the `ConfigMap` builder for method chaining.

## Examples

```rhai
let cm = namespace.configmap("app-config")
    .set("database_host", "db.example.com")
    .set("database_port", "5432")
    .set("api_url", "https://api.example.com")
    .apply();
```

## Notes

- This is a chainable method
- Can be called multiple times to add multiple key-value pairs
- Values are stored as strings
