Skip to content
This repository has been archived by the owner on Dec 23, 2021. It is now read-only.

Commit

Permalink
feat: cert-manager static function
Browse files Browse the repository at this point in the history
  • Loading branch information
neilkuan committed Nov 2, 2020
1 parent 022ddb8 commit d6910e4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions API.md
Original file line number Diff line number Diff line change
Expand Up @@ -169,12 +169,12 @@ new CertManager()
### Methods


#### certManagerConfig() <a id="cdk8s-aws-alb-ingress-controller-certmanager-certmanagerconfig"></a>
#### *static* certManagerConfig() <a id="cdk8s-aws-alb-ingress-controller-certmanager-certmanagerconfig"></a>



```ts
certManagerConfig(): any
static certManagerConfig(): any
```


Expand Down
2 changes: 1 addition & 1 deletion src/cert-manager.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import * as fs from 'fs';
import * as yaml from 'js-yaml';
export class CertManager {
public certManagerConfig(): any {
public static certManagerConfig(): any {
let certManagerConfigManifest = yaml.safeLoadAll(fs.readFileSync('../cert/cert-manager.yaml').toString());
return certManagerConfigManifest;
}
Expand Down

0 comments on commit d6910e4

Please sign in to comment.