construct token-claim #760
-
Hi, I'm using skupper
claim := v1.Secret{
TypeMeta: metav1.TypeMeta{
APIVersion: "v1",
Kind: "Secret",
},
ObjectMeta: metav1.ObjectMeta{
Name: name,
Labels: map[string]string{
skuppertypes.SkupperTypeQualifier: skuppertypes.TypeClaimRequest,
},
Annotations: map[string]string{
skuppertypes.ClaimUrlAnnotationKey: skupperEndpoint,
skuppertypes.SiteVersion: s.config.GetSiteMetadata().Version,
skuppertypes.TokenGeneratedBy: generatedby,
},
},
Data: map[string][]byte{
skuppertypes.ClaimPasswordDataKey: password,
skuppertypes.ClaimCaCertDataKey: caSecret.Data["tls.crt"],
},
} |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Same question for the v1.0.0 (I have just checked the new release)
Especialy the claim-remaining which wasn't used for the 0.8.6 |
Beta Was this translation helpful? Give feedback.
-
If you use the Skupper's site-controller (doc) to initialize your
|
Beta Was this translation helpful? Give feedback.
If you use the Skupper's site-controller (doc) to initialize your
sites, you can simply create a connection token request (as shown below) and Skupper will populate the secret,
so you can download and use it to link remote sites.