Skip to content

Commit 7f12251

Browse files
committed
addresses feedback
1 parent f2f8fd9 commit 7f12251

File tree

5 files changed

+66
-1
lines changed

5 files changed

+66
-1
lines changed

dagger/publish.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ func (m *ReplicatedSdk) Publish(
106106
return err
107107
}
108108

109-
digest, err = publishChainguardImage(ctx, dag, source, amdPackages, armPackages, melangeKey, version, "registry.replicated.com/library/replicated-sdk-image", libraryUsername, libraryPassword, cosignKey, cosignPassword)
109+
digest, err = publishChainguardImage(ctx, dag, source, amdPackages, armPackages, melangeKey, version, "proxy.replicated.com/library/replicated-sdk-image", libraryUsername, libraryPassword, cosignKey, cosignPassword)
110110
if err != nil {
111111
return err
112112
}
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
- name: REPLICATED_CONFIG_FILE
2+
value: /etc/replicated/config.yaml
3+
{{- if (.Values.integration).licenseID }}
4+
- name: REPLICATED_INTEGRATION_LICENSE_ID
5+
valueFrom:
6+
secretKeyRef:
7+
name: {{ include "replicated.secretName" . }}
8+
key: integration-license-id
9+
{{- end }}
10+
{{- if .Values.integrationLicenseID }}
11+
- name: REPLICATED_INTEGRATION_LICENSE_ID
12+
valueFrom:
13+
secretKeyRef:
14+
name: {{ include "replicated.secretName" . }}
15+
key: integration-license-id
16+
{{- end }}
17+
ports:
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
replicatedID: {{ .Values.replicatedID | default "" | quote }}
2+
appID: {{ .Values.appID | default "" | quote }}
3+
{{- if (.Values.integration).licenseID }}
4+
integration-license-id: {{ .Values.integration.licenseID }}
5+
{{- end }}
6+
{{- if .Values.integrationLicenseID }}
7+
integration-license-id: {{ .Values.integrationLicenseID }}
8+
{{- end }}
9+
# kindIs "invalid" indicates that the value is nil and the user did not provide a value
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
replicatedAppDomain: "replicated-app-staciegravy.okteto.repldev.com"
2+
integrationLicenseID: "test-license-id"
3+
4+
license: |
5+
apiVersion: kots.io/v1beta1
6+
kind: License
7+
metadata:
8+
name: test-license
9+
spec:
10+
appSlug: replicated-sdk-app
11+
channelName: unstable
12+
customerName: Replicated SDK Test
13+
endpoint: https://replicated-app-staciegravy.okteto.repldev.com
14+
entitlements:
15+
expires_at:
16+
title: Expiration
17+
value: "2099-05-23T12:00:00Z"
18+
has_product_feature:
19+
title: Product Feature
20+
value: "true"
21+
licenseID: test-license-id-12345
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
license: |
2+
apiVersion: kots.io/v1beta1
3+
kind: License
4+
metadata:
5+
name: test-license
6+
spec:
7+
appSlug: replicated-sdk-app
8+
channelName: unstable
9+
customerName: Replicated SDK Test
10+
endpoint: https://replicated-app-staciegravy.okteto.repldev.com
11+
entitlements:
12+
expires_at:
13+
title: Expiration
14+
value: "2099-05-23T12:00:00Z"
15+
has_product_feature:
16+
title: Product Feature
17+
value: "true"
18+
licenseID: test-license-id-12345

0 commit comments

Comments
 (0)