diff --git a/packer.json b/packer.json index 656f3ba..4d0d1da 100644 --- a/packer.json +++ b/packer.json @@ -11,34 +11,8 @@ "version[\\s]+=[\\s]+\"(?\\S*)\"[\\s]+source[\\s]+=[\\s]+\"github.com/(?\\S*)\"" ], "datasourceTemplate": "github-releases", - "depNameTemplate": "{{#if depName}}{{#if (containsString depName 'hashicorp/')}}{{{replace 'hashicorp/' 'hashicorp/packer-plugin-' depName}}}{{else}}{{{depName}}}{{/if}}{{else}}hashicorp/packer{{/if}}" - }, - { - "customType": "regex", - "fileMatch": [ - "^flux/(?:.+/)overlays/(?:.+/)patches/(?:postgresCluster)\\.ya?ml$" - ], - "matchStrings": [ - "\\s+(?:imageName):\\s+\"?'?(?[^:\\s]+):(?[^\"'@\\s]+)(?:@(?sha256:[a-f0-9]+))?\"?'?" - ], - "datasourceTemplate": "docker" - }, - { - "customType": "regex", - "fileMatch": ["^flux/(?:.+/)overlays/(?:.+/)(?:configmap)\\.ya?ml$"], - "matchStrings": [ - ".+(?:_IMAGE):\\s+\"?'?(?[^:\\s]+):(?[^\"'@\\s]+)(?:@(?sha256:[a-f0-9]+))?\"?'?" - ], - "datasourceTemplate": "docker" - }, - { - "customType": "regex", - "fileMatch": ["^flux/crds/.+\\.ya?ml$"], - "matchStrings": [ - "# renovate: registryUrl=(?.*?) chart=(?.*)\\s.+k8up-(?.*?)/.+" - ], - "datasourceTemplate": "{{#if datasource}}{{{datasource}}}{{else}}helm{{/if}}", - "versioningTemplate": "{{#if versioning}}{{{versioning}}}{{else}}semver{{/if}}" + "depNameTemplate": "{{#if depName}}{{#if (containsString depName 'hashicorp/')}}{{{replace 'hashicorp/' 'hashicorp/packer-plugin-' depName}}}{{else}}{{{depName}}}{{/if}}{{else}}hashicorp/packer{{/if}}", + "extractVersionTemplate": "^v?(?.*)$" } ] }