Skip to content

Commit

Permalink
mid work
Browse files Browse the repository at this point in the history
Signed-off-by: epolon <[email protected]>
  • Loading branch information
iliapolo committed Oct 3, 2023
1 parent fbbb695 commit 8b75195
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/basics/app.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,12 @@ app.synth();

Resolvers are a mechanism to inject custom logic into the cdk8s value resolution process.
It allows to transform any value just before being written to the Kubernetes manifest. To define a
custom resolver, first create a class that implements the `IValueResolver` interface:
custom resolver, first create a class that implements the `IResolver` interface:

```ts
import { IResolver, ResolutionContext } from 'cdk8s';

export class MyCustomResolver implements IValueResolver {
export class MyCustomResolver implements IResolver {

public resolve(context: ResolutionContext): any {
const newValue = ... // run some custom logic
Expand Down

0 comments on commit 8b75195

Please sign in to comment.